Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xf86-video-apm 1.2.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='xf86-video-apm'
    573 PACKAGE_TARNAME='xf86-video-apm'
    574 PACKAGE_VERSION='1.2.5'
    575 PACKAGE_STRING='xf86-video-apm 1.2.5'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 XAA_FALSE
    621 XAA_TRUE
    622 XV_NEW_REPUT_FALSE
    623 XV_NEW_REPUT_TRUE
    624 DRIVER_NAME
    625 PCIACCESS_LIBS
    626 PCIACCESS_CFLAGS
    627 HAVE_XEXTPROTO_71_FALSE
    628 HAVE_XEXTPROTO_71_TRUE
    629 XEXT_LIBS
    630 XEXT_CFLAGS
    631 XORG_LIBS
    632 XORG_CFLAGS
    633 moduledir
    634 OTOOL64
    635 OTOOL
    636 LIPO
    637 NMEDIT
    638 DSYMUTIL
    639 MANIFEST_TOOL
    640 RANLIB
    641 ac_ct_AR
    642 AR
    643 DLLTOOL
    644 OBJDUMP
    645 LN_S
    646 NM
    647 ac_ct_DUMPBIN
    648 DUMPBIN
    649 LD
    650 FGREP
    651 LIBTOOL
    652 AM_BACKSLASH
    653 AM_DEFAULT_VERBOSITY
    654 AM_DEFAULT_V
    655 AM_V
    656 MAN_SUBSTS
    657 XORG_MAN_PAGE
    658 ADMIN_MAN_DIR
    659 DRIVER_MAN_DIR
    660 MISC_MAN_DIR
    661 FILE_MAN_DIR
    662 LIB_MAN_DIR
    663 APP_MAN_DIR
    664 ADMIN_MAN_SUFFIX
    665 DRIVER_MAN_SUFFIX
    666 MISC_MAN_SUFFIX
    667 FILE_MAN_SUFFIX
    668 LIB_MAN_SUFFIX
    669 APP_MAN_SUFFIX
    670 SED
    671 host_os
    672 host_vendor
    673 host_cpu
    674 host
    675 build_os
    676 build_vendor
    677 build_cpu
    678 build
    679 INSTALL_CMD
    680 PKG_CONFIG_LIBDIR
    681 PKG_CONFIG_PATH
    682 PKG_CONFIG
    683 CHANGELOG_CMD
    684 STRICT_CFLAGS
    685 CWARNFLAGS
    686 BASE_CFLAGS
    687 EGREP
    688 GREP
    689 CPP
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__quote
    698 am__include
    699 DEPDIR
    700 OBJEXT
    701 EXEEXT
    702 ac_ct_CC
    703 CPPFLAGS
    704 LDFLAGS
    705 CFLAGS
    706 CC
    707 MAINT
    708 MAINTAINER_MODE_FALSE
    709 MAINTAINER_MODE_TRUE
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 target_alias
    734 host_alias
    735 build_alias
    736 LIBS
    737 ECHO_T
    738 ECHO_N
    739 ECHO_C
    740 DEFS
    741 mandir
    742 localedir
    743 libdir
    744 psdir
    745 pdfdir
    746 dvidir
    747 htmldir
    748 infodir
    749 docdir
    750 oldincludedir
    751 includedir
    752 localstatedir
    753 sharedstatedir
    754 sysconfdir
    755 datadir
    756 datarootdir
    757 libexecdir
    758 sbindir
    759 bindir
    760 program_transform_name
    761 prefix
    762 exec_prefix
    763 PACKAGE_URL
    764 PACKAGE_BUGREPORT
    765 PACKAGE_STRING
    766 PACKAGE_VERSION
    767 PACKAGE_TARNAME
    768 PACKAGE_NAME
    769 PATH_SEPARATOR
    770 SHELL'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_maintainer_mode
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 enable_silent_rules
    779 enable_static
    780 enable_shared
    781 with_pic
    782 enable_fast_install
    783 with_gnu_ld
    784 with_sysroot
    785 enable_libtool_lock
    786 with_xorg_module_dir
    787 enable_xaa
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 CPP
    798 PKG_CONFIG
    799 PKG_CONFIG_PATH
    800 PKG_CONFIG_LIBDIR
    801 XORG_CFLAGS
    802 XORG_LIBS
    803 XEXT_CFLAGS
    804 XEXT_LIBS
    805 PCIACCESS_CFLAGS
    806 PCIACCESS_LIBS'
    807 
    808 
    809 # Initialize some variables set by options.
    810 ac_init_help=
    811 ac_init_version=false
    812 ac_unrecognized_opts=
    813 ac_unrecognized_sep=
    814 # The variables have the same names as the options, with
    815 # dashes changed to underlines.
    816 cache_file=/dev/null
    817 exec_prefix=NONE
    818 no_create=
    819 no_recursion=
    820 prefix=NONE
    821 program_prefix=NONE
    822 program_suffix=NONE
    823 program_transform_name=s,x,x,
    824 silent=
    825 site=
    826 srcdir=
    827 verbose=
    828 x_includes=NONE
    829 x_libraries=NONE
    830 
    831 # Installation directory options.
    832 # These are left unexpanded so users can "make install exec_prefix=/foo"
    833 # and all the variables that are supposed to be based on exec_prefix
    834 # by default will actually change.
    835 # Use braces instead of parens because sh, perl, etc. also accept them.
    836 # (The list follows the same order as the GNU Coding Standards.)
    837 bindir='${exec_prefix}/bin'
    838 sbindir='${exec_prefix}/sbin'
    839 libexecdir='${exec_prefix}/libexec'
    840 datarootdir='${prefix}/share'
    841 datadir='${datarootdir}'
    842 sysconfdir='${prefix}/etc'
    843 sharedstatedir='${prefix}/com'
    844 localstatedir='${prefix}/var'
    845 includedir='${prefix}/include'
    846 oldincludedir='/usr/include'
    847 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    848 infodir='${datarootdir}/info'
    849 htmldir='${docdir}'
    850 dvidir='${docdir}'
    851 pdfdir='${docdir}'
    852 psdir='${docdir}'
    853 libdir='${exec_prefix}/lib'
    854 localedir='${datarootdir}/locale'
    855 mandir='${datarootdir}/man'
    856 
    857 ac_prev=
    858 ac_dashdash=
    859 for ac_option
    860 do
    861   # If the previous option needs an argument, assign it.
    862   if test -n "$ac_prev"; then
    863     eval $ac_prev=\$ac_option
    864     ac_prev=
    865     continue
    866   fi
    867 
    868   case $ac_option in
    869   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    870   *=)   ac_optarg= ;;
    871   *)    ac_optarg=yes ;;
    872   esac
    873 
    874   # Accept the important Cygnus configure options, so we can diagnose typos.
    875 
    876   case $ac_dashdash$ac_option in
    877   --)
    878     ac_dashdash=yes ;;
    879 
    880   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    881     ac_prev=bindir ;;
    882   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    883     bindir=$ac_optarg ;;
    884 
    885   -build | --build | --buil | --bui | --bu)
    886     ac_prev=build_alias ;;
    887   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    888     build_alias=$ac_optarg ;;
    889 
    890   -cache-file | --cache-file | --cache-fil | --cache-fi \
    891   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    892     ac_prev=cache_file ;;
    893   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    894   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    895     cache_file=$ac_optarg ;;
    896 
    897   --config-cache | -C)
    898     cache_file=config.cache ;;
    899 
    900   -datadir | --datadir | --datadi | --datad)
    901     ac_prev=datadir ;;
    902   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    903     datadir=$ac_optarg ;;
    904 
    905   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    906   | --dataroo | --dataro | --datar)
    907     ac_prev=datarootdir ;;
    908   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    909   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    910     datarootdir=$ac_optarg ;;
    911 
    912   -disable-* | --disable-*)
    913     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    914     # Reject names that are not valid shell variable names.
    915     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       as_fn_error $? "invalid feature name: $ac_useropt"
    917     ac_useropt_orig=$ac_useropt
    918     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    919     case $ac_user_opts in
    920       *"
    921 "enable_$ac_useropt"
    922 "*) ;;
    923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    924 	 ac_unrecognized_sep=', ';;
    925     esac
    926     eval enable_$ac_useropt=no ;;
    927 
    928   -docdir | --docdir | --docdi | --doc | --do)
    929     ac_prev=docdir ;;
    930   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    931     docdir=$ac_optarg ;;
    932 
    933   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    934     ac_prev=dvidir ;;
    935   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    936     dvidir=$ac_optarg ;;
    937 
    938   -enable-* | --enable-*)
    939     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    940     # Reject names that are not valid shell variable names.
    941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    942       as_fn_error $? "invalid feature name: $ac_useropt"
    943     ac_useropt_orig=$ac_useropt
    944     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    945     case $ac_user_opts in
    946       *"
    947 "enable_$ac_useropt"
    948 "*) ;;
    949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    950 	 ac_unrecognized_sep=', ';;
    951     esac
    952     eval enable_$ac_useropt=\$ac_optarg ;;
    953 
    954   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    955   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    956   | --exec | --exe | --ex)
    957     ac_prev=exec_prefix ;;
    958   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    959   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    960   | --exec=* | --exe=* | --ex=*)
    961     exec_prefix=$ac_optarg ;;
    962 
    963   -gas | --gas | --ga | --g)
    964     # Obsolete; use --with-gas.
    965     with_gas=yes ;;
    966 
    967   -help | --help | --hel | --he | -h)
    968     ac_init_help=long ;;
    969   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    970     ac_init_help=recursive ;;
    971   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    972     ac_init_help=short ;;
    973 
    974   -host | --host | --hos | --ho)
    975     ac_prev=host_alias ;;
    976   -host=* | --host=* | --hos=* | --ho=*)
    977     host_alias=$ac_optarg ;;
    978 
    979   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    980     ac_prev=htmldir ;;
    981   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    982   | --ht=*)
    983     htmldir=$ac_optarg ;;
    984 
    985   -includedir | --includedir | --includedi | --included | --include \
    986   | --includ | --inclu | --incl | --inc)
    987     ac_prev=includedir ;;
    988   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    989   | --includ=* | --inclu=* | --incl=* | --inc=*)
    990     includedir=$ac_optarg ;;
    991 
    992   -infodir | --infodir | --infodi | --infod | --info | --inf)
    993     ac_prev=infodir ;;
    994   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    995     infodir=$ac_optarg ;;
    996 
    997   -libdir | --libdir | --libdi | --libd)
    998     ac_prev=libdir ;;
    999   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1000     libdir=$ac_optarg ;;
   1001 
   1002   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1003   | --libexe | --libex | --libe)
   1004     ac_prev=libexecdir ;;
   1005   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1006   | --libexe=* | --libex=* | --libe=*)
   1007     libexecdir=$ac_optarg ;;
   1008 
   1009   -localedir | --localedir | --localedi | --localed | --locale)
   1010     ac_prev=localedir ;;
   1011   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1012     localedir=$ac_optarg ;;
   1013 
   1014   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1015   | --localstate | --localstat | --localsta | --localst | --locals)
   1016     ac_prev=localstatedir ;;
   1017   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1018   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1019     localstatedir=$ac_optarg ;;
   1020 
   1021   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1022     ac_prev=mandir ;;
   1023   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1024     mandir=$ac_optarg ;;
   1025 
   1026   -nfp | --nfp | --nf)
   1027     # Obsolete; use --without-fp.
   1028     with_fp=no ;;
   1029 
   1030   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1031   | --no-cr | --no-c | -n)
   1032     no_create=yes ;;
   1033 
   1034   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1035   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1036     no_recursion=yes ;;
   1037 
   1038   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1039   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1040   | --oldin | --oldi | --old | --ol | --o)
   1041     ac_prev=oldincludedir ;;
   1042   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1043   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1044   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1045     oldincludedir=$ac_optarg ;;
   1046 
   1047   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1048     ac_prev=prefix ;;
   1049   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1050     prefix=$ac_optarg ;;
   1051 
   1052   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1053   | --program-pre | --program-pr | --program-p)
   1054     ac_prev=program_prefix ;;
   1055   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1056   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1057     program_prefix=$ac_optarg ;;
   1058 
   1059   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1060   | --program-suf | --program-su | --program-s)
   1061     ac_prev=program_suffix ;;
   1062   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1063   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1064     program_suffix=$ac_optarg ;;
   1065 
   1066   -program-transform-name | --program-transform-name \
   1067   | --program-transform-nam | --program-transform-na \
   1068   | --program-transform-n | --program-transform- \
   1069   | --program-transform | --program-transfor \
   1070   | --program-transfo | --program-transf \
   1071   | --program-trans | --program-tran \
   1072   | --progr-tra | --program-tr | --program-t)
   1073     ac_prev=program_transform_name ;;
   1074   -program-transform-name=* | --program-transform-name=* \
   1075   | --program-transform-nam=* | --program-transform-na=* \
   1076   | --program-transform-n=* | --program-transform-=* \
   1077   | --program-transform=* | --program-transfor=* \
   1078   | --program-transfo=* | --program-transf=* \
   1079   | --program-trans=* | --program-tran=* \
   1080   | --progr-tra=* | --program-tr=* | --program-t=*)
   1081     program_transform_name=$ac_optarg ;;
   1082 
   1083   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1084     ac_prev=pdfdir ;;
   1085   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1086     pdfdir=$ac_optarg ;;
   1087 
   1088   -psdir | --psdir | --psdi | --psd | --ps)
   1089     ac_prev=psdir ;;
   1090   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1091     psdir=$ac_optarg ;;
   1092 
   1093   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1094   | -silent | --silent | --silen | --sile | --sil)
   1095     silent=yes ;;
   1096 
   1097   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1098     ac_prev=sbindir ;;
   1099   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1100   | --sbi=* | --sb=*)
   1101     sbindir=$ac_optarg ;;
   1102 
   1103   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1104   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1105   | --sharedst | --shareds | --shared | --share | --shar \
   1106   | --sha | --sh)
   1107     ac_prev=sharedstatedir ;;
   1108   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1109   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1110   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1111   | --sha=* | --sh=*)
   1112     sharedstatedir=$ac_optarg ;;
   1113 
   1114   -site | --site | --sit)
   1115     ac_prev=site ;;
   1116   -site=* | --site=* | --sit=*)
   1117     site=$ac_optarg ;;
   1118 
   1119   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1120     ac_prev=srcdir ;;
   1121   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1122     srcdir=$ac_optarg ;;
   1123 
   1124   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1125   | --syscon | --sysco | --sysc | --sys | --sy)
   1126     ac_prev=sysconfdir ;;
   1127   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1128   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1129     sysconfdir=$ac_optarg ;;
   1130 
   1131   -target | --target | --targe | --targ | --tar | --ta | --t)
   1132     ac_prev=target_alias ;;
   1133   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1134     target_alias=$ac_optarg ;;
   1135 
   1136   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1137     verbose=yes ;;
   1138 
   1139   -version | --version | --versio | --versi | --vers | -V)
   1140     ac_init_version=: ;;
   1141 
   1142   -with-* | --with-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: $ac_useropt"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: $ac_useropt"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=no ;;
   1173 
   1174   --x)
   1175     # Obsolete; use --with-x.
   1176     with_x=yes ;;
   1177 
   1178   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1179   | --x-incl | --x-inc | --x-in | --x-i)
   1180     ac_prev=x_includes ;;
   1181   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1182   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1183     x_includes=$ac_optarg ;;
   1184 
   1185   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1186   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1187     ac_prev=x_libraries ;;
   1188   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1189   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1190     x_libraries=$ac_optarg ;;
   1191 
   1192   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1193 Try \`$0 --help' for more information"
   1194     ;;
   1195 
   1196   *=*)
   1197     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1198     # Reject names that are not valid shell variable names.
   1199     case $ac_envvar in #(
   1200       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1201       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1202     esac
   1203     eval $ac_envvar=\$ac_optarg
   1204     export $ac_envvar ;;
   1205 
   1206   *)
   1207     # FIXME: should be removed in autoconf 3.0.
   1208     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1209     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1210       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1211     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1212     ;;
   1213 
   1214   esac
   1215 done
   1216 
   1217 if test -n "$ac_prev"; then
   1218   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1219   as_fn_error $? "missing argument to $ac_option"
   1220 fi
   1221 
   1222 if test -n "$ac_unrecognized_opts"; then
   1223   case $enable_option_checking in
   1224     no) ;;
   1225     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1226     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1227   esac
   1228 fi
   1229 
   1230 # Check all directory arguments for consistency.
   1231 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1232 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1233 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1234 		libdir localedir mandir
   1235 do
   1236   eval ac_val=\$$ac_var
   1237   # Remove trailing slashes.
   1238   case $ac_val in
   1239     */ )
   1240       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1241       eval $ac_var=\$ac_val;;
   1242   esac
   1243   # Be sure to have absolute directory names.
   1244   case $ac_val in
   1245     [\\/$]* | ?:[\\/]* )  continue;;
   1246     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1247   esac
   1248   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1249 done
   1250 
   1251 # There might be people who depend on the old broken behavior: `$host'
   1252 # used to hold the argument of --host etc.
   1253 # FIXME: To remove some day.
   1254 build=$build_alias
   1255 host=$host_alias
   1256 target=$target_alias
   1257 
   1258 # FIXME: To remove some day.
   1259 if test "x$host_alias" != x; then
   1260   if test "x$build_alias" = x; then
   1261     cross_compiling=maybe
   1262     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1263     If a cross compiler is detected then cross compile mode will be used" >&2
   1264   elif test "x$build_alias" != "x$host_alias"; then
   1265     cross_compiling=yes
   1266   fi
   1267 fi
   1268 
   1269 ac_tool_prefix=
   1270 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1271 
   1272 test "$silent" = yes && exec 6>/dev/null
   1273 
   1274 
   1275 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1276 ac_ls_di=`ls -di .` &&
   1277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1278   as_fn_error $? "working directory cannot be determined"
   1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1280   as_fn_error $? "pwd does not report name of working directory"
   1281 
   1282 
   1283 # Find the source files, if location was not specified.
   1284 if test -z "$srcdir"; then
   1285   ac_srcdir_defaulted=yes
   1286   # Try the directory containing this script, then the parent directory.
   1287   ac_confdir=`$as_dirname -- "$as_myself" ||
   1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1289 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1290 	 X"$as_myself" : 'X\(//\)$' \| \
   1291 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1292 $as_echo X"$as_myself" |
   1293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)[^/].*/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)$/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\).*/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  s/.*/./; q'`
   1310   srcdir=$ac_confdir
   1311   if test ! -r "$srcdir/$ac_unique_file"; then
   1312     srcdir=..
   1313   fi
   1314 else
   1315   ac_srcdir_defaulted=no
   1316 fi
   1317 if test ! -r "$srcdir/$ac_unique_file"; then
   1318   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1319   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1320 fi
   1321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1322 ac_abs_confdir=`(
   1323 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1324 	pwd)`
   1325 # When building in place, set srcdir=.
   1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1327   srcdir=.
   1328 fi
   1329 # Remove unnecessary trailing slashes from srcdir.
   1330 # Double slashes in file names in object file debugging info
   1331 # mess up M-x gdb in Emacs.
   1332 case $srcdir in
   1333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1334 esac
   1335 for ac_var in $ac_precious_vars; do
   1336   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_env_${ac_var}_value=\$${ac_var}
   1338   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1340 done
   1341 
   1342 #
   1343 # Report the --help message.
   1344 #
   1345 if test "$ac_init_help" = "long"; then
   1346   # Omit some internal or obsolete options to make the list less imposing.
   1347   # This message is too long to be a string in the A/UX 3.1 sh.
   1348   cat <<_ACEOF
   1349 \`configure' configures xf86-video-apm 1.2.5 to adapt to many kinds of systems.
   1350 
   1351 Usage: $0 [OPTION]... [VAR=VALUE]...
   1352 
   1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1354 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1355 
   1356 Defaults for the options are specified in brackets.
   1357 
   1358 Configuration:
   1359   -h, --help              display this help and exit
   1360       --help=short        display options specific to this package
   1361       --help=recursive    display the short help of all the included packages
   1362   -V, --version           display version information and exit
   1363   -q, --quiet, --silent   do not print \`checking ...' messages
   1364       --cache-file=FILE   cache test results in FILE [disabled]
   1365   -C, --config-cache      alias for \`--cache-file=config.cache'
   1366   -n, --no-create         do not create output files
   1367       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1368 
   1369 Installation directories:
   1370   --prefix=PREFIX         install architecture-independent files in PREFIX
   1371                           [$ac_default_prefix]
   1372   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1373                           [PREFIX]
   1374 
   1375 By default, \`make install' will install all the files in
   1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1378 for instance \`--prefix=\$HOME'.
   1379 
   1380 For better control, use the options below.
   1381 
   1382 Fine tuning of the installation directories:
   1383   --bindir=DIR            user executables [EPREFIX/bin]
   1384   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1385   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1386   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1387   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1388   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1389   --libdir=DIR            object code libraries [EPREFIX/lib]
   1390   --includedir=DIR        C header files [PREFIX/include]
   1391   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1392   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1393   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1394   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1395   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1396   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1397   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-apm]
   1398   --htmldir=DIR           html documentation [DOCDIR]
   1399   --dvidir=DIR            dvi documentation [DOCDIR]
   1400   --pdfdir=DIR            pdf documentation [DOCDIR]
   1401   --psdir=DIR             ps documentation [DOCDIR]
   1402 _ACEOF
   1403 
   1404   cat <<\_ACEOF
   1405 
   1406 Program names:
   1407   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1408   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1409   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1410 
   1411 System types:
   1412   --build=BUILD     configure for building on BUILD [guessed]
   1413   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1414 _ACEOF
   1415 fi
   1416 
   1417 if test -n "$ac_init_help"; then
   1418   case $ac_init_help in
   1419      short | recursive ) echo "Configuration of xf86-video-apm 1.2.5:";;
   1420    esac
   1421   cat <<\_ACEOF
   1422 
   1423 Optional Features:
   1424   --disable-option-checking  ignore unrecognized --enable/--with options
   1425   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1426   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1427   --enable-maintainer-mode  enable make rules and dependencies not useful
   1428 			  (and sometimes confusing) to the casual installer
   1429   --disable-dependency-tracking  speeds up one-time build
   1430   --enable-dependency-tracking   do not reject slow dependency extractors
   1431   --disable-selective-werror
   1432                           Turn off selective compiler errors. (default:
   1433                           enabled)
   1434   --enable-strict-compilation
   1435                           Enable all warnings from compiler and make them
   1436                           errors (default: disabled)
   1437   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1438   --disable-silent-rules         verbose build output (undo: `make V=0')
   1439   --enable-static[=PKGS]  build static libraries [default=no]
   1440   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1441   --enable-fast-install[=PKGS]
   1442                           optimize for fast installation [default=yes]
   1443   --disable-libtool-lock  avoid locking (might break parallel builds)
   1444   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1445                           [default=auto]
   1446 
   1447 Optional Packages:
   1448   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1449   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1450   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1451                           both]
   1452   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1453   --with-sysroot=DIR Search for dependent libraries within DIR
   1454                         (or the compiler's sysroot if not specified).
   1455   --with-xorg-module-dir=DIR
   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   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1472   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1473   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1474   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1475   PCIACCESS_CFLAGS
   1476               C compiler flags for PCIACCESS, overriding pkg-config
   1477   PCIACCESS_LIBS
   1478               linker flags for PCIACCESS, overriding pkg-config
   1479 
   1480 Use these variables to override the choices made by `configure' or to help
   1481 it to find libraries and programs with nonstandard names/locations.
   1482 
   1483 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1484 _ACEOF
   1485 ac_status=$?
   1486 fi
   1487 
   1488 if test "$ac_init_help" = "recursive"; then
   1489   # If there are subdirs, report their specific --help.
   1490   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1491     test -d "$ac_dir" ||
   1492       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1493       continue
   1494     ac_builddir=.
   1495 
   1496 case "$ac_dir" in
   1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1498 *)
   1499   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1500   # A ".." for each directory in $ac_dir_suffix.
   1501   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1502   case $ac_top_builddir_sub in
   1503   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1504   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1505   esac ;;
   1506 esac
   1507 ac_abs_top_builddir=$ac_pwd
   1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1509 # for backward compatibility:
   1510 ac_top_builddir=$ac_top_build_prefix
   1511 
   1512 case $srcdir in
   1513   .)  # We are building in place.
   1514     ac_srcdir=.
   1515     ac_top_srcdir=$ac_top_builddir_sub
   1516     ac_abs_top_srcdir=$ac_pwd ;;
   1517   [\\/]* | ?:[\\/]* )  # Absolute name.
   1518     ac_srcdir=$srcdir$ac_dir_suffix;
   1519     ac_top_srcdir=$srcdir
   1520     ac_abs_top_srcdir=$srcdir ;;
   1521   *) # Relative name.
   1522     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1523     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1524     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1525 esac
   1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1527 
   1528     cd "$ac_dir" || { ac_status=$?; continue; }
   1529     # Check for guested configure.
   1530     if test -f "$ac_srcdir/configure.gnu"; then
   1531       echo &&
   1532       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1533     elif test -f "$ac_srcdir/configure"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure" --help=recursive
   1536     else
   1537       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1538     fi || ac_status=$?
   1539     cd "$ac_pwd" || { ac_status=$?; break; }
   1540   done
   1541 fi
   1542 
   1543 test -n "$ac_init_help" && exit $ac_status
   1544 if $ac_init_version; then
   1545   cat <<\_ACEOF
   1546 xf86-video-apm configure 1.2.5
   1547 generated by GNU Autoconf 2.68
   1548 
   1549 Copyright (C) 2010 Free Software Foundation, Inc.
   1550 This configure script is free software; the Free Software Foundation
   1551 gives unlimited permission to copy, distribute and modify it.
   1552 _ACEOF
   1553   exit
   1554 fi
   1555 
   1556 ## ------------------------ ##
   1557 ## Autoconf initialization. ##
   1558 ## ------------------------ ##
   1559 
   1560 # ac_fn_c_try_compile LINENO
   1561 # --------------------------
   1562 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1563 ac_fn_c_try_compile ()
   1564 {
   1565   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1566   rm -f conftest.$ac_objext
   1567   if { { ac_try="$ac_compile"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 $as_echo "$ac_try_echo"; } >&5
   1574   (eval "$ac_compile") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } && {
   1583 	 test -z "$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        } && test -s conftest.$ac_objext; then :
   1586   ac_retval=0
   1587 else
   1588   $as_echo "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591 	ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1594   as_fn_set_status $ac_retval
   1595 
   1596 } # ac_fn_c_try_compile
   1597 
   1598 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1599 # ---------------------------------------------
   1600 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1601 # accordingly.
   1602 ac_fn_c_check_decl ()
   1603 {
   1604   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1605   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1606   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1608 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1609 if eval \${$3+:} false; then :
   1610   $as_echo_n "(cached) " >&6
   1611 else
   1612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1613 /* end confdefs.h.  */
   1614 $4
   1615 int
   1616 main ()
   1617 {
   1618 #ifndef $as_decl_name
   1619 #ifdef __cplusplus
   1620   (void) $as_decl_use;
   1621 #else
   1622   (void) $as_decl_name;
   1623 #endif
   1624 #endif
   1625 
   1626   ;
   1627   return 0;
   1628 }
   1629 _ACEOF
   1630 if ac_fn_c_try_compile "$LINENO"; then :
   1631   eval "$3=yes"
   1632 else
   1633   eval "$3=no"
   1634 fi
   1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1636 fi
   1637 eval ac_res=\$$3
   1638 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1639 $as_echo "$ac_res" >&6; }
   1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1641 
   1642 } # ac_fn_c_check_decl
   1643 
   1644 # ac_fn_c_try_cpp LINENO
   1645 # ----------------------
   1646 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1647 ac_fn_c_try_cpp ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1651 case "(($ac_try" in
   1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1653   *) ac_try_echo=$ac_try;;
   1654 esac
   1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1656 $as_echo "$ac_try_echo"; } >&5
   1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1658   ac_status=$?
   1659   if test -s conftest.err; then
   1660     grep -v '^ *+' conftest.err >conftest.er1
   1661     cat conftest.er1 >&5
   1662     mv -f conftest.er1 conftest.err
   1663   fi
   1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1665   test $ac_status = 0; } > conftest.i && {
   1666 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1667 	 test ! -s conftest.err
   1668        }; then :
   1669   ac_retval=0
   1670 else
   1671   $as_echo "$as_me: failed program was:" >&5
   1672 sed 's/^/| /' conftest.$ac_ext >&5
   1673 
   1674     ac_retval=1
   1675 fi
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677   as_fn_set_status $ac_retval
   1678 
   1679 } # ac_fn_c_try_cpp
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 $as_echo_n "checking for $2... " >&6; }
   1732 if eval \${$3+:} false; then :
   1733   $as_echo_n "(cached) " >&6
   1734 else
   1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"; then :
   1741   eval "$3=yes"
   1742 else
   1743   eval "$3=no"
   1744 fi
   1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1746 fi
   1747 eval ac_res=\$$3
   1748 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1749 $as_echo "$ac_res" >&6; }
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751 
   1752 } # ac_fn_c_check_header_compile
   1753 
   1754 # ac_fn_c_try_link LINENO
   1755 # -----------------------
   1756 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1757 ac_fn_c_try_link ()
   1758 {
   1759   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1760   rm -f conftest.$ac_objext conftest$ac_exeext
   1761   if { { ac_try="$ac_link"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_link") 2>conftest.err
   1769   ac_status=$?
   1770   if test -s conftest.err; then
   1771     grep -v '^ *+' conftest.err >conftest.er1
   1772     cat conftest.er1 >&5
   1773     mv -f conftest.er1 conftest.err
   1774   fi
   1775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1776   test $ac_status = 0; } && {
   1777 	 test -z "$ac_c_werror_flag" ||
   1778 	 test ! -s conftest.err
   1779        } && test -s conftest$ac_exeext && {
   1780 	 test "$cross_compiling" = yes ||
   1781 	 $as_test_x conftest$ac_exeext
   1782        }; then :
   1783   ac_retval=0
   1784 else
   1785   $as_echo "$as_me: failed program was:" >&5
   1786 sed 's/^/| /' conftest.$ac_ext >&5
   1787 
   1788 	ac_retval=1
   1789 fi
   1790   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1791   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1792   # interfere with the next link command; also delete a directory that is
   1793   # left behind by Apple's compiler.  We do this before executing the actions.
   1794   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796   as_fn_set_status $ac_retval
   1797 
   1798 } # ac_fn_c_try_link
   1799 
   1800 # ac_fn_c_check_func LINENO FUNC VAR
   1801 # ----------------------------------
   1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1803 ac_fn_c_check_func ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1807 $as_echo_n "checking for $2... " >&6; }
   1808 if eval \${$3+:} false; then :
   1809   $as_echo_n "(cached) " >&6
   1810 else
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1815 #define $2 innocuous_$2
   1816 
   1817 /* System header to define __stub macros and hopefully few prototypes,
   1818     which can conflict with char $2 (); below.
   1819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1820     <limits.h> exists even on freestanding compilers.  */
   1821 
   1822 #ifdef __STDC__
   1823 # include <limits.h>
   1824 #else
   1825 # include <assert.h>
   1826 #endif
   1827 
   1828 #undef $2
   1829 
   1830 /* Override any GCC internal prototype to avoid an error.
   1831    Use char because int might match the return type of a GCC
   1832    builtin and then its argument prototype would still apply.  */
   1833 #ifdef __cplusplus
   1834 extern "C"
   1835 #endif
   1836 char $2 ();
   1837 /* The GNU C library defines this for functions which it implements
   1838     to always fail with ENOSYS.  Some functions are actually named
   1839     something starting with __ and the normal name is an alias.  */
   1840 #if defined __stub_$2 || defined __stub___$2
   1841 choke me
   1842 #endif
   1843 
   1844 int
   1845 main ()
   1846 {
   1847 return $2 ();
   1848   ;
   1849   return 0;
   1850 }
   1851 _ACEOF
   1852 if ac_fn_c_try_link "$LINENO"; then :
   1853   eval "$3=yes"
   1854 else
   1855   eval "$3=no"
   1856 fi
   1857 rm -f core conftest.err conftest.$ac_objext \
   1858     conftest$ac_exeext conftest.$ac_ext
   1859 fi
   1860 eval ac_res=\$$3
   1861 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1862 $as_echo "$ac_res" >&6; }
   1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1864 
   1865 } # ac_fn_c_check_func
   1866 
   1867 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1868 # ----------------------------------------------------
   1869 # Tries to find if the field MEMBER exists in type AGGR, after including
   1870 # INCLUDES, setting cache variable VAR accordingly.
   1871 ac_fn_c_check_member ()
   1872 {
   1873   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1875 $as_echo_n "checking for $2.$3... " >&6; }
   1876 if eval \${$4+:} false; then :
   1877   $as_echo_n "(cached) " >&6
   1878 else
   1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1880 /* end confdefs.h.  */
   1881 $5
   1882 int
   1883 main ()
   1884 {
   1885 static $2 ac_aggr;
   1886 if (ac_aggr.$3)
   1887 return 0;
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_compile "$LINENO"; then :
   1893   eval "$4=yes"
   1894 else
   1895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1896 /* end confdefs.h.  */
   1897 $5
   1898 int
   1899 main ()
   1900 {
   1901 static $2 ac_aggr;
   1902 if (sizeof ac_aggr.$3)
   1903 return 0;
   1904   ;
   1905   return 0;
   1906 }
   1907 _ACEOF
   1908 if ac_fn_c_try_compile "$LINENO"; then :
   1909   eval "$4=yes"
   1910 else
   1911   eval "$4=no"
   1912 fi
   1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1914 fi
   1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1916 fi
   1917 eval ac_res=\$$4
   1918 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1919 $as_echo "$ac_res" >&6; }
   1920   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1921 
   1922 } # ac_fn_c_check_member
   1923 
   1924 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1925 # -------------------------------------------------------
   1926 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1927 # the include files in INCLUDES and setting the cache variable VAR
   1928 # accordingly.
   1929 ac_fn_c_check_header_mongrel ()
   1930 {
   1931   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1932   if eval \${$3+:} false; then :
   1933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1934 $as_echo_n "checking for $2... " >&6; }
   1935 if eval \${$3+:} false; then :
   1936   $as_echo_n "(cached) " >&6
   1937 fi
   1938 eval ac_res=\$$3
   1939 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1940 $as_echo "$ac_res" >&6; }
   1941 else
   1942   # Is the header compilable?
   1943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1944 $as_echo_n "checking $2 usability... " >&6; }
   1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1946 /* end confdefs.h.  */
   1947 $4
   1948 #include <$2>
   1949 _ACEOF
   1950 if ac_fn_c_try_compile "$LINENO"; then :
   1951   ac_header_compiler=yes
   1952 else
   1953   ac_header_compiler=no
   1954 fi
   1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1957 $as_echo "$ac_header_compiler" >&6; }
   1958 
   1959 # Is the header present?
   1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1961 $as_echo_n "checking $2 presence... " >&6; }
   1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 #include <$2>
   1965 _ACEOF
   1966 if ac_fn_c_try_cpp "$LINENO"; then :
   1967   ac_header_preproc=yes
   1968 else
   1969   ac_header_preproc=no
   1970 fi
   1971 rm -f conftest.err conftest.i conftest.$ac_ext
   1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1973 $as_echo "$ac_header_preproc" >&6; }
   1974 
   1975 # So?  What about this header?
   1976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1977   yes:no: )
   1978     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1979 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1980     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1981 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1982     ;;
   1983   no:yes:* )
   1984     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1985 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1986     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1987 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1988     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1989 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1990     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1991 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1992     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1993 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1994 ( $as_echo "## ---------------------------------------------------------------------- ##
   1995 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1996 ## ---------------------------------------------------------------------- ##"
   1997      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1998     ;;
   1999 esac
   2000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2001 $as_echo_n "checking for $2... " >&6; }
   2002 if eval \${$3+:} false; then :
   2003   $as_echo_n "(cached) " >&6
   2004 else
   2005   eval "$3=\$ac_header_compiler"
   2006 fi
   2007 eval ac_res=\$$3
   2008 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2009 $as_echo "$ac_res" >&6; }
   2010 fi
   2011   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2012 
   2013 } # ac_fn_c_check_header_mongrel
   2014 cat >config.log <<_ACEOF
   2015 This file contains any messages produced by compilers while
   2016 running configure, to aid debugging if configure makes a mistake.
   2017 
   2018 It was created by xf86-video-apm $as_me 1.2.5, which was
   2019 generated by GNU Autoconf 2.68.  Invocation command line was
   2020 
   2021   $ $0 $@
   2022 
   2023 _ACEOF
   2024 exec 5>>config.log
   2025 {
   2026 cat <<_ASUNAME
   2027 ## --------- ##
   2028 ## Platform. ##
   2029 ## --------- ##
   2030 
   2031 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2032 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2033 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2034 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2035 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2036 
   2037 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2038 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2039 
   2040 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2041 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2042 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2043 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2044 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2045 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2046 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2047 
   2048 _ASUNAME
   2049 
   2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2051 for as_dir in $PATH
   2052 do
   2053   IFS=$as_save_IFS
   2054   test -z "$as_dir" && as_dir=.
   2055     $as_echo "PATH: $as_dir"
   2056   done
   2057 IFS=$as_save_IFS
   2058 
   2059 } >&5
   2060 
   2061 cat >&5 <<_ACEOF
   2062 
   2063 
   2064 ## ----------- ##
   2065 ## Core tests. ##
   2066 ## ----------- ##
   2067 
   2068 _ACEOF
   2069 
   2070 
   2071 # Keep a trace of the command line.
   2072 # Strip out --no-create and --no-recursion so they do not pile up.
   2073 # Strip out --silent because we don't want to record it for future runs.
   2074 # Also quote any args containing shell meta-characters.
   2075 # Make two passes to allow for proper duplicate-argument suppression.
   2076 ac_configure_args=
   2077 ac_configure_args0=
   2078 ac_configure_args1=
   2079 ac_must_keep_next=false
   2080 for ac_pass in 1 2
   2081 do
   2082   for ac_arg
   2083   do
   2084     case $ac_arg in
   2085     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2086     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2087     | -silent | --silent | --silen | --sile | --sil)
   2088       continue ;;
   2089     *\'*)
   2090       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2091     esac
   2092     case $ac_pass in
   2093     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2094     2)
   2095       as_fn_append ac_configure_args1 " '$ac_arg'"
   2096       if test $ac_must_keep_next = true; then
   2097 	ac_must_keep_next=false # Got value, back to normal.
   2098       else
   2099 	case $ac_arg in
   2100 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2101 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2102 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2103 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2104 	    case "$ac_configure_args0 " in
   2105 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2106 	    esac
   2107 	    ;;
   2108 	  -* ) ac_must_keep_next=true ;;
   2109 	esac
   2110       fi
   2111       as_fn_append ac_configure_args " '$ac_arg'"
   2112       ;;
   2113     esac
   2114   done
   2115 done
   2116 { ac_configure_args0=; unset ac_configure_args0;}
   2117 { ac_configure_args1=; unset ac_configure_args1;}
   2118 
   2119 # When interrupted or exit'd, cleanup temporary files, and complete
   2120 # config.log.  We remove comments because anyway the quotes in there
   2121 # would cause problems or look ugly.
   2122 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2123 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2124 trap 'exit_status=$?
   2125   # Save into config.log some information that might help in debugging.
   2126   {
   2127     echo
   2128 
   2129     $as_echo "## ---------------- ##
   2130 ## Cache variables. ##
   2131 ## ---------------- ##"
   2132     echo
   2133     # The following way of writing the cache mishandles newlines in values,
   2134 (
   2135   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2136     eval ac_val=\$$ac_var
   2137     case $ac_val in #(
   2138     *${as_nl}*)
   2139       case $ac_var in #(
   2140       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2142       esac
   2143       case $ac_var in #(
   2144       _ | IFS | as_nl) ;; #(
   2145       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2146       *) { eval $ac_var=; unset $ac_var;} ;;
   2147       esac ;;
   2148     esac
   2149   done
   2150   (set) 2>&1 |
   2151     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2152     *${as_nl}ac_space=\ *)
   2153       sed -n \
   2154 	"s/'\''/'\''\\\\'\'''\''/g;
   2155 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2156       ;; #(
   2157     *)
   2158       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2159       ;;
   2160     esac |
   2161     sort
   2162 )
   2163     echo
   2164 
   2165     $as_echo "## ----------------- ##
   2166 ## Output variables. ##
   2167 ## ----------------- ##"
   2168     echo
   2169     for ac_var in $ac_subst_vars
   2170     do
   2171       eval ac_val=\$$ac_var
   2172       case $ac_val in
   2173       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2174       esac
   2175       $as_echo "$ac_var='\''$ac_val'\''"
   2176     done | sort
   2177     echo
   2178 
   2179     if test -n "$ac_subst_files"; then
   2180       $as_echo "## ------------------- ##
   2181 ## File substitutions. ##
   2182 ## ------------------- ##"
   2183       echo
   2184       for ac_var in $ac_subst_files
   2185       do
   2186 	eval ac_val=\$$ac_var
   2187 	case $ac_val in
   2188 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2189 	esac
   2190 	$as_echo "$ac_var='\''$ac_val'\''"
   2191       done | sort
   2192       echo
   2193     fi
   2194 
   2195     if test -s confdefs.h; then
   2196       $as_echo "## ----------- ##
   2197 ## confdefs.h. ##
   2198 ## ----------- ##"
   2199       echo
   2200       cat confdefs.h
   2201       echo
   2202     fi
   2203     test "$ac_signal" != 0 &&
   2204       $as_echo "$as_me: caught signal $ac_signal"
   2205     $as_echo "$as_me: exit $exit_status"
   2206   } >&5
   2207   rm -f core *.core core.conftest.* &&
   2208     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2209     exit $exit_status
   2210 ' 0
   2211 for ac_signal in 1 2 13 15; do
   2212   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2213 done
   2214 ac_signal=0
   2215 
   2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2217 rm -f -r conftest* confdefs.h
   2218 
   2219 $as_echo "/* confdefs.h */" > confdefs.h
   2220 
   2221 # Predefined preprocessor variables.
   2222 
   2223 cat >>confdefs.h <<_ACEOF
   2224 #define PACKAGE_NAME "$PACKAGE_NAME"
   2225 _ACEOF
   2226 
   2227 cat >>confdefs.h <<_ACEOF
   2228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2229 _ACEOF
   2230 
   2231 cat >>confdefs.h <<_ACEOF
   2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2233 _ACEOF
   2234 
   2235 cat >>confdefs.h <<_ACEOF
   2236 #define PACKAGE_STRING "$PACKAGE_STRING"
   2237 _ACEOF
   2238 
   2239 cat >>confdefs.h <<_ACEOF
   2240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2241 _ACEOF
   2242 
   2243 cat >>confdefs.h <<_ACEOF
   2244 #define PACKAGE_URL "$PACKAGE_URL"
   2245 _ACEOF
   2246 
   2247 
   2248 # Let the site file select an alternate cache file if it wants to.
   2249 # Prefer an explicitly selected file to automatically selected ones.
   2250 ac_site_file1=NONE
   2251 ac_site_file2=NONE
   2252 if test -n "$CONFIG_SITE"; then
   2253   # We do not want a PATH search for config.site.
   2254   case $CONFIG_SITE in #((
   2255     -*)  ac_site_file1=./$CONFIG_SITE;;
   2256     */*) ac_site_file1=$CONFIG_SITE;;
   2257     *)   ac_site_file1=./$CONFIG_SITE;;
   2258   esac
   2259 elif test "x$prefix" != xNONE; then
   2260   ac_site_file1=$prefix/share/config.site
   2261   ac_site_file2=$prefix/etc/config.site
   2262 else
   2263   ac_site_file1=$ac_default_prefix/share/config.site
   2264   ac_site_file2=$ac_default_prefix/etc/config.site
   2265 fi
   2266 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2267 do
   2268   test "x$ac_site_file" = xNONE && continue
   2269   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2270     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2271 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2272     sed 's/^/| /' "$ac_site_file" >&5
   2273     . "$ac_site_file" \
   2274       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2276 as_fn_error $? "failed to load site script $ac_site_file
   2277 See \`config.log' for more details" "$LINENO" 5; }
   2278   fi
   2279 done
   2280 
   2281 if test -r "$cache_file"; then
   2282   # Some versions of bash will fail to source /dev/null (special files
   2283   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2284   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2285     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2286 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2287     case $cache_file in
   2288       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2289       *)                      . "./$cache_file";;
   2290     esac
   2291   fi
   2292 else
   2293   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2294 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2295   >$cache_file
   2296 fi
   2297 
   2298 # Check that the precious variables saved in the cache have kept the same
   2299 # value.
   2300 ac_cache_corrupted=false
   2301 for ac_var in $ac_precious_vars; do
   2302   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2303   eval ac_new_set=\$ac_env_${ac_var}_set
   2304   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2305   eval ac_new_val=\$ac_env_${ac_var}_value
   2306   case $ac_old_set,$ac_new_set in
   2307     set,)
   2308       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2309 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2310       ac_cache_corrupted=: ;;
   2311     ,set)
   2312       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2313 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2314       ac_cache_corrupted=: ;;
   2315     ,);;
   2316     *)
   2317       if test "x$ac_old_val" != "x$ac_new_val"; then
   2318 	# differences in whitespace do not lead to failure.
   2319 	ac_old_val_w=`echo x $ac_old_val`
   2320 	ac_new_val_w=`echo x $ac_new_val`
   2321 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2322 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2323 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2324 	  ac_cache_corrupted=:
   2325 	else
   2326 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2327 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2328 	  eval $ac_var=\$ac_old_val
   2329 	fi
   2330 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2331 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2332 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2333 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2334       fi;;
   2335   esac
   2336   # Pass precious variables to config.status.
   2337   if test "$ac_new_set" = set; then
   2338     case $ac_new_val in
   2339     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2340     *) ac_arg=$ac_var=$ac_new_val ;;
   2341     esac
   2342     case " $ac_configure_args " in
   2343       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2344       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2345     esac
   2346   fi
   2347 done
   2348 if $ac_cache_corrupted; then
   2349   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2351   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2352 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2353   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2354 fi
   2355 ## -------------------- ##
   2356 ## Main body of script. ##
   2357 ## -------------------- ##
   2358 
   2359 ac_ext=c
   2360 ac_cpp='$CPP $CPPFLAGS'
   2361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2364 
   2365 
   2366 
   2367 ac_config_headers="$ac_config_headers config.h"
   2368 
   2369 ac_aux_dir=
   2370 for ac_dir in . "$srcdir"/.; do
   2371   if test -f "$ac_dir/install-sh"; then
   2372     ac_aux_dir=$ac_dir
   2373     ac_install_sh="$ac_aux_dir/install-sh -c"
   2374     break
   2375   elif test -f "$ac_dir/install.sh"; then
   2376     ac_aux_dir=$ac_dir
   2377     ac_install_sh="$ac_aux_dir/install.sh -c"
   2378     break
   2379   elif test -f "$ac_dir/shtool"; then
   2380     ac_aux_dir=$ac_dir
   2381     ac_install_sh="$ac_aux_dir/shtool install -c"
   2382     break
   2383   fi
   2384 done
   2385 if test -z "$ac_aux_dir"; then
   2386   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2387 fi
   2388 
   2389 # These three variables are undocumented and unsupported,
   2390 # and are intended to be withdrawn in a future Autoconf release.
   2391 # They can cause serious problems if a builder's source tree is in a directory
   2392 # whose full name contains unusual characters.
   2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2395 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2396 
   2397 
   2398 
   2399 # Initialize Automake
   2400 am__api_version='1.11'
   2401 
   2402 # Find a good install program.  We prefer a C program (faster),
   2403 # so one script is as good as another.  But avoid the broken or
   2404 # incompatible versions:
   2405 # SysV /etc/install, /usr/sbin/install
   2406 # SunOS /usr/etc/install
   2407 # IRIX /sbin/install
   2408 # AIX /bin/install
   2409 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2410 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2411 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2412 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2413 # OS/2's system install, which has a completely different semantic
   2414 # ./install, which can be erroneously created by make from ./install.sh.
   2415 # Reject install programs that cannot install multiple files.
   2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2417 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2418 if test -z "$INSTALL"; then
   2419 if ${ac_cv_path_install+:} false; then :
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2423 for as_dir in $PATH
   2424 do
   2425   IFS=$as_save_IFS
   2426   test -z "$as_dir" && as_dir=.
   2427     # Account for people who put trailing slashes in PATH elements.
   2428 case $as_dir/ in #((
   2429   ./ | .// | /[cC]/* | \
   2430   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2431   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2432   /usr/ucb/* ) ;;
   2433   *)
   2434     # OSF1 and SCO ODT 3.0 have their own names for install.
   2435     # Don't use installbsd from OSF since it installs stuff as root
   2436     # by default.
   2437     for ac_prog in ginstall scoinst install; do
   2438       for ac_exec_ext in '' $ac_executable_extensions; do
   2439 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2440 	  if test $ac_prog = install &&
   2441 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2442 	    # AIX install.  It has an incompatible calling convention.
   2443 	    :
   2444 	  elif test $ac_prog = install &&
   2445 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2446 	    # program-specific install script used by HP pwplus--don't use.
   2447 	    :
   2448 	  else
   2449 	    rm -rf conftest.one conftest.two conftest.dir
   2450 	    echo one > conftest.one
   2451 	    echo two > conftest.two
   2452 	    mkdir conftest.dir
   2453 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2454 	      test -s conftest.one && test -s conftest.two &&
   2455 	      test -s conftest.dir/conftest.one &&
   2456 	      test -s conftest.dir/conftest.two
   2457 	    then
   2458 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2459 	      break 3
   2460 	    fi
   2461 	  fi
   2462 	fi
   2463       done
   2464     done
   2465     ;;
   2466 esac
   2467 
   2468   done
   2469 IFS=$as_save_IFS
   2470 
   2471 rm -rf conftest.one conftest.two conftest.dir
   2472 
   2473 fi
   2474   if test "${ac_cv_path_install+set}" = set; then
   2475     INSTALL=$ac_cv_path_install
   2476   else
   2477     # As a last resort, use the slow shell script.  Don't cache a
   2478     # value for INSTALL within a source directory, because that will
   2479     # break other packages using the cache if that directory is
   2480     # removed, or if the value is a relative name.
   2481     INSTALL=$ac_install_sh
   2482   fi
   2483 fi
   2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2485 $as_echo "$INSTALL" >&6; }
   2486 
   2487 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2488 # It thinks the first close brace ends the variable substitution.
   2489 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2490 
   2491 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2492 
   2493 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2494 
   2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2496 $as_echo_n "checking whether build environment is sane... " >&6; }
   2497 # Just in case
   2498 sleep 1
   2499 echo timestamp > conftest.file
   2500 # Reject unsafe characters in $srcdir or the absolute working directory
   2501 # name.  Accept space and tab only in the latter.
   2502 am_lf='
   2503 '
   2504 case `pwd` in
   2505   *[\\\"\#\$\&\'\`$am_lf]*)
   2506     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2507 esac
   2508 case $srcdir in
   2509   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2510     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2511 esac
   2512 
   2513 # Do `set' in a subshell so we don't clobber the current shell's
   2514 # arguments.  Must try -L first in case configure is actually a
   2515 # symlink; some systems play weird games with the mod time of symlinks
   2516 # (eg FreeBSD returns the mod time of the symlink's containing
   2517 # directory).
   2518 if (
   2519    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2520    if test "$*" = "X"; then
   2521       # -L didn't work.
   2522       set X `ls -t "$srcdir/configure" conftest.file`
   2523    fi
   2524    rm -f conftest.file
   2525    if test "$*" != "X $srcdir/configure conftest.file" \
   2526       && test "$*" != "X conftest.file $srcdir/configure"; then
   2527 
   2528       # If neither matched, then we have a broken ls.  This can happen
   2529       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2530       # broken ls alias from the environment.  This has actually
   2531       # happened.  Such a system could not be considered "sane".
   2532       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2533 alias in your environment" "$LINENO" 5
   2534    fi
   2535 
   2536    test "$2" = conftest.file
   2537    )
   2538 then
   2539    # Ok.
   2540    :
   2541 else
   2542    as_fn_error $? "newly created file is older than distributed files!
   2543 Check your system clock" "$LINENO" 5
   2544 fi
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2546 $as_echo "yes" >&6; }
   2547 test "$program_prefix" != NONE &&
   2548   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2549 # Use a double $ so make ignores it.
   2550 test "$program_suffix" != NONE &&
   2551   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2552 # Double any \ or $.
   2553 # By default was `s,x,x', remove it if useless.
   2554 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2555 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2556 
   2557 # expand $ac_aux_dir to an absolute path
   2558 am_aux_dir=`cd $ac_aux_dir && pwd`
   2559 
   2560 if test x"${MISSING+set}" != xset; then
   2561   case $am_aux_dir in
   2562   *\ * | *\	*)
   2563     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2564   *)
   2565     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2566   esac
   2567 fi
   2568 # Use eval to expand $SHELL
   2569 if eval "$MISSING --run true"; then
   2570   am_missing_run="$MISSING --run "
   2571 else
   2572   am_missing_run=
   2573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2574 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2575 fi
   2576 
   2577 if test x"${install_sh}" != xset; then
   2578   case $am_aux_dir in
   2579   *\ * | *\	*)
   2580     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2581   *)
   2582     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2583   esac
   2584 fi
   2585 
   2586 # Installed binaries are usually stripped using `strip' when the user
   2587 # run `make install-strip'.  However `strip' might not be the right
   2588 # tool to use in cross-compilation environments, therefore Automake
   2589 # will honor the `STRIP' environment variable to overrule this program.
   2590 if test "$cross_compiling" != no; then
   2591   if test -n "$ac_tool_prefix"; then
   2592   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2593 set dummy ${ac_tool_prefix}strip; 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_STRIP+:} false; then :
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   if test -n "$STRIP"; then
   2600   ac_cv_prog_STRIP="$STRIP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2609     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   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 STRIP=$ac_cv_prog_STRIP
   2620 if test -n "$STRIP"; then
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2622 $as_echo "$STRIP" >&6; }
   2623 else
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2625 $as_echo "no" >&6; }
   2626 fi
   2627 
   2628 
   2629 fi
   2630 if test -z "$ac_cv_prog_STRIP"; then
   2631   ac_ct_STRIP=$STRIP
   2632   # Extract the first word of "strip", so it can be a program name with args.
   2633 set dummy strip; ac_word=$2
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2635 $as_echo_n "checking for $ac_word... " >&6; }
   2636 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   if test -n "$ac_ct_STRIP"; then
   2640   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2641 else
   2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2643 for as_dir in $PATH
   2644 do
   2645   IFS=$as_save_IFS
   2646   test -z "$as_dir" && as_dir=.
   2647     for ac_exec_ext in '' $ac_executable_extensions; do
   2648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2649     ac_cv_prog_ac_ct_STRIP="strip"
   2650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2651     break 2
   2652   fi
   2653 done
   2654   done
   2655 IFS=$as_save_IFS
   2656 
   2657 fi
   2658 fi
   2659 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2660 if test -n "$ac_ct_STRIP"; then
   2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2662 $as_echo "$ac_ct_STRIP" >&6; }
   2663 else
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2665 $as_echo "no" >&6; }
   2666 fi
   2667 
   2668   if test "x$ac_ct_STRIP" = x; then
   2669     STRIP=":"
   2670   else
   2671     case $cross_compiling:$ac_tool_warned in
   2672 yes:)
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2675 ac_tool_warned=yes ;;
   2676 esac
   2677     STRIP=$ac_ct_STRIP
   2678   fi
   2679 else
   2680   STRIP="$ac_cv_prog_STRIP"
   2681 fi
   2682 
   2683 fi
   2684 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2685 
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2687 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2688 if test -z "$MKDIR_P"; then
   2689   if ${ac_cv_path_mkdir+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_prog in mkdir gmkdir; do
   2698 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2700 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2701 	     'mkdir (GNU coreutils) '* | \
   2702 	     'mkdir (coreutils) '* | \
   2703 	     'mkdir (fileutils) '4.1*)
   2704 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2705 	       break 3;;
   2706 	   esac
   2707 	 done
   2708        done
   2709   done
   2710 IFS=$as_save_IFS
   2711 
   2712 fi
   2713 
   2714   test -d ./--version && rmdir ./--version
   2715   if test "${ac_cv_path_mkdir+set}" = set; then
   2716     MKDIR_P="$ac_cv_path_mkdir -p"
   2717   else
   2718     # As a last resort, use the slow shell script.  Don't cache a
   2719     # value for MKDIR_P within a source directory, because that will
   2720     # break other packages using the cache if that directory is
   2721     # removed, or if the value is a relative name.
   2722     MKDIR_P="$ac_install_sh -d"
   2723   fi
   2724 fi
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2726 $as_echo "$MKDIR_P" >&6; }
   2727 
   2728 mkdir_p="$MKDIR_P"
   2729 case $mkdir_p in
   2730   [\\/$]* | ?:[\\/]*) ;;
   2731   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2732 esac
   2733 
   2734 for ac_prog in gawk mawk nawk awk
   2735 do
   2736   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2737 set dummy $ac_prog; ac_word=$2
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2739 $as_echo_n "checking for $ac_word... " >&6; }
   2740 if ${ac_cv_prog_AWK+:} false; then :
   2741   $as_echo_n "(cached) " >&6
   2742 else
   2743   if test -n "$AWK"; then
   2744   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2745 else
   2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2747 for as_dir in $PATH
   2748 do
   2749   IFS=$as_save_IFS
   2750   test -z "$as_dir" && as_dir=.
   2751     for ac_exec_ext in '' $ac_executable_extensions; do
   2752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2753     ac_cv_prog_AWK="$ac_prog"
   2754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2755     break 2
   2756   fi
   2757 done
   2758   done
   2759 IFS=$as_save_IFS
   2760 
   2761 fi
   2762 fi
   2763 AWK=$ac_cv_prog_AWK
   2764 if test -n "$AWK"; then
   2765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2766 $as_echo "$AWK" >&6; }
   2767 else
   2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2769 $as_echo "no" >&6; }
   2770 fi
   2771 
   2772 
   2773   test -n "$AWK" && break
   2774 done
   2775 
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2777 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2778 set x ${MAKE-make}
   2779 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2780 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2781   $as_echo_n "(cached) " >&6
   2782 else
   2783   cat >conftest.make <<\_ACEOF
   2784 SHELL = /bin/sh
   2785 all:
   2786 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2787 _ACEOF
   2788 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2789 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2790   *@@@%%%=?*=@@@%%%*)
   2791     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2792   *)
   2793     eval ac_cv_prog_make_${ac_make}_set=no;;
   2794 esac
   2795 rm -f conftest.make
   2796 fi
   2797 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2799 $as_echo "yes" >&6; }
   2800   SET_MAKE=
   2801 else
   2802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2803 $as_echo "no" >&6; }
   2804   SET_MAKE="MAKE=${MAKE-make}"
   2805 fi
   2806 
   2807 rm -rf .tst 2>/dev/null
   2808 mkdir .tst 2>/dev/null
   2809 if test -d .tst; then
   2810   am__leading_dot=.
   2811 else
   2812   am__leading_dot=_
   2813 fi
   2814 rmdir .tst 2>/dev/null
   2815 
   2816 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2817   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2818   # is not polluted with repeated "-I."
   2819   am__isrc=' -I$(srcdir)'
   2820   # test to see if srcdir already configured
   2821   if test -f $srcdir/config.status; then
   2822     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2823   fi
   2824 fi
   2825 
   2826 # test whether we have cygpath
   2827 if test -z "$CYGPATH_W"; then
   2828   if (cygpath --version) >/dev/null 2>/dev/null; then
   2829     CYGPATH_W='cygpath -w'
   2830   else
   2831     CYGPATH_W=echo
   2832   fi
   2833 fi
   2834 
   2835 
   2836 # Define the identity of the package.
   2837  PACKAGE='xf86-video-apm'
   2838  VERSION='1.2.5'
   2839 
   2840 
   2841 cat >>confdefs.h <<_ACEOF
   2842 #define PACKAGE "$PACKAGE"
   2843 _ACEOF
   2844 
   2845 
   2846 cat >>confdefs.h <<_ACEOF
   2847 #define VERSION "$VERSION"
   2848 _ACEOF
   2849 
   2850 # Some tools Automake needs.
   2851 
   2852 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2853 
   2854 
   2855 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2856 
   2857 
   2858 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2859 
   2860 
   2861 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2862 
   2863 
   2864 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2865 
   2866 # We need awk for the "check" target.  The system "awk" is bad on
   2867 # some platforms.
   2868 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2869 # in the wild :-(  We should find a proper way to deprecate it ...
   2870 AMTAR='$${TAR-tar}'
   2871 
   2872 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2873 
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2880 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2881     # Check whether --enable-maintainer-mode was given.
   2882 if test "${enable_maintainer_mode+set}" = set; then :
   2883   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2884 else
   2885   USE_MAINTAINER_MODE=no
   2886 fi
   2887 
   2888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2889 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2890    if test $USE_MAINTAINER_MODE = yes; then
   2891   MAINTAINER_MODE_TRUE=
   2892   MAINTAINER_MODE_FALSE='#'
   2893 else
   2894   MAINTAINER_MODE_TRUE='#'
   2895   MAINTAINER_MODE_FALSE=
   2896 fi
   2897 
   2898   MAINT=$MAINTAINER_MODE_TRUE
   2899 
   2900 
   2901 
   2902 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2903 
   2904 
   2905 
   2906 
   2907 
   2908 
   2909 
   2910 
   2911 
   2912 
   2913 
   2914 DEPDIR="${am__leading_dot}deps"
   2915 
   2916 ac_config_commands="$ac_config_commands depfiles"
   2917 
   2918 
   2919 am_make=${MAKE-make}
   2920 cat > confinc << 'END'
   2921 am__doit:
   2922 	@echo this is the am__doit target
   2923 .PHONY: am__doit
   2924 END
   2925 # If we don't find an include directive, just comment out the code.
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2927 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2928 am__include="#"
   2929 am__quote=
   2930 _am_result=none
   2931 # First try GNU make style include.
   2932 echo "include confinc" > confmf
   2933 # Ignore all kinds of additional output from `make'.
   2934 case `$am_make -s -f confmf 2> /dev/null` in #(
   2935 *the\ am__doit\ target*)
   2936   am__include=include
   2937   am__quote=
   2938   _am_result=GNU
   2939   ;;
   2940 esac
   2941 # Now try BSD make style include.
   2942 if test "$am__include" = "#"; then
   2943    echo '.include "confinc"' > confmf
   2944    case `$am_make -s -f confmf 2> /dev/null` in #(
   2945    *the\ am__doit\ target*)
   2946      am__include=.include
   2947      am__quote="\""
   2948      _am_result=BSD
   2949      ;;
   2950    esac
   2951 fi
   2952 
   2953 
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2955 $as_echo "$_am_result" >&6; }
   2956 rm -f confinc confmf
   2957 
   2958 # Check whether --enable-dependency-tracking was given.
   2959 if test "${enable_dependency_tracking+set}" = set; then :
   2960   enableval=$enable_dependency_tracking;
   2961 fi
   2962 
   2963 if test "x$enable_dependency_tracking" != xno; then
   2964   am_depcomp="$ac_aux_dir/depcomp"
   2965   AMDEPBACKSLASH='\'
   2966   am__nodep='_no'
   2967 fi
   2968  if test "x$enable_dependency_tracking" != xno; then
   2969   AMDEP_TRUE=
   2970   AMDEP_FALSE='#'
   2971 else
   2972   AMDEP_TRUE='#'
   2973   AMDEP_FALSE=
   2974 fi
   2975 
   2976 
   2977 ac_ext=c
   2978 ac_cpp='$CPP $CPPFLAGS'
   2979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2982 if test -n "$ac_tool_prefix"; then
   2983   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2984 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2986 $as_echo_n "checking for $ac_word... " >&6; }
   2987 if ${ac_cv_prog_CC+:} false; then :
   2988   $as_echo_n "(cached) " >&6
   2989 else
   2990   if test -n "$CC"; then
   2991   ac_cv_prog_CC="$CC" # Let the user override the test.
   2992 else
   2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2994 for as_dir in $PATH
   2995 do
   2996   IFS=$as_save_IFS
   2997   test -z "$as_dir" && as_dir=.
   2998     for ac_exec_ext in '' $ac_executable_extensions; do
   2999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3000     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3002     break 2
   3003   fi
   3004 done
   3005   done
   3006 IFS=$as_save_IFS
   3007 
   3008 fi
   3009 fi
   3010 CC=$ac_cv_prog_CC
   3011 if test -n "$CC"; then
   3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3013 $as_echo "$CC" >&6; }
   3014 else
   3015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3016 $as_echo "no" >&6; }
   3017 fi
   3018 
   3019 
   3020 fi
   3021 if test -z "$ac_cv_prog_CC"; then
   3022   ac_ct_CC=$CC
   3023   # Extract the first word of "gcc", so it can be a program name with args.
   3024 set dummy gcc; ac_word=$2
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 $as_echo_n "checking for $ac_word... " >&6; }
   3027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   if test -n "$ac_ct_CC"; then
   3031   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3032 else
   3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3034 for as_dir in $PATH
   3035 do
   3036   IFS=$as_save_IFS
   3037   test -z "$as_dir" && as_dir=.
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3040     ac_cv_prog_ac_ct_CC="gcc"
   3041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi
   3049 fi
   3050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3051 if test -n "$ac_ct_CC"; then
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3053 $as_echo "$ac_ct_CC" >&6; }
   3054 else
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 $as_echo "no" >&6; }
   3057 fi
   3058 
   3059   if test "x$ac_ct_CC" = x; then
   3060     CC=""
   3061   else
   3062     case $cross_compiling:$ac_tool_warned in
   3063 yes:)
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3066 ac_tool_warned=yes ;;
   3067 esac
   3068     CC=$ac_ct_CC
   3069   fi
   3070 else
   3071   CC="$ac_cv_prog_CC"
   3072 fi
   3073 
   3074 if test -z "$CC"; then
   3075           if test -n "$ac_tool_prefix"; then
   3076     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3077 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3079 $as_echo_n "checking for $ac_word... " >&6; }
   3080 if ${ac_cv_prog_CC+:} false; then :
   3081   $as_echo_n "(cached) " >&6
   3082 else
   3083   if test -n "$CC"; then
   3084   ac_cv_prog_CC="$CC" # Let the user override the test.
   3085 else
   3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3087 for as_dir in $PATH
   3088 do
   3089   IFS=$as_save_IFS
   3090   test -z "$as_dir" && as_dir=.
   3091     for ac_exec_ext in '' $ac_executable_extensions; do
   3092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3093     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3095     break 2
   3096   fi
   3097 done
   3098   done
   3099 IFS=$as_save_IFS
   3100 
   3101 fi
   3102 fi
   3103 CC=$ac_cv_prog_CC
   3104 if test -n "$CC"; then
   3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3106 $as_echo "$CC" >&6; }
   3107 else
   3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3109 $as_echo "no" >&6; }
   3110 fi
   3111 
   3112 
   3113   fi
   3114 fi
   3115 if test -z "$CC"; then
   3116   # Extract the first word of "cc", so it can be a program name with args.
   3117 set dummy cc; ac_word=$2
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3119 $as_echo_n "checking for $ac_word... " >&6; }
   3120 if ${ac_cv_prog_CC+:} false; then :
   3121   $as_echo_n "(cached) " >&6
   3122 else
   3123   if test -n "$CC"; then
   3124   ac_cv_prog_CC="$CC" # Let the user override the test.
   3125 else
   3126   ac_prog_rejected=no
   3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3128 for as_dir in $PATH
   3129 do
   3130   IFS=$as_save_IFS
   3131   test -z "$as_dir" && as_dir=.
   3132     for ac_exec_ext in '' $ac_executable_extensions; do
   3133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3134     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3135        ac_prog_rejected=yes
   3136        continue
   3137      fi
   3138     ac_cv_prog_CC="cc"
   3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3140     break 2
   3141   fi
   3142 done
   3143   done
   3144 IFS=$as_save_IFS
   3145 
   3146 if test $ac_prog_rejected = yes; then
   3147   # We found a bogon in the path, so make sure we never use it.
   3148   set dummy $ac_cv_prog_CC
   3149   shift
   3150   if test $# != 0; then
   3151     # We chose a different compiler from the bogus one.
   3152     # However, it has the same basename, so the bogon will be chosen
   3153     # first if we set CC to just the basename; use the full file name.
   3154     shift
   3155     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3156   fi
   3157 fi
   3158 fi
   3159 fi
   3160 CC=$ac_cv_prog_CC
   3161 if test -n "$CC"; then
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3163 $as_echo "$CC" >&6; }
   3164 else
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3166 $as_echo "no" >&6; }
   3167 fi
   3168 
   3169 
   3170 fi
   3171 if test -z "$CC"; then
   3172   if test -n "$ac_tool_prefix"; then
   3173   for ac_prog in cl.exe
   3174   do
   3175     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3178 $as_echo_n "checking for $ac_word... " >&6; }
   3179 if ${ac_cv_prog_CC+:} false; then :
   3180   $as_echo_n "(cached) " >&6
   3181 else
   3182   if test -n "$CC"; then
   3183   ac_cv_prog_CC="$CC" # Let the user override the test.
   3184 else
   3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3186 for as_dir in $PATH
   3187 do
   3188   IFS=$as_save_IFS
   3189   test -z "$as_dir" && as_dir=.
   3190     for ac_exec_ext in '' $ac_executable_extensions; do
   3191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3192     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3194     break 2
   3195   fi
   3196 done
   3197   done
   3198 IFS=$as_save_IFS
   3199 
   3200 fi
   3201 fi
   3202 CC=$ac_cv_prog_CC
   3203 if test -n "$CC"; then
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3205 $as_echo "$CC" >&6; }
   3206 else
   3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3208 $as_echo "no" >&6; }
   3209 fi
   3210 
   3211 
   3212     test -n "$CC" && break
   3213   done
   3214 fi
   3215 if test -z "$CC"; then
   3216   ac_ct_CC=$CC
   3217   for ac_prog in cl.exe
   3218 do
   3219   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3220 set dummy $ac_prog; ac_word=$2
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3222 $as_echo_n "checking for $ac_word... " >&6; }
   3223 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3224   $as_echo_n "(cached) " >&6
   3225 else
   3226   if test -n "$ac_ct_CC"; then
   3227   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3228 else
   3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3230 for as_dir in $PATH
   3231 do
   3232   IFS=$as_save_IFS
   3233   test -z "$as_dir" && as_dir=.
   3234     for ac_exec_ext in '' $ac_executable_extensions; do
   3235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3236     ac_cv_prog_ac_ct_CC="$ac_prog"
   3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3238     break 2
   3239   fi
   3240 done
   3241   done
   3242 IFS=$as_save_IFS
   3243 
   3244 fi
   3245 fi
   3246 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3247 if test -n "$ac_ct_CC"; then
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3249 $as_echo "$ac_ct_CC" >&6; }
   3250 else
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3252 $as_echo "no" >&6; }
   3253 fi
   3254 
   3255 
   3256   test -n "$ac_ct_CC" && break
   3257 done
   3258 
   3259   if test "x$ac_ct_CC" = x; then
   3260     CC=""
   3261   else
   3262     case $cross_compiling:$ac_tool_warned in
   3263 yes:)
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3266 ac_tool_warned=yes ;;
   3267 esac
   3268     CC=$ac_ct_CC
   3269   fi
   3270 fi
   3271 
   3272 fi
   3273 
   3274 
   3275 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3277 as_fn_error $? "no acceptable C compiler found in \$PATH
   3278 See \`config.log' for more details" "$LINENO" 5; }
   3279 
   3280 # Provide some information about the compiler.
   3281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3282 set X $ac_compile
   3283 ac_compiler=$2
   3284 for ac_option in --version -v -V -qversion; do
   3285   { { ac_try="$ac_compiler $ac_option >&5"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3293   ac_status=$?
   3294   if test -s conftest.err; then
   3295     sed '10a\
   3296 ... rest of stderr output deleted ...
   3297          10q' conftest.err >conftest.er1
   3298     cat conftest.er1 >&5
   3299   fi
   3300   rm -f conftest.er1 conftest.err
   3301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3302   test $ac_status = 0; }
   3303 done
   3304 
   3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3306 /* end confdefs.h.  */
   3307 
   3308 int
   3309 main ()
   3310 {
   3311 
   3312   ;
   3313   return 0;
   3314 }
   3315 _ACEOF
   3316 ac_clean_files_save=$ac_clean_files
   3317 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3318 # Try to create an executable without -o first, disregard a.out.
   3319 # It will help us diagnose broken compilers, and finding out an intuition
   3320 # of exeext.
   3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3322 $as_echo_n "checking whether the C compiler works... " >&6; }
   3323 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3324 
   3325 # The possible output files:
   3326 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3327 
   3328 ac_rmfiles=
   3329 for ac_file in $ac_files
   3330 do
   3331   case $ac_file in
   3332     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3333     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3334   esac
   3335 done
   3336 rm -f $ac_rmfiles
   3337 
   3338 if { { ac_try="$ac_link_default"
   3339 case "(($ac_try" in
   3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3341   *) ac_try_echo=$ac_try;;
   3342 esac
   3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3344 $as_echo "$ac_try_echo"; } >&5
   3345   (eval "$ac_link_default") 2>&5
   3346   ac_status=$?
   3347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3348   test $ac_status = 0; }; then :
   3349   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3350 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3351 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3352 # so that the user can short-circuit this test for compilers unknown to
   3353 # Autoconf.
   3354 for ac_file in $ac_files ''
   3355 do
   3356   test -f "$ac_file" || continue
   3357   case $ac_file in
   3358     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3359 	;;
   3360     [ab].out )
   3361 	# We found the default executable, but exeext='' is most
   3362 	# certainly right.
   3363 	break;;
   3364     *.* )
   3365 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3366 	then :; else
   3367 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3368 	fi
   3369 	# We set ac_cv_exeext here because the later test for it is not
   3370 	# safe: cross compilers may not add the suffix if given an `-o'
   3371 	# argument, so we may need to know it at that point already.
   3372 	# Even if this section looks crufty: it has the advantage of
   3373 	# actually working.
   3374 	break;;
   3375     * )
   3376 	break;;
   3377   esac
   3378 done
   3379 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3380 
   3381 else
   3382   ac_file=''
   3383 fi
   3384 if test -z "$ac_file"; then :
   3385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3386 $as_echo "no" >&6; }
   3387 $as_echo "$as_me: failed program was:" >&5
   3388 sed 's/^/| /' conftest.$ac_ext >&5
   3389 
   3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3392 as_fn_error 77 "C compiler cannot create executables
   3393 See \`config.log' for more details" "$LINENO" 5; }
   3394 else
   3395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3396 $as_echo "yes" >&6; }
   3397 fi
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3399 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3401 $as_echo "$ac_file" >&6; }
   3402 ac_exeext=$ac_cv_exeext
   3403 
   3404 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3405 ac_clean_files=$ac_clean_files_save
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3407 $as_echo_n "checking for suffix of executables... " >&6; }
   3408 if { { ac_try="$ac_link"
   3409 case "(($ac_try" in
   3410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3411   *) ac_try_echo=$ac_try;;
   3412 esac
   3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3414 $as_echo "$ac_try_echo"; } >&5
   3415   (eval "$ac_link") 2>&5
   3416   ac_status=$?
   3417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3418   test $ac_status = 0; }; then :
   3419   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3420 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3421 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3422 # `rm'.
   3423 for ac_file in conftest.exe conftest conftest.*; do
   3424   test -f "$ac_file" || continue
   3425   case $ac_file in
   3426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3427     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3428 	  break;;
   3429     * ) break;;
   3430   esac
   3431 done
   3432 else
   3433   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3435 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3436 See \`config.log' for more details" "$LINENO" 5; }
   3437 fi
   3438 rm -f conftest conftest$ac_cv_exeext
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3440 $as_echo "$ac_cv_exeext" >&6; }
   3441 
   3442 rm -f conftest.$ac_ext
   3443 EXEEXT=$ac_cv_exeext
   3444 ac_exeext=$EXEEXT
   3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3446 /* end confdefs.h.  */
   3447 #include <stdio.h>
   3448 int
   3449 main ()
   3450 {
   3451 FILE *f = fopen ("conftest.out", "w");
   3452  return ferror (f) || fclose (f) != 0;
   3453 
   3454   ;
   3455   return 0;
   3456 }
   3457 _ACEOF
   3458 ac_clean_files="$ac_clean_files conftest.out"
   3459 # Check that the compiler produces executables we can run.  If not, either
   3460 # the compiler is broken, or we cross compile.
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3462 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3463 if test "$cross_compiling" != yes; then
   3464   { { ac_try="$ac_link"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3470 $as_echo "$ac_try_echo"; } >&5
   3471   (eval "$ac_link") 2>&5
   3472   ac_status=$?
   3473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3474   test $ac_status = 0; }
   3475   if { ac_try='./conftest$ac_cv_exeext'
   3476   { { case "(($ac_try" in
   3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3478   *) ac_try_echo=$ac_try;;
   3479 esac
   3480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3481 $as_echo "$ac_try_echo"; } >&5
   3482   (eval "$ac_try") 2>&5
   3483   ac_status=$?
   3484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3485   test $ac_status = 0; }; }; then
   3486     cross_compiling=no
   3487   else
   3488     if test "$cross_compiling" = maybe; then
   3489 	cross_compiling=yes
   3490     else
   3491 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error $? "cannot run C compiled programs.
   3494 If you meant to cross compile, use \`--host'.
   3495 See \`config.log' for more details" "$LINENO" 5; }
   3496     fi
   3497   fi
   3498 fi
   3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3500 $as_echo "$cross_compiling" >&6; }
   3501 
   3502 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3503 ac_clean_files=$ac_clean_files_save
   3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3505 $as_echo_n "checking for suffix of object files... " >&6; }
   3506 if ${ac_cv_objext+:} false; then :
   3507   $as_echo_n "(cached) " >&6
   3508 else
   3509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 rm -f conftest.o conftest.obj
   3521 if { { ac_try="$ac_compile"
   3522 case "(($ac_try" in
   3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3524   *) ac_try_echo=$ac_try;;
   3525 esac
   3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3527 $as_echo "$ac_try_echo"; } >&5
   3528   (eval "$ac_compile") 2>&5
   3529   ac_status=$?
   3530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3531   test $ac_status = 0; }; then :
   3532   for ac_file in conftest.o conftest.obj conftest.*; do
   3533   test -f "$ac_file" || continue;
   3534   case $ac_file in
   3535     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3536     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3537        break;;
   3538   esac
   3539 done
   3540 else
   3541   $as_echo "$as_me: failed program was:" >&5
   3542 sed 's/^/| /' conftest.$ac_ext >&5
   3543 
   3544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3546 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3547 See \`config.log' for more details" "$LINENO" 5; }
   3548 fi
   3549 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3550 fi
   3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3552 $as_echo "$ac_cv_objext" >&6; }
   3553 OBJEXT=$ac_cv_objext
   3554 ac_objext=$OBJEXT
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3557 if ${ac_cv_c_compiler_gnu+:} false; then :
   3558   $as_echo_n "(cached) " >&6
   3559 else
   3560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3561 /* end confdefs.h.  */
   3562 
   3563 int
   3564 main ()
   3565 {
   3566 #ifndef __GNUC__
   3567        choke me
   3568 #endif
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575   ac_compiler_gnu=yes
   3576 else
   3577   ac_compiler_gnu=no
   3578 fi
   3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3581 
   3582 fi
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3585 if test $ac_compiler_gnu = yes; then
   3586   GCC=yes
   3587 else
   3588   GCC=
   3589 fi
   3590 ac_test_CFLAGS=${CFLAGS+set}
   3591 ac_save_CFLAGS=$CFLAGS
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3594 if ${ac_cv_prog_cc_g+:} false; then :
   3595   $as_echo_n "(cached) " >&6
   3596 else
   3597   ac_save_c_werror_flag=$ac_c_werror_flag
   3598    ac_c_werror_flag=yes
   3599    ac_cv_prog_cc_g=no
   3600    CFLAGS="-g"
   3601    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3602 /* end confdefs.h.  */
   3603 
   3604 int
   3605 main ()
   3606 {
   3607 
   3608   ;
   3609   return 0;
   3610 }
   3611 _ACEOF
   3612 if ac_fn_c_try_compile "$LINENO"; then :
   3613   ac_cv_prog_cc_g=yes
   3614 else
   3615   CFLAGS=""
   3616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3617 /* end confdefs.h.  */
   3618 
   3619 int
   3620 main ()
   3621 {
   3622 
   3623   ;
   3624   return 0;
   3625 }
   3626 _ACEOF
   3627 if ac_fn_c_try_compile "$LINENO"; then :
   3628 
   3629 else
   3630   ac_c_werror_flag=$ac_save_c_werror_flag
   3631 	 CFLAGS="-g"
   3632 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 
   3635 int
   3636 main ()
   3637 {
   3638 
   3639   ;
   3640   return 0;
   3641 }
   3642 _ACEOF
   3643 if ac_fn_c_try_compile "$LINENO"; then :
   3644   ac_cv_prog_cc_g=yes
   3645 fi
   3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3647 fi
   3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3649 fi
   3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3651    ac_c_werror_flag=$ac_save_c_werror_flag
   3652 fi
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3654 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3655 if test "$ac_test_CFLAGS" = set; then
   3656   CFLAGS=$ac_save_CFLAGS
   3657 elif test $ac_cv_prog_cc_g = yes; then
   3658   if test "$GCC" = yes; then
   3659     CFLAGS="-g -O2"
   3660   else
   3661     CFLAGS="-g"
   3662   fi
   3663 else
   3664   if test "$GCC" = yes; then
   3665     CFLAGS="-O2"
   3666   else
   3667     CFLAGS=
   3668   fi
   3669 fi
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3672 if ${ac_cv_prog_cc_c89+:} false; then :
   3673   $as_echo_n "(cached) " >&6
   3674 else
   3675   ac_cv_prog_cc_c89=no
   3676 ac_save_CC=$CC
   3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3678 /* end confdefs.h.  */
   3679 #include <stdarg.h>
   3680 #include <stdio.h>
   3681 #include <sys/types.h>
   3682 #include <sys/stat.h>
   3683 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3684 struct buf { int x; };
   3685 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3686 static char *e (p, i)
   3687      char **p;
   3688      int i;
   3689 {
   3690   return p[i];
   3691 }
   3692 static char *f (char * (*g) (char **, int), char **p, ...)
   3693 {
   3694   char *s;
   3695   va_list v;
   3696   va_start (v,p);
   3697   s = g (p, va_arg (v,int));
   3698   va_end (v);
   3699   return s;
   3700 }
   3701 
   3702 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3703    function prototypes and stuff, but not '\xHH' hex character constants.
   3704    These don't provoke an error unfortunately, instead are silently treated
   3705    as 'x'.  The following induces an error, until -std is added to get
   3706    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3707    array size at least.  It's necessary to write '\x00'==0 to get something
   3708    that's true only with -std.  */
   3709 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3710 
   3711 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3712    inside strings and character constants.  */
   3713 #define FOO(x) 'x'
   3714 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3715 
   3716 int test (int i, double x);
   3717 struct s1 {int (*f) (int a);};
   3718 struct s2 {int (*f) (double a);};
   3719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3720 int argc;
   3721 char **argv;
   3722 int
   3723 main ()
   3724 {
   3725 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3731 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3732 do
   3733   CC="$ac_save_CC $ac_arg"
   3734   if ac_fn_c_try_compile "$LINENO"; then :
   3735   ac_cv_prog_cc_c89=$ac_arg
   3736 fi
   3737 rm -f core conftest.err conftest.$ac_objext
   3738   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3739 done
   3740 rm -f conftest.$ac_ext
   3741 CC=$ac_save_CC
   3742 
   3743 fi
   3744 # AC_CACHE_VAL
   3745 case "x$ac_cv_prog_cc_c89" in
   3746   x)
   3747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3748 $as_echo "none needed" >&6; } ;;
   3749   xno)
   3750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3751 $as_echo "unsupported" >&6; } ;;
   3752   *)
   3753     CC="$CC $ac_cv_prog_cc_c89"
   3754     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3755 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3756 esac
   3757 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3758 
   3759 fi
   3760 
   3761 ac_ext=c
   3762 ac_cpp='$CPP $CPPFLAGS'
   3763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3766 
   3767 depcc="$CC"   am_compiler_list=
   3768 
   3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3770 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3771 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3772   $as_echo_n "(cached) " >&6
   3773 else
   3774   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3775   # We make a subdir and do the tests there.  Otherwise we can end up
   3776   # making bogus files that we don't know about and never remove.  For
   3777   # instance it was reported that on HP-UX the gcc test will end up
   3778   # making a dummy file named `D' -- because `-MD' means `put the output
   3779   # in D'.
   3780   rm -rf conftest.dir
   3781   mkdir conftest.dir
   3782   # Copy depcomp to subdir because otherwise we won't find it if we're
   3783   # using a relative directory.
   3784   cp "$am_depcomp" conftest.dir
   3785   cd conftest.dir
   3786   # We will build objects and dependencies in a subdirectory because
   3787   # it helps to detect inapplicable dependency modes.  For instance
   3788   # both Tru64's cc and ICC support -MD to output dependencies as a
   3789   # side effect of compilation, but ICC will put the dependencies in
   3790   # the current directory while Tru64 will put them in the object
   3791   # directory.
   3792   mkdir sub
   3793 
   3794   am_cv_CC_dependencies_compiler_type=none
   3795   if test "$am_compiler_list" = ""; then
   3796      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3797   fi
   3798   am__universal=false
   3799   case " $depcc " in #(
   3800      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3801      esac
   3802 
   3803   for depmode in $am_compiler_list; do
   3804     # Setup a source with many dependencies, because some compilers
   3805     # like to wrap large dependency lists on column 80 (with \), and
   3806     # we should not choose a depcomp mode which is confused by this.
   3807     #
   3808     # We need to recreate these files for each test, as the compiler may
   3809     # overwrite some of them when testing with obscure command lines.
   3810     # This happens at least with the AIX C compiler.
   3811     : > sub/conftest.c
   3812     for i in 1 2 3 4 5 6; do
   3813       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3814       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3815       # Solaris 8's {/usr,}/bin/sh.
   3816       touch sub/conftst$i.h
   3817     done
   3818     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3819 
   3820     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3821     # mode.  It turns out that the SunPro C++ compiler does not properly
   3822     # handle `-M -o', and we need to detect this.  Also, some Intel
   3823     # versions had trouble with output in subdirs
   3824     am__obj=sub/conftest.${OBJEXT-o}
   3825     am__minus_obj="-o $am__obj"
   3826     case $depmode in
   3827     gcc)
   3828       # This depmode causes a compiler race in universal mode.
   3829       test "$am__universal" = false || continue
   3830       ;;
   3831     nosideeffect)
   3832       # after this tag, mechanisms are not by side-effect, so they'll
   3833       # only be used when explicitly requested
   3834       if test "x$enable_dependency_tracking" = xyes; then
   3835 	continue
   3836       else
   3837 	break
   3838       fi
   3839       ;;
   3840     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3841       # This compiler won't grok `-c -o', but also, the minuso test has
   3842       # not run yet.  These depmodes are late enough in the game, and
   3843       # so weak that their functioning should not be impacted.
   3844       am__obj=conftest.${OBJEXT-o}
   3845       am__minus_obj=
   3846       ;;
   3847     none) break ;;
   3848     esac
   3849     if depmode=$depmode \
   3850        source=sub/conftest.c object=$am__obj \
   3851        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3852        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3853          >/dev/null 2>conftest.err &&
   3854        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3855        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3856        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3857        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3858       # icc doesn't choke on unknown options, it will just issue warnings
   3859       # or remarks (even with -Werror).  So we grep stderr for any message
   3860       # that says an option was ignored or not supported.
   3861       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3862       #   icc: Command line warning: ignoring option '-M'; no argument required
   3863       # The diagnosis changed in icc 8.0:
   3864       #   icc: Command line remark: option '-MP' not supported
   3865       if (grep 'ignoring option' conftest.err ||
   3866           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3867         am_cv_CC_dependencies_compiler_type=$depmode
   3868         break
   3869       fi
   3870     fi
   3871   done
   3872 
   3873   cd ..
   3874   rm -rf conftest.dir
   3875 else
   3876   am_cv_CC_dependencies_compiler_type=none
   3877 fi
   3878 
   3879 fi
   3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3881 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3882 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3883 
   3884  if
   3885   test "x$enable_dependency_tracking" != xno \
   3886   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3887   am__fastdepCC_TRUE=
   3888   am__fastdepCC_FALSE='#'
   3889 else
   3890   am__fastdepCC_TRUE='#'
   3891   am__fastdepCC_FALSE=
   3892 fi
   3893 
   3894 
   3895    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3896 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3897 if ${ac_cv_prog_cc_c99+:} false; then :
   3898   $as_echo_n "(cached) " >&6
   3899 else
   3900   ac_cv_prog_cc_c99=no
   3901 ac_save_CC=$CC
   3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3903 /* end confdefs.h.  */
   3904 #include <stdarg.h>
   3905 #include <stdbool.h>
   3906 #include <stdlib.h>
   3907 #include <wchar.h>
   3908 #include <stdio.h>
   3909 
   3910 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3911 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3912 #define showlist(...) puts (#__VA_ARGS__)
   3913 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3914 static void
   3915 test_varargs_macros (void)
   3916 {
   3917   int x = 1234;
   3918   int y = 5678;
   3919   debug ("Flag");
   3920   debug ("X = %d\n", x);
   3921   showlist (The first, second, and third items.);
   3922   report (x>y, "x is %d but y is %d", x, y);
   3923 }
   3924 
   3925 // Check long long types.
   3926 #define BIG64 18446744073709551615ull
   3927 #define BIG32 4294967295ul
   3928 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3929 #if !BIG_OK
   3930   your preprocessor is broken;
   3931 #endif
   3932 #if BIG_OK
   3933 #else
   3934   your preprocessor is broken;
   3935 #endif
   3936 static long long int bignum = -9223372036854775807LL;
   3937 static unsigned long long int ubignum = BIG64;
   3938 
   3939 struct incomplete_array
   3940 {
   3941   int datasize;
   3942   double data[];
   3943 };
   3944 
   3945 struct named_init {
   3946   int number;
   3947   const wchar_t *name;
   3948   double average;
   3949 };
   3950 
   3951 typedef const char *ccp;
   3952 
   3953 static inline int
   3954 test_restrict (ccp restrict text)
   3955 {
   3956   // See if C++-style comments work.
   3957   // Iterate through items via the restricted pointer.
   3958   // Also check for declarations in for loops.
   3959   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3960     continue;
   3961   return 0;
   3962 }
   3963 
   3964 // Check varargs and va_copy.
   3965 static void
   3966 test_varargs (const char *format, ...)
   3967 {
   3968   va_list args;
   3969   va_start (args, format);
   3970   va_list args_copy;
   3971   va_copy (args_copy, args);
   3972 
   3973   const char *str;
   3974   int number;
   3975   float fnumber;
   3976 
   3977   while (*format)
   3978     {
   3979       switch (*format++)
   3980 	{
   3981 	case 's': // string
   3982 	  str = va_arg (args_copy, const char *);
   3983 	  break;
   3984 	case 'd': // int
   3985 	  number = va_arg (args_copy, int);
   3986 	  break;
   3987 	case 'f': // float
   3988 	  fnumber = va_arg (args_copy, double);
   3989 	  break;
   3990 	default:
   3991 	  break;
   3992 	}
   3993     }
   3994   va_end (args_copy);
   3995   va_end (args);
   3996 }
   3997 
   3998 int
   3999 main ()
   4000 {
   4001 
   4002   // Check bool.
   4003   _Bool success = false;
   4004 
   4005   // Check restrict.
   4006   if (test_restrict ("String literal") == 0)
   4007     success = true;
   4008   char *restrict newvar = "Another string";
   4009 
   4010   // Check varargs.
   4011   test_varargs ("s, d' f .", "string", 65, 34.234);
   4012   test_varargs_macros ();
   4013 
   4014   // Check flexible array members.
   4015   struct incomplete_array *ia =
   4016     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4017   ia->datasize = 10;
   4018   for (int i = 0; i < ia->datasize; ++i)
   4019     ia->data[i] = i * 1.234;
   4020 
   4021   // Check named initializers.
   4022   struct named_init ni = {
   4023     .number = 34,
   4024     .name = L"Test wide string",
   4025     .average = 543.34343,
   4026   };
   4027 
   4028   ni.number = 58;
   4029 
   4030   int dynamic_array[ni.number];
   4031   dynamic_array[ni.number - 1] = 543;
   4032 
   4033   // work around unused variable warnings
   4034   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4035 	  || dynamic_array[ni.number - 1] != 543);
   4036 
   4037   ;
   4038   return 0;
   4039 }
   4040 _ACEOF
   4041 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4042 do
   4043   CC="$ac_save_CC $ac_arg"
   4044   if ac_fn_c_try_compile "$LINENO"; then :
   4045   ac_cv_prog_cc_c99=$ac_arg
   4046 fi
   4047 rm -f core conftest.err conftest.$ac_objext
   4048   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4049 done
   4050 rm -f conftest.$ac_ext
   4051 CC=$ac_save_CC
   4052 
   4053 fi
   4054 # AC_CACHE_VAL
   4055 case "x$ac_cv_prog_cc_c99" in
   4056   x)
   4057     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4058 $as_echo "none needed" >&6; } ;;
   4059   xno)
   4060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4061 $as_echo "unsupported" >&6; } ;;
   4062   *)
   4063     CC="$CC $ac_cv_prog_cc_c99"
   4064     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4065 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4066 esac
   4067 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4068 
   4069 fi
   4070 
   4071 
   4072 
   4073 ac_ext=c
   4074 ac_cpp='$CPP $CPPFLAGS'
   4075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4080 # On Suns, sometimes $CPP names a directory.
   4081 if test -n "$CPP" && test -d "$CPP"; then
   4082   CPP=
   4083 fi
   4084 if test -z "$CPP"; then
   4085   if ${ac_cv_prog_CPP+:} false; then :
   4086   $as_echo_n "(cached) " >&6
   4087 else
   4088       # Double quotes because CPP needs to be expanded
   4089     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4090     do
   4091       ac_preproc_ok=false
   4092 for ac_c_preproc_warn_flag in '' yes
   4093 do
   4094   # Use a header file that comes with gcc, so configuring glibc
   4095   # with a fresh cross-compiler works.
   4096   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4097   # <limits.h> exists even on freestanding compilers.
   4098   # On the NeXT, cc -E runs the code through the compiler's parser,
   4099   # not just through cpp. "Syntax error" is here to catch this case.
   4100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4101 /* end confdefs.h.  */
   4102 #ifdef __STDC__
   4103 # include <limits.h>
   4104 #else
   4105 # include <assert.h>
   4106 #endif
   4107 		     Syntax error
   4108 _ACEOF
   4109 if ac_fn_c_try_cpp "$LINENO"; then :
   4110 
   4111 else
   4112   # Broken: fails on valid input.
   4113 continue
   4114 fi
   4115 rm -f conftest.err conftest.i conftest.$ac_ext
   4116 
   4117   # OK, works on sane cases.  Now check whether nonexistent headers
   4118   # can be detected and how.
   4119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4120 /* end confdefs.h.  */
   4121 #include <ac_nonexistent.h>
   4122 _ACEOF
   4123 if ac_fn_c_try_cpp "$LINENO"; then :
   4124   # Broken: success on invalid input.
   4125 continue
   4126 else
   4127   # Passes both tests.
   4128 ac_preproc_ok=:
   4129 break
   4130 fi
   4131 rm -f conftest.err conftest.i conftest.$ac_ext
   4132 
   4133 done
   4134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4135 rm -f conftest.i conftest.err conftest.$ac_ext
   4136 if $ac_preproc_ok; then :
   4137   break
   4138 fi
   4139 
   4140     done
   4141     ac_cv_prog_CPP=$CPP
   4142 
   4143 fi
   4144   CPP=$ac_cv_prog_CPP
   4145 else
   4146   ac_cv_prog_CPP=$CPP
   4147 fi
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4149 $as_echo "$CPP" >&6; }
   4150 ac_preproc_ok=false
   4151 for ac_c_preproc_warn_flag in '' yes
   4152 do
   4153   # Use a header file that comes with gcc, so configuring glibc
   4154   # with a fresh cross-compiler works.
   4155   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4156   # <limits.h> exists even on freestanding compilers.
   4157   # On the NeXT, cc -E runs the code through the compiler's parser,
   4158   # not just through cpp. "Syntax error" is here to catch this case.
   4159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 #ifdef __STDC__
   4162 # include <limits.h>
   4163 #else
   4164 # include <assert.h>
   4165 #endif
   4166 		     Syntax error
   4167 _ACEOF
   4168 if ac_fn_c_try_cpp "$LINENO"; then :
   4169 
   4170 else
   4171   # Broken: fails on valid input.
   4172 continue
   4173 fi
   4174 rm -f conftest.err conftest.i conftest.$ac_ext
   4175 
   4176   # OK, works on sane cases.  Now check whether nonexistent headers
   4177   # can be detected and how.
   4178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4179 /* end confdefs.h.  */
   4180 #include <ac_nonexistent.h>
   4181 _ACEOF
   4182 if ac_fn_c_try_cpp "$LINENO"; then :
   4183   # Broken: success on invalid input.
   4184 continue
   4185 else
   4186   # Passes both tests.
   4187 ac_preproc_ok=:
   4188 break
   4189 fi
   4190 rm -f conftest.err conftest.i conftest.$ac_ext
   4191 
   4192 done
   4193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4194 rm -f conftest.i conftest.err conftest.$ac_ext
   4195 if $ac_preproc_ok; then :
   4196 
   4197 else
   4198   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4201 See \`config.log' for more details" "$LINENO" 5; }
   4202 fi
   4203 
   4204 ac_ext=c
   4205 ac_cpp='$CPP $CPPFLAGS'
   4206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4209 
   4210 
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4213 if ${ac_cv_path_GREP+:} false; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216   if test -z "$GREP"; then
   4217   ac_path_GREP_found=false
   4218   # Loop through the user's path and test for each of PROGNAME-LIST
   4219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4221 do
   4222   IFS=$as_save_IFS
   4223   test -z "$as_dir" && as_dir=.
   4224     for ac_prog in grep ggrep; do
   4225     for ac_exec_ext in '' $ac_executable_extensions; do
   4226       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4227       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4228 # Check for GNU ac_path_GREP and select it if it is found.
   4229   # Check for GNU $ac_path_GREP
   4230 case `"$ac_path_GREP" --version 2>&1` in
   4231 *GNU*)
   4232   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4233 *)
   4234   ac_count=0
   4235   $as_echo_n 0123456789 >"conftest.in"
   4236   while :
   4237   do
   4238     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4239     mv "conftest.tmp" "conftest.in"
   4240     cp "conftest.in" "conftest.nl"
   4241     $as_echo 'GREP' >> "conftest.nl"
   4242     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4243     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4244     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4245     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4246       # Best one so far, save it but keep looking for a better one
   4247       ac_cv_path_GREP="$ac_path_GREP"
   4248       ac_path_GREP_max=$ac_count
   4249     fi
   4250     # 10*(2^10) chars as input seems more than enough
   4251     test $ac_count -gt 10 && break
   4252   done
   4253   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4254 esac
   4255 
   4256       $ac_path_GREP_found && break 3
   4257     done
   4258   done
   4259   done
   4260 IFS=$as_save_IFS
   4261   if test -z "$ac_cv_path_GREP"; then
   4262     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4263   fi
   4264 else
   4265   ac_cv_path_GREP=$GREP
   4266 fi
   4267 
   4268 fi
   4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4270 $as_echo "$ac_cv_path_GREP" >&6; }
   4271  GREP="$ac_cv_path_GREP"
   4272 
   4273 
   4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4275 $as_echo_n "checking for egrep... " >&6; }
   4276 if ${ac_cv_path_EGREP+:} false; then :
   4277   $as_echo_n "(cached) " >&6
   4278 else
   4279   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4280    then ac_cv_path_EGREP="$GREP -E"
   4281    else
   4282      if test -z "$EGREP"; then
   4283   ac_path_EGREP_found=false
   4284   # Loop through the user's path and test for each of PROGNAME-LIST
   4285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4286 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4287 do
   4288   IFS=$as_save_IFS
   4289   test -z "$as_dir" && as_dir=.
   4290     for ac_prog in egrep; do
   4291     for ac_exec_ext in '' $ac_executable_extensions; do
   4292       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4293       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4294 # Check for GNU ac_path_EGREP and select it if it is found.
   4295   # Check for GNU $ac_path_EGREP
   4296 case `"$ac_path_EGREP" --version 2>&1` in
   4297 *GNU*)
   4298   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4299 *)
   4300   ac_count=0
   4301   $as_echo_n 0123456789 >"conftest.in"
   4302   while :
   4303   do
   4304     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4305     mv "conftest.tmp" "conftest.in"
   4306     cp "conftest.in" "conftest.nl"
   4307     $as_echo 'EGREP' >> "conftest.nl"
   4308     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4309     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4310     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4311     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4312       # Best one so far, save it but keep looking for a better one
   4313       ac_cv_path_EGREP="$ac_path_EGREP"
   4314       ac_path_EGREP_max=$ac_count
   4315     fi
   4316     # 10*(2^10) chars as input seems more than enough
   4317     test $ac_count -gt 10 && break
   4318   done
   4319   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4320 esac
   4321 
   4322       $ac_path_EGREP_found && break 3
   4323     done
   4324   done
   4325   done
   4326 IFS=$as_save_IFS
   4327   if test -z "$ac_cv_path_EGREP"; then
   4328     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4329   fi
   4330 else
   4331   ac_cv_path_EGREP=$EGREP
   4332 fi
   4333 
   4334    fi
   4335 fi
   4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4337 $as_echo "$ac_cv_path_EGREP" >&6; }
   4338  EGREP="$ac_cv_path_EGREP"
   4339 
   4340 
   4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4342 $as_echo_n "checking for ANSI C header files... " >&6; }
   4343 if ${ac_cv_header_stdc+:} false; then :
   4344   $as_echo_n "(cached) " >&6
   4345 else
   4346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4347 /* end confdefs.h.  */
   4348 #include <stdlib.h>
   4349 #include <stdarg.h>
   4350 #include <string.h>
   4351 #include <float.h>
   4352 
   4353 int
   4354 main ()
   4355 {
   4356 
   4357   ;
   4358   return 0;
   4359 }
   4360 _ACEOF
   4361 if ac_fn_c_try_compile "$LINENO"; then :
   4362   ac_cv_header_stdc=yes
   4363 else
   4364   ac_cv_header_stdc=no
   4365 fi
   4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4367 
   4368 if test $ac_cv_header_stdc = yes; then
   4369   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4371 /* end confdefs.h.  */
   4372 #include <string.h>
   4373 
   4374 _ACEOF
   4375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4376   $EGREP "memchr" >/dev/null 2>&1; then :
   4377 
   4378 else
   4379   ac_cv_header_stdc=no
   4380 fi
   4381 rm -f conftest*
   4382 
   4383 fi
   4384 
   4385 if test $ac_cv_header_stdc = yes; then
   4386   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 #include <stdlib.h>
   4390 
   4391 _ACEOF
   4392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4393   $EGREP "free" >/dev/null 2>&1; then :
   4394 
   4395 else
   4396   ac_cv_header_stdc=no
   4397 fi
   4398 rm -f conftest*
   4399 
   4400 fi
   4401 
   4402 if test $ac_cv_header_stdc = yes; then
   4403   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4404   if test "$cross_compiling" = yes; then :
   4405   :
   4406 else
   4407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 #include <ctype.h>
   4410 #include <stdlib.h>
   4411 #if ((' ' & 0x0FF) == 0x020)
   4412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4414 #else
   4415 # define ISLOWER(c) \
   4416 		   (('a' <= (c) && (c) <= 'i') \
   4417 		     || ('j' <= (c) && (c) <= 'r') \
   4418 		     || ('s' <= (c) && (c) <= 'z'))
   4419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4420 #endif
   4421 
   4422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4423 int
   4424 main ()
   4425 {
   4426   int i;
   4427   for (i = 0; i < 256; i++)
   4428     if (XOR (islower (i), ISLOWER (i))
   4429 	|| toupper (i) != TOUPPER (i))
   4430       return 2;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 if ac_fn_c_try_run "$LINENO"; then :
   4435 
   4436 else
   4437   ac_cv_header_stdc=no
   4438 fi
   4439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4440   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4441 fi
   4442 
   4443 fi
   4444 fi
   4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4446 $as_echo "$ac_cv_header_stdc" >&6; }
   4447 if test $ac_cv_header_stdc = yes; then
   4448 
   4449 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4450 
   4451 fi
   4452 
   4453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4454 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4455 		  inttypes.h stdint.h unistd.h
   4456 do :
   4457   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4458 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4459 "
   4460 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4461   cat >>confdefs.h <<_ACEOF
   4462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4463 _ACEOF
   4464 
   4465 fi
   4466 
   4467 done
   4468 
   4469 
   4470 
   4471 
   4472 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4473 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4474   CLANGCC="yes"
   4475 else
   4476   CLANGCC="no"
   4477 fi
   4478 
   4479 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4480 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4481   INTELCC="yes"
   4482 else
   4483   INTELCC="no"
   4484 fi
   4485 
   4486 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4487 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4488   SUNCC="yes"
   4489 else
   4490   SUNCC="no"
   4491 fi
   4492 
   4493 
   4494 
   4495 
   4496 
   4497 
   4498 
   4499 
   4500 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4501 	if test -n "$ac_tool_prefix"; then
   4502   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4503 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4505 $as_echo_n "checking for $ac_word... " >&6; }
   4506 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4507   $as_echo_n "(cached) " >&6
   4508 else
   4509   case $PKG_CONFIG in
   4510   [\\/]* | ?:[\\/]*)
   4511   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4512   ;;
   4513   *)
   4514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4515 for as_dir in $PATH
   4516 do
   4517   IFS=$as_save_IFS
   4518   test -z "$as_dir" && as_dir=.
   4519     for ac_exec_ext in '' $ac_executable_extensions; do
   4520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4521     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4523     break 2
   4524   fi
   4525 done
   4526   done
   4527 IFS=$as_save_IFS
   4528 
   4529   ;;
   4530 esac
   4531 fi
   4532 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4533 if test -n "$PKG_CONFIG"; then
   4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4535 $as_echo "$PKG_CONFIG" >&6; }
   4536 else
   4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4538 $as_echo "no" >&6; }
   4539 fi
   4540 
   4541 
   4542 fi
   4543 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4544   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4545   # Extract the first word of "pkg-config", so it can be a program name with args.
   4546 set dummy pkg-config; ac_word=$2
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4548 $as_echo_n "checking for $ac_word... " >&6; }
   4549 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4550   $as_echo_n "(cached) " >&6
   4551 else
   4552   case $ac_pt_PKG_CONFIG in
   4553   [\\/]* | ?:[\\/]*)
   4554   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4555   ;;
   4556   *)
   4557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4558 for as_dir in $PATH
   4559 do
   4560   IFS=$as_save_IFS
   4561   test -z "$as_dir" && as_dir=.
   4562     for ac_exec_ext in '' $ac_executable_extensions; do
   4563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4564     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4566     break 2
   4567   fi
   4568 done
   4569   done
   4570 IFS=$as_save_IFS
   4571 
   4572   ;;
   4573 esac
   4574 fi
   4575 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4576 if test -n "$ac_pt_PKG_CONFIG"; then
   4577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4578 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4579 else
   4580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4581 $as_echo "no" >&6; }
   4582 fi
   4583 
   4584   if test "x$ac_pt_PKG_CONFIG" = x; then
   4585     PKG_CONFIG=""
   4586   else
   4587     case $cross_compiling:$ac_tool_warned in
   4588 yes:)
   4589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4591 ac_tool_warned=yes ;;
   4592 esac
   4593     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4594   fi
   4595 else
   4596   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4597 fi
   4598 
   4599 fi
   4600 if test -n "$PKG_CONFIG"; then
   4601 	_pkg_min_version=0.9.0
   4602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4603 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4604 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4606 $as_echo "yes" >&6; }
   4607 	else
   4608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4609 $as_echo "no" >&6; }
   4610 		PKG_CONFIG=""
   4611 	fi
   4612 fi
   4613 # Make sure we can run config.sub.
   4614 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4615   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4616 
   4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4618 $as_echo_n "checking build system type... " >&6; }
   4619 if ${ac_cv_build+:} false; then :
   4620   $as_echo_n "(cached) " >&6
   4621 else
   4622   ac_build_alias=$build_alias
   4623 test "x$ac_build_alias" = x &&
   4624   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4625 test "x$ac_build_alias" = x &&
   4626   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4627 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4628   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4629 
   4630 fi
   4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4632 $as_echo "$ac_cv_build" >&6; }
   4633 case $ac_cv_build in
   4634 *-*-*) ;;
   4635 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4636 esac
   4637 build=$ac_cv_build
   4638 ac_save_IFS=$IFS; IFS='-'
   4639 set x $ac_cv_build
   4640 shift
   4641 build_cpu=$1
   4642 build_vendor=$2
   4643 shift; shift
   4644 # Remember, the first character of IFS is used to create $*,
   4645 # except with old shells:
   4646 build_os=$*
   4647 IFS=$ac_save_IFS
   4648 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4649 
   4650 
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4652 $as_echo_n "checking host system type... " >&6; }
   4653 if ${ac_cv_host+:} false; then :
   4654   $as_echo_n "(cached) " >&6
   4655 else
   4656   if test "x$host_alias" = x; then
   4657   ac_cv_host=$ac_cv_build
   4658 else
   4659   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4660     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4661 fi
   4662 
   4663 fi
   4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4665 $as_echo "$ac_cv_host" >&6; }
   4666 case $ac_cv_host in
   4667 *-*-*) ;;
   4668 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4669 esac
   4670 host=$ac_cv_host
   4671 ac_save_IFS=$IFS; IFS='-'
   4672 set x $ac_cv_host
   4673 shift
   4674 host_cpu=$1
   4675 host_vendor=$2
   4676 shift; shift
   4677 # Remember, the first character of IFS is used to create $*,
   4678 # except with old shells:
   4679 host_os=$*
   4680 IFS=$ac_save_IFS
   4681 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4682 
   4683 
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4685 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4686 if ${ac_cv_path_SED+:} false; then :
   4687   $as_echo_n "(cached) " >&6
   4688 else
   4689             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4690      for ac_i in 1 2 3 4 5 6 7; do
   4691        ac_script="$ac_script$as_nl$ac_script"
   4692      done
   4693      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4694      { ac_script=; unset ac_script;}
   4695      if test -z "$SED"; then
   4696   ac_path_SED_found=false
   4697   # Loop through the user's path and test for each of PROGNAME-LIST
   4698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4699 for as_dir in $PATH
   4700 do
   4701   IFS=$as_save_IFS
   4702   test -z "$as_dir" && as_dir=.
   4703     for ac_prog in sed gsed; do
   4704     for ac_exec_ext in '' $ac_executable_extensions; do
   4705       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4706       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4707 # Check for GNU ac_path_SED and select it if it is found.
   4708   # Check for GNU $ac_path_SED
   4709 case `"$ac_path_SED" --version 2>&1` in
   4710 *GNU*)
   4711   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4712 *)
   4713   ac_count=0
   4714   $as_echo_n 0123456789 >"conftest.in"
   4715   while :
   4716   do
   4717     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4718     mv "conftest.tmp" "conftest.in"
   4719     cp "conftest.in" "conftest.nl"
   4720     $as_echo '' >> "conftest.nl"
   4721     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4722     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4723     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4724     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4725       # Best one so far, save it but keep looking for a better one
   4726       ac_cv_path_SED="$ac_path_SED"
   4727       ac_path_SED_max=$ac_count
   4728     fi
   4729     # 10*(2^10) chars as input seems more than enough
   4730     test $ac_count -gt 10 && break
   4731   done
   4732   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4733 esac
   4734 
   4735       $ac_path_SED_found && break 3
   4736     done
   4737   done
   4738   done
   4739 IFS=$as_save_IFS
   4740   if test -z "$ac_cv_path_SED"; then
   4741     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4742   fi
   4743 else
   4744   ac_cv_path_SED=$SED
   4745 fi
   4746 
   4747 fi
   4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4749 $as_echo "$ac_cv_path_SED" >&6; }
   4750  SED="$ac_cv_path_SED"
   4751   rm -f conftest.sed
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 # Check whether --enable-selective-werror was given.
   4759 if test "${enable_selective_werror+set}" = set; then :
   4760   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4761 else
   4762   SELECTIVE_WERROR=yes
   4763 fi
   4764 
   4765 
   4766 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4767 if test "x$SUNCC" = "xyes"; then
   4768     BASE_CFLAGS="-v"
   4769 else
   4770     BASE_CFLAGS=""
   4771 fi
   4772 
   4773 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 xorg_testset_save_CFLAGS="$CFLAGS"
   4780 
   4781 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4785 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4786 /* end confdefs.h.  */
   4787 int i;
   4788 _ACEOF
   4789 if ac_fn_c_try_compile "$LINENO"; then :
   4790   xorg_testset_unknown_warning_option=yes
   4791 else
   4792   xorg_testset_unknown_warning_option=no
   4793 fi
   4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   4796 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   4797 	CFLAGS="$xorg_testset_save_CFLAGS"
   4798 fi
   4799 
   4800 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4801 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4803 	fi
   4804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4805 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4806 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4807 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4808 /* end confdefs.h.  */
   4809 int i;
   4810 _ACEOF
   4811 if ac_fn_c_try_compile "$LINENO"; then :
   4812   xorg_testset_unused_command_line_argument=yes
   4813 else
   4814   xorg_testset_unused_command_line_argument=no
   4815 fi
   4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   4818 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   4819 	CFLAGS="$xorg_testset_save_CFLAGS"
   4820 fi
   4821 
   4822 found="no"
   4823 
   4824 	if test $found = "no" ; then
   4825 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4827 		fi
   4828 
   4829 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4831 		fi
   4832 
   4833 		CFLAGS="$CFLAGS -Wall"
   4834 
   4835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4836 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4837 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4838 /* end confdefs.h.  */
   4839 int i;
   4840 int
   4841 main ()
   4842 {
   4843 
   4844   ;
   4845   return 0;
   4846 }
   4847 _ACEOF
   4848 if ac_fn_c_try_link "$LINENO"; then :
   4849   supported=yes
   4850 else
   4851   supported=no
   4852 fi
   4853 rm -f core conftest.err conftest.$ac_objext \
   4854     conftest$ac_exeext conftest.$ac_ext
   4855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4856 $as_echo "$supported" >&6; }
   4857 		CFLAGS="$xorg_testset_save_CFLAGS"
   4858 
   4859 		if test "$supported" = "yes" ; then
   4860 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4861 			found="yes"
   4862 		fi
   4863 	fi
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 xorg_testset_save_CFLAGS="$CFLAGS"
   4872 
   4873 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4877 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4878 /* end confdefs.h.  */
   4879 int i;
   4880 _ACEOF
   4881 if ac_fn_c_try_compile "$LINENO"; then :
   4882   xorg_testset_unknown_warning_option=yes
   4883 else
   4884   xorg_testset_unknown_warning_option=no
   4885 fi
   4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   4888 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   4889 	CFLAGS="$xorg_testset_save_CFLAGS"
   4890 fi
   4891 
   4892 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4893 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4894 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4895 	fi
   4896 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4898 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4899 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4900 /* end confdefs.h.  */
   4901 int i;
   4902 _ACEOF
   4903 if ac_fn_c_try_compile "$LINENO"; then :
   4904   xorg_testset_unused_command_line_argument=yes
   4905 else
   4906   xorg_testset_unused_command_line_argument=no
   4907 fi
   4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   4910 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   4911 	CFLAGS="$xorg_testset_save_CFLAGS"
   4912 fi
   4913 
   4914 found="no"
   4915 
   4916 	if test $found = "no" ; then
   4917 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4919 		fi
   4920 
   4921 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4923 		fi
   4924 
   4925 		CFLAGS="$CFLAGS -Wpointer-arith"
   4926 
   4927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4928 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4929 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 int i;
   4932 int
   4933 main ()
   4934 {
   4935 
   4936   ;
   4937   return 0;
   4938 }
   4939 _ACEOF
   4940 if ac_fn_c_try_link "$LINENO"; then :
   4941   supported=yes
   4942 else
   4943   supported=no
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext \
   4946     conftest$ac_exeext conftest.$ac_ext
   4947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4948 $as_echo "$supported" >&6; }
   4949 		CFLAGS="$xorg_testset_save_CFLAGS"
   4950 
   4951 		if test "$supported" = "yes" ; then
   4952 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4953 			found="yes"
   4954 		fi
   4955 	fi
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 xorg_testset_save_CFLAGS="$CFLAGS"
   4964 
   4965 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   4966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4969 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4970 /* end confdefs.h.  */
   4971 int i;
   4972 _ACEOF
   4973 if ac_fn_c_try_compile "$LINENO"; then :
   4974   xorg_testset_unknown_warning_option=yes
   4975 else
   4976   xorg_testset_unknown_warning_option=no
   4977 fi
   4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   4980 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   4981 	CFLAGS="$xorg_testset_save_CFLAGS"
   4982 fi
   4983 
   4984 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   4985 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4986 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4987 	fi
   4988 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4990 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4991 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4992 /* end confdefs.h.  */
   4993 int i;
   4994 _ACEOF
   4995 if ac_fn_c_try_compile "$LINENO"; then :
   4996   xorg_testset_unused_command_line_argument=yes
   4997 else
   4998   xorg_testset_unused_command_line_argument=no
   4999 fi
   5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5002 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5003 	CFLAGS="$xorg_testset_save_CFLAGS"
   5004 fi
   5005 
   5006 found="no"
   5007 
   5008 	if test $found = "no" ; then
   5009 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 		fi
   5012 
   5013 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5015 		fi
   5016 
   5017 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5018 
   5019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5020 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5021 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5022 /* end confdefs.h.  */
   5023 int i;
   5024 int
   5025 main ()
   5026 {
   5027 
   5028   ;
   5029   return 0;
   5030 }
   5031 _ACEOF
   5032 if ac_fn_c_try_link "$LINENO"; then :
   5033   supported=yes
   5034 else
   5035   supported=no
   5036 fi
   5037 rm -f core conftest.err conftest.$ac_objext \
   5038     conftest$ac_exeext conftest.$ac_ext
   5039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5040 $as_echo "$supported" >&6; }
   5041 		CFLAGS="$xorg_testset_save_CFLAGS"
   5042 
   5043 		if test "$supported" = "yes" ; then
   5044 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5045 			found="yes"
   5046 		fi
   5047 	fi
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 xorg_testset_save_CFLAGS="$CFLAGS"
   5056 
   5057 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5061 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5062 /* end confdefs.h.  */
   5063 int i;
   5064 _ACEOF
   5065 if ac_fn_c_try_compile "$LINENO"; then :
   5066   xorg_testset_unknown_warning_option=yes
   5067 else
   5068   xorg_testset_unknown_warning_option=no
   5069 fi
   5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5072 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5073 	CFLAGS="$xorg_testset_save_CFLAGS"
   5074 fi
   5075 
   5076 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5077 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5079 	fi
   5080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5083 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5084 /* end confdefs.h.  */
   5085 int i;
   5086 _ACEOF
   5087 if ac_fn_c_try_compile "$LINENO"; then :
   5088   xorg_testset_unused_command_line_argument=yes
   5089 else
   5090   xorg_testset_unused_command_line_argument=no
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5094 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5095 	CFLAGS="$xorg_testset_save_CFLAGS"
   5096 fi
   5097 
   5098 found="no"
   5099 
   5100 	if test $found = "no" ; then
   5101 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5103 		fi
   5104 
   5105 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5107 		fi
   5108 
   5109 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5110 
   5111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5112 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5113 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5114 /* end confdefs.h.  */
   5115 int i;
   5116 int
   5117 main ()
   5118 {
   5119 
   5120   ;
   5121   return 0;
   5122 }
   5123 _ACEOF
   5124 if ac_fn_c_try_link "$LINENO"; then :
   5125   supported=yes
   5126 else
   5127   supported=no
   5128 fi
   5129 rm -f core conftest.err conftest.$ac_objext \
   5130     conftest$ac_exeext conftest.$ac_ext
   5131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5132 $as_echo "$supported" >&6; }
   5133 		CFLAGS="$xorg_testset_save_CFLAGS"
   5134 
   5135 		if test "$supported" = "yes" ; then
   5136 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5137 			found="yes"
   5138 		fi
   5139 	fi
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 xorg_testset_save_CFLAGS="$CFLAGS"
   5148 
   5149 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5153 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 int i;
   5156 _ACEOF
   5157 if ac_fn_c_try_compile "$LINENO"; then :
   5158   xorg_testset_unknown_warning_option=yes
   5159 else
   5160   xorg_testset_unknown_warning_option=no
   5161 fi
   5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5164 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5165 	CFLAGS="$xorg_testset_save_CFLAGS"
   5166 fi
   5167 
   5168 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5169 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5170 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 	fi
   5172 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5174 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5175 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5176 /* end confdefs.h.  */
   5177 int i;
   5178 _ACEOF
   5179 if ac_fn_c_try_compile "$LINENO"; then :
   5180   xorg_testset_unused_command_line_argument=yes
   5181 else
   5182   xorg_testset_unused_command_line_argument=no
   5183 fi
   5184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5186 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5187 	CFLAGS="$xorg_testset_save_CFLAGS"
   5188 fi
   5189 
   5190 found="no"
   5191 
   5192 	if test $found = "no" ; then
   5193 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5195 		fi
   5196 
   5197 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5199 		fi
   5200 
   5201 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5202 
   5203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5204 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5205 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5206 /* end confdefs.h.  */
   5207 int i;
   5208 int
   5209 main ()
   5210 {
   5211 
   5212   ;
   5213   return 0;
   5214 }
   5215 _ACEOF
   5216 if ac_fn_c_try_link "$LINENO"; then :
   5217   supported=yes
   5218 else
   5219   supported=no
   5220 fi
   5221 rm -f core conftest.err conftest.$ac_objext \
   5222     conftest$ac_exeext conftest.$ac_ext
   5223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5224 $as_echo "$supported" >&6; }
   5225 		CFLAGS="$xorg_testset_save_CFLAGS"
   5226 
   5227 		if test "$supported" = "yes" ; then
   5228 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5229 			found="yes"
   5230 		fi
   5231 	fi
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 xorg_testset_save_CFLAGS="$CFLAGS"
   5240 
   5241 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5245 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5246 /* end confdefs.h.  */
   5247 int i;
   5248 _ACEOF
   5249 if ac_fn_c_try_compile "$LINENO"; then :
   5250   xorg_testset_unknown_warning_option=yes
   5251 else
   5252   xorg_testset_unknown_warning_option=no
   5253 fi
   5254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5256 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5257 	CFLAGS="$xorg_testset_save_CFLAGS"
   5258 fi
   5259 
   5260 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5261 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5263 	fi
   5264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5266 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5267 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5268 /* end confdefs.h.  */
   5269 int i;
   5270 _ACEOF
   5271 if ac_fn_c_try_compile "$LINENO"; then :
   5272   xorg_testset_unused_command_line_argument=yes
   5273 else
   5274   xorg_testset_unused_command_line_argument=no
   5275 fi
   5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5278 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5279 	CFLAGS="$xorg_testset_save_CFLAGS"
   5280 fi
   5281 
   5282 found="no"
   5283 
   5284 	if test $found = "no" ; then
   5285 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5287 		fi
   5288 
   5289 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5291 		fi
   5292 
   5293 		CFLAGS="$CFLAGS -Wnested-externs"
   5294 
   5295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5296 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5297 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5298 /* end confdefs.h.  */
   5299 int i;
   5300 int
   5301 main ()
   5302 {
   5303 
   5304   ;
   5305   return 0;
   5306 }
   5307 _ACEOF
   5308 if ac_fn_c_try_link "$LINENO"; then :
   5309   supported=yes
   5310 else
   5311   supported=no
   5312 fi
   5313 rm -f core conftest.err conftest.$ac_objext \
   5314     conftest$ac_exeext conftest.$ac_ext
   5315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5316 $as_echo "$supported" >&6; }
   5317 		CFLAGS="$xorg_testset_save_CFLAGS"
   5318 
   5319 		if test "$supported" = "yes" ; then
   5320 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5321 			found="yes"
   5322 		fi
   5323 	fi
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 xorg_testset_save_CFLAGS="$CFLAGS"
   5332 
   5333 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5337 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5338 /* end confdefs.h.  */
   5339 int i;
   5340 _ACEOF
   5341 if ac_fn_c_try_compile "$LINENO"; then :
   5342   xorg_testset_unknown_warning_option=yes
   5343 else
   5344   xorg_testset_unknown_warning_option=no
   5345 fi
   5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5348 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5349 	CFLAGS="$xorg_testset_save_CFLAGS"
   5350 fi
   5351 
   5352 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5353 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 	fi
   5356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5359 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5360 /* end confdefs.h.  */
   5361 int i;
   5362 _ACEOF
   5363 if ac_fn_c_try_compile "$LINENO"; then :
   5364   xorg_testset_unused_command_line_argument=yes
   5365 else
   5366   xorg_testset_unused_command_line_argument=no
   5367 fi
   5368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5370 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5371 	CFLAGS="$xorg_testset_save_CFLAGS"
   5372 fi
   5373 
   5374 found="no"
   5375 
   5376 	if test $found = "no" ; then
   5377 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5379 		fi
   5380 
   5381 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5383 		fi
   5384 
   5385 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5386 
   5387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5388 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5389 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5390 /* end confdefs.h.  */
   5391 int i;
   5392 int
   5393 main ()
   5394 {
   5395 
   5396   ;
   5397   return 0;
   5398 }
   5399 _ACEOF
   5400 if ac_fn_c_try_link "$LINENO"; then :
   5401   supported=yes
   5402 else
   5403   supported=no
   5404 fi
   5405 rm -f core conftest.err conftest.$ac_objext \
   5406     conftest$ac_exeext conftest.$ac_ext
   5407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5408 $as_echo "$supported" >&6; }
   5409 		CFLAGS="$xorg_testset_save_CFLAGS"
   5410 
   5411 		if test "$supported" = "yes" ; then
   5412 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5413 			found="yes"
   5414 		fi
   5415 	fi
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 xorg_testset_save_CFLAGS="$CFLAGS"
   5424 
   5425 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5429 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5430 /* end confdefs.h.  */
   5431 int i;
   5432 _ACEOF
   5433 if ac_fn_c_try_compile "$LINENO"; then :
   5434   xorg_testset_unknown_warning_option=yes
   5435 else
   5436   xorg_testset_unknown_warning_option=no
   5437 fi
   5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5440 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5441 	CFLAGS="$xorg_testset_save_CFLAGS"
   5442 fi
   5443 
   5444 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5445 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5446 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 	fi
   5448 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5450 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5451 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 _ACEOF
   5455 if ac_fn_c_try_compile "$LINENO"; then :
   5456   xorg_testset_unused_command_line_argument=yes
   5457 else
   5458   xorg_testset_unused_command_line_argument=no
   5459 fi
   5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5462 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5463 	CFLAGS="$xorg_testset_save_CFLAGS"
   5464 fi
   5465 
   5466 found="no"
   5467 
   5468 	if test $found = "no" ; then
   5469 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5471 		fi
   5472 
   5473 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5475 		fi
   5476 
   5477 		CFLAGS="$CFLAGS -Wformat=2"
   5478 
   5479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5480 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5481 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5482 /* end confdefs.h.  */
   5483 int i;
   5484 int
   5485 main ()
   5486 {
   5487 
   5488   ;
   5489   return 0;
   5490 }
   5491 _ACEOF
   5492 if ac_fn_c_try_link "$LINENO"; then :
   5493   supported=yes
   5494 else
   5495   supported=no
   5496 fi
   5497 rm -f core conftest.err conftest.$ac_objext \
   5498     conftest$ac_exeext conftest.$ac_ext
   5499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5500 $as_echo "$supported" >&6; }
   5501 		CFLAGS="$xorg_testset_save_CFLAGS"
   5502 
   5503 		if test "$supported" = "yes" ; then
   5504 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5505 			found="yes"
   5506 		fi
   5507 	fi
   5508 
   5509 	if test $found = "no" ; then
   5510 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5512 		fi
   5513 
   5514 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5516 		fi
   5517 
   5518 		CFLAGS="$CFLAGS -Wformat"
   5519 
   5520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5521 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5522 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5523 /* end confdefs.h.  */
   5524 int i;
   5525 int
   5526 main ()
   5527 {
   5528 
   5529   ;
   5530   return 0;
   5531 }
   5532 _ACEOF
   5533 if ac_fn_c_try_link "$LINENO"; then :
   5534   supported=yes
   5535 else
   5536   supported=no
   5537 fi
   5538 rm -f core conftest.err conftest.$ac_objext \
   5539     conftest$ac_exeext conftest.$ac_ext
   5540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5541 $as_echo "$supported" >&6; }
   5542 		CFLAGS="$xorg_testset_save_CFLAGS"
   5543 
   5544 		if test "$supported" = "yes" ; then
   5545 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5546 			found="yes"
   5547 		fi
   5548 	fi
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 xorg_testset_save_CFLAGS="$CFLAGS"
   5557 
   5558 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5562 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 int i;
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"; then :
   5567   xorg_testset_unknown_warning_option=yes
   5568 else
   5569   xorg_testset_unknown_warning_option=no
   5570 fi
   5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5573 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5574 	CFLAGS="$xorg_testset_save_CFLAGS"
   5575 fi
   5576 
   5577 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5578 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5580 	fi
   5581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5584 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 int i;
   5587 _ACEOF
   5588 if ac_fn_c_try_compile "$LINENO"; then :
   5589   xorg_testset_unused_command_line_argument=yes
   5590 else
   5591   xorg_testset_unused_command_line_argument=no
   5592 fi
   5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5595 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5596 	CFLAGS="$xorg_testset_save_CFLAGS"
   5597 fi
   5598 
   5599 found="no"
   5600 
   5601 	if test $found = "no" ; then
   5602 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5604 		fi
   5605 
   5606 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5608 		fi
   5609 
   5610 		CFLAGS="$CFLAGS -Wold-style-definition"
   5611 
   5612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5613 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5614 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 int i;
   5617 int
   5618 main ()
   5619 {
   5620 
   5621   ;
   5622   return 0;
   5623 }
   5624 _ACEOF
   5625 if ac_fn_c_try_link "$LINENO"; then :
   5626   supported=yes
   5627 else
   5628   supported=no
   5629 fi
   5630 rm -f core conftest.err conftest.$ac_objext \
   5631     conftest$ac_exeext conftest.$ac_ext
   5632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5633 $as_echo "$supported" >&6; }
   5634 		CFLAGS="$xorg_testset_save_CFLAGS"
   5635 
   5636 		if test "$supported" = "yes" ; then
   5637 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5638 			found="yes"
   5639 		fi
   5640 	fi
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 xorg_testset_save_CFLAGS="$CFLAGS"
   5649 
   5650 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5654 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5655 /* end confdefs.h.  */
   5656 int i;
   5657 _ACEOF
   5658 if ac_fn_c_try_compile "$LINENO"; then :
   5659   xorg_testset_unknown_warning_option=yes
   5660 else
   5661   xorg_testset_unknown_warning_option=no
   5662 fi
   5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5665 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5666 	CFLAGS="$xorg_testset_save_CFLAGS"
   5667 fi
   5668 
   5669 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5670 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5672 	fi
   5673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5676 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5677 /* end confdefs.h.  */
   5678 int i;
   5679 _ACEOF
   5680 if ac_fn_c_try_compile "$LINENO"; then :
   5681   xorg_testset_unused_command_line_argument=yes
   5682 else
   5683   xorg_testset_unused_command_line_argument=no
   5684 fi
   5685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5687 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5688 	CFLAGS="$xorg_testset_save_CFLAGS"
   5689 fi
   5690 
   5691 found="no"
   5692 
   5693 	if test $found = "no" ; then
   5694 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5696 		fi
   5697 
   5698 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5700 		fi
   5701 
   5702 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5703 
   5704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5705 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5706 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5707 /* end confdefs.h.  */
   5708 int i;
   5709 int
   5710 main ()
   5711 {
   5712 
   5713   ;
   5714   return 0;
   5715 }
   5716 _ACEOF
   5717 if ac_fn_c_try_link "$LINENO"; then :
   5718   supported=yes
   5719 else
   5720   supported=no
   5721 fi
   5722 rm -f core conftest.err conftest.$ac_objext \
   5723     conftest$ac_exeext conftest.$ac_ext
   5724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5725 $as_echo "$supported" >&6; }
   5726 		CFLAGS="$xorg_testset_save_CFLAGS"
   5727 
   5728 		if test "$supported" = "yes" ; then
   5729 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5730 			found="yes"
   5731 		fi
   5732 	fi
   5733 
   5734 
   5735 
   5736 # This chunk adds additional warnings that could catch undesired effects.
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 xorg_testset_save_CFLAGS="$CFLAGS"
   5743 
   5744 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5748 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5749 /* end confdefs.h.  */
   5750 int i;
   5751 _ACEOF
   5752 if ac_fn_c_try_compile "$LINENO"; then :
   5753   xorg_testset_unknown_warning_option=yes
   5754 else
   5755   xorg_testset_unknown_warning_option=no
   5756 fi
   5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5759 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5760 	CFLAGS="$xorg_testset_save_CFLAGS"
   5761 fi
   5762 
   5763 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5764 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	fi
   5767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5770 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 _ACEOF
   5774 if ac_fn_c_try_compile "$LINENO"; then :
   5775   xorg_testset_unused_command_line_argument=yes
   5776 else
   5777   xorg_testset_unused_command_line_argument=no
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5781 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5782 	CFLAGS="$xorg_testset_save_CFLAGS"
   5783 fi
   5784 
   5785 found="no"
   5786 
   5787 	if test $found = "no" ; then
   5788 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5790 		fi
   5791 
   5792 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5794 		fi
   5795 
   5796 		CFLAGS="$CFLAGS -Wunused"
   5797 
   5798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5799 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5800 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5801 /* end confdefs.h.  */
   5802 int i;
   5803 int
   5804 main ()
   5805 {
   5806 
   5807   ;
   5808   return 0;
   5809 }
   5810 _ACEOF
   5811 if ac_fn_c_try_link "$LINENO"; then :
   5812   supported=yes
   5813 else
   5814   supported=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext \
   5817     conftest$ac_exeext conftest.$ac_ext
   5818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5819 $as_echo "$supported" >&6; }
   5820 		CFLAGS="$xorg_testset_save_CFLAGS"
   5821 
   5822 		if test "$supported" = "yes" ; then
   5823 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   5824 			found="yes"
   5825 		fi
   5826 	fi
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 xorg_testset_save_CFLAGS="$CFLAGS"
   5835 
   5836 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5840 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 _ACEOF
   5844 if ac_fn_c_try_compile "$LINENO"; then :
   5845   xorg_testset_unknown_warning_option=yes
   5846 else
   5847   xorg_testset_unknown_warning_option=no
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5851 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5852 	CFLAGS="$xorg_testset_save_CFLAGS"
   5853 fi
   5854 
   5855 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5856 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5858 	fi
   5859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5862 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 int i;
   5865 _ACEOF
   5866 if ac_fn_c_try_compile "$LINENO"; then :
   5867   xorg_testset_unused_command_line_argument=yes
   5868 else
   5869   xorg_testset_unused_command_line_argument=no
   5870 fi
   5871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5873 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5874 	CFLAGS="$xorg_testset_save_CFLAGS"
   5875 fi
   5876 
   5877 found="no"
   5878 
   5879 	if test $found = "no" ; then
   5880 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5881 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5882 		fi
   5883 
   5884 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5885 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5886 		fi
   5887 
   5888 		CFLAGS="$CFLAGS -Wuninitialized"
   5889 
   5890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   5891 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   5892 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5893 /* end confdefs.h.  */
   5894 int i;
   5895 int
   5896 main ()
   5897 {
   5898 
   5899   ;
   5900   return 0;
   5901 }
   5902 _ACEOF
   5903 if ac_fn_c_try_link "$LINENO"; then :
   5904   supported=yes
   5905 else
   5906   supported=no
   5907 fi
   5908 rm -f core conftest.err conftest.$ac_objext \
   5909     conftest$ac_exeext conftest.$ac_ext
   5910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5911 $as_echo "$supported" >&6; }
   5912 		CFLAGS="$xorg_testset_save_CFLAGS"
   5913 
   5914 		if test "$supported" = "yes" ; then
   5915 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   5916 			found="yes"
   5917 		fi
   5918 	fi
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 xorg_testset_save_CFLAGS="$CFLAGS"
   5927 
   5928 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   5929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5931 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5932 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5933 /* end confdefs.h.  */
   5934 int i;
   5935 _ACEOF
   5936 if ac_fn_c_try_compile "$LINENO"; then :
   5937   xorg_testset_unknown_warning_option=yes
   5938 else
   5939   xorg_testset_unknown_warning_option=no
   5940 fi
   5941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   5943 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   5944 	CFLAGS="$xorg_testset_save_CFLAGS"
   5945 fi
   5946 
   5947 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   5948 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5950 	fi
   5951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5954 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5955 /* end confdefs.h.  */
   5956 int i;
   5957 _ACEOF
   5958 if ac_fn_c_try_compile "$LINENO"; then :
   5959   xorg_testset_unused_command_line_argument=yes
   5960 else
   5961   xorg_testset_unused_command_line_argument=no
   5962 fi
   5963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   5965 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   5966 	CFLAGS="$xorg_testset_save_CFLAGS"
   5967 fi
   5968 
   5969 found="no"
   5970 
   5971 	if test $found = "no" ; then
   5972 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5974 		fi
   5975 
   5976 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5978 		fi
   5979 
   5980 		CFLAGS="$CFLAGS -Wshadow"
   5981 
   5982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   5983 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   5984 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 int
   5988 main ()
   5989 {
   5990 
   5991   ;
   5992   return 0;
   5993 }
   5994 _ACEOF
   5995 if ac_fn_c_try_link "$LINENO"; then :
   5996   supported=yes
   5997 else
   5998   supported=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext \
   6001     conftest$ac_exeext conftest.$ac_ext
   6002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 $as_echo "$supported" >&6; }
   6004 		CFLAGS="$xorg_testset_save_CFLAGS"
   6005 
   6006 		if test "$supported" = "yes" ; then
   6007 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6008 			found="yes"
   6009 		fi
   6010 	fi
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 xorg_testset_save_CFLAGS="$CFLAGS"
   6019 
   6020 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6023 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6024 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6025 /* end confdefs.h.  */
   6026 int i;
   6027 _ACEOF
   6028 if ac_fn_c_try_compile "$LINENO"; then :
   6029   xorg_testset_unknown_warning_option=yes
   6030 else
   6031   xorg_testset_unknown_warning_option=no
   6032 fi
   6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6035 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6036 	CFLAGS="$xorg_testset_save_CFLAGS"
   6037 fi
   6038 
   6039 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6040 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6042 	fi
   6043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6045 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6046 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 int i;
   6049 _ACEOF
   6050 if ac_fn_c_try_compile "$LINENO"; then :
   6051   xorg_testset_unused_command_line_argument=yes
   6052 else
   6053   xorg_testset_unused_command_line_argument=no
   6054 fi
   6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6057 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 found="no"
   6062 
   6063 	if test $found = "no" ; then
   6064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6066 		fi
   6067 
   6068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6070 		fi
   6071 
   6072 		CFLAGS="$CFLAGS -Wcast-qual"
   6073 
   6074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6075 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6076 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6077 /* end confdefs.h.  */
   6078 int i;
   6079 int
   6080 main ()
   6081 {
   6082 
   6083   ;
   6084   return 0;
   6085 }
   6086 _ACEOF
   6087 if ac_fn_c_try_link "$LINENO"; then :
   6088   supported=yes
   6089 else
   6090   supported=no
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext \
   6093     conftest$ac_exeext conftest.$ac_ext
   6094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6095 $as_echo "$supported" >&6; }
   6096 		CFLAGS="$xorg_testset_save_CFLAGS"
   6097 
   6098 		if test "$supported" = "yes" ; then
   6099 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6100 			found="yes"
   6101 		fi
   6102 	fi
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 xorg_testset_save_CFLAGS="$CFLAGS"
   6111 
   6112 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6113 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6115 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6116 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6117 /* end confdefs.h.  */
   6118 int i;
   6119 _ACEOF
   6120 if ac_fn_c_try_compile "$LINENO"; then :
   6121   xorg_testset_unknown_warning_option=yes
   6122 else
   6123   xorg_testset_unknown_warning_option=no
   6124 fi
   6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6127 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6128 	CFLAGS="$xorg_testset_save_CFLAGS"
   6129 fi
   6130 
   6131 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6132 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6134 	fi
   6135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6138 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6139 /* end confdefs.h.  */
   6140 int i;
   6141 _ACEOF
   6142 if ac_fn_c_try_compile "$LINENO"; then :
   6143   xorg_testset_unused_command_line_argument=yes
   6144 else
   6145   xorg_testset_unused_command_line_argument=no
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6149 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6150 	CFLAGS="$xorg_testset_save_CFLAGS"
   6151 fi
   6152 
   6153 found="no"
   6154 
   6155 	if test $found = "no" ; then
   6156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 		fi
   6159 
   6160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6162 		fi
   6163 
   6164 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6165 
   6166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6167 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6168 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6169 /* end confdefs.h.  */
   6170 int i;
   6171 int
   6172 main ()
   6173 {
   6174 
   6175   ;
   6176   return 0;
   6177 }
   6178 _ACEOF
   6179 if ac_fn_c_try_link "$LINENO"; then :
   6180   supported=yes
   6181 else
   6182   supported=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext \
   6185     conftest$ac_exeext conftest.$ac_ext
   6186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6187 $as_echo "$supported" >&6; }
   6188 		CFLAGS="$xorg_testset_save_CFLAGS"
   6189 
   6190 		if test "$supported" = "yes" ; then
   6191 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6192 			found="yes"
   6193 		fi
   6194 	fi
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 xorg_testset_save_CFLAGS="$CFLAGS"
   6203 
   6204 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6208 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6209 /* end confdefs.h.  */
   6210 int i;
   6211 _ACEOF
   6212 if ac_fn_c_try_compile "$LINENO"; then :
   6213   xorg_testset_unknown_warning_option=yes
   6214 else
   6215   xorg_testset_unknown_warning_option=no
   6216 fi
   6217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6219 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6220 	CFLAGS="$xorg_testset_save_CFLAGS"
   6221 fi
   6222 
   6223 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6224 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6226 	fi
   6227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6230 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6231 /* end confdefs.h.  */
   6232 int i;
   6233 _ACEOF
   6234 if ac_fn_c_try_compile "$LINENO"; then :
   6235   xorg_testset_unused_command_line_argument=yes
   6236 else
   6237   xorg_testset_unused_command_line_argument=no
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6241 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6242 	CFLAGS="$xorg_testset_save_CFLAGS"
   6243 fi
   6244 
   6245 found="no"
   6246 
   6247 	if test $found = "no" ; then
   6248 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 		fi
   6251 
   6252 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6254 		fi
   6255 
   6256 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6257 
   6258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6259 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6260 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6261 /* end confdefs.h.  */
   6262 int i;
   6263 int
   6264 main ()
   6265 {
   6266 
   6267   ;
   6268   return 0;
   6269 }
   6270 _ACEOF
   6271 if ac_fn_c_try_link "$LINENO"; then :
   6272   supported=yes
   6273 else
   6274   supported=no
   6275 fi
   6276 rm -f core conftest.err conftest.$ac_objext \
   6277     conftest$ac_exeext conftest.$ac_ext
   6278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6279 $as_echo "$supported" >&6; }
   6280 		CFLAGS="$xorg_testset_save_CFLAGS"
   6281 
   6282 		if test "$supported" = "yes" ; then
   6283 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6284 			found="yes"
   6285 		fi
   6286 	fi
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 xorg_testset_save_CFLAGS="$CFLAGS"
   6295 
   6296 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6300 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6301 /* end confdefs.h.  */
   6302 int i;
   6303 _ACEOF
   6304 if ac_fn_c_try_compile "$LINENO"; then :
   6305   xorg_testset_unknown_warning_option=yes
   6306 else
   6307   xorg_testset_unknown_warning_option=no
   6308 fi
   6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6311 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6312 	CFLAGS="$xorg_testset_save_CFLAGS"
   6313 fi
   6314 
   6315 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6316 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6318 	fi
   6319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6322 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6323 /* end confdefs.h.  */
   6324 int i;
   6325 _ACEOF
   6326 if ac_fn_c_try_compile "$LINENO"; then :
   6327   xorg_testset_unused_command_line_argument=yes
   6328 else
   6329   xorg_testset_unused_command_line_argument=no
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6333 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6334 	CFLAGS="$xorg_testset_save_CFLAGS"
   6335 fi
   6336 
   6337 found="no"
   6338 
   6339 	if test $found = "no" ; then
   6340 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 		fi
   6343 
   6344 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6346 		fi
   6347 
   6348 		CFLAGS="$CFLAGS -Wredundant-decls"
   6349 
   6350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6351 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6352 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6353 /* end confdefs.h.  */
   6354 int i;
   6355 int
   6356 main ()
   6357 {
   6358 
   6359   ;
   6360   return 0;
   6361 }
   6362 _ACEOF
   6363 if ac_fn_c_try_link "$LINENO"; then :
   6364   supported=yes
   6365 else
   6366   supported=no
   6367 fi
   6368 rm -f core conftest.err conftest.$ac_objext \
   6369     conftest$ac_exeext conftest.$ac_ext
   6370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6371 $as_echo "$supported" >&6; }
   6372 		CFLAGS="$xorg_testset_save_CFLAGS"
   6373 
   6374 		if test "$supported" = "yes" ; then
   6375 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6376 			found="yes"
   6377 		fi
   6378 	fi
   6379 
   6380 
   6381 
   6382 # These are currently disabled because they are noisy.  They will be enabled
   6383 # in the future once the codebase is sufficiently modernized to silence
   6384 # them.  For now, I don't want them to drown out the other warnings.
   6385 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wlogical-op])
   6386 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wparentheses])
   6387 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wcast-align])
   6388 
   6389 # Turn some warnings into errors, so we don't accidently get successful builds
   6390 # when there are problems that should be fixed.
   6391 
   6392 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 xorg_testset_save_CFLAGS="$CFLAGS"
   6399 
   6400 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6404 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6405 /* end confdefs.h.  */
   6406 int i;
   6407 _ACEOF
   6408 if ac_fn_c_try_compile "$LINENO"; then :
   6409   xorg_testset_unknown_warning_option=yes
   6410 else
   6411   xorg_testset_unknown_warning_option=no
   6412 fi
   6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6415 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6416 	CFLAGS="$xorg_testset_save_CFLAGS"
   6417 fi
   6418 
   6419 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6420 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	fi
   6423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6426 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6427 /* end confdefs.h.  */
   6428 int i;
   6429 _ACEOF
   6430 if ac_fn_c_try_compile "$LINENO"; then :
   6431   xorg_testset_unused_command_line_argument=yes
   6432 else
   6433   xorg_testset_unused_command_line_argument=no
   6434 fi
   6435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6437 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6438 	CFLAGS="$xorg_testset_save_CFLAGS"
   6439 fi
   6440 
   6441 found="no"
   6442 
   6443 	if test $found = "no" ; then
   6444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6446 		fi
   6447 
   6448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6450 		fi
   6451 
   6452 		CFLAGS="$CFLAGS -Werror=implicit"
   6453 
   6454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6455 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6456 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6457 /* end confdefs.h.  */
   6458 int i;
   6459 int
   6460 main ()
   6461 {
   6462 
   6463   ;
   6464   return 0;
   6465 }
   6466 _ACEOF
   6467 if ac_fn_c_try_link "$LINENO"; then :
   6468   supported=yes
   6469 else
   6470   supported=no
   6471 fi
   6472 rm -f core conftest.err conftest.$ac_objext \
   6473     conftest$ac_exeext conftest.$ac_ext
   6474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6475 $as_echo "$supported" >&6; }
   6476 		CFLAGS="$xorg_testset_save_CFLAGS"
   6477 
   6478 		if test "$supported" = "yes" ; then
   6479 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6480 			found="yes"
   6481 		fi
   6482 	fi
   6483 
   6484 	if test $found = "no" ; then
   6485 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6487 		fi
   6488 
   6489 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6491 		fi
   6492 
   6493 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6494 
   6495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6496 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6497 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6498 /* end confdefs.h.  */
   6499 int i;
   6500 int
   6501 main ()
   6502 {
   6503 
   6504   ;
   6505   return 0;
   6506 }
   6507 _ACEOF
   6508 if ac_fn_c_try_link "$LINENO"; then :
   6509   supported=yes
   6510 else
   6511   supported=no
   6512 fi
   6513 rm -f core conftest.err conftest.$ac_objext \
   6514     conftest$ac_exeext conftest.$ac_ext
   6515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6516 $as_echo "$supported" >&6; }
   6517 		CFLAGS="$xorg_testset_save_CFLAGS"
   6518 
   6519 		if test "$supported" = "yes" ; then
   6520 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6521 			found="yes"
   6522 		fi
   6523 	fi
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 xorg_testset_save_CFLAGS="$CFLAGS"
   6532 
   6533 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6536 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6537 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6538 /* end confdefs.h.  */
   6539 int i;
   6540 _ACEOF
   6541 if ac_fn_c_try_compile "$LINENO"; then :
   6542   xorg_testset_unknown_warning_option=yes
   6543 else
   6544   xorg_testset_unknown_warning_option=no
   6545 fi
   6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6548 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6549 	CFLAGS="$xorg_testset_save_CFLAGS"
   6550 fi
   6551 
   6552 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6553 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6555 	fi
   6556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6559 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6560 /* end confdefs.h.  */
   6561 int i;
   6562 _ACEOF
   6563 if ac_fn_c_try_compile "$LINENO"; then :
   6564   xorg_testset_unused_command_line_argument=yes
   6565 else
   6566   xorg_testset_unused_command_line_argument=no
   6567 fi
   6568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6570 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6571 	CFLAGS="$xorg_testset_save_CFLAGS"
   6572 fi
   6573 
   6574 found="no"
   6575 
   6576 	if test $found = "no" ; then
   6577 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 		fi
   6580 
   6581 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6583 		fi
   6584 
   6585 		CFLAGS="$CFLAGS -Werror=nonnull"
   6586 
   6587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6588 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6589 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6590 /* end confdefs.h.  */
   6591 int i;
   6592 int
   6593 main ()
   6594 {
   6595 
   6596   ;
   6597   return 0;
   6598 }
   6599 _ACEOF
   6600 if ac_fn_c_try_link "$LINENO"; then :
   6601   supported=yes
   6602 else
   6603   supported=no
   6604 fi
   6605 rm -f core conftest.err conftest.$ac_objext \
   6606     conftest$ac_exeext conftest.$ac_ext
   6607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6608 $as_echo "$supported" >&6; }
   6609 		CFLAGS="$xorg_testset_save_CFLAGS"
   6610 
   6611 		if test "$supported" = "yes" ; then
   6612 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   6613 			found="yes"
   6614 		fi
   6615 	fi
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 xorg_testset_save_CFLAGS="$CFLAGS"
   6624 
   6625 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6629 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6630 /* end confdefs.h.  */
   6631 int i;
   6632 _ACEOF
   6633 if ac_fn_c_try_compile "$LINENO"; then :
   6634   xorg_testset_unknown_warning_option=yes
   6635 else
   6636   xorg_testset_unknown_warning_option=no
   6637 fi
   6638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6640 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6641 	CFLAGS="$xorg_testset_save_CFLAGS"
   6642 fi
   6643 
   6644 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6645 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6647 	fi
   6648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6651 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6652 /* end confdefs.h.  */
   6653 int i;
   6654 _ACEOF
   6655 if ac_fn_c_try_compile "$LINENO"; then :
   6656   xorg_testset_unused_command_line_argument=yes
   6657 else
   6658   xorg_testset_unused_command_line_argument=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6662 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6663 	CFLAGS="$xorg_testset_save_CFLAGS"
   6664 fi
   6665 
   6666 found="no"
   6667 
   6668 	if test $found = "no" ; then
   6669 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 		fi
   6672 
   6673 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6675 		fi
   6676 
   6677 		CFLAGS="$CFLAGS -Werror=init-self"
   6678 
   6679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   6680 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   6681 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 int i;
   6684 int
   6685 main ()
   6686 {
   6687 
   6688   ;
   6689   return 0;
   6690 }
   6691 _ACEOF
   6692 if ac_fn_c_try_link "$LINENO"; then :
   6693   supported=yes
   6694 else
   6695   supported=no
   6696 fi
   6697 rm -f core conftest.err conftest.$ac_objext \
   6698     conftest$ac_exeext conftest.$ac_ext
   6699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6700 $as_echo "$supported" >&6; }
   6701 		CFLAGS="$xorg_testset_save_CFLAGS"
   6702 
   6703 		if test "$supported" = "yes" ; then
   6704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   6705 			found="yes"
   6706 		fi
   6707 	fi
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 xorg_testset_save_CFLAGS="$CFLAGS"
   6716 
   6717 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6719 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6720 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6721 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6722 /* end confdefs.h.  */
   6723 int i;
   6724 _ACEOF
   6725 if ac_fn_c_try_compile "$LINENO"; then :
   6726   xorg_testset_unknown_warning_option=yes
   6727 else
   6728   xorg_testset_unknown_warning_option=no
   6729 fi
   6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6732 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6733 	CFLAGS="$xorg_testset_save_CFLAGS"
   6734 fi
   6735 
   6736 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6737 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6739 	fi
   6740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6742 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6743 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6744 /* end confdefs.h.  */
   6745 int i;
   6746 _ACEOF
   6747 if ac_fn_c_try_compile "$LINENO"; then :
   6748   xorg_testset_unused_command_line_argument=yes
   6749 else
   6750   xorg_testset_unused_command_line_argument=no
   6751 fi
   6752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6754 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6755 	CFLAGS="$xorg_testset_save_CFLAGS"
   6756 fi
   6757 
   6758 found="no"
   6759 
   6760 	if test $found = "no" ; then
   6761 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6763 		fi
   6764 
   6765 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6767 		fi
   6768 
   6769 		CFLAGS="$CFLAGS -Werror=main"
   6770 
   6771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   6772 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   6773 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6774 /* end confdefs.h.  */
   6775 int i;
   6776 int
   6777 main ()
   6778 {
   6779 
   6780   ;
   6781   return 0;
   6782 }
   6783 _ACEOF
   6784 if ac_fn_c_try_link "$LINENO"; then :
   6785   supported=yes
   6786 else
   6787   supported=no
   6788 fi
   6789 rm -f core conftest.err conftest.$ac_objext \
   6790     conftest$ac_exeext conftest.$ac_ext
   6791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6792 $as_echo "$supported" >&6; }
   6793 		CFLAGS="$xorg_testset_save_CFLAGS"
   6794 
   6795 		if test "$supported" = "yes" ; then
   6796 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   6797 			found="yes"
   6798 		fi
   6799 	fi
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 xorg_testset_save_CFLAGS="$CFLAGS"
   6808 
   6809 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6810 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6812 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6813 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6814 /* end confdefs.h.  */
   6815 int i;
   6816 _ACEOF
   6817 if ac_fn_c_try_compile "$LINENO"; then :
   6818   xorg_testset_unknown_warning_option=yes
   6819 else
   6820   xorg_testset_unknown_warning_option=no
   6821 fi
   6822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6824 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6825 	CFLAGS="$xorg_testset_save_CFLAGS"
   6826 fi
   6827 
   6828 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6829 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6831 	fi
   6832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6835 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6836 /* end confdefs.h.  */
   6837 int i;
   6838 _ACEOF
   6839 if ac_fn_c_try_compile "$LINENO"; then :
   6840   xorg_testset_unused_command_line_argument=yes
   6841 else
   6842   xorg_testset_unused_command_line_argument=no
   6843 fi
   6844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6846 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6847 	CFLAGS="$xorg_testset_save_CFLAGS"
   6848 fi
   6849 
   6850 found="no"
   6851 
   6852 	if test $found = "no" ; then
   6853 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6855 		fi
   6856 
   6857 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6859 		fi
   6860 
   6861 		CFLAGS="$CFLAGS -Werror=missing-braces"
   6862 
   6863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   6864 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   6865 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6866 /* end confdefs.h.  */
   6867 int i;
   6868 int
   6869 main ()
   6870 {
   6871 
   6872   ;
   6873   return 0;
   6874 }
   6875 _ACEOF
   6876 if ac_fn_c_try_link "$LINENO"; then :
   6877   supported=yes
   6878 else
   6879   supported=no
   6880 fi
   6881 rm -f core conftest.err conftest.$ac_objext \
   6882     conftest$ac_exeext conftest.$ac_ext
   6883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6884 $as_echo "$supported" >&6; }
   6885 		CFLAGS="$xorg_testset_save_CFLAGS"
   6886 
   6887 		if test "$supported" = "yes" ; then
   6888 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   6889 			found="yes"
   6890 		fi
   6891 	fi
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 xorg_testset_save_CFLAGS="$CFLAGS"
   6900 
   6901 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6905 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6906 /* end confdefs.h.  */
   6907 int i;
   6908 _ACEOF
   6909 if ac_fn_c_try_compile "$LINENO"; then :
   6910   xorg_testset_unknown_warning_option=yes
   6911 else
   6912   xorg_testset_unknown_warning_option=no
   6913 fi
   6914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   6916 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   6917 	CFLAGS="$xorg_testset_save_CFLAGS"
   6918 fi
   6919 
   6920 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   6921 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 	fi
   6924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6927 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6928 /* end confdefs.h.  */
   6929 int i;
   6930 _ACEOF
   6931 if ac_fn_c_try_compile "$LINENO"; then :
   6932   xorg_testset_unused_command_line_argument=yes
   6933 else
   6934   xorg_testset_unused_command_line_argument=no
   6935 fi
   6936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   6938 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   6939 	CFLAGS="$xorg_testset_save_CFLAGS"
   6940 fi
   6941 
   6942 found="no"
   6943 
   6944 	if test $found = "no" ; then
   6945 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6947 		fi
   6948 
   6949 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6951 		fi
   6952 
   6953 		CFLAGS="$CFLAGS -Werror=sequence-point"
   6954 
   6955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   6956 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   6957 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6958 /* end confdefs.h.  */
   6959 int i;
   6960 int
   6961 main ()
   6962 {
   6963 
   6964   ;
   6965   return 0;
   6966 }
   6967 _ACEOF
   6968 if ac_fn_c_try_link "$LINENO"; then :
   6969   supported=yes
   6970 else
   6971   supported=no
   6972 fi
   6973 rm -f core conftest.err conftest.$ac_objext \
   6974     conftest$ac_exeext conftest.$ac_ext
   6975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6976 $as_echo "$supported" >&6; }
   6977 		CFLAGS="$xorg_testset_save_CFLAGS"
   6978 
   6979 		if test "$supported" = "yes" ; then
   6980 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   6981 			found="yes"
   6982 		fi
   6983 	fi
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 xorg_testset_save_CFLAGS="$CFLAGS"
   6992 
   6993 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   6994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6997 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6998 /* end confdefs.h.  */
   6999 int i;
   7000 _ACEOF
   7001 if ac_fn_c_try_compile "$LINENO"; then :
   7002   xorg_testset_unknown_warning_option=yes
   7003 else
   7004   xorg_testset_unknown_warning_option=no
   7005 fi
   7006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7008 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7009 	CFLAGS="$xorg_testset_save_CFLAGS"
   7010 fi
   7011 
   7012 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7013 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7015 	fi
   7016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7018 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7019 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7020 /* end confdefs.h.  */
   7021 int i;
   7022 _ACEOF
   7023 if ac_fn_c_try_compile "$LINENO"; then :
   7024   xorg_testset_unused_command_line_argument=yes
   7025 else
   7026   xorg_testset_unused_command_line_argument=no
   7027 fi
   7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7030 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7031 	CFLAGS="$xorg_testset_save_CFLAGS"
   7032 fi
   7033 
   7034 found="no"
   7035 
   7036 	if test $found = "no" ; then
   7037 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7039 		fi
   7040 
   7041 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7043 		fi
   7044 
   7045 		CFLAGS="$CFLAGS -Werror=return-type"
   7046 
   7047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7049 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7050 /* end confdefs.h.  */
   7051 int i;
   7052 int
   7053 main ()
   7054 {
   7055 
   7056   ;
   7057   return 0;
   7058 }
   7059 _ACEOF
   7060 if ac_fn_c_try_link "$LINENO"; then :
   7061   supported=yes
   7062 else
   7063   supported=no
   7064 fi
   7065 rm -f core conftest.err conftest.$ac_objext \
   7066     conftest$ac_exeext conftest.$ac_ext
   7067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7068 $as_echo "$supported" >&6; }
   7069 		CFLAGS="$xorg_testset_save_CFLAGS"
   7070 
   7071 		if test "$supported" = "yes" ; then
   7072 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7073 			found="yes"
   7074 		fi
   7075 	fi
   7076 
   7077 	if test $found = "no" ; then
   7078 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7080 		fi
   7081 
   7082 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7084 		fi
   7085 
   7086 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7087 
   7088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7089 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7090 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 int i;
   7093 int
   7094 main ()
   7095 {
   7096 
   7097   ;
   7098   return 0;
   7099 }
   7100 _ACEOF
   7101 if ac_fn_c_try_link "$LINENO"; then :
   7102   supported=yes
   7103 else
   7104   supported=no
   7105 fi
   7106 rm -f core conftest.err conftest.$ac_objext \
   7107     conftest$ac_exeext conftest.$ac_ext
   7108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7109 $as_echo "$supported" >&6; }
   7110 		CFLAGS="$xorg_testset_save_CFLAGS"
   7111 
   7112 		if test "$supported" = "yes" ; then
   7113 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7114 			found="yes"
   7115 		fi
   7116 	fi
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 xorg_testset_save_CFLAGS="$CFLAGS"
   7125 
   7126 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7130 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7131 /* end confdefs.h.  */
   7132 int i;
   7133 _ACEOF
   7134 if ac_fn_c_try_compile "$LINENO"; then :
   7135   xorg_testset_unknown_warning_option=yes
   7136 else
   7137   xorg_testset_unknown_warning_option=no
   7138 fi
   7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7141 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7142 	CFLAGS="$xorg_testset_save_CFLAGS"
   7143 fi
   7144 
   7145 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7146 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 	fi
   7149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7152 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7153 /* end confdefs.h.  */
   7154 int i;
   7155 _ACEOF
   7156 if ac_fn_c_try_compile "$LINENO"; then :
   7157   xorg_testset_unused_command_line_argument=yes
   7158 else
   7159   xorg_testset_unused_command_line_argument=no
   7160 fi
   7161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7163 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7164 	CFLAGS="$xorg_testset_save_CFLAGS"
   7165 fi
   7166 
   7167 found="no"
   7168 
   7169 	if test $found = "no" ; then
   7170 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7172 		fi
   7173 
   7174 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7176 		fi
   7177 
   7178 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7179 
   7180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7181 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7182 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7183 /* end confdefs.h.  */
   7184 int i;
   7185 int
   7186 main ()
   7187 {
   7188 
   7189   ;
   7190   return 0;
   7191 }
   7192 _ACEOF
   7193 if ac_fn_c_try_link "$LINENO"; then :
   7194   supported=yes
   7195 else
   7196   supported=no
   7197 fi
   7198 rm -f core conftest.err conftest.$ac_objext \
   7199     conftest$ac_exeext conftest.$ac_ext
   7200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7201 $as_echo "$supported" >&6; }
   7202 		CFLAGS="$xorg_testset_save_CFLAGS"
   7203 
   7204 		if test "$supported" = "yes" ; then
   7205 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7206 			found="yes"
   7207 		fi
   7208 	fi
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 xorg_testset_save_CFLAGS="$CFLAGS"
   7217 
   7218 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7221 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7222 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7223 /* end confdefs.h.  */
   7224 int i;
   7225 _ACEOF
   7226 if ac_fn_c_try_compile "$LINENO"; then :
   7227   xorg_testset_unknown_warning_option=yes
   7228 else
   7229   xorg_testset_unknown_warning_option=no
   7230 fi
   7231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7233 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7234 	CFLAGS="$xorg_testset_save_CFLAGS"
   7235 fi
   7236 
   7237 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7238 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7240 	fi
   7241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7243 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7244 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7245 /* end confdefs.h.  */
   7246 int i;
   7247 _ACEOF
   7248 if ac_fn_c_try_compile "$LINENO"; then :
   7249   xorg_testset_unused_command_line_argument=yes
   7250 else
   7251   xorg_testset_unused_command_line_argument=no
   7252 fi
   7253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7255 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7256 	CFLAGS="$xorg_testset_save_CFLAGS"
   7257 fi
   7258 
   7259 found="no"
   7260 
   7261 	if test $found = "no" ; then
   7262 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7264 		fi
   7265 
   7266 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7268 		fi
   7269 
   7270 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7271 
   7272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7273 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7274 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7275 /* end confdefs.h.  */
   7276 int i;
   7277 int
   7278 main ()
   7279 {
   7280 
   7281   ;
   7282   return 0;
   7283 }
   7284 _ACEOF
   7285 if ac_fn_c_try_link "$LINENO"; then :
   7286   supported=yes
   7287 else
   7288   supported=no
   7289 fi
   7290 rm -f core conftest.err conftest.$ac_objext \
   7291     conftest$ac_exeext conftest.$ac_ext
   7292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7293 $as_echo "$supported" >&6; }
   7294 		CFLAGS="$xorg_testset_save_CFLAGS"
   7295 
   7296 		if test "$supported" = "yes" ; then
   7297 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7298 			found="yes"
   7299 		fi
   7300 	fi
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 xorg_testset_save_CFLAGS="$CFLAGS"
   7309 
   7310 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7314 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7315 /* end confdefs.h.  */
   7316 int i;
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"; then :
   7319   xorg_testset_unknown_warning_option=yes
   7320 else
   7321   xorg_testset_unknown_warning_option=no
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7325 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7326 	CFLAGS="$xorg_testset_save_CFLAGS"
   7327 fi
   7328 
   7329 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7330 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7332 	fi
   7333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7335 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7336 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7337 /* end confdefs.h.  */
   7338 int i;
   7339 _ACEOF
   7340 if ac_fn_c_try_compile "$LINENO"; then :
   7341   xorg_testset_unused_command_line_argument=yes
   7342 else
   7343   xorg_testset_unused_command_line_argument=no
   7344 fi
   7345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7347 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7348 	CFLAGS="$xorg_testset_save_CFLAGS"
   7349 fi
   7350 
   7351 found="no"
   7352 
   7353 	if test $found = "no" ; then
   7354 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7356 		fi
   7357 
   7358 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7360 		fi
   7361 
   7362 		CFLAGS="$CFLAGS -Werror=write-strings"
   7363 
   7364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7365 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7366 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7367 /* end confdefs.h.  */
   7368 int i;
   7369 int
   7370 main ()
   7371 {
   7372 
   7373   ;
   7374   return 0;
   7375 }
   7376 _ACEOF
   7377 if ac_fn_c_try_link "$LINENO"; then :
   7378   supported=yes
   7379 else
   7380   supported=no
   7381 fi
   7382 rm -f core conftest.err conftest.$ac_objext \
   7383     conftest$ac_exeext conftest.$ac_ext
   7384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7385 $as_echo "$supported" >&6; }
   7386 		CFLAGS="$xorg_testset_save_CFLAGS"
   7387 
   7388 		if test "$supported" = "yes" ; then
   7389 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   7390 			found="yes"
   7391 		fi
   7392 	fi
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 xorg_testset_save_CFLAGS="$CFLAGS"
   7401 
   7402 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7406 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"; then :
   7411   xorg_testset_unknown_warning_option=yes
   7412 else
   7413   xorg_testset_unknown_warning_option=no
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7417 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7418 	CFLAGS="$xorg_testset_save_CFLAGS"
   7419 fi
   7420 
   7421 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7422 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7424 	fi
   7425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7428 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 _ACEOF
   7432 if ac_fn_c_try_compile "$LINENO"; then :
   7433   xorg_testset_unused_command_line_argument=yes
   7434 else
   7435   xorg_testset_unused_command_line_argument=no
   7436 fi
   7437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7439 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7440 	CFLAGS="$xorg_testset_save_CFLAGS"
   7441 fi
   7442 
   7443 found="no"
   7444 
   7445 	if test $found = "no" ; then
   7446 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7448 		fi
   7449 
   7450 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7452 		fi
   7453 
   7454 		CFLAGS="$CFLAGS -Werror=address"
   7455 
   7456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   7457 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   7458 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7459 /* end confdefs.h.  */
   7460 int i;
   7461 int
   7462 main ()
   7463 {
   7464 
   7465   ;
   7466   return 0;
   7467 }
   7468 _ACEOF
   7469 if ac_fn_c_try_link "$LINENO"; then :
   7470   supported=yes
   7471 else
   7472   supported=no
   7473 fi
   7474 rm -f core conftest.err conftest.$ac_objext \
   7475     conftest$ac_exeext conftest.$ac_ext
   7476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7477 $as_echo "$supported" >&6; }
   7478 		CFLAGS="$xorg_testset_save_CFLAGS"
   7479 
   7480 		if test "$supported" = "yes" ; then
   7481 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   7482 			found="yes"
   7483 		fi
   7484 	fi
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 xorg_testset_save_CFLAGS="$CFLAGS"
   7493 
   7494 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7497 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7498 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7499 /* end confdefs.h.  */
   7500 int i;
   7501 _ACEOF
   7502 if ac_fn_c_try_compile "$LINENO"; then :
   7503   xorg_testset_unknown_warning_option=yes
   7504 else
   7505   xorg_testset_unknown_warning_option=no
   7506 fi
   7507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7509 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7510 	CFLAGS="$xorg_testset_save_CFLAGS"
   7511 fi
   7512 
   7513 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7514 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7516 	fi
   7517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7520 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7521 /* end confdefs.h.  */
   7522 int i;
   7523 _ACEOF
   7524 if ac_fn_c_try_compile "$LINENO"; then :
   7525   xorg_testset_unused_command_line_argument=yes
   7526 else
   7527   xorg_testset_unused_command_line_argument=no
   7528 fi
   7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7531 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7532 	CFLAGS="$xorg_testset_save_CFLAGS"
   7533 fi
   7534 
   7535 found="no"
   7536 
   7537 	if test $found = "no" ; then
   7538 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7540 		fi
   7541 
   7542 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7544 		fi
   7545 
   7546 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   7547 
   7548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   7549 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   7550 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7551 /* end confdefs.h.  */
   7552 int i;
   7553 int
   7554 main ()
   7555 {
   7556 
   7557   ;
   7558   return 0;
   7559 }
   7560 _ACEOF
   7561 if ac_fn_c_try_link "$LINENO"; then :
   7562   supported=yes
   7563 else
   7564   supported=no
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext \
   7567     conftest$ac_exeext conftest.$ac_ext
   7568 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7569 $as_echo "$supported" >&6; }
   7570 		CFLAGS="$xorg_testset_save_CFLAGS"
   7571 
   7572 		if test "$supported" = "yes" ; then
   7573 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   7574 			found="yes"
   7575 		fi
   7576 	fi
   7577 
   7578 	if test $found = "no" ; then
   7579 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 		fi
   7582 
   7583 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 		fi
   7586 
   7587 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7588 
   7589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   7590 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   7591 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7592 /* end confdefs.h.  */
   7593 int i;
   7594 int
   7595 main ()
   7596 {
   7597 
   7598   ;
   7599   return 0;
   7600 }
   7601 _ACEOF
   7602 if ac_fn_c_try_link "$LINENO"; then :
   7603   supported=yes
   7604 else
   7605   supported=no
   7606 fi
   7607 rm -f core conftest.err conftest.$ac_objext \
   7608     conftest$ac_exeext conftest.$ac_ext
   7609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7610 $as_echo "$supported" >&6; }
   7611 		CFLAGS="$xorg_testset_save_CFLAGS"
   7612 
   7613 		if test "$supported" = "yes" ; then
   7614 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   7615 			found="yes"
   7616 		fi
   7617 	fi
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 xorg_testset_save_CFLAGS="$CFLAGS"
   7626 
   7627 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7630 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7631 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7632 /* end confdefs.h.  */
   7633 int i;
   7634 _ACEOF
   7635 if ac_fn_c_try_compile "$LINENO"; then :
   7636   xorg_testset_unknown_warning_option=yes
   7637 else
   7638   xorg_testset_unknown_warning_option=no
   7639 fi
   7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7642 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7643 	CFLAGS="$xorg_testset_save_CFLAGS"
   7644 fi
   7645 
   7646 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7647 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7649 	fi
   7650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7652 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7653 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7654 /* end confdefs.h.  */
   7655 int i;
   7656 _ACEOF
   7657 if ac_fn_c_try_compile "$LINENO"; then :
   7658   xorg_testset_unused_command_line_argument=yes
   7659 else
   7660   xorg_testset_unused_command_line_argument=no
   7661 fi
   7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7664 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7665 	CFLAGS="$xorg_testset_save_CFLAGS"
   7666 fi
   7667 
   7668 found="no"
   7669 
   7670 	if test $found = "no" ; then
   7671 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7673 		fi
   7674 
   7675 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7677 		fi
   7678 
   7679 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   7680 
   7681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   7682 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   7683 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7684 /* end confdefs.h.  */
   7685 int i;
   7686 int
   7687 main ()
   7688 {
   7689 
   7690   ;
   7691   return 0;
   7692 }
   7693 _ACEOF
   7694 if ac_fn_c_try_link "$LINENO"; then :
   7695   supported=yes
   7696 else
   7697   supported=no
   7698 fi
   7699 rm -f core conftest.err conftest.$ac_objext \
   7700     conftest$ac_exeext conftest.$ac_ext
   7701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7702 $as_echo "$supported" >&6; }
   7703 		CFLAGS="$xorg_testset_save_CFLAGS"
   7704 
   7705 		if test "$supported" = "yes" ; then
   7706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   7707 			found="yes"
   7708 		fi
   7709 	fi
   7710 
   7711  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   7712 else
   7713 { $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
   7714 $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;}
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 xorg_testset_save_CFLAGS="$CFLAGS"
   7721 
   7722 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7723 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7725 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7726 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7727 /* end confdefs.h.  */
   7728 int i;
   7729 _ACEOF
   7730 if ac_fn_c_try_compile "$LINENO"; then :
   7731   xorg_testset_unknown_warning_option=yes
   7732 else
   7733   xorg_testset_unknown_warning_option=no
   7734 fi
   7735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7737 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7738 	CFLAGS="$xorg_testset_save_CFLAGS"
   7739 fi
   7740 
   7741 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7742 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7743 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7744 	fi
   7745 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7747 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7748 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7749 /* end confdefs.h.  */
   7750 int i;
   7751 _ACEOF
   7752 if ac_fn_c_try_compile "$LINENO"; then :
   7753   xorg_testset_unused_command_line_argument=yes
   7754 else
   7755   xorg_testset_unused_command_line_argument=no
   7756 fi
   7757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7759 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7760 	CFLAGS="$xorg_testset_save_CFLAGS"
   7761 fi
   7762 
   7763 found="no"
   7764 
   7765 	if test $found = "no" ; then
   7766 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7767 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7768 		fi
   7769 
   7770 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7771 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7772 		fi
   7773 
   7774 		CFLAGS="$CFLAGS -Wimplicit"
   7775 
   7776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   7777 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   7778 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7779 /* end confdefs.h.  */
   7780 int i;
   7781 int
   7782 main ()
   7783 {
   7784 
   7785   ;
   7786   return 0;
   7787 }
   7788 _ACEOF
   7789 if ac_fn_c_try_link "$LINENO"; then :
   7790   supported=yes
   7791 else
   7792   supported=no
   7793 fi
   7794 rm -f core conftest.err conftest.$ac_objext \
   7795     conftest$ac_exeext conftest.$ac_ext
   7796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7797 $as_echo "$supported" >&6; }
   7798 		CFLAGS="$xorg_testset_save_CFLAGS"
   7799 
   7800 		if test "$supported" = "yes" ; then
   7801 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   7802 			found="yes"
   7803 		fi
   7804 	fi
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 xorg_testset_save_CFLAGS="$CFLAGS"
   7813 
   7814 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7818 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7819 /* end confdefs.h.  */
   7820 int i;
   7821 _ACEOF
   7822 if ac_fn_c_try_compile "$LINENO"; then :
   7823   xorg_testset_unknown_warning_option=yes
   7824 else
   7825   xorg_testset_unknown_warning_option=no
   7826 fi
   7827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7829 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7830 	CFLAGS="$xorg_testset_save_CFLAGS"
   7831 fi
   7832 
   7833 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7834 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7836 	fi
   7837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7839 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7840 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 _ACEOF
   7844 if ac_fn_c_try_compile "$LINENO"; then :
   7845   xorg_testset_unused_command_line_argument=yes
   7846 else
   7847   xorg_testset_unused_command_line_argument=no
   7848 fi
   7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7851 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7852 	CFLAGS="$xorg_testset_save_CFLAGS"
   7853 fi
   7854 
   7855 found="no"
   7856 
   7857 	if test $found = "no" ; then
   7858 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7860 		fi
   7861 
   7862 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7864 		fi
   7865 
   7866 		CFLAGS="$CFLAGS -Wnonnull"
   7867 
   7868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   7869 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   7870 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7871 /* end confdefs.h.  */
   7872 int i;
   7873 int
   7874 main ()
   7875 {
   7876 
   7877   ;
   7878   return 0;
   7879 }
   7880 _ACEOF
   7881 if ac_fn_c_try_link "$LINENO"; then :
   7882   supported=yes
   7883 else
   7884   supported=no
   7885 fi
   7886 rm -f core conftest.err conftest.$ac_objext \
   7887     conftest$ac_exeext conftest.$ac_ext
   7888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7889 $as_echo "$supported" >&6; }
   7890 		CFLAGS="$xorg_testset_save_CFLAGS"
   7891 
   7892 		if test "$supported" = "yes" ; then
   7893 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   7894 			found="yes"
   7895 		fi
   7896 	fi
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 xorg_testset_save_CFLAGS="$CFLAGS"
   7905 
   7906 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7910 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7911 /* end confdefs.h.  */
   7912 int i;
   7913 _ACEOF
   7914 if ac_fn_c_try_compile "$LINENO"; then :
   7915   xorg_testset_unknown_warning_option=yes
   7916 else
   7917   xorg_testset_unknown_warning_option=no
   7918 fi
   7919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   7921 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   7922 	CFLAGS="$xorg_testset_save_CFLAGS"
   7923 fi
   7924 
   7925 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   7926 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7928 	fi
   7929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7932 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7933 /* end confdefs.h.  */
   7934 int i;
   7935 _ACEOF
   7936 if ac_fn_c_try_compile "$LINENO"; then :
   7937   xorg_testset_unused_command_line_argument=yes
   7938 else
   7939   xorg_testset_unused_command_line_argument=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   7943 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   7944 	CFLAGS="$xorg_testset_save_CFLAGS"
   7945 fi
   7946 
   7947 found="no"
   7948 
   7949 	if test $found = "no" ; then
   7950 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7952 		fi
   7953 
   7954 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7956 		fi
   7957 
   7958 		CFLAGS="$CFLAGS -Winit-self"
   7959 
   7960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   7961 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   7962 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7963 /* end confdefs.h.  */
   7964 int i;
   7965 int
   7966 main ()
   7967 {
   7968 
   7969   ;
   7970   return 0;
   7971 }
   7972 _ACEOF
   7973 if ac_fn_c_try_link "$LINENO"; then :
   7974   supported=yes
   7975 else
   7976   supported=no
   7977 fi
   7978 rm -f core conftest.err conftest.$ac_objext \
   7979     conftest$ac_exeext conftest.$ac_ext
   7980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7981 $as_echo "$supported" >&6; }
   7982 		CFLAGS="$xorg_testset_save_CFLAGS"
   7983 
   7984 		if test "$supported" = "yes" ; then
   7985 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   7986 			found="yes"
   7987 		fi
   7988 	fi
   7989 
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 
   7996 xorg_testset_save_CFLAGS="$CFLAGS"
   7997 
   7998 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   7999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8002 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8003 /* end confdefs.h.  */
   8004 int i;
   8005 _ACEOF
   8006 if ac_fn_c_try_compile "$LINENO"; then :
   8007   xorg_testset_unknown_warning_option=yes
   8008 else
   8009   xorg_testset_unknown_warning_option=no
   8010 fi
   8011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8013 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8014 	CFLAGS="$xorg_testset_save_CFLAGS"
   8015 fi
   8016 
   8017 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8018 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8020 	fi
   8021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8024 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8025 /* end confdefs.h.  */
   8026 int i;
   8027 _ACEOF
   8028 if ac_fn_c_try_compile "$LINENO"; then :
   8029   xorg_testset_unused_command_line_argument=yes
   8030 else
   8031   xorg_testset_unused_command_line_argument=no
   8032 fi
   8033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8035 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8036 	CFLAGS="$xorg_testset_save_CFLAGS"
   8037 fi
   8038 
   8039 found="no"
   8040 
   8041 	if test $found = "no" ; then
   8042 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8044 		fi
   8045 
   8046 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8048 		fi
   8049 
   8050 		CFLAGS="$CFLAGS -Wmain"
   8051 
   8052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8053 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8054 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8055 /* end confdefs.h.  */
   8056 int i;
   8057 int
   8058 main ()
   8059 {
   8060 
   8061   ;
   8062   return 0;
   8063 }
   8064 _ACEOF
   8065 if ac_fn_c_try_link "$LINENO"; then :
   8066   supported=yes
   8067 else
   8068   supported=no
   8069 fi
   8070 rm -f core conftest.err conftest.$ac_objext \
   8071     conftest$ac_exeext conftest.$ac_ext
   8072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8073 $as_echo "$supported" >&6; }
   8074 		CFLAGS="$xorg_testset_save_CFLAGS"
   8075 
   8076 		if test "$supported" = "yes" ; then
   8077 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8078 			found="yes"
   8079 		fi
   8080 	fi
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 xorg_testset_save_CFLAGS="$CFLAGS"
   8089 
   8090 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8094 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 _ACEOF
   8098 if ac_fn_c_try_compile "$LINENO"; then :
   8099   xorg_testset_unknown_warning_option=yes
   8100 else
   8101   xorg_testset_unknown_warning_option=no
   8102 fi
   8103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8105 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8106 	CFLAGS="$xorg_testset_save_CFLAGS"
   8107 fi
   8108 
   8109 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8110 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8112 	fi
   8113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8116 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8117 /* end confdefs.h.  */
   8118 int i;
   8119 _ACEOF
   8120 if ac_fn_c_try_compile "$LINENO"; then :
   8121   xorg_testset_unused_command_line_argument=yes
   8122 else
   8123   xorg_testset_unused_command_line_argument=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8127 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8128 	CFLAGS="$xorg_testset_save_CFLAGS"
   8129 fi
   8130 
   8131 found="no"
   8132 
   8133 	if test $found = "no" ; then
   8134 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8136 		fi
   8137 
   8138 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8140 		fi
   8141 
   8142 		CFLAGS="$CFLAGS -Wmissing-braces"
   8143 
   8144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8145 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8146 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8147 /* end confdefs.h.  */
   8148 int i;
   8149 int
   8150 main ()
   8151 {
   8152 
   8153   ;
   8154   return 0;
   8155 }
   8156 _ACEOF
   8157 if ac_fn_c_try_link "$LINENO"; then :
   8158   supported=yes
   8159 else
   8160   supported=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext \
   8163     conftest$ac_exeext conftest.$ac_ext
   8164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8165 $as_echo "$supported" >&6; }
   8166 		CFLAGS="$xorg_testset_save_CFLAGS"
   8167 
   8168 		if test "$supported" = "yes" ; then
   8169 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   8170 			found="yes"
   8171 		fi
   8172 	fi
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 xorg_testset_save_CFLAGS="$CFLAGS"
   8181 
   8182 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8186 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8187 /* end confdefs.h.  */
   8188 int i;
   8189 _ACEOF
   8190 if ac_fn_c_try_compile "$LINENO"; then :
   8191   xorg_testset_unknown_warning_option=yes
   8192 else
   8193   xorg_testset_unknown_warning_option=no
   8194 fi
   8195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8197 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8198 	CFLAGS="$xorg_testset_save_CFLAGS"
   8199 fi
   8200 
   8201 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8202 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8204 	fi
   8205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8208 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8209 /* end confdefs.h.  */
   8210 int i;
   8211 _ACEOF
   8212 if ac_fn_c_try_compile "$LINENO"; then :
   8213   xorg_testset_unused_command_line_argument=yes
   8214 else
   8215   xorg_testset_unused_command_line_argument=no
   8216 fi
   8217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8219 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8220 	CFLAGS="$xorg_testset_save_CFLAGS"
   8221 fi
   8222 
   8223 found="no"
   8224 
   8225 	if test $found = "no" ; then
   8226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8228 		fi
   8229 
   8230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8232 		fi
   8233 
   8234 		CFLAGS="$CFLAGS -Wsequence-point"
   8235 
   8236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   8237 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   8238 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8239 /* end confdefs.h.  */
   8240 int i;
   8241 int
   8242 main ()
   8243 {
   8244 
   8245   ;
   8246   return 0;
   8247 }
   8248 _ACEOF
   8249 if ac_fn_c_try_link "$LINENO"; then :
   8250   supported=yes
   8251 else
   8252   supported=no
   8253 fi
   8254 rm -f core conftest.err conftest.$ac_objext \
   8255     conftest$ac_exeext conftest.$ac_ext
   8256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8257 $as_echo "$supported" >&6; }
   8258 		CFLAGS="$xorg_testset_save_CFLAGS"
   8259 
   8260 		if test "$supported" = "yes" ; then
   8261 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   8262 			found="yes"
   8263 		fi
   8264 	fi
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 xorg_testset_save_CFLAGS="$CFLAGS"
   8273 
   8274 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8275 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8276 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8277 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8278 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8279 /* end confdefs.h.  */
   8280 int i;
   8281 _ACEOF
   8282 if ac_fn_c_try_compile "$LINENO"; then :
   8283   xorg_testset_unknown_warning_option=yes
   8284 else
   8285   xorg_testset_unknown_warning_option=no
   8286 fi
   8287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8289 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8290 	CFLAGS="$xorg_testset_save_CFLAGS"
   8291 fi
   8292 
   8293 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8294 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8296 	fi
   8297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8299 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8300 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8301 /* end confdefs.h.  */
   8302 int i;
   8303 _ACEOF
   8304 if ac_fn_c_try_compile "$LINENO"; then :
   8305   xorg_testset_unused_command_line_argument=yes
   8306 else
   8307   xorg_testset_unused_command_line_argument=no
   8308 fi
   8309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8311 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 found="no"
   8316 
   8317 	if test $found = "no" ; then
   8318 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8320 		fi
   8321 
   8322 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8324 		fi
   8325 
   8326 		CFLAGS="$CFLAGS -Wreturn-type"
   8327 
   8328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   8329 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   8330 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 int
   8334 main ()
   8335 {
   8336 
   8337   ;
   8338   return 0;
   8339 }
   8340 _ACEOF
   8341 if ac_fn_c_try_link "$LINENO"; then :
   8342   supported=yes
   8343 else
   8344   supported=no
   8345 fi
   8346 rm -f core conftest.err conftest.$ac_objext \
   8347     conftest$ac_exeext conftest.$ac_ext
   8348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8349 $as_echo "$supported" >&6; }
   8350 		CFLAGS="$xorg_testset_save_CFLAGS"
   8351 
   8352 		if test "$supported" = "yes" ; then
   8353 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   8354 			found="yes"
   8355 		fi
   8356 	fi
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 xorg_testset_save_CFLAGS="$CFLAGS"
   8365 
   8366 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8370 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8371 /* end confdefs.h.  */
   8372 int i;
   8373 _ACEOF
   8374 if ac_fn_c_try_compile "$LINENO"; then :
   8375   xorg_testset_unknown_warning_option=yes
   8376 else
   8377   xorg_testset_unknown_warning_option=no
   8378 fi
   8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8381 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8382 	CFLAGS="$xorg_testset_save_CFLAGS"
   8383 fi
   8384 
   8385 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8386 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8388 	fi
   8389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8392 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8393 /* end confdefs.h.  */
   8394 int i;
   8395 _ACEOF
   8396 if ac_fn_c_try_compile "$LINENO"; then :
   8397   xorg_testset_unused_command_line_argument=yes
   8398 else
   8399   xorg_testset_unused_command_line_argument=no
   8400 fi
   8401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8403 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8404 	CFLAGS="$xorg_testset_save_CFLAGS"
   8405 fi
   8406 
   8407 found="no"
   8408 
   8409 	if test $found = "no" ; then
   8410 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 		fi
   8413 
   8414 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8416 		fi
   8417 
   8418 		CFLAGS="$CFLAGS -Wtrigraphs"
   8419 
   8420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   8421 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   8422 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8423 /* end confdefs.h.  */
   8424 int i;
   8425 int
   8426 main ()
   8427 {
   8428 
   8429   ;
   8430   return 0;
   8431 }
   8432 _ACEOF
   8433 if ac_fn_c_try_link "$LINENO"; then :
   8434   supported=yes
   8435 else
   8436   supported=no
   8437 fi
   8438 rm -f core conftest.err conftest.$ac_objext \
   8439     conftest$ac_exeext conftest.$ac_ext
   8440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8441 $as_echo "$supported" >&6; }
   8442 		CFLAGS="$xorg_testset_save_CFLAGS"
   8443 
   8444 		if test "$supported" = "yes" ; then
   8445 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   8446 			found="yes"
   8447 		fi
   8448 	fi
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 xorg_testset_save_CFLAGS="$CFLAGS"
   8457 
   8458 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8462 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8463 /* end confdefs.h.  */
   8464 int i;
   8465 _ACEOF
   8466 if ac_fn_c_try_compile "$LINENO"; then :
   8467   xorg_testset_unknown_warning_option=yes
   8468 else
   8469   xorg_testset_unknown_warning_option=no
   8470 fi
   8471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8473 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8474 	CFLAGS="$xorg_testset_save_CFLAGS"
   8475 fi
   8476 
   8477 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8478 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8480 	fi
   8481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8484 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8485 /* end confdefs.h.  */
   8486 int i;
   8487 _ACEOF
   8488 if ac_fn_c_try_compile "$LINENO"; then :
   8489   xorg_testset_unused_command_line_argument=yes
   8490 else
   8491   xorg_testset_unused_command_line_argument=no
   8492 fi
   8493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8495 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8496 	CFLAGS="$xorg_testset_save_CFLAGS"
   8497 fi
   8498 
   8499 found="no"
   8500 
   8501 	if test $found = "no" ; then
   8502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8504 		fi
   8505 
   8506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8508 		fi
   8509 
   8510 		CFLAGS="$CFLAGS -Warray-bounds"
   8511 
   8512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   8513 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   8514 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8515 /* end confdefs.h.  */
   8516 int i;
   8517 int
   8518 main ()
   8519 {
   8520 
   8521   ;
   8522   return 0;
   8523 }
   8524 _ACEOF
   8525 if ac_fn_c_try_link "$LINENO"; then :
   8526   supported=yes
   8527 else
   8528   supported=no
   8529 fi
   8530 rm -f core conftest.err conftest.$ac_objext \
   8531     conftest$ac_exeext conftest.$ac_ext
   8532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8533 $as_echo "$supported" >&6; }
   8534 		CFLAGS="$xorg_testset_save_CFLAGS"
   8535 
   8536 		if test "$supported" = "yes" ; then
   8537 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   8538 			found="yes"
   8539 		fi
   8540 	fi
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 xorg_testset_save_CFLAGS="$CFLAGS"
   8549 
   8550 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8553 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8554 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8555 /* end confdefs.h.  */
   8556 int i;
   8557 _ACEOF
   8558 if ac_fn_c_try_compile "$LINENO"; then :
   8559   xorg_testset_unknown_warning_option=yes
   8560 else
   8561   xorg_testset_unknown_warning_option=no
   8562 fi
   8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8565 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8566 	CFLAGS="$xorg_testset_save_CFLAGS"
   8567 fi
   8568 
   8569 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8570 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8572 	fi
   8573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8576 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 _ACEOF
   8580 if ac_fn_c_try_compile "$LINENO"; then :
   8581   xorg_testset_unused_command_line_argument=yes
   8582 else
   8583   xorg_testset_unused_command_line_argument=no
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8587 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8588 	CFLAGS="$xorg_testset_save_CFLAGS"
   8589 fi
   8590 
   8591 found="no"
   8592 
   8593 	if test $found = "no" ; then
   8594 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8595 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8596 		fi
   8597 
   8598 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8599 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8600 		fi
   8601 
   8602 		CFLAGS="$CFLAGS -Wwrite-strings"
   8603 
   8604 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   8605 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   8606 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 int
   8610 main ()
   8611 {
   8612 
   8613   ;
   8614   return 0;
   8615 }
   8616 _ACEOF
   8617 if ac_fn_c_try_link "$LINENO"; then :
   8618   supported=yes
   8619 else
   8620   supported=no
   8621 fi
   8622 rm -f core conftest.err conftest.$ac_objext \
   8623     conftest$ac_exeext conftest.$ac_ext
   8624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8625 $as_echo "$supported" >&6; }
   8626 		CFLAGS="$xorg_testset_save_CFLAGS"
   8627 
   8628 		if test "$supported" = "yes" ; then
   8629 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   8630 			found="yes"
   8631 		fi
   8632 	fi
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 xorg_testset_save_CFLAGS="$CFLAGS"
   8641 
   8642 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8645 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8646 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 _ACEOF
   8650 if ac_fn_c_try_compile "$LINENO"; then :
   8651   xorg_testset_unknown_warning_option=yes
   8652 else
   8653   xorg_testset_unknown_warning_option=no
   8654 fi
   8655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8656 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8657 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8658 	CFLAGS="$xorg_testset_save_CFLAGS"
   8659 fi
   8660 
   8661 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8662 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8664 	fi
   8665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8668 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 _ACEOF
   8672 if ac_fn_c_try_compile "$LINENO"; then :
   8673   xorg_testset_unused_command_line_argument=yes
   8674 else
   8675   xorg_testset_unused_command_line_argument=no
   8676 fi
   8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8679 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8680 	CFLAGS="$xorg_testset_save_CFLAGS"
   8681 fi
   8682 
   8683 found="no"
   8684 
   8685 	if test $found = "no" ; then
   8686 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8687 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8688 		fi
   8689 
   8690 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8691 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8692 		fi
   8693 
   8694 		CFLAGS="$CFLAGS -Waddress"
   8695 
   8696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   8697 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   8698 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8699 /* end confdefs.h.  */
   8700 int i;
   8701 int
   8702 main ()
   8703 {
   8704 
   8705   ;
   8706   return 0;
   8707 }
   8708 _ACEOF
   8709 if ac_fn_c_try_link "$LINENO"; then :
   8710   supported=yes
   8711 else
   8712   supported=no
   8713 fi
   8714 rm -f core conftest.err conftest.$ac_objext \
   8715     conftest$ac_exeext conftest.$ac_ext
   8716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8717 $as_echo "$supported" >&6; }
   8718 		CFLAGS="$xorg_testset_save_CFLAGS"
   8719 
   8720 		if test "$supported" = "yes" ; then
   8721 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   8722 			found="yes"
   8723 		fi
   8724 	fi
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 xorg_testset_save_CFLAGS="$CFLAGS"
   8733 
   8734 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8738 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8739 /* end confdefs.h.  */
   8740 int i;
   8741 _ACEOF
   8742 if ac_fn_c_try_compile "$LINENO"; then :
   8743   xorg_testset_unknown_warning_option=yes
   8744 else
   8745   xorg_testset_unknown_warning_option=no
   8746 fi
   8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8749 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8750 	CFLAGS="$xorg_testset_save_CFLAGS"
   8751 fi
   8752 
   8753 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8754 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8756 	fi
   8757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8760 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8761 /* end confdefs.h.  */
   8762 int i;
   8763 _ACEOF
   8764 if ac_fn_c_try_compile "$LINENO"; then :
   8765   xorg_testset_unused_command_line_argument=yes
   8766 else
   8767   xorg_testset_unused_command_line_argument=no
   8768 fi
   8769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8771 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8772 	CFLAGS="$xorg_testset_save_CFLAGS"
   8773 fi
   8774 
   8775 found="no"
   8776 
   8777 	if test $found = "no" ; then
   8778 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8780 		fi
   8781 
   8782 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8784 		fi
   8785 
   8786 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   8787 
   8788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   8789 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   8790 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8791 /* end confdefs.h.  */
   8792 int i;
   8793 int
   8794 main ()
   8795 {
   8796 
   8797   ;
   8798   return 0;
   8799 }
   8800 _ACEOF
   8801 if ac_fn_c_try_link "$LINENO"; then :
   8802   supported=yes
   8803 else
   8804   supported=no
   8805 fi
   8806 rm -f core conftest.err conftest.$ac_objext \
   8807     conftest$ac_exeext conftest.$ac_ext
   8808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8809 $as_echo "$supported" >&6; }
   8810 		CFLAGS="$xorg_testset_save_CFLAGS"
   8811 
   8812 		if test "$supported" = "yes" ; then
   8813 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   8814 			found="yes"
   8815 		fi
   8816 	fi
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 xorg_testset_save_CFLAGS="$CFLAGS"
   8825 
   8826 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8827 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8829 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8830 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8831 /* end confdefs.h.  */
   8832 int i;
   8833 _ACEOF
   8834 if ac_fn_c_try_compile "$LINENO"; then :
   8835   xorg_testset_unknown_warning_option=yes
   8836 else
   8837   xorg_testset_unknown_warning_option=no
   8838 fi
   8839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8841 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8842 	CFLAGS="$xorg_testset_save_CFLAGS"
   8843 fi
   8844 
   8845 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8846 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8848 	fi
   8849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8851 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8852 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8853 /* end confdefs.h.  */
   8854 int i;
   8855 _ACEOF
   8856 if ac_fn_c_try_compile "$LINENO"; then :
   8857   xorg_testset_unused_command_line_argument=yes
   8858 else
   8859   xorg_testset_unused_command_line_argument=no
   8860 fi
   8861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8863 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8864 	CFLAGS="$xorg_testset_save_CFLAGS"
   8865 fi
   8866 
   8867 found="no"
   8868 
   8869 	if test $found = "no" ; then
   8870 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8872 		fi
   8873 
   8874 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 		fi
   8877 
   8878 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   8879 
   8880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   8881 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   8882 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8883 /* end confdefs.h.  */
   8884 int i;
   8885 int
   8886 main ()
   8887 {
   8888 
   8889   ;
   8890   return 0;
   8891 }
   8892 _ACEOF
   8893 if ac_fn_c_try_link "$LINENO"; then :
   8894   supported=yes
   8895 else
   8896   supported=no
   8897 fi
   8898 rm -f core conftest.err conftest.$ac_objext \
   8899     conftest$ac_exeext conftest.$ac_ext
   8900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8901 $as_echo "$supported" >&6; }
   8902 		CFLAGS="$xorg_testset_save_CFLAGS"
   8903 
   8904 		if test "$supported" = "yes" ; then
   8905 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   8906 			found="yes"
   8907 		fi
   8908 	fi
   8909 
   8910 
   8911 fi
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 CWARNFLAGS="$BASE_CFLAGS"
   8919 if  test "x$GCC" = xyes ; then
   8920     CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   8921 fi
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 # Check whether --enable-strict-compilation was given.
   8929 if test "${enable_strict_compilation+set}" = set; then :
   8930   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   8931 else
   8932   STRICT_COMPILE=no
   8933 fi
   8934 
   8935 
   8936 STRICT_CFLAGS=""
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 xorg_testset_save_CFLAGS="$CFLAGS"
   8943 
   8944 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   8945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8947 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8948 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8949 /* end confdefs.h.  */
   8950 int i;
   8951 _ACEOF
   8952 if ac_fn_c_try_compile "$LINENO"; then :
   8953   xorg_testset_unknown_warning_option=yes
   8954 else
   8955   xorg_testset_unknown_warning_option=no
   8956 fi
   8957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   8959 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   8960 	CFLAGS="$xorg_testset_save_CFLAGS"
   8961 fi
   8962 
   8963 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   8964 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8966 	fi
   8967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8969 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8970 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8971 /* end confdefs.h.  */
   8972 int i;
   8973 _ACEOF
   8974 if ac_fn_c_try_compile "$LINENO"; then :
   8975   xorg_testset_unused_command_line_argument=yes
   8976 else
   8977   xorg_testset_unused_command_line_argument=no
   8978 fi
   8979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   8981 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   8982 	CFLAGS="$xorg_testset_save_CFLAGS"
   8983 fi
   8984 
   8985 found="no"
   8986 
   8987 	if test $found = "no" ; then
   8988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8990 		fi
   8991 
   8992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 		fi
   8995 
   8996 		CFLAGS="$CFLAGS -pedantic"
   8997 
   8998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   8999 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   9000 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 int
   9004 main ()
   9005 {
   9006 
   9007   ;
   9008   return 0;
   9009 }
   9010 _ACEOF
   9011 if ac_fn_c_try_link "$LINENO"; then :
   9012   supported=yes
   9013 else
   9014   supported=no
   9015 fi
   9016 rm -f core conftest.err conftest.$ac_objext \
   9017     conftest$ac_exeext conftest.$ac_ext
   9018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9019 $as_echo "$supported" >&6; }
   9020 		CFLAGS="$xorg_testset_save_CFLAGS"
   9021 
   9022 		if test "$supported" = "yes" ; then
   9023 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   9024 			found="yes"
   9025 		fi
   9026 	fi
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 xorg_testset_save_CFLAGS="$CFLAGS"
   9035 
   9036 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9040 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 _ACEOF
   9044 if ac_fn_c_try_compile "$LINENO"; then :
   9045   xorg_testset_unknown_warning_option=yes
   9046 else
   9047   xorg_testset_unknown_warning_option=no
   9048 fi
   9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   9051 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   9052 	CFLAGS="$xorg_testset_save_CFLAGS"
   9053 fi
   9054 
   9055 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9056 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9058 	fi
   9059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9062 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9063 /* end confdefs.h.  */
   9064 int i;
   9065 _ACEOF
   9066 if ac_fn_c_try_compile "$LINENO"; then :
   9067   xorg_testset_unused_command_line_argument=yes
   9068 else
   9069   xorg_testset_unused_command_line_argument=no
   9070 fi
   9071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   9073 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   9074 	CFLAGS="$xorg_testset_save_CFLAGS"
   9075 fi
   9076 
   9077 found="no"
   9078 
   9079 	if test $found = "no" ; then
   9080 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9082 		fi
   9083 
   9084 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9086 		fi
   9087 
   9088 		CFLAGS="$CFLAGS -Werror"
   9089 
   9090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   9091 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   9092 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9093 /* end confdefs.h.  */
   9094 int i;
   9095 int
   9096 main ()
   9097 {
   9098 
   9099   ;
   9100   return 0;
   9101 }
   9102 _ACEOF
   9103 if ac_fn_c_try_link "$LINENO"; then :
   9104   supported=yes
   9105 else
   9106   supported=no
   9107 fi
   9108 rm -f core conftest.err conftest.$ac_objext \
   9109     conftest$ac_exeext conftest.$ac_ext
   9110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9111 $as_echo "$supported" >&6; }
   9112 		CFLAGS="$xorg_testset_save_CFLAGS"
   9113 
   9114 		if test "$supported" = "yes" ; then
   9115 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   9116 			found="yes"
   9117 		fi
   9118 	fi
   9119 
   9120 	if test $found = "no" ; then
   9121 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 		fi
   9124 
   9125 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9127 		fi
   9128 
   9129 		CFLAGS="$CFLAGS -errwarn"
   9130 
   9131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   9132 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   9133 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9134 /* end confdefs.h.  */
   9135 int i;
   9136 int
   9137 main ()
   9138 {
   9139 
   9140   ;
   9141   return 0;
   9142 }
   9143 _ACEOF
   9144 if ac_fn_c_try_link "$LINENO"; then :
   9145   supported=yes
   9146 else
   9147   supported=no
   9148 fi
   9149 rm -f core conftest.err conftest.$ac_objext \
   9150     conftest$ac_exeext conftest.$ac_ext
   9151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9152 $as_echo "$supported" >&6; }
   9153 		CFLAGS="$xorg_testset_save_CFLAGS"
   9154 
   9155 		if test "$supported" = "yes" ; then
   9156 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   9157 			found="yes"
   9158 		fi
   9159 	fi
   9160 
   9161 
   9162 
   9163 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   9164 # activate it with -Werror, so we add it here explicitly.
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 xorg_testset_save_CFLAGS="$CFLAGS"
   9171 
   9172 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   9173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9176 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 int i;
   9179 _ACEOF
   9180 if ac_fn_c_try_compile "$LINENO"; then :
   9181   xorg_testset_unknown_warning_option=yes
   9182 else
   9183   xorg_testset_unknown_warning_option=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unknown_warning_option" >&5
   9187 $as_echo "$xorg_testset_unknown_warning_option" >&6; }
   9188 	CFLAGS="$xorg_testset_save_CFLAGS"
   9189 fi
   9190 
   9191 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   9192 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9193 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9194 	fi
   9195 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9197 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9198 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9199 /* end confdefs.h.  */
   9200 int i;
   9201 _ACEOF
   9202 if ac_fn_c_try_compile "$LINENO"; then :
   9203   xorg_testset_unused_command_line_argument=yes
   9204 else
   9205   xorg_testset_unused_command_line_argument=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_testset_unused_command_line_argument" >&5
   9209 $as_echo "$xorg_testset_unused_command_line_argument" >&6; }
   9210 	CFLAGS="$xorg_testset_save_CFLAGS"
   9211 fi
   9212 
   9213 found="no"
   9214 
   9215 	if test $found = "no" ; then
   9216 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 		fi
   9219 
   9220 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9222 		fi
   9223 
   9224 		CFLAGS="$CFLAGS -Werror=attributes"
   9225 
   9226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   9227 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   9228 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9229 /* end confdefs.h.  */
   9230 int i;
   9231 int
   9232 main ()
   9233 {
   9234 
   9235   ;
   9236   return 0;
   9237 }
   9238 _ACEOF
   9239 if ac_fn_c_try_link "$LINENO"; then :
   9240   supported=yes
   9241 else
   9242   supported=no
   9243 fi
   9244 rm -f core conftest.err conftest.$ac_objext \
   9245     conftest$ac_exeext conftest.$ac_ext
   9246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9247 $as_echo "$supported" >&6; }
   9248 		CFLAGS="$xorg_testset_save_CFLAGS"
   9249 
   9250 		if test "$supported" = "yes" ; then
   9251 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   9252 			found="yes"
   9253 		fi
   9254 	fi
   9255 
   9256 
   9257 
   9258 if test "x$STRICT_COMPILE" = "xyes"; then
   9259     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   9260     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   9261 fi
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 cat >>confdefs.h <<_ACEOF
   9269 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   9270 _ACEOF
   9271 
   9272 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   9273 	if test "x$PVM" = "x"; then
   9274 		PVM="0"
   9275 	fi
   9276 
   9277 cat >>confdefs.h <<_ACEOF
   9278 #define PACKAGE_VERSION_MINOR $PVM
   9279 _ACEOF
   9280 
   9281 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   9282 	if test "x$PVP" = "x"; then
   9283 		PVP="0"
   9284 	fi
   9285 
   9286 cat >>confdefs.h <<_ACEOF
   9287 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   9288 _ACEOF
   9289 
   9290 
   9291 
   9292 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   9293 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   9294 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   9295 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   9296 
   9297 
   9298 
   9299 
   9300 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   9301 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   9302 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   9303 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   9304 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 if test x$APP_MAN_SUFFIX = x    ; then
   9312     APP_MAN_SUFFIX=1
   9313 fi
   9314 if test x$APP_MAN_DIR = x    ; then
   9315     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   9316 fi
   9317 
   9318 if test x$LIB_MAN_SUFFIX = x    ; then
   9319     LIB_MAN_SUFFIX=3
   9320 fi
   9321 if test x$LIB_MAN_DIR = x    ; then
   9322     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   9323 fi
   9324 
   9325 if test x$FILE_MAN_SUFFIX = x    ; then
   9326     case $host_os in
   9327 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   9328 	*)		FILE_MAN_SUFFIX=5  ;;
   9329     esac
   9330 fi
   9331 if test x$FILE_MAN_DIR = x    ; then
   9332     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   9333 fi
   9334 
   9335 if test x$MISC_MAN_SUFFIX = x    ; then
   9336     case $host_os in
   9337 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   9338 	*)		MISC_MAN_SUFFIX=7  ;;
   9339     esac
   9340 fi
   9341 if test x$MISC_MAN_DIR = x    ; then
   9342     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   9343 fi
   9344 
   9345 if test x$DRIVER_MAN_SUFFIX = x    ; then
   9346     case $host_os in
   9347 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   9348 	*)		DRIVER_MAN_SUFFIX=4  ;;
   9349     esac
   9350 fi
   9351 if test x$DRIVER_MAN_DIR = x    ; then
   9352     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   9353 fi
   9354 
   9355 if test x$ADMIN_MAN_SUFFIX = x    ; then
   9356     case $host_os in
   9357 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   9358 	*)		ADMIN_MAN_SUFFIX=8  ;;
   9359     esac
   9360 fi
   9361 if test x$ADMIN_MAN_DIR = x    ; then
   9362     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   9363 fi
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 XORG_MAN_PAGE="X Version 11"
   9380 
   9381 MAN_SUBSTS="\
   9382 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9383 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   9384 	-e 's|__xservername__|Xorg|g' \
   9385 	-e 's|__xconfigfile__|xorg.conf|g' \
   9386 	-e 's|__projectroot__|\$(prefix)|g' \
   9387 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   9388 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   9389 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   9390 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   9391 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   9392 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   9393 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   9394 
   9395 
   9396 
   9397 # Check whether --enable-silent-rules was given.
   9398 if test "${enable_silent_rules+set}" = set; then :
   9399   enableval=$enable_silent_rules;
   9400 fi
   9401 
   9402 case $enable_silent_rules in
   9403 yes) AM_DEFAULT_VERBOSITY=0;;
   9404 no)  AM_DEFAULT_VERBOSITY=1;;
   9405 *)   AM_DEFAULT_VERBOSITY=0;;
   9406 esac
   9407 am_make=${MAKE-make}
   9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   9409 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   9410 if ${am_cv_make_support_nested_variables+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   if $as_echo 'TRUE=$(BAR$(V))
   9414 BAR0=false
   9415 BAR1=true
   9416 V=1
   9417 am__doit:
   9418 	@$(TRUE)
   9419 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   9420   am_cv_make_support_nested_variables=yes
   9421 else
   9422   am_cv_make_support_nested_variables=no
   9423 fi
   9424 fi
   9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   9426 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   9427 if test $am_cv_make_support_nested_variables = yes; then
   9428     AM_V='$(V)'
   9429   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   9430 else
   9431   AM_V=$AM_DEFAULT_VERBOSITY
   9432   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   9433 fi
   9434 AM_BACKSLASH='\'
   9435 
   9436 
   9437 
   9438 # Initialize libtool
   9439 # Check whether --enable-static was given.
   9440 if test "${enable_static+set}" = set; then :
   9441   enableval=$enable_static; p=${PACKAGE-default}
   9442     case $enableval in
   9443     yes) enable_static=yes ;;
   9444     no) enable_static=no ;;
   9445     *)
   9446      enable_static=no
   9447       # Look at the argument we got.  We use all the common list separators.
   9448       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9449       for pkg in $enableval; do
   9450 	IFS="$lt_save_ifs"
   9451 	if test "X$pkg" = "X$p"; then
   9452 	  enable_static=yes
   9453 	fi
   9454       done
   9455       IFS="$lt_save_ifs"
   9456       ;;
   9457     esac
   9458 else
   9459   enable_static=no
   9460 fi
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 case `pwd` in
   9471   *\ * | *\	*)
   9472     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   9473 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   9474 esac
   9475 
   9476 
   9477 
   9478 macro_version='2.4.2'
   9479 macro_revision='1.3337'
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 ltmain="$ac_aux_dir/ltmain.sh"
   9494 
   9495 # Backslashify metacharacters that are still active within
   9496 # double-quoted strings.
   9497 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   9498 
   9499 # Same as above, but do not quote variable references.
   9500 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   9501 
   9502 # Sed substitution to delay expansion of an escaped shell variable in a
   9503 # double_quote_subst'ed string.
   9504 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   9505 
   9506 # Sed substitution to delay expansion of an escaped single quote.
   9507 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   9508 
   9509 # Sed substitution to avoid accidental globbing in evaled expressions
   9510 no_glob_subst='s/\*/\\\*/g'
   9511 
   9512 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   9513 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   9514 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   9515 
   9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   9517 $as_echo_n "checking how to print strings... " >&6; }
   9518 # Test print first, because it will be a builtin if present.
   9519 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   9520    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   9521   ECHO='print -r --'
   9522 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   9523   ECHO='printf %s\n'
   9524 else
   9525   # Use this function as a fallback that always works.
   9526   func_fallback_echo ()
   9527   {
   9528     eval 'cat <<_LTECHO_EOF
   9529 $1
   9530 _LTECHO_EOF'
   9531   }
   9532   ECHO='func_fallback_echo'
   9533 fi
   9534 
   9535 # func_echo_all arg...
   9536 # Invoke $ECHO with all args, space-separated.
   9537 func_echo_all ()
   9538 {
   9539     $ECHO ""
   9540 }
   9541 
   9542 case "$ECHO" in
   9543   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   9544 $as_echo "printf" >&6; } ;;
   9545   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   9546 $as_echo "print -r" >&6; } ;;
   9547   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   9548 $as_echo "cat" >&6; } ;;
   9549 esac
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   9565 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   9566 if ${ac_cv_path_SED+:} false; then :
   9567   $as_echo_n "(cached) " >&6
   9568 else
   9569             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   9570      for ac_i in 1 2 3 4 5 6 7; do
   9571        ac_script="$ac_script$as_nl$ac_script"
   9572      done
   9573      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   9574      { ac_script=; unset ac_script;}
   9575      if test -z "$SED"; then
   9576   ac_path_SED_found=false
   9577   # Loop through the user's path and test for each of PROGNAME-LIST
   9578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9579 for as_dir in $PATH
   9580 do
   9581   IFS=$as_save_IFS
   9582   test -z "$as_dir" && as_dir=.
   9583     for ac_prog in sed gsed; do
   9584     for ac_exec_ext in '' $ac_executable_extensions; do
   9585       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   9586       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   9587 # Check for GNU ac_path_SED and select it if it is found.
   9588   # Check for GNU $ac_path_SED
   9589 case `"$ac_path_SED" --version 2>&1` in
   9590 *GNU*)
   9591   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   9592 *)
   9593   ac_count=0
   9594   $as_echo_n 0123456789 >"conftest.in"
   9595   while :
   9596   do
   9597     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9598     mv "conftest.tmp" "conftest.in"
   9599     cp "conftest.in" "conftest.nl"
   9600     $as_echo '' >> "conftest.nl"
   9601     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9602     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9603     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9604     if test $ac_count -gt ${ac_path_SED_max-0}; then
   9605       # Best one so far, save it but keep looking for a better one
   9606       ac_cv_path_SED="$ac_path_SED"
   9607       ac_path_SED_max=$ac_count
   9608     fi
   9609     # 10*(2^10) chars as input seems more than enough
   9610     test $ac_count -gt 10 && break
   9611   done
   9612   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9613 esac
   9614 
   9615       $ac_path_SED_found && break 3
   9616     done
   9617   done
   9618   done
   9619 IFS=$as_save_IFS
   9620   if test -z "$ac_cv_path_SED"; then
   9621     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   9622   fi
   9623 else
   9624   ac_cv_path_SED=$SED
   9625 fi
   9626 
   9627 fi
   9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   9629 $as_echo "$ac_cv_path_SED" >&6; }
   9630  SED="$ac_cv_path_SED"
   9631   rm -f conftest.sed
   9632 
   9633 test -z "$SED" && SED=sed
   9634 Xsed="$SED -e 1s/^X//"
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   9647 $as_echo_n "checking for fgrep... " >&6; }
   9648 if ${ac_cv_path_FGREP+:} false; then :
   9649   $as_echo_n "(cached) " >&6
   9650 else
   9651   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   9652    then ac_cv_path_FGREP="$GREP -F"
   9653    else
   9654      if test -z "$FGREP"; then
   9655   ac_path_FGREP_found=false
   9656   # Loop through the user's path and test for each of PROGNAME-LIST
   9657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9658 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   9659 do
   9660   IFS=$as_save_IFS
   9661   test -z "$as_dir" && as_dir=.
   9662     for ac_prog in fgrep; do
   9663     for ac_exec_ext in '' $ac_executable_extensions; do
   9664       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   9665       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   9666 # Check for GNU ac_path_FGREP and select it if it is found.
   9667   # Check for GNU $ac_path_FGREP
   9668 case `"$ac_path_FGREP" --version 2>&1` in
   9669 *GNU*)
   9670   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   9671 *)
   9672   ac_count=0
   9673   $as_echo_n 0123456789 >"conftest.in"
   9674   while :
   9675   do
   9676     cat "conftest.in" "conftest.in" >"conftest.tmp"
   9677     mv "conftest.tmp" "conftest.in"
   9678     cp "conftest.in" "conftest.nl"
   9679     $as_echo 'FGREP' >> "conftest.nl"
   9680     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   9681     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   9682     as_fn_arith $ac_count + 1 && ac_count=$as_val
   9683     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   9684       # Best one so far, save it but keep looking for a better one
   9685       ac_cv_path_FGREP="$ac_path_FGREP"
   9686       ac_path_FGREP_max=$ac_count
   9687     fi
   9688     # 10*(2^10) chars as input seems more than enough
   9689     test $ac_count -gt 10 && break
   9690   done
   9691   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   9692 esac
   9693 
   9694       $ac_path_FGREP_found && break 3
   9695     done
   9696   done
   9697   done
   9698 IFS=$as_save_IFS
   9699   if test -z "$ac_cv_path_FGREP"; then
   9700     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   9701   fi
   9702 else
   9703   ac_cv_path_FGREP=$FGREP
   9704 fi
   9705 
   9706    fi
   9707 fi
   9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   9709 $as_echo "$ac_cv_path_FGREP" >&6; }
   9710  FGREP="$ac_cv_path_FGREP"
   9711 
   9712 
   9713 test -z "$GREP" && GREP=grep
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 # Check whether --with-gnu-ld was given.
   9734 if test "${with_gnu_ld+set}" = set; then :
   9735   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   9736 else
   9737   with_gnu_ld=no
   9738 fi
   9739 
   9740 ac_prog=ld
   9741 if test "$GCC" = yes; then
   9742   # Check if gcc -print-prog-name=ld gives a path.
   9743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   9744 $as_echo_n "checking for ld used by $CC... " >&6; }
   9745   case $host in
   9746   *-*-mingw*)
   9747     # gcc leaves a trailing carriage return which upsets mingw
   9748     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9749   *)
   9750     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9751   esac
   9752   case $ac_prog in
   9753     # Accept absolute paths.
   9754     [\\/]* | ?:[\\/]*)
   9755       re_direlt='/[^/][^/]*/\.\./'
   9756       # Canonicalize the pathname of ld
   9757       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   9758       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   9759 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   9760       done
   9761       test -z "$LD" && LD="$ac_prog"
   9762       ;;
   9763   "")
   9764     # If it fails, then pretend we aren't using GCC.
   9765     ac_prog=ld
   9766     ;;
   9767   *)
   9768     # If it is relative, then search for the first ld in PATH.
   9769     with_gnu_ld=unknown
   9770     ;;
   9771   esac
   9772 elif test "$with_gnu_ld" = yes; then
   9773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   9774 $as_echo_n "checking for GNU ld... " >&6; }
   9775 else
   9776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   9777 $as_echo_n "checking for non-GNU ld... " >&6; }
   9778 fi
   9779 if ${lt_cv_path_LD+:} false; then :
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   if test -z "$LD"; then
   9783   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9784   for ac_dir in $PATH; do
   9785     IFS="$lt_save_ifs"
   9786     test -z "$ac_dir" && ac_dir=.
   9787     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   9788       lt_cv_path_LD="$ac_dir/$ac_prog"
   9789       # Check to see if the program is GNU ld.  I'd rather use --version,
   9790       # but apparently some variants of GNU ld only accept -v.
   9791       # Break only if it was the GNU/non-GNU ld that we prefer.
   9792       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   9793       *GNU* | *'with BFD'*)
   9794 	test "$with_gnu_ld" != no && break
   9795 	;;
   9796       *)
   9797 	test "$with_gnu_ld" != yes && break
   9798 	;;
   9799       esac
   9800     fi
   9801   done
   9802   IFS="$lt_save_ifs"
   9803 else
   9804   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   9805 fi
   9806 fi
   9807 
   9808 LD="$lt_cv_path_LD"
   9809 if test -n "$LD"; then
   9810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   9811 $as_echo "$LD" >&6; }
   9812 else
   9813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9814 $as_echo "no" >&6; }
   9815 fi
   9816 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   9818 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   9819 if ${lt_cv_prog_gnu_ld+:} false; then :
   9820   $as_echo_n "(cached) " >&6
   9821 else
   9822   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   9823 case `$LD -v 2>&1 </dev/null` in
   9824 *GNU* | *'with BFD'*)
   9825   lt_cv_prog_gnu_ld=yes
   9826   ;;
   9827 *)
   9828   lt_cv_prog_gnu_ld=no
   9829   ;;
   9830 esac
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   9833 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   9834 with_gnu_ld=$lt_cv_prog_gnu_ld
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   9845 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   9846 if ${lt_cv_path_NM+:} false; then :
   9847   $as_echo_n "(cached) " >&6
   9848 else
   9849   if test -n "$NM"; then
   9850   # Let the user override the test.
   9851   lt_cv_path_NM="$NM"
   9852 else
   9853   lt_nm_to_check="${ac_tool_prefix}nm"
   9854   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   9855     lt_nm_to_check="$lt_nm_to_check nm"
   9856   fi
   9857   for lt_tmp_nm in $lt_nm_to_check; do
   9858     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9859     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   9860       IFS="$lt_save_ifs"
   9861       test -z "$ac_dir" && ac_dir=.
   9862       tmp_nm="$ac_dir/$lt_tmp_nm"
   9863       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   9864 	# Check to see if the nm accepts a BSD-compat flag.
   9865 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   9866 	#   nm: unknown option "B" ignored
   9867 	# Tru64's nm complains that /dev/null is an invalid object file
   9868 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   9869 	*/dev/null* | *'Invalid file or object type'*)
   9870 	  lt_cv_path_NM="$tmp_nm -B"
   9871 	  break
   9872 	  ;;
   9873 	*)
   9874 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   9875 	  */dev/null*)
   9876 	    lt_cv_path_NM="$tmp_nm -p"
   9877 	    break
   9878 	    ;;
   9879 	  *)
   9880 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   9881 	    continue # so that we can try to find one that supports BSD flags
   9882 	    ;;
   9883 	  esac
   9884 	  ;;
   9885 	esac
   9886       fi
   9887     done
   9888     IFS="$lt_save_ifs"
   9889   done
   9890   : ${lt_cv_path_NM=no}
   9891 fi
   9892 fi
   9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   9894 $as_echo "$lt_cv_path_NM" >&6; }
   9895 if test "$lt_cv_path_NM" != "no"; then
   9896   NM="$lt_cv_path_NM"
   9897 else
   9898   # Didn't find any BSD compatible name lister, look for dumpbin.
   9899   if test -n "$DUMPBIN"; then :
   9900     # Let the user override the test.
   9901   else
   9902     if test -n "$ac_tool_prefix"; then
   9903   for ac_prog in dumpbin "link -dump"
   9904   do
   9905     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   9906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9908 $as_echo_n "checking for $ac_word... " >&6; }
   9909 if ${ac_cv_prog_DUMPBIN+:} false; then :
   9910   $as_echo_n "(cached) " >&6
   9911 else
   9912   if test -n "$DUMPBIN"; then
   9913   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   9914 else
   9915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9916 for as_dir in $PATH
   9917 do
   9918   IFS=$as_save_IFS
   9919   test -z "$as_dir" && as_dir=.
   9920     for ac_exec_ext in '' $ac_executable_extensions; do
   9921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9922     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   9923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9924     break 2
   9925   fi
   9926 done
   9927   done
   9928 IFS=$as_save_IFS
   9929 
   9930 fi
   9931 fi
   9932 DUMPBIN=$ac_cv_prog_DUMPBIN
   9933 if test -n "$DUMPBIN"; then
   9934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   9935 $as_echo "$DUMPBIN" >&6; }
   9936 else
   9937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9938 $as_echo "no" >&6; }
   9939 fi
   9940 
   9941 
   9942     test -n "$DUMPBIN" && break
   9943   done
   9944 fi
   9945 if test -z "$DUMPBIN"; then
   9946   ac_ct_DUMPBIN=$DUMPBIN
   9947   for ac_prog in dumpbin "link -dump"
   9948 do
   9949   # Extract the first word of "$ac_prog", so it can be a program name with args.
   9950 set dummy $ac_prog; ac_word=$2
   9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9952 $as_echo_n "checking for $ac_word... " >&6; }
   9953 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   9954   $as_echo_n "(cached) " >&6
   9955 else
   9956   if test -n "$ac_ct_DUMPBIN"; then
   9957   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   9958 else
   9959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9960 for as_dir in $PATH
   9961 do
   9962   IFS=$as_save_IFS
   9963   test -z "$as_dir" && as_dir=.
   9964     for ac_exec_ext in '' $ac_executable_extensions; do
   9965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9966     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   9967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9968     break 2
   9969   fi
   9970 done
   9971   done
   9972 IFS=$as_save_IFS
   9973 
   9974 fi
   9975 fi
   9976 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   9977 if test -n "$ac_ct_DUMPBIN"; then
   9978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   9979 $as_echo "$ac_ct_DUMPBIN" >&6; }
   9980 else
   9981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9982 $as_echo "no" >&6; }
   9983 fi
   9984 
   9985 
   9986   test -n "$ac_ct_DUMPBIN" && break
   9987 done
   9988 
   9989   if test "x$ac_ct_DUMPBIN" = x; then
   9990     DUMPBIN=":"
   9991   else
   9992     case $cross_compiling:$ac_tool_warned in
   9993 yes:)
   9994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9996 ac_tool_warned=yes ;;
   9997 esac
   9998     DUMPBIN=$ac_ct_DUMPBIN
   9999   fi
   10000 fi
   10001 
   10002     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   10003     *COFF*)
   10004       DUMPBIN="$DUMPBIN -symbols"
   10005       ;;
   10006     *)
   10007       DUMPBIN=:
   10008       ;;
   10009     esac
   10010   fi
   10011 
   10012   if test "$DUMPBIN" != ":"; then
   10013     NM="$DUMPBIN"
   10014   fi
   10015 fi
   10016 test -z "$NM" && NM=nm
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   10024 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   10025 if ${lt_cv_nm_interface+:} false; then :
   10026   $as_echo_n "(cached) " >&6
   10027 else
   10028   lt_cv_nm_interface="BSD nm"
   10029   echo "int some_variable = 0;" > conftest.$ac_ext
   10030   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   10031   (eval "$ac_compile" 2>conftest.err)
   10032   cat conftest.err >&5
   10033   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   10034   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   10035   cat conftest.err >&5
   10036   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   10037   cat conftest.out >&5
   10038   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   10039     lt_cv_nm_interface="MS dumpbin"
   10040   fi
   10041   rm -f conftest*
   10042 fi
   10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   10044 $as_echo "$lt_cv_nm_interface" >&6; }
   10045 
   10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   10047 $as_echo_n "checking whether ln -s works... " >&6; }
   10048 LN_S=$as_ln_s
   10049 if test "$LN_S" = "ln -s"; then
   10050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10051 $as_echo "yes" >&6; }
   10052 else
   10053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   10054 $as_echo "no, using $LN_S" >&6; }
   10055 fi
   10056 
   10057 # find the maximum length of command line arguments
   10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   10059 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   10060 if ${lt_cv_sys_max_cmd_len+:} false; then :
   10061   $as_echo_n "(cached) " >&6
   10062 else
   10063     i=0
   10064   teststring="ABCD"
   10065 
   10066   case $build_os in
   10067   msdosdjgpp*)
   10068     # On DJGPP, this test can blow up pretty badly due to problems in libc
   10069     # (any single argument exceeding 2000 bytes causes a buffer overrun
   10070     # during glob expansion).  Even if it were fixed, the result of this
   10071     # check would be larger than it should be.
   10072     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   10073     ;;
   10074 
   10075   gnu*)
   10076     # Under GNU Hurd, this test is not required because there is
   10077     # no limit to the length of command line arguments.
   10078     # Libtool will interpret -1 as no limit whatsoever
   10079     lt_cv_sys_max_cmd_len=-1;
   10080     ;;
   10081 
   10082   cygwin* | mingw* | cegcc*)
   10083     # On Win9x/ME, this test blows up -- it succeeds, but takes
   10084     # about 5 minutes as the teststring grows exponentially.
   10085     # Worse, since 9x/ME are not pre-emptively multitasking,
   10086     # you end up with a "frozen" computer, even though with patience
   10087     # the test eventually succeeds (with a max line length of 256k).
   10088     # Instead, let's just punt: use the minimum linelength reported by
   10089     # all of the supported platforms: 8192 (on NT/2K/XP).
   10090     lt_cv_sys_max_cmd_len=8192;
   10091     ;;
   10092 
   10093   mint*)
   10094     # On MiNT this can take a long time and run out of memory.
   10095     lt_cv_sys_max_cmd_len=8192;
   10096     ;;
   10097 
   10098   amigaos*)
   10099     # On AmigaOS with pdksh, this test takes hours, literally.
   10100     # So we just punt and use a minimum line length of 8192.
   10101     lt_cv_sys_max_cmd_len=8192;
   10102     ;;
   10103 
   10104   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   10105     # This has been around since 386BSD, at least.  Likely further.
   10106     if test -x /sbin/sysctl; then
   10107       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   10108     elif test -x /usr/sbin/sysctl; then
   10109       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   10110     else
   10111       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   10112     fi
   10113     # And add a safety zone
   10114     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   10115     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   10116     ;;
   10117 
   10118   interix*)
   10119     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   10120     lt_cv_sys_max_cmd_len=196608
   10121     ;;
   10122 
   10123   os2*)
   10124     # The test takes a long time on OS/2.
   10125     lt_cv_sys_max_cmd_len=8192
   10126     ;;
   10127 
   10128   osf*)
   10129     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   10130     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   10131     # nice to cause kernel panics so lets avoid the loop below.
   10132     # First set a reasonable default.
   10133     lt_cv_sys_max_cmd_len=16384
   10134     #
   10135     if test -x /sbin/sysconfig; then
   10136       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   10137         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   10138       esac
   10139     fi
   10140     ;;
   10141   sco3.2v5*)
   10142     lt_cv_sys_max_cmd_len=102400
   10143     ;;
   10144   sysv5* | sco5v6* | sysv4.2uw2*)
   10145     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   10146     if test -n "$kargmax"; then
   10147       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   10148     else
   10149       lt_cv_sys_max_cmd_len=32768
   10150     fi
   10151     ;;
   10152   *)
   10153     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   10154     if test -n "$lt_cv_sys_max_cmd_len"; then
   10155       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   10156       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   10157     else
   10158       # Make teststring a little bigger before we do anything with it.
   10159       # a 1K string should be a reasonable start.
   10160       for i in 1 2 3 4 5 6 7 8 ; do
   10161         teststring=$teststring$teststring
   10162       done
   10163       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   10164       # If test is not a shell built-in, we'll probably end up computing a
   10165       # maximum length that is only half of the actual maximum length, but
   10166       # we can't tell.
   10167       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   10168 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   10169 	      test $i != 17 # 1/2 MB should be enough
   10170       do
   10171         i=`expr $i + 1`
   10172         teststring=$teststring$teststring
   10173       done
   10174       # Only check the string length outside the loop.
   10175       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   10176       teststring=
   10177       # Add a significant safety factor because C++ compilers can tack on
   10178       # massive amounts of additional arguments before passing them to the
   10179       # linker.  It appears as though 1/2 is a usable value.
   10180       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   10181     fi
   10182     ;;
   10183   esac
   10184 
   10185 fi
   10186 
   10187 if test -n $lt_cv_sys_max_cmd_len ; then
   10188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   10189 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   10190 else
   10191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   10192 $as_echo "none" >&6; }
   10193 fi
   10194 max_cmd_len=$lt_cv_sys_max_cmd_len
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 : ${CP="cp -f"}
   10202 : ${MV="mv -f"}
   10203 : ${RM="rm -f"}
   10204 
   10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   10206 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   10207 # Try some XSI features
   10208 xsi_shell=no
   10209 ( _lt_dummy="a/b/c"
   10210   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   10211       = c,a/b,b/c, \
   10212     && eval 'test $(( 1 + 1 )) -eq 2 \
   10213     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   10214   && xsi_shell=yes
   10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   10216 $as_echo "$xsi_shell" >&6; }
   10217 
   10218 
   10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   10220 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   10221 lt_shell_append=no
   10222 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   10223     >/dev/null 2>&1 \
   10224   && lt_shell_append=yes
   10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   10226 $as_echo "$lt_shell_append" >&6; }
   10227 
   10228 
   10229 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   10230   lt_unset=unset
   10231 else
   10232   lt_unset=false
   10233 fi
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 # test EBCDIC or ASCII
   10240 case `echo X|tr X '\101'` in
   10241  A) # ASCII based system
   10242     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   10243   lt_SP2NL='tr \040 \012'
   10244   lt_NL2SP='tr \015\012 \040\040'
   10245   ;;
   10246  *) # EBCDIC based system
   10247   lt_SP2NL='tr \100 \n'
   10248   lt_NL2SP='tr \r\n \100\100'
   10249   ;;
   10250 esac
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   10261 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   10262 if ${lt_cv_to_host_file_cmd+:} false; then :
   10263   $as_echo_n "(cached) " >&6
   10264 else
   10265   case $host in
   10266   *-*-mingw* )
   10267     case $build in
   10268       *-*-mingw* ) # actually msys
   10269         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   10270         ;;
   10271       *-*-cygwin* )
   10272         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   10273         ;;
   10274       * ) # otherwise, assume *nix
   10275         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   10276         ;;
   10277     esac
   10278     ;;
   10279   *-*-cygwin* )
   10280     case $build in
   10281       *-*-mingw* ) # actually msys
   10282         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   10283         ;;
   10284       *-*-cygwin* )
   10285         lt_cv_to_host_file_cmd=func_convert_file_noop
   10286         ;;
   10287       * ) # otherwise, assume *nix
   10288         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   10289         ;;
   10290     esac
   10291     ;;
   10292   * ) # unhandled hosts (and "normal" native builds)
   10293     lt_cv_to_host_file_cmd=func_convert_file_noop
   10294     ;;
   10295 esac
   10296 
   10297 fi
   10298 
   10299 to_host_file_cmd=$lt_cv_to_host_file_cmd
   10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   10301 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   10308 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   10309 if ${lt_cv_to_tool_file_cmd+:} false; then :
   10310   $as_echo_n "(cached) " >&6
   10311 else
   10312   #assume ordinary cross tools, or native build.
   10313 lt_cv_to_tool_file_cmd=func_convert_file_noop
   10314 case $host in
   10315   *-*-mingw* )
   10316     case $build in
   10317       *-*-mingw* ) # actually msys
   10318         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   10319         ;;
   10320     esac
   10321     ;;
   10322 esac
   10323 
   10324 fi
   10325 
   10326 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   10328 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   10335 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   10336 if ${lt_cv_ld_reload_flag+:} false; then :
   10337   $as_echo_n "(cached) " >&6
   10338 else
   10339   lt_cv_ld_reload_flag='-r'
   10340 fi
   10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   10342 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   10343 reload_flag=$lt_cv_ld_reload_flag
   10344 case $reload_flag in
   10345 "" | " "*) ;;
   10346 *) reload_flag=" $reload_flag" ;;
   10347 esac
   10348 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   10349 case $host_os in
   10350   cygwin* | mingw* | pw32* | cegcc*)
   10351     if test "$GCC" != yes; then
   10352       reload_cmds=false
   10353     fi
   10354     ;;
   10355   darwin*)
   10356     if test "$GCC" = yes; then
   10357       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   10358     else
   10359       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   10360     fi
   10361     ;;
   10362 esac
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 if test -n "$ac_tool_prefix"; then
   10373   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   10374 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10376 $as_echo_n "checking for $ac_word... " >&6; }
   10377 if ${ac_cv_prog_OBJDUMP+:} false; then :
   10378   $as_echo_n "(cached) " >&6
   10379 else
   10380   if test -n "$OBJDUMP"; then
   10381   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   10382 else
   10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10384 for as_dir in $PATH
   10385 do
   10386   IFS=$as_save_IFS
   10387   test -z "$as_dir" && as_dir=.
   10388     for ac_exec_ext in '' $ac_executable_extensions; do
   10389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10390     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   10391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10392     break 2
   10393   fi
   10394 done
   10395   done
   10396 IFS=$as_save_IFS
   10397 
   10398 fi
   10399 fi
   10400 OBJDUMP=$ac_cv_prog_OBJDUMP
   10401 if test -n "$OBJDUMP"; then
   10402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   10403 $as_echo "$OBJDUMP" >&6; }
   10404 else
   10405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10406 $as_echo "no" >&6; }
   10407 fi
   10408 
   10409 
   10410 fi
   10411 if test -z "$ac_cv_prog_OBJDUMP"; then
   10412   ac_ct_OBJDUMP=$OBJDUMP
   10413   # Extract the first word of "objdump", so it can be a program name with args.
   10414 set dummy objdump; ac_word=$2
   10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10416 $as_echo_n "checking for $ac_word... " >&6; }
   10417 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   10418   $as_echo_n "(cached) " >&6
   10419 else
   10420   if test -n "$ac_ct_OBJDUMP"; then
   10421   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   10422 else
   10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10424 for as_dir in $PATH
   10425 do
   10426   IFS=$as_save_IFS
   10427   test -z "$as_dir" && as_dir=.
   10428     for ac_exec_ext in '' $ac_executable_extensions; do
   10429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10430     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10432     break 2
   10433   fi
   10434 done
   10435   done
   10436 IFS=$as_save_IFS
   10437 
   10438 fi
   10439 fi
   10440 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10441 if test -n "$ac_ct_OBJDUMP"; then
   10442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10443 $as_echo "$ac_ct_OBJDUMP" >&6; }
   10444 else
   10445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10446 $as_echo "no" >&6; }
   10447 fi
   10448 
   10449   if test "x$ac_ct_OBJDUMP" = x; then
   10450     OBJDUMP="false"
   10451   else
   10452     case $cross_compiling:$ac_tool_warned in
   10453 yes:)
   10454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10456 ac_tool_warned=yes ;;
   10457 esac
   10458     OBJDUMP=$ac_ct_OBJDUMP
   10459   fi
   10460 else
   10461   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10462 fi
   10463 
   10464 test -z "$OBJDUMP" && OBJDUMP=objdump
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   10475 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   10476 if ${lt_cv_deplibs_check_method+:} false; then :
   10477   $as_echo_n "(cached) " >&6
   10478 else
   10479   lt_cv_file_magic_cmd='$MAGIC_CMD'
   10480 lt_cv_file_magic_test_file=
   10481 lt_cv_deplibs_check_method='unknown'
   10482 # Need to set the preceding variable on all platforms that support
   10483 # interlibrary dependencies.
   10484 # 'none' -- dependencies not supported.
   10485 # `unknown' -- same as none, but documents that we really don't know.
   10486 # 'pass_all' -- all dependencies passed with no checks.
   10487 # 'test_compile' -- check by making test program.
   10488 # 'file_magic [[regex]]' -- check by looking for files in library path
   10489 # which responds to the $file_magic_cmd with a given extended regex.
   10490 # If you have `file' or equivalent on your system and you're not sure
   10491 # whether `pass_all' will *always* work, you probably want this one.
   10492 
   10493 case $host_os in
   10494 aix[4-9]*)
   10495   lt_cv_deplibs_check_method=pass_all
   10496   ;;
   10497 
   10498 beos*)
   10499   lt_cv_deplibs_check_method=pass_all
   10500   ;;
   10501 
   10502 bsdi[45]*)
   10503   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   10504   lt_cv_file_magic_cmd='/usr/bin/file -L'
   10505   lt_cv_file_magic_test_file=/shlib/libc.so
   10506   ;;
   10507 
   10508 cygwin*)
   10509   # func_win32_libid is a shell function defined in ltmain.sh
   10510   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10511   lt_cv_file_magic_cmd='func_win32_libid'
   10512   ;;
   10513 
   10514 mingw* | pw32*)
   10515   # Base MSYS/MinGW do not provide the 'file' command needed by
   10516   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   10517   # unless we find 'file', for example because we are cross-compiling.
   10518   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   10519   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   10520     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   10521     lt_cv_file_magic_cmd='func_win32_libid'
   10522   else
   10523     # Keep this pattern in sync with the one in func_win32_libid.
   10524     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   10525     lt_cv_file_magic_cmd='$OBJDUMP -f'
   10526   fi
   10527   ;;
   10528 
   10529 cegcc*)
   10530   # use the weaker test based on 'objdump'. See mingw*.
   10531   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   10532   lt_cv_file_magic_cmd='$OBJDUMP -f'
   10533   ;;
   10534 
   10535 darwin* | rhapsody*)
   10536   lt_cv_deplibs_check_method=pass_all
   10537   ;;
   10538 
   10539 freebsd* | dragonfly*)
   10540   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10541     case $host_cpu in
   10542     i*86 )
   10543       # Not sure whether the presence of OpenBSD here was a mistake.
   10544       # Let's accept both of them until this is cleared up.
   10545       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   10546       lt_cv_file_magic_cmd=/usr/bin/file
   10547       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   10548       ;;
   10549     esac
   10550   else
   10551     lt_cv_deplibs_check_method=pass_all
   10552   fi
   10553   ;;
   10554 
   10555 gnu*)
   10556   lt_cv_deplibs_check_method=pass_all
   10557   ;;
   10558 
   10559 haiku*)
   10560   lt_cv_deplibs_check_method=pass_all
   10561   ;;
   10562 
   10563 hpux10.20* | hpux11*)
   10564   lt_cv_file_magic_cmd=/usr/bin/file
   10565   case $host_cpu in
   10566   ia64*)
   10567     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   10568     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   10569     ;;
   10570   hppa*64*)
   10571     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]'
   10572     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   10573     ;;
   10574   *)
   10575     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   10576     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   10577     ;;
   10578   esac
   10579   ;;
   10580 
   10581 interix[3-9]*)
   10582   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   10583   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   10584   ;;
   10585 
   10586 irix5* | irix6* | nonstopux*)
   10587   case $LD in
   10588   *-32|*"-32 ") libmagic=32-bit;;
   10589   *-n32|*"-n32 ") libmagic=N32;;
   10590   *-64|*"-64 ") libmagic=64-bit;;
   10591   *) libmagic=never-match;;
   10592   esac
   10593   lt_cv_deplibs_check_method=pass_all
   10594   ;;
   10595 
   10596 # This must be glibc/ELF.
   10597 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10598   lt_cv_deplibs_check_method=pass_all
   10599   ;;
   10600 
   10601 netbsd*)
   10602   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   10603     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10604   else
   10605     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   10606   fi
   10607   ;;
   10608 
   10609 newos6*)
   10610   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   10611   lt_cv_file_magic_cmd=/usr/bin/file
   10612   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   10613   ;;
   10614 
   10615 *nto* | *qnx*)
   10616   lt_cv_deplibs_check_method=pass_all
   10617   ;;
   10618 
   10619 openbsd*)
   10620   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10621     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   10622   else
   10623     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   10624   fi
   10625   ;;
   10626 
   10627 osf3* | osf4* | osf5*)
   10628   lt_cv_deplibs_check_method=pass_all
   10629   ;;
   10630 
   10631 rdos*)
   10632   lt_cv_deplibs_check_method=pass_all
   10633   ;;
   10634 
   10635 solaris*)
   10636   lt_cv_deplibs_check_method=pass_all
   10637   ;;
   10638 
   10639 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10640   lt_cv_deplibs_check_method=pass_all
   10641   ;;
   10642 
   10643 sysv4 | sysv4.3*)
   10644   case $host_vendor in
   10645   motorola)
   10646     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]'
   10647     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   10648     ;;
   10649   ncr)
   10650     lt_cv_deplibs_check_method=pass_all
   10651     ;;
   10652   sequent)
   10653     lt_cv_file_magic_cmd='/bin/file'
   10654     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   10655     ;;
   10656   sni)
   10657     lt_cv_file_magic_cmd='/bin/file'
   10658     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   10659     lt_cv_file_magic_test_file=/lib/libc.so
   10660     ;;
   10661   siemens)
   10662     lt_cv_deplibs_check_method=pass_all
   10663     ;;
   10664   pc)
   10665     lt_cv_deplibs_check_method=pass_all
   10666     ;;
   10667   esac
   10668   ;;
   10669 
   10670 tpf*)
   10671   lt_cv_deplibs_check_method=pass_all
   10672   ;;
   10673 esac
   10674 
   10675 fi
   10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   10677 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   10678 
   10679 file_magic_glob=
   10680 want_nocaseglob=no
   10681 if test "$build" = "$host"; then
   10682   case $host_os in
   10683   mingw* | pw32*)
   10684     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   10685       want_nocaseglob=yes
   10686     else
   10687       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   10688     fi
   10689     ;;
   10690   esac
   10691 fi
   10692 
   10693 file_magic_cmd=$lt_cv_file_magic_cmd
   10694 deplibs_check_method=$lt_cv_deplibs_check_method
   10695 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 if test -n "$ac_tool_prefix"; then
   10719   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10720 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10722 $as_echo_n "checking for $ac_word... " >&6; }
   10723 if ${ac_cv_prog_DLLTOOL+:} false; then :
   10724   $as_echo_n "(cached) " >&6
   10725 else
   10726   if test -n "$DLLTOOL"; then
   10727   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10728 else
   10729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10730 for as_dir in $PATH
   10731 do
   10732   IFS=$as_save_IFS
   10733   test -z "$as_dir" && as_dir=.
   10734     for ac_exec_ext in '' $ac_executable_extensions; do
   10735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10736     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10737     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10738     break 2
   10739   fi
   10740 done
   10741   done
   10742 IFS=$as_save_IFS
   10743 
   10744 fi
   10745 fi
   10746 DLLTOOL=$ac_cv_prog_DLLTOOL
   10747 if test -n "$DLLTOOL"; then
   10748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10749 $as_echo "$DLLTOOL" >&6; }
   10750 else
   10751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10752 $as_echo "no" >&6; }
   10753 fi
   10754 
   10755 
   10756 fi
   10757 if test -z "$ac_cv_prog_DLLTOOL"; then
   10758   ac_ct_DLLTOOL=$DLLTOOL
   10759   # Extract the first word of "dlltool", so it can be a program name with args.
   10760 set dummy dlltool; ac_word=$2
   10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10762 $as_echo_n "checking for $ac_word... " >&6; }
   10763 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   10764   $as_echo_n "(cached) " >&6
   10765 else
   10766   if test -n "$ac_ct_DLLTOOL"; then
   10767   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10768 else
   10769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10770 for as_dir in $PATH
   10771 do
   10772   IFS=$as_save_IFS
   10773   test -z "$as_dir" && as_dir=.
   10774     for ac_exec_ext in '' $ac_executable_extensions; do
   10775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10776     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10778     break 2
   10779   fi
   10780 done
   10781   done
   10782 IFS=$as_save_IFS
   10783 
   10784 fi
   10785 fi
   10786 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10787 if test -n "$ac_ct_DLLTOOL"; then
   10788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10789 $as_echo "$ac_ct_DLLTOOL" >&6; }
   10790 else
   10791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10792 $as_echo "no" >&6; }
   10793 fi
   10794 
   10795   if test "x$ac_ct_DLLTOOL" = x; then
   10796     DLLTOOL="false"
   10797   else
   10798     case $cross_compiling:$ac_tool_warned in
   10799 yes:)
   10800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10802 ac_tool_warned=yes ;;
   10803 esac
   10804     DLLTOOL=$ac_ct_DLLTOOL
   10805   fi
   10806 else
   10807   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10808 fi
   10809 
   10810 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   10822 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   10823 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   10824   $as_echo_n "(cached) " >&6
   10825 else
   10826   lt_cv_sharedlib_from_linklib_cmd='unknown'
   10827 
   10828 case $host_os in
   10829 cygwin* | mingw* | pw32* | cegcc*)
   10830   # two different shell functions defined in ltmain.sh
   10831   # decide which to use based on capabilities of $DLLTOOL
   10832   case `$DLLTOOL --help 2>&1` in
   10833   *--identify-strict*)
   10834     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   10835     ;;
   10836   *)
   10837     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   10838     ;;
   10839   esac
   10840   ;;
   10841 *)
   10842   # fallback: assume linklib IS sharedlib
   10843   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   10844   ;;
   10845 esac
   10846 
   10847 fi
   10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   10849 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   10850 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   10851 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 if test -n "$ac_tool_prefix"; then
   10860   for ac_prog in ar
   10861   do
   10862     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   10863 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10865 $as_echo_n "checking for $ac_word... " >&6; }
   10866 if ${ac_cv_prog_AR+:} false; then :
   10867   $as_echo_n "(cached) " >&6
   10868 else
   10869   if test -n "$AR"; then
   10870   ac_cv_prog_AR="$AR" # Let the user override the test.
   10871 else
   10872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10873 for as_dir in $PATH
   10874 do
   10875   IFS=$as_save_IFS
   10876   test -z "$as_dir" && as_dir=.
   10877     for ac_exec_ext in '' $ac_executable_extensions; do
   10878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10879     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   10880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10881     break 2
   10882   fi
   10883 done
   10884   done
   10885 IFS=$as_save_IFS
   10886 
   10887 fi
   10888 fi
   10889 AR=$ac_cv_prog_AR
   10890 if test -n "$AR"; then
   10891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   10892 $as_echo "$AR" >&6; }
   10893 else
   10894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10895 $as_echo "no" >&6; }
   10896 fi
   10897 
   10898 
   10899     test -n "$AR" && break
   10900   done
   10901 fi
   10902 if test -z "$AR"; then
   10903   ac_ct_AR=$AR
   10904   for ac_prog in ar
   10905 do
   10906   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10907 set dummy $ac_prog; ac_word=$2
   10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10909 $as_echo_n "checking for $ac_word... " >&6; }
   10910 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   10911   $as_echo_n "(cached) " >&6
   10912 else
   10913   if test -n "$ac_ct_AR"; then
   10914   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   10915 else
   10916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10917 for as_dir in $PATH
   10918 do
   10919   IFS=$as_save_IFS
   10920   test -z "$as_dir" && as_dir=.
   10921     for ac_exec_ext in '' $ac_executable_extensions; do
   10922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   10923     ac_cv_prog_ac_ct_AR="$ac_prog"
   10924     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10925     break 2
   10926   fi
   10927 done
   10928   done
   10929 IFS=$as_save_IFS
   10930 
   10931 fi
   10932 fi
   10933 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   10934 if test -n "$ac_ct_AR"; then
   10935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   10936 $as_echo "$ac_ct_AR" >&6; }
   10937 else
   10938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10939 $as_echo "no" >&6; }
   10940 fi
   10941 
   10942 
   10943   test -n "$ac_ct_AR" && break
   10944 done
   10945 
   10946   if test "x$ac_ct_AR" = x; then
   10947     AR="false"
   10948   else
   10949     case $cross_compiling:$ac_tool_warned in
   10950 yes:)
   10951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10953 ac_tool_warned=yes ;;
   10954 esac
   10955     AR=$ac_ct_AR
   10956   fi
   10957 fi
   10958 
   10959 : ${AR=ar}
   10960 : ${AR_FLAGS=cru}
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   10973 $as_echo_n "checking for archiver @FILE support... " >&6; }
   10974 if ${lt_cv_ar_at_file+:} false; then :
   10975   $as_echo_n "(cached) " >&6
   10976 else
   10977   lt_cv_ar_at_file=no
   10978    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10979 /* end confdefs.h.  */
   10980 
   10981 int
   10982 main ()
   10983 {
   10984 
   10985   ;
   10986   return 0;
   10987 }
   10988 _ACEOF
   10989 if ac_fn_c_try_compile "$LINENO"; then :
   10990   echo conftest.$ac_objext > conftest.lst
   10991       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   10992       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   10993   (eval $lt_ar_try) 2>&5
   10994   ac_status=$?
   10995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10996   test $ac_status = 0; }
   10997       if test "$ac_status" -eq 0; then
   10998 	# Ensure the archiver fails upon bogus file names.
   10999 	rm -f conftest.$ac_objext libconftest.a
   11000 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   11001   (eval $lt_ar_try) 2>&5
   11002   ac_status=$?
   11003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11004   test $ac_status = 0; }
   11005 	if test "$ac_status" -ne 0; then
   11006           lt_cv_ar_at_file=@
   11007         fi
   11008       fi
   11009       rm -f conftest.* libconftest.a
   11010 
   11011 fi
   11012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11013 
   11014 fi
   11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   11016 $as_echo "$lt_cv_ar_at_file" >&6; }
   11017 
   11018 if test "x$lt_cv_ar_at_file" = xno; then
   11019   archiver_list_spec=
   11020 else
   11021   archiver_list_spec=$lt_cv_ar_at_file
   11022 fi
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 if test -n "$ac_tool_prefix"; then
   11031   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   11032 set dummy ${ac_tool_prefix}strip; ac_word=$2
   11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11034 $as_echo_n "checking for $ac_word... " >&6; }
   11035 if ${ac_cv_prog_STRIP+:} false; then :
   11036   $as_echo_n "(cached) " >&6
   11037 else
   11038   if test -n "$STRIP"; then
   11039   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   11040 else
   11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11042 for as_dir in $PATH
   11043 do
   11044   IFS=$as_save_IFS
   11045   test -z "$as_dir" && as_dir=.
   11046     for ac_exec_ext in '' $ac_executable_extensions; do
   11047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11048     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   11049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11050     break 2
   11051   fi
   11052 done
   11053   done
   11054 IFS=$as_save_IFS
   11055 
   11056 fi
   11057 fi
   11058 STRIP=$ac_cv_prog_STRIP
   11059 if test -n "$STRIP"; then
   11060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   11061 $as_echo "$STRIP" >&6; }
   11062 else
   11063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11064 $as_echo "no" >&6; }
   11065 fi
   11066 
   11067 
   11068 fi
   11069 if test -z "$ac_cv_prog_STRIP"; then
   11070   ac_ct_STRIP=$STRIP
   11071   # Extract the first word of "strip", so it can be a program name with args.
   11072 set dummy strip; ac_word=$2
   11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11074 $as_echo_n "checking for $ac_word... " >&6; }
   11075 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   11076   $as_echo_n "(cached) " >&6
   11077 else
   11078   if test -n "$ac_ct_STRIP"; then
   11079   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   11080 else
   11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11082 for as_dir in $PATH
   11083 do
   11084   IFS=$as_save_IFS
   11085   test -z "$as_dir" && as_dir=.
   11086     for ac_exec_ext in '' $ac_executable_extensions; do
   11087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11088     ac_cv_prog_ac_ct_STRIP="strip"
   11089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11090     break 2
   11091   fi
   11092 done
   11093   done
   11094 IFS=$as_save_IFS
   11095 
   11096 fi
   11097 fi
   11098 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   11099 if test -n "$ac_ct_STRIP"; then
   11100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   11101 $as_echo "$ac_ct_STRIP" >&6; }
   11102 else
   11103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11104 $as_echo "no" >&6; }
   11105 fi
   11106 
   11107   if test "x$ac_ct_STRIP" = x; then
   11108     STRIP=":"
   11109   else
   11110     case $cross_compiling:$ac_tool_warned in
   11111 yes:)
   11112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11114 ac_tool_warned=yes ;;
   11115 esac
   11116     STRIP=$ac_ct_STRIP
   11117   fi
   11118 else
   11119   STRIP="$ac_cv_prog_STRIP"
   11120 fi
   11121 
   11122 test -z "$STRIP" && STRIP=:
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 if test -n "$ac_tool_prefix"; then
   11130   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   11131 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11133 $as_echo_n "checking for $ac_word... " >&6; }
   11134 if ${ac_cv_prog_RANLIB+:} false; then :
   11135   $as_echo_n "(cached) " >&6
   11136 else
   11137   if test -n "$RANLIB"; then
   11138   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   11139 else
   11140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11141 for as_dir in $PATH
   11142 do
   11143   IFS=$as_save_IFS
   11144   test -z "$as_dir" && as_dir=.
   11145     for ac_exec_ext in '' $ac_executable_extensions; do
   11146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11147     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   11148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11149     break 2
   11150   fi
   11151 done
   11152   done
   11153 IFS=$as_save_IFS
   11154 
   11155 fi
   11156 fi
   11157 RANLIB=$ac_cv_prog_RANLIB
   11158 if test -n "$RANLIB"; then
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   11160 $as_echo "$RANLIB" >&6; }
   11161 else
   11162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11163 $as_echo "no" >&6; }
   11164 fi
   11165 
   11166 
   11167 fi
   11168 if test -z "$ac_cv_prog_RANLIB"; then
   11169   ac_ct_RANLIB=$RANLIB
   11170   # Extract the first word of "ranlib", so it can be a program name with args.
   11171 set dummy ranlib; ac_word=$2
   11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11173 $as_echo_n "checking for $ac_word... " >&6; }
   11174 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   11175   $as_echo_n "(cached) " >&6
   11176 else
   11177   if test -n "$ac_ct_RANLIB"; then
   11178   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   11179 else
   11180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11181 for as_dir in $PATH
   11182 do
   11183   IFS=$as_save_IFS
   11184   test -z "$as_dir" && as_dir=.
   11185     for ac_exec_ext in '' $ac_executable_extensions; do
   11186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11187     ac_cv_prog_ac_ct_RANLIB="ranlib"
   11188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11189     break 2
   11190   fi
   11191 done
   11192   done
   11193 IFS=$as_save_IFS
   11194 
   11195 fi
   11196 fi
   11197 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   11198 if test -n "$ac_ct_RANLIB"; then
   11199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   11200 $as_echo "$ac_ct_RANLIB" >&6; }
   11201 else
   11202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11203 $as_echo "no" >&6; }
   11204 fi
   11205 
   11206   if test "x$ac_ct_RANLIB" = x; then
   11207     RANLIB=":"
   11208   else
   11209     case $cross_compiling:$ac_tool_warned in
   11210 yes:)
   11211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11213 ac_tool_warned=yes ;;
   11214 esac
   11215     RANLIB=$ac_ct_RANLIB
   11216   fi
   11217 else
   11218   RANLIB="$ac_cv_prog_RANLIB"
   11219 fi
   11220 
   11221 test -z "$RANLIB" && RANLIB=:
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 # Determine commands to create old-style static archives.
   11229 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   11230 old_postinstall_cmds='chmod 644 $oldlib'
   11231 old_postuninstall_cmds=
   11232 
   11233 if test -n "$RANLIB"; then
   11234   case $host_os in
   11235   openbsd*)
   11236     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   11237     ;;
   11238   *)
   11239     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   11240     ;;
   11241   esac
   11242   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   11243 fi
   11244 
   11245 case $host_os in
   11246   darwin*)
   11247     lock_old_archive_extraction=yes ;;
   11248   *)
   11249     lock_old_archive_extraction=no ;;
   11250 esac
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 # If no C compiler was specified, use CC.
   11291 LTCC=${LTCC-"$CC"}
   11292 
   11293 # If no C compiler flags were specified, use CFLAGS.
   11294 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11295 
   11296 # Allow CC to be a program name with arguments.
   11297 compiler=$CC
   11298 
   11299 
   11300 # Check for command to grab the raw symbol name followed by C symbol from nm.
   11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   11302 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   11303 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   11304   $as_echo_n "(cached) " >&6
   11305 else
   11306 
   11307 # These are sane defaults that work on at least a few old systems.
   11308 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   11309 
   11310 # Character class describing NM global symbol codes.
   11311 symcode='[BCDEGRST]'
   11312 
   11313 # Regexp to match symbols that can be accessed directly from C.
   11314 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   11315 
   11316 # Define system-specific variables.
   11317 case $host_os in
   11318 aix*)
   11319   symcode='[BCDT]'
   11320   ;;
   11321 cygwin* | mingw* | pw32* | cegcc*)
   11322   symcode='[ABCDGISTW]'
   11323   ;;
   11324 hpux*)
   11325   if test "$host_cpu" = ia64; then
   11326     symcode='[ABCDEGRST]'
   11327   fi
   11328   ;;
   11329 irix* | nonstopux*)
   11330   symcode='[BCDEGRST]'
   11331   ;;
   11332 osf*)
   11333   symcode='[BCDEGQRST]'
   11334   ;;
   11335 solaris*)
   11336   symcode='[BDRT]'
   11337   ;;
   11338 sco3.2v5*)
   11339   symcode='[DT]'
   11340   ;;
   11341 sysv4.2uw2*)
   11342   symcode='[DT]'
   11343   ;;
   11344 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   11345   symcode='[ABDT]'
   11346   ;;
   11347 sysv4)
   11348   symcode='[DFNSTU]'
   11349   ;;
   11350 esac
   11351 
   11352 # If we're using GNU nm, then use its standard symbol codes.
   11353 case `$NM -V 2>&1` in
   11354 *GNU* | *'with BFD'*)
   11355   symcode='[ABCDGIRSTW]' ;;
   11356 esac
   11357 
   11358 # Transform an extracted symbol line into a proper C declaration.
   11359 # Some systems (esp. on ia64) link data and code symbols differently,
   11360 # so use this general approach.
   11361 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   11362 
   11363 # Transform an extracted symbol line into symbol name and symbol address
   11364 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   11365 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'"
   11366 
   11367 # Handle CRLF in mingw tool chain
   11368 opt_cr=
   11369 case $build_os in
   11370 mingw*)
   11371   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   11372   ;;
   11373 esac
   11374 
   11375 # Try without a prefix underscore, then with it.
   11376 for ac_symprfx in "" "_"; do
   11377 
   11378   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   11379   symxfrm="\\1 $ac_symprfx\\2 \\2"
   11380 
   11381   # Write the raw and C identifiers.
   11382   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11383     # Fake it for dumpbin and say T for any non-static function
   11384     # and D for any global variable.
   11385     # Also find C++ and __fastcall symbols from MSVC++,
   11386     # which start with @ or ?.
   11387     lt_cv_sys_global_symbol_pipe="$AWK '"\
   11388 "     {last_section=section; section=\$ 3};"\
   11389 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   11390 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   11391 "     \$ 0!~/External *\|/{next};"\
   11392 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   11393 "     {if(hide[section]) next};"\
   11394 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   11395 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   11396 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   11397 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   11398 "     ' prfx=^$ac_symprfx"
   11399   else
   11400     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   11401   fi
   11402   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   11403 
   11404   # Check to see that the pipe works correctly.
   11405   pipe_works=no
   11406 
   11407   rm -f conftest*
   11408   cat > conftest.$ac_ext <<_LT_EOF
   11409 #ifdef __cplusplus
   11410 extern "C" {
   11411 #endif
   11412 char nm_test_var;
   11413 void nm_test_func(void);
   11414 void nm_test_func(void){}
   11415 #ifdef __cplusplus
   11416 }
   11417 #endif
   11418 int main(){nm_test_var='a';nm_test_func();return(0);}
   11419 _LT_EOF
   11420 
   11421   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11422   (eval $ac_compile) 2>&5
   11423   ac_status=$?
   11424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11425   test $ac_status = 0; }; then
   11426     # Now try to grab the symbols.
   11427     nlist=conftest.nm
   11428     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   11429   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   11430   ac_status=$?
   11431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11432   test $ac_status = 0; } && test -s "$nlist"; then
   11433       # Try sorting and uniquifying the output.
   11434       if sort "$nlist" | uniq > "$nlist"T; then
   11435 	mv -f "$nlist"T "$nlist"
   11436       else
   11437 	rm -f "$nlist"T
   11438       fi
   11439 
   11440       # Make sure that we snagged all the symbols we need.
   11441       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   11442 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   11443 	  cat <<_LT_EOF > conftest.$ac_ext
   11444 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   11445 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   11446 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   11447    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   11448 # define LT_DLSYM_CONST
   11449 #elif defined(__osf__)
   11450 /* This system does not cope well with relocations in const data.  */
   11451 # define LT_DLSYM_CONST
   11452 #else
   11453 # define LT_DLSYM_CONST const
   11454 #endif
   11455 
   11456 #ifdef __cplusplus
   11457 extern "C" {
   11458 #endif
   11459 
   11460 _LT_EOF
   11461 	  # Now generate the symbol file.
   11462 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   11463 
   11464 	  cat <<_LT_EOF >> conftest.$ac_ext
   11465 
   11466 /* The mapping between symbol names and symbols.  */
   11467 LT_DLSYM_CONST struct {
   11468   const char *name;
   11469   void       *address;
   11470 }
   11471 lt__PROGRAM__LTX_preloaded_symbols[] =
   11472 {
   11473   { "@PROGRAM@", (void *) 0 },
   11474 _LT_EOF
   11475 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   11476 	  cat <<\_LT_EOF >> conftest.$ac_ext
   11477   {0, (void *) 0}
   11478 };
   11479 
   11480 /* This works around a problem in FreeBSD linker */
   11481 #ifdef FREEBSD_WORKAROUND
   11482 static const void *lt_preloaded_setup() {
   11483   return lt__PROGRAM__LTX_preloaded_symbols;
   11484 }
   11485 #endif
   11486 
   11487 #ifdef __cplusplus
   11488 }
   11489 #endif
   11490 _LT_EOF
   11491 	  # Now try linking the two files.
   11492 	  mv conftest.$ac_objext conftstm.$ac_objext
   11493 	  lt_globsym_save_LIBS=$LIBS
   11494 	  lt_globsym_save_CFLAGS=$CFLAGS
   11495 	  LIBS="conftstm.$ac_objext"
   11496 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   11497 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11498   (eval $ac_link) 2>&5
   11499   ac_status=$?
   11500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11501   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   11502 	    pipe_works=yes
   11503 	  fi
   11504 	  LIBS=$lt_globsym_save_LIBS
   11505 	  CFLAGS=$lt_globsym_save_CFLAGS
   11506 	else
   11507 	  echo "cannot find nm_test_func in $nlist" >&5
   11508 	fi
   11509       else
   11510 	echo "cannot find nm_test_var in $nlist" >&5
   11511       fi
   11512     else
   11513       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   11514     fi
   11515   else
   11516     echo "$progname: failed program was:" >&5
   11517     cat conftest.$ac_ext >&5
   11518   fi
   11519   rm -rf conftest* conftst*
   11520 
   11521   # Do not use the global_symbol_pipe unless it works.
   11522   if test "$pipe_works" = yes; then
   11523     break
   11524   else
   11525     lt_cv_sys_global_symbol_pipe=
   11526   fi
   11527 done
   11528 
   11529 fi
   11530 
   11531 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   11532   lt_cv_sys_global_symbol_to_cdecl=
   11533 fi
   11534 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   11535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   11536 $as_echo "failed" >&6; }
   11537 else
   11538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   11539 $as_echo "ok" >&6; }
   11540 fi
   11541 
   11542 # Response file support.
   11543 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   11544   nm_file_list_spec='@'
   11545 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   11546   nm_file_list_spec='@'
   11547 fi
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   11576 $as_echo_n "checking for sysroot... " >&6; }
   11577 
   11578 # Check whether --with-sysroot was given.
   11579 if test "${with_sysroot+set}" = set; then :
   11580   withval=$with_sysroot;
   11581 else
   11582   with_sysroot=no
   11583 fi
   11584 
   11585 
   11586 lt_sysroot=
   11587 case ${with_sysroot} in #(
   11588  yes)
   11589    if test "$GCC" = yes; then
   11590      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   11591    fi
   11592    ;; #(
   11593  /*)
   11594    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   11595    ;; #(
   11596  no|'')
   11597    ;; #(
   11598  *)
   11599    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   11600 $as_echo "${with_sysroot}" >&6; }
   11601    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   11602    ;;
   11603 esac
   11604 
   11605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   11606 $as_echo "${lt_sysroot:-no}" >&6; }
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 # Check whether --enable-libtool-lock was given.
   11613 if test "${enable_libtool_lock+set}" = set; then :
   11614   enableval=$enable_libtool_lock;
   11615 fi
   11616 
   11617 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   11618 
   11619 # Some flags need to be propagated to the compiler or linker for good
   11620 # libtool support.
   11621 case $host in
   11622 ia64-*-hpux*)
   11623   # Find out which ABI we are using.
   11624   echo 'int i;' > conftest.$ac_ext
   11625   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11626   (eval $ac_compile) 2>&5
   11627   ac_status=$?
   11628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11629   test $ac_status = 0; }; then
   11630     case `/usr/bin/file conftest.$ac_objext` in
   11631       *ELF-32*)
   11632 	HPUX_IA64_MODE="32"
   11633 	;;
   11634       *ELF-64*)
   11635 	HPUX_IA64_MODE="64"
   11636 	;;
   11637     esac
   11638   fi
   11639   rm -rf conftest*
   11640   ;;
   11641 *-*-irix6*)
   11642   # Find out which ABI we are using.
   11643   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   11644   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11645   (eval $ac_compile) 2>&5
   11646   ac_status=$?
   11647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11648   test $ac_status = 0; }; then
   11649     if test "$lt_cv_prog_gnu_ld" = yes; then
   11650       case `/usr/bin/file conftest.$ac_objext` in
   11651 	*32-bit*)
   11652 	  LD="${LD-ld} -melf32bsmip"
   11653 	  ;;
   11654 	*N32*)
   11655 	  LD="${LD-ld} -melf32bmipn32"
   11656 	  ;;
   11657 	*64-bit*)
   11658 	  LD="${LD-ld} -melf64bmip"
   11659 	;;
   11660       esac
   11661     else
   11662       case `/usr/bin/file conftest.$ac_objext` in
   11663 	*32-bit*)
   11664 	  LD="${LD-ld} -32"
   11665 	  ;;
   11666 	*N32*)
   11667 	  LD="${LD-ld} -n32"
   11668 	  ;;
   11669 	*64-bit*)
   11670 	  LD="${LD-ld} -64"
   11671 	  ;;
   11672       esac
   11673     fi
   11674   fi
   11675   rm -rf conftest*
   11676   ;;
   11677 
   11678 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   11679 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   11680   # Find out which ABI we are using.
   11681   echo 'int i;' > conftest.$ac_ext
   11682   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11683   (eval $ac_compile) 2>&5
   11684   ac_status=$?
   11685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11686   test $ac_status = 0; }; then
   11687     case `/usr/bin/file conftest.o` in
   11688       *32-bit*)
   11689 	case $host in
   11690 	  x86_64-*kfreebsd*-gnu)
   11691 	    LD="${LD-ld} -m elf_i386_fbsd"
   11692 	    ;;
   11693 	  x86_64-*linux*)
   11694 	    LD="${LD-ld} -m elf_i386"
   11695 	    ;;
   11696 	  ppc64-*linux*|powerpc64-*linux*)
   11697 	    LD="${LD-ld} -m elf32ppclinux"
   11698 	    ;;
   11699 	  s390x-*linux*)
   11700 	    LD="${LD-ld} -m elf_s390"
   11701 	    ;;
   11702 	  sparc64-*linux*)
   11703 	    LD="${LD-ld} -m elf32_sparc"
   11704 	    ;;
   11705 	esac
   11706 	;;
   11707       *64-bit*)
   11708 	case $host in
   11709 	  x86_64-*kfreebsd*-gnu)
   11710 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   11711 	    ;;
   11712 	  x86_64-*linux*)
   11713 	    LD="${LD-ld} -m elf_x86_64"
   11714 	    ;;
   11715 	  ppc*-*linux*|powerpc*-*linux*)
   11716 	    LD="${LD-ld} -m elf64ppc"
   11717 	    ;;
   11718 	  s390*-*linux*|s390*-*tpf*)
   11719 	    LD="${LD-ld} -m elf64_s390"
   11720 	    ;;
   11721 	  sparc*-*linux*)
   11722 	    LD="${LD-ld} -m elf64_sparc"
   11723 	    ;;
   11724 	esac
   11725 	;;
   11726     esac
   11727   fi
   11728   rm -rf conftest*
   11729   ;;
   11730 
   11731 *-*-sco3.2v5*)
   11732   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   11733   SAVE_CFLAGS="$CFLAGS"
   11734   CFLAGS="$CFLAGS -belf"
   11735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   11736 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   11737 if ${lt_cv_cc_needs_belf+:} false; then :
   11738   $as_echo_n "(cached) " >&6
   11739 else
   11740   ac_ext=c
   11741 ac_cpp='$CPP $CPPFLAGS'
   11742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11745 
   11746      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11747 /* end confdefs.h.  */
   11748 
   11749 int
   11750 main ()
   11751 {
   11752 
   11753   ;
   11754   return 0;
   11755 }
   11756 _ACEOF
   11757 if ac_fn_c_try_link "$LINENO"; then :
   11758   lt_cv_cc_needs_belf=yes
   11759 else
   11760   lt_cv_cc_needs_belf=no
   11761 fi
   11762 rm -f core conftest.err conftest.$ac_objext \
   11763     conftest$ac_exeext conftest.$ac_ext
   11764      ac_ext=c
   11765 ac_cpp='$CPP $CPPFLAGS'
   11766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11769 
   11770 fi
   11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   11772 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   11773   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   11774     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   11775     CFLAGS="$SAVE_CFLAGS"
   11776   fi
   11777   ;;
   11778 *-*solaris*)
   11779   # Find out which ABI we are using.
   11780   echo 'int i;' > conftest.$ac_ext
   11781   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11782   (eval $ac_compile) 2>&5
   11783   ac_status=$?
   11784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11785   test $ac_status = 0; }; then
   11786     case `/usr/bin/file conftest.o` in
   11787     *64-bit*)
   11788       case $lt_cv_prog_gnu_ld in
   11789       yes*)
   11790         case $host in
   11791         i?86-*-solaris*)
   11792           LD="${LD-ld} -m elf_x86_64"
   11793           ;;
   11794         sparc*-*-solaris*)
   11795           LD="${LD-ld} -m elf64_sparc"
   11796           ;;
   11797         esac
   11798         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   11799         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   11800           LD="${LD-ld}_sol2"
   11801         fi
   11802         ;;
   11803       *)
   11804 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   11805 	  LD="${LD-ld} -64"
   11806 	fi
   11807 	;;
   11808       esac
   11809       ;;
   11810     esac
   11811   fi
   11812   rm -rf conftest*
   11813   ;;
   11814 esac
   11815 
   11816 need_locks="$enable_libtool_lock"
   11817 
   11818 if test -n "$ac_tool_prefix"; then
   11819   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   11820 set dummy ${ac_tool_prefix}mt; ac_word=$2
   11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11822 $as_echo_n "checking for $ac_word... " >&6; }
   11823 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   11824   $as_echo_n "(cached) " >&6
   11825 else
   11826   if test -n "$MANIFEST_TOOL"; then
   11827   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   11828 else
   11829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11830 for as_dir in $PATH
   11831 do
   11832   IFS=$as_save_IFS
   11833   test -z "$as_dir" && as_dir=.
   11834     for ac_exec_ext in '' $ac_executable_extensions; do
   11835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11836     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   11837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11838     break 2
   11839   fi
   11840 done
   11841   done
   11842 IFS=$as_save_IFS
   11843 
   11844 fi
   11845 fi
   11846 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   11847 if test -n "$MANIFEST_TOOL"; then
   11848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   11849 $as_echo "$MANIFEST_TOOL" >&6; }
   11850 else
   11851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11852 $as_echo "no" >&6; }
   11853 fi
   11854 
   11855 
   11856 fi
   11857 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   11858   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   11859   # Extract the first word of "mt", so it can be a program name with args.
   11860 set dummy mt; ac_word=$2
   11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11862 $as_echo_n "checking for $ac_word... " >&6; }
   11863 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   11864   $as_echo_n "(cached) " >&6
   11865 else
   11866   if test -n "$ac_ct_MANIFEST_TOOL"; then
   11867   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   11868 else
   11869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11870 for as_dir in $PATH
   11871 do
   11872   IFS=$as_save_IFS
   11873   test -z "$as_dir" && as_dir=.
   11874     for ac_exec_ext in '' $ac_executable_extensions; do
   11875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11876     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   11877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11878     break 2
   11879   fi
   11880 done
   11881   done
   11882 IFS=$as_save_IFS
   11883 
   11884 fi
   11885 fi
   11886 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   11887 if test -n "$ac_ct_MANIFEST_TOOL"; then
   11888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   11889 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   11890 else
   11891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11892 $as_echo "no" >&6; }
   11893 fi
   11894 
   11895   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   11896     MANIFEST_TOOL=":"
   11897   else
   11898     case $cross_compiling:$ac_tool_warned in
   11899 yes:)
   11900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11902 ac_tool_warned=yes ;;
   11903 esac
   11904     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   11905   fi
   11906 else
   11907   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   11908 fi
   11909 
   11910 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   11912 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   11913 if ${lt_cv_path_mainfest_tool+:} false; then :
   11914   $as_echo_n "(cached) " >&6
   11915 else
   11916   lt_cv_path_mainfest_tool=no
   11917   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   11918   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   11919   cat conftest.err >&5
   11920   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   11921     lt_cv_path_mainfest_tool=yes
   11922   fi
   11923   rm -f conftest*
   11924 fi
   11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   11926 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   11927 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   11928   MANIFEST_TOOL=:
   11929 fi
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936   case $host_os in
   11937     rhapsody* | darwin*)
   11938     if test -n "$ac_tool_prefix"; then
   11939   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   11940 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11942 $as_echo_n "checking for $ac_word... " >&6; }
   11943 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   11944   $as_echo_n "(cached) " >&6
   11945 else
   11946   if test -n "$DSYMUTIL"; then
   11947   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   11948 else
   11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11950 for as_dir in $PATH
   11951 do
   11952   IFS=$as_save_IFS
   11953   test -z "$as_dir" && as_dir=.
   11954     for ac_exec_ext in '' $ac_executable_extensions; do
   11955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11956     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   11957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11958     break 2
   11959   fi
   11960 done
   11961   done
   11962 IFS=$as_save_IFS
   11963 
   11964 fi
   11965 fi
   11966 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   11967 if test -n "$DSYMUTIL"; then
   11968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   11969 $as_echo "$DSYMUTIL" >&6; }
   11970 else
   11971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11972 $as_echo "no" >&6; }
   11973 fi
   11974 
   11975 
   11976 fi
   11977 if test -z "$ac_cv_prog_DSYMUTIL"; then
   11978   ac_ct_DSYMUTIL=$DSYMUTIL
   11979   # Extract the first word of "dsymutil", so it can be a program name with args.
   11980 set dummy dsymutil; ac_word=$2
   11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11982 $as_echo_n "checking for $ac_word... " >&6; }
   11983 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   11984   $as_echo_n "(cached) " >&6
   11985 else
   11986   if test -n "$ac_ct_DSYMUTIL"; then
   11987   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   11988 else
   11989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11990 for as_dir in $PATH
   11991 do
   11992   IFS=$as_save_IFS
   11993   test -z "$as_dir" && as_dir=.
   11994     for ac_exec_ext in '' $ac_executable_extensions; do
   11995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11996     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   11997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11998     break 2
   11999   fi
   12000 done
   12001   done
   12002 IFS=$as_save_IFS
   12003 
   12004 fi
   12005 fi
   12006 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   12007 if test -n "$ac_ct_DSYMUTIL"; then
   12008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   12009 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   12010 else
   12011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12012 $as_echo "no" >&6; }
   12013 fi
   12014 
   12015   if test "x$ac_ct_DSYMUTIL" = x; then
   12016     DSYMUTIL=":"
   12017   else
   12018     case $cross_compiling:$ac_tool_warned in
   12019 yes:)
   12020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12022 ac_tool_warned=yes ;;
   12023 esac
   12024     DSYMUTIL=$ac_ct_DSYMUTIL
   12025   fi
   12026 else
   12027   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   12028 fi
   12029 
   12030     if test -n "$ac_tool_prefix"; then
   12031   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   12032 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12034 $as_echo_n "checking for $ac_word... " >&6; }
   12035 if ${ac_cv_prog_NMEDIT+:} false; then :
   12036   $as_echo_n "(cached) " >&6
   12037 else
   12038   if test -n "$NMEDIT"; then
   12039   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   12040 else
   12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12042 for as_dir in $PATH
   12043 do
   12044   IFS=$as_save_IFS
   12045   test -z "$as_dir" && as_dir=.
   12046     for ac_exec_ext in '' $ac_executable_extensions; do
   12047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12048     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   12049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12050     break 2
   12051   fi
   12052 done
   12053   done
   12054 IFS=$as_save_IFS
   12055 
   12056 fi
   12057 fi
   12058 NMEDIT=$ac_cv_prog_NMEDIT
   12059 if test -n "$NMEDIT"; then
   12060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   12061 $as_echo "$NMEDIT" >&6; }
   12062 else
   12063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12064 $as_echo "no" >&6; }
   12065 fi
   12066 
   12067 
   12068 fi
   12069 if test -z "$ac_cv_prog_NMEDIT"; then
   12070   ac_ct_NMEDIT=$NMEDIT
   12071   # Extract the first word of "nmedit", so it can be a program name with args.
   12072 set dummy nmedit; ac_word=$2
   12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12074 $as_echo_n "checking for $ac_word... " >&6; }
   12075 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   12076   $as_echo_n "(cached) " >&6
   12077 else
   12078   if test -n "$ac_ct_NMEDIT"; then
   12079   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   12080 else
   12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12082 for as_dir in $PATH
   12083 do
   12084   IFS=$as_save_IFS
   12085   test -z "$as_dir" && as_dir=.
   12086     for ac_exec_ext in '' $ac_executable_extensions; do
   12087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12088     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   12089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12090     break 2
   12091   fi
   12092 done
   12093   done
   12094 IFS=$as_save_IFS
   12095 
   12096 fi
   12097 fi
   12098 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   12099 if test -n "$ac_ct_NMEDIT"; then
   12100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   12101 $as_echo "$ac_ct_NMEDIT" >&6; }
   12102 else
   12103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12104 $as_echo "no" >&6; }
   12105 fi
   12106 
   12107   if test "x$ac_ct_NMEDIT" = x; then
   12108     NMEDIT=":"
   12109   else
   12110     case $cross_compiling:$ac_tool_warned in
   12111 yes:)
   12112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12114 ac_tool_warned=yes ;;
   12115 esac
   12116     NMEDIT=$ac_ct_NMEDIT
   12117   fi
   12118 else
   12119   NMEDIT="$ac_cv_prog_NMEDIT"
   12120 fi
   12121 
   12122     if test -n "$ac_tool_prefix"; then
   12123   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   12124 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12126 $as_echo_n "checking for $ac_word... " >&6; }
   12127 if ${ac_cv_prog_LIPO+:} false; then :
   12128   $as_echo_n "(cached) " >&6
   12129 else
   12130   if test -n "$LIPO"; then
   12131   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   12132 else
   12133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12134 for as_dir in $PATH
   12135 do
   12136   IFS=$as_save_IFS
   12137   test -z "$as_dir" && as_dir=.
   12138     for ac_exec_ext in '' $ac_executable_extensions; do
   12139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12140     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   12141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12142     break 2
   12143   fi
   12144 done
   12145   done
   12146 IFS=$as_save_IFS
   12147 
   12148 fi
   12149 fi
   12150 LIPO=$ac_cv_prog_LIPO
   12151 if test -n "$LIPO"; then
   12152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   12153 $as_echo "$LIPO" >&6; }
   12154 else
   12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12156 $as_echo "no" >&6; }
   12157 fi
   12158 
   12159 
   12160 fi
   12161 if test -z "$ac_cv_prog_LIPO"; then
   12162   ac_ct_LIPO=$LIPO
   12163   # Extract the first word of "lipo", so it can be a program name with args.
   12164 set dummy lipo; ac_word=$2
   12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12166 $as_echo_n "checking for $ac_word... " >&6; }
   12167 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   12168   $as_echo_n "(cached) " >&6
   12169 else
   12170   if test -n "$ac_ct_LIPO"; then
   12171   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   12172 else
   12173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12174 for as_dir in $PATH
   12175 do
   12176   IFS=$as_save_IFS
   12177   test -z "$as_dir" && as_dir=.
   12178     for ac_exec_ext in '' $ac_executable_extensions; do
   12179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12180     ac_cv_prog_ac_ct_LIPO="lipo"
   12181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12182     break 2
   12183   fi
   12184 done
   12185   done
   12186 IFS=$as_save_IFS
   12187 
   12188 fi
   12189 fi
   12190 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   12191 if test -n "$ac_ct_LIPO"; then
   12192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   12193 $as_echo "$ac_ct_LIPO" >&6; }
   12194 else
   12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12196 $as_echo "no" >&6; }
   12197 fi
   12198 
   12199   if test "x$ac_ct_LIPO" = x; then
   12200     LIPO=":"
   12201   else
   12202     case $cross_compiling:$ac_tool_warned in
   12203 yes:)
   12204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12206 ac_tool_warned=yes ;;
   12207 esac
   12208     LIPO=$ac_ct_LIPO
   12209   fi
   12210 else
   12211   LIPO="$ac_cv_prog_LIPO"
   12212 fi
   12213 
   12214     if test -n "$ac_tool_prefix"; then
   12215   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   12216 set dummy ${ac_tool_prefix}otool; ac_word=$2
   12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12218 $as_echo_n "checking for $ac_word... " >&6; }
   12219 if ${ac_cv_prog_OTOOL+:} false; then :
   12220   $as_echo_n "(cached) " >&6
   12221 else
   12222   if test -n "$OTOOL"; then
   12223   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   12224 else
   12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12226 for as_dir in $PATH
   12227 do
   12228   IFS=$as_save_IFS
   12229   test -z "$as_dir" && as_dir=.
   12230     for ac_exec_ext in '' $ac_executable_extensions; do
   12231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12232     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   12233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12234     break 2
   12235   fi
   12236 done
   12237   done
   12238 IFS=$as_save_IFS
   12239 
   12240 fi
   12241 fi
   12242 OTOOL=$ac_cv_prog_OTOOL
   12243 if test -n "$OTOOL"; then
   12244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   12245 $as_echo "$OTOOL" >&6; }
   12246 else
   12247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12248 $as_echo "no" >&6; }
   12249 fi
   12250 
   12251 
   12252 fi
   12253 if test -z "$ac_cv_prog_OTOOL"; then
   12254   ac_ct_OTOOL=$OTOOL
   12255   # Extract the first word of "otool", so it can be a program name with args.
   12256 set dummy otool; ac_word=$2
   12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12258 $as_echo_n "checking for $ac_word... " >&6; }
   12259 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   12260   $as_echo_n "(cached) " >&6
   12261 else
   12262   if test -n "$ac_ct_OTOOL"; then
   12263   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   12264 else
   12265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12266 for as_dir in $PATH
   12267 do
   12268   IFS=$as_save_IFS
   12269   test -z "$as_dir" && as_dir=.
   12270     for ac_exec_ext in '' $ac_executable_extensions; do
   12271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12272     ac_cv_prog_ac_ct_OTOOL="otool"
   12273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12274     break 2
   12275   fi
   12276 done
   12277   done
   12278 IFS=$as_save_IFS
   12279 
   12280 fi
   12281 fi
   12282 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   12283 if test -n "$ac_ct_OTOOL"; then
   12284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   12285 $as_echo "$ac_ct_OTOOL" >&6; }
   12286 else
   12287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12288 $as_echo "no" >&6; }
   12289 fi
   12290 
   12291   if test "x$ac_ct_OTOOL" = x; then
   12292     OTOOL=":"
   12293   else
   12294     case $cross_compiling:$ac_tool_warned in
   12295 yes:)
   12296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12298 ac_tool_warned=yes ;;
   12299 esac
   12300     OTOOL=$ac_ct_OTOOL
   12301   fi
   12302 else
   12303   OTOOL="$ac_cv_prog_OTOOL"
   12304 fi
   12305 
   12306     if test -n "$ac_tool_prefix"; then
   12307   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   12308 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12310 $as_echo_n "checking for $ac_word... " >&6; }
   12311 if ${ac_cv_prog_OTOOL64+:} false; then :
   12312   $as_echo_n "(cached) " >&6
   12313 else
   12314   if test -n "$OTOOL64"; then
   12315   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   12316 else
   12317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12318 for as_dir in $PATH
   12319 do
   12320   IFS=$as_save_IFS
   12321   test -z "$as_dir" && as_dir=.
   12322     for ac_exec_ext in '' $ac_executable_extensions; do
   12323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12324     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   12325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12326     break 2
   12327   fi
   12328 done
   12329   done
   12330 IFS=$as_save_IFS
   12331 
   12332 fi
   12333 fi
   12334 OTOOL64=$ac_cv_prog_OTOOL64
   12335 if test -n "$OTOOL64"; then
   12336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   12337 $as_echo "$OTOOL64" >&6; }
   12338 else
   12339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12340 $as_echo "no" >&6; }
   12341 fi
   12342 
   12343 
   12344 fi
   12345 if test -z "$ac_cv_prog_OTOOL64"; then
   12346   ac_ct_OTOOL64=$OTOOL64
   12347   # Extract the first word of "otool64", so it can be a program name with args.
   12348 set dummy otool64; ac_word=$2
   12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12350 $as_echo_n "checking for $ac_word... " >&6; }
   12351 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   12352   $as_echo_n "(cached) " >&6
   12353 else
   12354   if test -n "$ac_ct_OTOOL64"; then
   12355   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   12356 else
   12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12358 for as_dir in $PATH
   12359 do
   12360   IFS=$as_save_IFS
   12361   test -z "$as_dir" && as_dir=.
   12362     for ac_exec_ext in '' $ac_executable_extensions; do
   12363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12364     ac_cv_prog_ac_ct_OTOOL64="otool64"
   12365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12366     break 2
   12367   fi
   12368 done
   12369   done
   12370 IFS=$as_save_IFS
   12371 
   12372 fi
   12373 fi
   12374 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   12375 if test -n "$ac_ct_OTOOL64"; then
   12376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   12377 $as_echo "$ac_ct_OTOOL64" >&6; }
   12378 else
   12379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12380 $as_echo "no" >&6; }
   12381 fi
   12382 
   12383   if test "x$ac_ct_OTOOL64" = x; then
   12384     OTOOL64=":"
   12385   else
   12386     case $cross_compiling:$ac_tool_warned in
   12387 yes:)
   12388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12390 ac_tool_warned=yes ;;
   12391 esac
   12392     OTOOL64=$ac_ct_OTOOL64
   12393   fi
   12394 else
   12395   OTOOL64="$ac_cv_prog_OTOOL64"
   12396 fi
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   12425 $as_echo_n "checking for -single_module linker flag... " >&6; }
   12426 if ${lt_cv_apple_cc_single_mod+:} false; then :
   12427   $as_echo_n "(cached) " >&6
   12428 else
   12429   lt_cv_apple_cc_single_mod=no
   12430       if test -z "${LT_MULTI_MODULE}"; then
   12431 	# By default we will add the -single_module flag. You can override
   12432 	# by either setting the environment variable LT_MULTI_MODULE
   12433 	# non-empty at configure time, or by adding -multi_module to the
   12434 	# link flags.
   12435 	rm -rf libconftest.dylib*
   12436 	echo "int foo(void){return 1;}" > conftest.c
   12437 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12438 -dynamiclib -Wl,-single_module conftest.c" >&5
   12439 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   12440 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   12441         _lt_result=$?
   12442 	# If there is a non-empty error log, and "single_module"
   12443 	# appears in it, assume the flag caused a linker warning
   12444         if test -s conftest.err && $GREP single_module conftest.err; then
   12445 	  cat conftest.err >&5
   12446 	# Otherwise, if the output was created with a 0 exit code from
   12447 	# the compiler, it worked.
   12448 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   12449 	  lt_cv_apple_cc_single_mod=yes
   12450 	else
   12451 	  cat conftest.err >&5
   12452 	fi
   12453 	rm -rf libconftest.dylib*
   12454 	rm -f conftest.*
   12455       fi
   12456 fi
   12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   12458 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   12459 
   12460     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   12461 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   12462 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   12463   $as_echo_n "(cached) " >&6
   12464 else
   12465   lt_cv_ld_exported_symbols_list=no
   12466       save_LDFLAGS=$LDFLAGS
   12467       echo "_main" > conftest.sym
   12468       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   12469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12470 /* end confdefs.h.  */
   12471 
   12472 int
   12473 main ()
   12474 {
   12475 
   12476   ;
   12477   return 0;
   12478 }
   12479 _ACEOF
   12480 if ac_fn_c_try_link "$LINENO"; then :
   12481   lt_cv_ld_exported_symbols_list=yes
   12482 else
   12483   lt_cv_ld_exported_symbols_list=no
   12484 fi
   12485 rm -f core conftest.err conftest.$ac_objext \
   12486     conftest$ac_exeext conftest.$ac_ext
   12487 	LDFLAGS="$save_LDFLAGS"
   12488 
   12489 fi
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   12491 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   12492 
   12493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   12494 $as_echo_n "checking for -force_load linker flag... " >&6; }
   12495 if ${lt_cv_ld_force_load+:} false; then :
   12496   $as_echo_n "(cached) " >&6
   12497 else
   12498   lt_cv_ld_force_load=no
   12499       cat > conftest.c << _LT_EOF
   12500 int forced_loaded() { return 2;}
   12501 _LT_EOF
   12502       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   12503       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   12504       echo "$AR cru libconftest.a conftest.o" >&5
   12505       $AR cru libconftest.a conftest.o 2>&5
   12506       echo "$RANLIB libconftest.a" >&5
   12507       $RANLIB libconftest.a 2>&5
   12508       cat > conftest.c << _LT_EOF
   12509 int main() { return 0;}
   12510 _LT_EOF
   12511       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   12512       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   12513       _lt_result=$?
   12514       if test -s conftest.err && $GREP force_load conftest.err; then
   12515 	cat conftest.err >&5
   12516       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   12517 	lt_cv_ld_force_load=yes
   12518       else
   12519 	cat conftest.err >&5
   12520       fi
   12521         rm -f conftest.err libconftest.a conftest conftest.c
   12522         rm -rf conftest.dSYM
   12523 
   12524 fi
   12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   12526 $as_echo "$lt_cv_ld_force_load" >&6; }
   12527     case $host_os in
   12528     rhapsody* | darwin1.[012])
   12529       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   12530     darwin1.*)
   12531       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   12532     darwin*) # darwin 5.x on
   12533       # if running on 10.5 or later, the deployment target defaults
   12534       # to the OS version, if on x86, and 10.4, the deployment
   12535       # target defaults to 10.4. Don't you love it?
   12536       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   12537 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   12538 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   12539 	10.[012]*)
   12540 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   12541 	10.*)
   12542 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   12543       esac
   12544     ;;
   12545   esac
   12546     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   12547       _lt_dar_single_mod='$single_module'
   12548     fi
   12549     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   12550       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   12551     else
   12552       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   12553     fi
   12554     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   12555       _lt_dsymutil='~$DSYMUTIL $lib || :'
   12556     else
   12557       _lt_dsymutil=
   12558     fi
   12559     ;;
   12560   esac
   12561 
   12562 for ac_header in dlfcn.h
   12563 do :
   12564   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   12565 "
   12566 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   12567   cat >>confdefs.h <<_ACEOF
   12568 #define HAVE_DLFCN_H 1
   12569 _ACEOF
   12570 
   12571 fi
   12572 
   12573 done
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 # Set options
   12580 
   12581 
   12582 
   12583         enable_dlopen=no
   12584 
   12585 
   12586   enable_win32_dll=no
   12587 
   12588 
   12589             # Check whether --enable-shared was given.
   12590 if test "${enable_shared+set}" = set; then :
   12591   enableval=$enable_shared; p=${PACKAGE-default}
   12592     case $enableval in
   12593     yes) enable_shared=yes ;;
   12594     no) enable_shared=no ;;
   12595     *)
   12596       enable_shared=no
   12597       # Look at the argument we got.  We use all the common list separators.
   12598       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   12599       for pkg in $enableval; do
   12600 	IFS="$lt_save_ifs"
   12601 	if test "X$pkg" = "X$p"; then
   12602 	  enable_shared=yes
   12603 	fi
   12604       done
   12605       IFS="$lt_save_ifs"
   12606       ;;
   12607     esac
   12608 else
   12609   enable_shared=yes
   12610 fi
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 # Check whether --with-pic was given.
   12623 if test "${with_pic+set}" = set; then :
   12624   withval=$with_pic; lt_p=${PACKAGE-default}
   12625     case $withval in
   12626     yes|no) pic_mode=$withval ;;
   12627     *)
   12628       pic_mode=default
   12629       # Look at the argument we got.  We use all the common list separators.
   12630       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   12631       for lt_pkg in $withval; do
   12632 	IFS="$lt_save_ifs"
   12633 	if test "X$lt_pkg" = "X$lt_p"; then
   12634 	  pic_mode=yes
   12635 	fi
   12636       done
   12637       IFS="$lt_save_ifs"
   12638       ;;
   12639     esac
   12640 else
   12641   pic_mode=default
   12642 fi
   12643 
   12644 
   12645 test -z "$pic_mode" && pic_mode=default
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653   # Check whether --enable-fast-install was given.
   12654 if test "${enable_fast_install+set}" = set; then :
   12655   enableval=$enable_fast_install; p=${PACKAGE-default}
   12656     case $enableval in
   12657     yes) enable_fast_install=yes ;;
   12658     no) enable_fast_install=no ;;
   12659     *)
   12660       enable_fast_install=no
   12661       # Look at the argument we got.  We use all the common list separators.
   12662       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   12663       for pkg in $enableval; do
   12664 	IFS="$lt_save_ifs"
   12665 	if test "X$pkg" = "X$p"; then
   12666 	  enable_fast_install=yes
   12667 	fi
   12668       done
   12669       IFS="$lt_save_ifs"
   12670       ;;
   12671     esac
   12672 else
   12673   enable_fast_install=yes
   12674 fi
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 # This can be used to rebuild libtool when needed
   12687 LIBTOOL_DEPS="$ltmain"
   12688 
   12689 # Always use our own libtool.
   12690 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 test -z "$LN_S" && LN_S="ln -s"
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 if test -n "${ZSH_VERSION+set}" ; then
   12737    setopt NO_GLOB_SUBST
   12738 fi
   12739 
   12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   12741 $as_echo_n "checking for objdir... " >&6; }
   12742 if ${lt_cv_objdir+:} false; then :
   12743   $as_echo_n "(cached) " >&6
   12744 else
   12745   rm -f .libs 2>/dev/null
   12746 mkdir .libs 2>/dev/null
   12747 if test -d .libs; then
   12748   lt_cv_objdir=.libs
   12749 else
   12750   # MS-DOS does not allow filenames that begin with a dot.
   12751   lt_cv_objdir=_libs
   12752 fi
   12753 rmdir .libs 2>/dev/null
   12754 fi
   12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   12756 $as_echo "$lt_cv_objdir" >&6; }
   12757 objdir=$lt_cv_objdir
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 cat >>confdefs.h <<_ACEOF
   12764 #define LT_OBJDIR "$lt_cv_objdir/"
   12765 _ACEOF
   12766 
   12767 
   12768 
   12769 
   12770 case $host_os in
   12771 aix3*)
   12772   # AIX sometimes has problems with the GCC collect2 program.  For some
   12773   # reason, if we set the COLLECT_NAMES environment variable, the problems
   12774   # vanish in a puff of smoke.
   12775   if test "X${COLLECT_NAMES+set}" != Xset; then
   12776     COLLECT_NAMES=
   12777     export COLLECT_NAMES
   12778   fi
   12779   ;;
   12780 esac
   12781 
   12782 # Global variables:
   12783 ofile=libtool
   12784 can_build_shared=yes
   12785 
   12786 # All known linkers require a `.a' archive for static linking (except MSVC,
   12787 # which needs '.lib').
   12788 libext=a
   12789 
   12790 with_gnu_ld="$lt_cv_prog_gnu_ld"
   12791 
   12792 old_CC="$CC"
   12793 old_CFLAGS="$CFLAGS"
   12794 
   12795 # Set sane defaults for various variables
   12796 test -z "$CC" && CC=cc
   12797 test -z "$LTCC" && LTCC=$CC
   12798 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   12799 test -z "$LD" && LD=ld
   12800 test -z "$ac_objext" && ac_objext=o
   12801 
   12802 for cc_temp in $compiler""; do
   12803   case $cc_temp in
   12804     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12805     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12806     \-*) ;;
   12807     *) break;;
   12808   esac
   12809 done
   12810 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12811 
   12812 
   12813 # Only perform the check for file, if the check method requires it
   12814 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   12815 case $deplibs_check_method in
   12816 file_magic*)
   12817   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   12818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   12819 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   12820 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   12821   $as_echo_n "(cached) " >&6
   12822 else
   12823   case $MAGIC_CMD in
   12824 [\\/*] |  ?:[\\/]*)
   12825   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   12826   ;;
   12827 *)
   12828   lt_save_MAGIC_CMD="$MAGIC_CMD"
   12829   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12830   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12831   for ac_dir in $ac_dummy; do
   12832     IFS="$lt_save_ifs"
   12833     test -z "$ac_dir" && ac_dir=.
   12834     if test -f $ac_dir/${ac_tool_prefix}file; then
   12835       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   12836       if test -n "$file_magic_test_file"; then
   12837 	case $deplibs_check_method in
   12838 	"file_magic "*)
   12839 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12840 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   12841 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12842 	    $EGREP "$file_magic_regex" > /dev/null; then
   12843 	    :
   12844 	  else
   12845 	    cat <<_LT_EOF 1>&2
   12846 
   12847 *** Warning: the command libtool uses to detect shared libraries,
   12848 *** $file_magic_cmd, produces output that libtool cannot recognize.
   12849 *** The result is that libtool may fail to recognize shared libraries
   12850 *** as such.  This will affect the creation of libtool libraries that
   12851 *** depend on shared libraries, but programs linked with such libtool
   12852 *** libraries will work regardless of this problem.  Nevertheless, you
   12853 *** may want to report the problem to your system manager and/or to
   12854 *** bug-libtool@gnu.org
   12855 
   12856 _LT_EOF
   12857 	  fi ;;
   12858 	esac
   12859       fi
   12860       break
   12861     fi
   12862   done
   12863   IFS="$lt_save_ifs"
   12864   MAGIC_CMD="$lt_save_MAGIC_CMD"
   12865   ;;
   12866 esac
   12867 fi
   12868 
   12869 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   12870 if test -n "$MAGIC_CMD"; then
   12871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12872 $as_echo "$MAGIC_CMD" >&6; }
   12873 else
   12874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12875 $as_echo "no" >&6; }
   12876 fi
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 if test -z "$lt_cv_path_MAGIC_CMD"; then
   12883   if test -n "$ac_tool_prefix"; then
   12884     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   12885 $as_echo_n "checking for file... " >&6; }
   12886 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   12887   $as_echo_n "(cached) " >&6
   12888 else
   12889   case $MAGIC_CMD in
   12890 [\\/*] |  ?:[\\/]*)
   12891   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   12892   ;;
   12893 *)
   12894   lt_save_MAGIC_CMD="$MAGIC_CMD"
   12895   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12896   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   12897   for ac_dir in $ac_dummy; do
   12898     IFS="$lt_save_ifs"
   12899     test -z "$ac_dir" && ac_dir=.
   12900     if test -f $ac_dir/file; then
   12901       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   12902       if test -n "$file_magic_test_file"; then
   12903 	case $deplibs_check_method in
   12904 	"file_magic "*)
   12905 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   12906 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   12907 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   12908 	    $EGREP "$file_magic_regex" > /dev/null; then
   12909 	    :
   12910 	  else
   12911 	    cat <<_LT_EOF 1>&2
   12912 
   12913 *** Warning: the command libtool uses to detect shared libraries,
   12914 *** $file_magic_cmd, produces output that libtool cannot recognize.
   12915 *** The result is that libtool may fail to recognize shared libraries
   12916 *** as such.  This will affect the creation of libtool libraries that
   12917 *** depend on shared libraries, but programs linked with such libtool
   12918 *** libraries will work regardless of this problem.  Nevertheless, you
   12919 *** may want to report the problem to your system manager and/or to
   12920 *** bug-libtool@gnu.org
   12921 
   12922 _LT_EOF
   12923 	  fi ;;
   12924 	esac
   12925       fi
   12926       break
   12927     fi
   12928   done
   12929   IFS="$lt_save_ifs"
   12930   MAGIC_CMD="$lt_save_MAGIC_CMD"
   12931   ;;
   12932 esac
   12933 fi
   12934 
   12935 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   12936 if test -n "$MAGIC_CMD"; then
   12937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   12938 $as_echo "$MAGIC_CMD" >&6; }
   12939 else
   12940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12941 $as_echo "no" >&6; }
   12942 fi
   12943 
   12944 
   12945   else
   12946     MAGIC_CMD=:
   12947   fi
   12948 fi
   12949 
   12950   fi
   12951   ;;
   12952 esac
   12953 
   12954 # Use C for the default configuration in the libtool script
   12955 
   12956 lt_save_CC="$CC"
   12957 ac_ext=c
   12958 ac_cpp='$CPP $CPPFLAGS'
   12959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12962 
   12963 
   12964 # Source file extension for C test sources.
   12965 ac_ext=c
   12966 
   12967 # Object file extension for compiled C test sources.
   12968 objext=o
   12969 objext=$objext
   12970 
   12971 # Code to be used in simple compile tests
   12972 lt_simple_compile_test_code="int some_variable = 0;"
   12973 
   12974 # Code to be used in simple link tests
   12975 lt_simple_link_test_code='int main(){return(0);}'
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 # If no C compiler was specified, use CC.
   12984 LTCC=${LTCC-"$CC"}
   12985 
   12986 # If no C compiler flags were specified, use CFLAGS.
   12987 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12988 
   12989 # Allow CC to be a program name with arguments.
   12990 compiler=$CC
   12991 
   12992 # Save the default compiler, since it gets overwritten when the other
   12993 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   12994 compiler_DEFAULT=$CC
   12995 
   12996 # save warnings/boilerplate of simple test code
   12997 ac_outfile=conftest.$ac_objext
   12998 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12999 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13000 _lt_compiler_boilerplate=`cat conftest.err`
   13001 $RM conftest*
   13002 
   13003 ac_outfile=conftest.$ac_objext
   13004 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13005 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13006 _lt_linker_boilerplate=`cat conftest.err`
   13007 $RM -r conftest*
   13008 
   13009 
   13010 if test -n "$compiler"; then
   13011 
   13012 lt_prog_compiler_no_builtin_flag=
   13013 
   13014 if test "$GCC" = yes; then
   13015   case $cc_basename in
   13016   nvcc*)
   13017     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   13018   *)
   13019     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   13020   esac
   13021 
   13022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   13023 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   13024 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   13025   $as_echo_n "(cached) " >&6
   13026 else
   13027   lt_cv_prog_compiler_rtti_exceptions=no
   13028    ac_outfile=conftest.$ac_objext
   13029    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13030    lt_compiler_flag="-fno-rtti -fno-exceptions"
   13031    # Insert the option either (1) after the last *FLAGS variable, or
   13032    # (2) before a word containing "conftest.", or (3) at the end.
   13033    # Note that $ac_compile itself does not contain backslashes and begins
   13034    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13035    # The option is referenced via a variable to avoid confusing sed.
   13036    lt_compile=`echo "$ac_compile" | $SED \
   13037    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13038    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13039    -e 's:$: $lt_compiler_flag:'`
   13040    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13041    (eval "$lt_compile" 2>conftest.err)
   13042    ac_status=$?
   13043    cat conftest.err >&5
   13044    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13045    if (exit $ac_status) && test -s "$ac_outfile"; then
   13046      # The compiler can only warn and ignore the option if not recognized
   13047      # So say no if there are warnings other than the usual output.
   13048      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13049      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13050      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13051        lt_cv_prog_compiler_rtti_exceptions=yes
   13052      fi
   13053    fi
   13054    $RM conftest*
   13055 
   13056 fi
   13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   13058 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   13059 
   13060 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   13061     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   13062 else
   13063     :
   13064 fi
   13065 
   13066 fi
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073   lt_prog_compiler_wl=
   13074 lt_prog_compiler_pic=
   13075 lt_prog_compiler_static=
   13076 
   13077 
   13078   if test "$GCC" = yes; then
   13079     lt_prog_compiler_wl='-Wl,'
   13080     lt_prog_compiler_static='-static'
   13081 
   13082     case $host_os in
   13083       aix*)
   13084       # All AIX code is PIC.
   13085       if test "$host_cpu" = ia64; then
   13086 	# AIX 5 now supports IA64 processor
   13087 	lt_prog_compiler_static='-Bstatic'
   13088       fi
   13089       ;;
   13090 
   13091     amigaos*)
   13092       case $host_cpu in
   13093       powerpc)
   13094             # see comment about AmigaOS4 .so support
   13095             lt_prog_compiler_pic='-fPIC'
   13096         ;;
   13097       m68k)
   13098             # FIXME: we need at least 68020 code to build shared libraries, but
   13099             # adding the `-m68020' flag to GCC prevents building anything better,
   13100             # like `-m68040'.
   13101             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   13102         ;;
   13103       esac
   13104       ;;
   13105 
   13106     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13107       # PIC is the default for these OSes.
   13108       ;;
   13109 
   13110     mingw* | cygwin* | pw32* | os2* | cegcc*)
   13111       # This hack is so that the source file can tell whether it is being
   13112       # built for inclusion in a dll (and should export symbols for example).
   13113       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13114       # (--disable-auto-import) libraries
   13115       lt_prog_compiler_pic='-DDLL_EXPORT'
   13116       ;;
   13117 
   13118     darwin* | rhapsody*)
   13119       # PIC is the default on this platform
   13120       # Common symbols not allowed in MH_DYLIB files
   13121       lt_prog_compiler_pic='-fno-common'
   13122       ;;
   13123 
   13124     haiku*)
   13125       # PIC is the default for Haiku.
   13126       # The "-static" flag exists, but is broken.
   13127       lt_prog_compiler_static=
   13128       ;;
   13129 
   13130     hpux*)
   13131       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13132       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13133       # sets the default TLS model and affects inlining.
   13134       case $host_cpu in
   13135       hppa*64*)
   13136 	# +Z the default
   13137 	;;
   13138       *)
   13139 	lt_prog_compiler_pic='-fPIC'
   13140 	;;
   13141       esac
   13142       ;;
   13143 
   13144     interix[3-9]*)
   13145       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13146       # Instead, we relocate shared libraries at runtime.
   13147       ;;
   13148 
   13149     msdosdjgpp*)
   13150       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13151       # on systems that don't support them.
   13152       lt_prog_compiler_can_build_shared=no
   13153       enable_shared=no
   13154       ;;
   13155 
   13156     *nto* | *qnx*)
   13157       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13158       # it will coredump.
   13159       lt_prog_compiler_pic='-fPIC -shared'
   13160       ;;
   13161 
   13162     sysv4*MP*)
   13163       if test -d /usr/nec; then
   13164 	lt_prog_compiler_pic=-Kconform_pic
   13165       fi
   13166       ;;
   13167 
   13168     *)
   13169       lt_prog_compiler_pic='-fPIC'
   13170       ;;
   13171     esac
   13172 
   13173     case $cc_basename in
   13174     nvcc*) # Cuda Compiler Driver 2.2
   13175       lt_prog_compiler_wl='-Xlinker '
   13176       if test -n "$lt_prog_compiler_pic"; then
   13177         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13178       fi
   13179       ;;
   13180     esac
   13181   else
   13182     # PORTME Check for flag to pass linker flags through the system compiler.
   13183     case $host_os in
   13184     aix*)
   13185       lt_prog_compiler_wl='-Wl,'
   13186       if test "$host_cpu" = ia64; then
   13187 	# AIX 5 now supports IA64 processor
   13188 	lt_prog_compiler_static='-Bstatic'
   13189       else
   13190 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   13191       fi
   13192       ;;
   13193 
   13194     mingw* | cygwin* | pw32* | os2* | cegcc*)
   13195       # This hack is so that the source file can tell whether it is being
   13196       # built for inclusion in a dll (and should export symbols for example).
   13197       lt_prog_compiler_pic='-DDLL_EXPORT'
   13198       ;;
   13199 
   13200     hpux9* | hpux10* | hpux11*)
   13201       lt_prog_compiler_wl='-Wl,'
   13202       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13203       # not for PA HP-UX.
   13204       case $host_cpu in
   13205       hppa*64*|ia64*)
   13206 	# +Z the default
   13207 	;;
   13208       *)
   13209 	lt_prog_compiler_pic='+Z'
   13210 	;;
   13211       esac
   13212       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13213       lt_prog_compiler_static='${wl}-a ${wl}archive'
   13214       ;;
   13215 
   13216     irix5* | irix6* | nonstopux*)
   13217       lt_prog_compiler_wl='-Wl,'
   13218       # PIC (with -KPIC) is the default.
   13219       lt_prog_compiler_static='-non_shared'
   13220       ;;
   13221 
   13222     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13223       case $cc_basename in
   13224       # old Intel for x86_64 which still supported -KPIC.
   13225       ecc*)
   13226 	lt_prog_compiler_wl='-Wl,'
   13227 	lt_prog_compiler_pic='-KPIC'
   13228 	lt_prog_compiler_static='-static'
   13229         ;;
   13230       # icc used to be incompatible with GCC.
   13231       # ICC 10 doesn't accept -KPIC any more.
   13232       icc* | ifort*)
   13233 	lt_prog_compiler_wl='-Wl,'
   13234 	lt_prog_compiler_pic='-fPIC'
   13235 	lt_prog_compiler_static='-static'
   13236         ;;
   13237       # Lahey Fortran 8.1.
   13238       lf95*)
   13239 	lt_prog_compiler_wl='-Wl,'
   13240 	lt_prog_compiler_pic='--shared'
   13241 	lt_prog_compiler_static='--static'
   13242 	;;
   13243       nagfor*)
   13244 	# NAG Fortran compiler
   13245 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13246 	lt_prog_compiler_pic='-PIC'
   13247 	lt_prog_compiler_static='-Bstatic'
   13248 	;;
   13249       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13250         # Portland Group compilers (*not* the Pentium gcc compiler,
   13251 	# which looks to be a dead project)
   13252 	lt_prog_compiler_wl='-Wl,'
   13253 	lt_prog_compiler_pic='-fpic'
   13254 	lt_prog_compiler_static='-Bstatic'
   13255         ;;
   13256       ccc*)
   13257         lt_prog_compiler_wl='-Wl,'
   13258         # All Alpha code is PIC.
   13259         lt_prog_compiler_static='-non_shared'
   13260         ;;
   13261       xl* | bgxl* | bgf* | mpixl*)
   13262 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13263 	lt_prog_compiler_wl='-Wl,'
   13264 	lt_prog_compiler_pic='-qpic'
   13265 	lt_prog_compiler_static='-qstaticlink'
   13266 	;;
   13267       *)
   13268 	case `$CC -V 2>&1 | sed 5q` in
   13269 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13270 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13271 	  lt_prog_compiler_pic='-KPIC'
   13272 	  lt_prog_compiler_static='-Bstatic'
   13273 	  lt_prog_compiler_wl=''
   13274 	  ;;
   13275 	*Sun\ F* | *Sun*Fortran*)
   13276 	  lt_prog_compiler_pic='-KPIC'
   13277 	  lt_prog_compiler_static='-Bstatic'
   13278 	  lt_prog_compiler_wl='-Qoption ld '
   13279 	  ;;
   13280 	*Sun\ C*)
   13281 	  # Sun C 5.9
   13282 	  lt_prog_compiler_pic='-KPIC'
   13283 	  lt_prog_compiler_static='-Bstatic'
   13284 	  lt_prog_compiler_wl='-Wl,'
   13285 	  ;;
   13286         *Intel*\ [CF]*Compiler*)
   13287 	  lt_prog_compiler_wl='-Wl,'
   13288 	  lt_prog_compiler_pic='-fPIC'
   13289 	  lt_prog_compiler_static='-static'
   13290 	  ;;
   13291 	*Portland\ Group*)
   13292 	  lt_prog_compiler_wl='-Wl,'
   13293 	  lt_prog_compiler_pic='-fpic'
   13294 	  lt_prog_compiler_static='-Bstatic'
   13295 	  ;;
   13296 	esac
   13297 	;;
   13298       esac
   13299       ;;
   13300 
   13301     newsos6)
   13302       lt_prog_compiler_pic='-KPIC'
   13303       lt_prog_compiler_static='-Bstatic'
   13304       ;;
   13305 
   13306     *nto* | *qnx*)
   13307       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13308       # it will coredump.
   13309       lt_prog_compiler_pic='-fPIC -shared'
   13310       ;;
   13311 
   13312     osf3* | osf4* | osf5*)
   13313       lt_prog_compiler_wl='-Wl,'
   13314       # All OSF/1 code is PIC.
   13315       lt_prog_compiler_static='-non_shared'
   13316       ;;
   13317 
   13318     rdos*)
   13319       lt_prog_compiler_static='-non_shared'
   13320       ;;
   13321 
   13322     solaris*)
   13323       lt_prog_compiler_pic='-KPIC'
   13324       lt_prog_compiler_static='-Bstatic'
   13325       case $cc_basename in
   13326       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13327 	lt_prog_compiler_wl='-Qoption ld ';;
   13328       *)
   13329 	lt_prog_compiler_wl='-Wl,';;
   13330       esac
   13331       ;;
   13332 
   13333     sunos4*)
   13334       lt_prog_compiler_wl='-Qoption ld '
   13335       lt_prog_compiler_pic='-PIC'
   13336       lt_prog_compiler_static='-Bstatic'
   13337       ;;
   13338 
   13339     sysv4 | sysv4.2uw2* | sysv4.3*)
   13340       lt_prog_compiler_wl='-Wl,'
   13341       lt_prog_compiler_pic='-KPIC'
   13342       lt_prog_compiler_static='-Bstatic'
   13343       ;;
   13344 
   13345     sysv4*MP*)
   13346       if test -d /usr/nec ;then
   13347 	lt_prog_compiler_pic='-Kconform_pic'
   13348 	lt_prog_compiler_static='-Bstatic'
   13349       fi
   13350       ;;
   13351 
   13352     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13353       lt_prog_compiler_wl='-Wl,'
   13354       lt_prog_compiler_pic='-KPIC'
   13355       lt_prog_compiler_static='-Bstatic'
   13356       ;;
   13357 
   13358     unicos*)
   13359       lt_prog_compiler_wl='-Wl,'
   13360       lt_prog_compiler_can_build_shared=no
   13361       ;;
   13362 
   13363     uts4*)
   13364       lt_prog_compiler_pic='-pic'
   13365       lt_prog_compiler_static='-Bstatic'
   13366       ;;
   13367 
   13368     *)
   13369       lt_prog_compiler_can_build_shared=no
   13370       ;;
   13371     esac
   13372   fi
   13373 
   13374 case $host_os in
   13375   # For platforms which do not support PIC, -DPIC is meaningless:
   13376   *djgpp*)
   13377     lt_prog_compiler_pic=
   13378     ;;
   13379   *)
   13380     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13381     ;;
   13382 esac
   13383 
   13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13385 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13386 if ${lt_cv_prog_compiler_pic+:} false; then :
   13387   $as_echo_n "(cached) " >&6
   13388 else
   13389   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   13390 fi
   13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13392 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   13393 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13394 
   13395 #
   13396 # Check to make sure the PIC flag actually works.
   13397 #
   13398 if test -n "$lt_prog_compiler_pic"; then
   13399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13400 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13401 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   13402   $as_echo_n "(cached) " >&6
   13403 else
   13404   lt_cv_prog_compiler_pic_works=no
   13405    ac_outfile=conftest.$ac_objext
   13406    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13407    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   13408    # Insert the option either (1) after the last *FLAGS variable, or
   13409    # (2) before a word containing "conftest.", or (3) at the end.
   13410    # Note that $ac_compile itself does not contain backslashes and begins
   13411    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13412    # The option is referenced via a variable to avoid confusing sed.
   13413    lt_compile=`echo "$ac_compile" | $SED \
   13414    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13415    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13416    -e 's:$: $lt_compiler_flag:'`
   13417    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13418    (eval "$lt_compile" 2>conftest.err)
   13419    ac_status=$?
   13420    cat conftest.err >&5
   13421    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13422    if (exit $ac_status) && test -s "$ac_outfile"; then
   13423      # The compiler can only warn and ignore the option if not recognized
   13424      # So say no if there are warnings other than the usual output.
   13425      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13426      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13427      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13428        lt_cv_prog_compiler_pic_works=yes
   13429      fi
   13430    fi
   13431    $RM conftest*
   13432 
   13433 fi
   13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13435 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   13436 
   13437 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   13438     case $lt_prog_compiler_pic in
   13439      "" | " "*) ;;
   13440      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13441      esac
   13442 else
   13443     lt_prog_compiler_pic=
   13444      lt_prog_compiler_can_build_shared=no
   13445 fi
   13446 
   13447 fi
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 #
   13460 # Check to make sure the static flag actually works.
   13461 #
   13462 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13464 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13465 if ${lt_cv_prog_compiler_static_works+:} false; then :
   13466   $as_echo_n "(cached) " >&6
   13467 else
   13468   lt_cv_prog_compiler_static_works=no
   13469    save_LDFLAGS="$LDFLAGS"
   13470    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13471    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13472    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13473      # The linker can only warn and ignore the option if not recognized
   13474      # So say no if there are warnings
   13475      if test -s conftest.err; then
   13476        # Append any errors to the config.log.
   13477        cat conftest.err 1>&5
   13478        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13479        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13480        if diff conftest.exp conftest.er2 >/dev/null; then
   13481          lt_cv_prog_compiler_static_works=yes
   13482        fi
   13483      else
   13484        lt_cv_prog_compiler_static_works=yes
   13485      fi
   13486    fi
   13487    $RM -r conftest*
   13488    LDFLAGS="$save_LDFLAGS"
   13489 
   13490 fi
   13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13492 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   13493 
   13494 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   13495     :
   13496 else
   13497     lt_prog_compiler_static=
   13498 fi
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13507 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13508 if ${lt_cv_prog_compiler_c_o+:} false; then :
   13509   $as_echo_n "(cached) " >&6
   13510 else
   13511   lt_cv_prog_compiler_c_o=no
   13512    $RM -r conftest 2>/dev/null
   13513    mkdir conftest
   13514    cd conftest
   13515    mkdir out
   13516    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13517 
   13518    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13519    # Insert the option either (1) after the last *FLAGS variable, or
   13520    # (2) before a word containing "conftest.", or (3) at the end.
   13521    # Note that $ac_compile itself does not contain backslashes and begins
   13522    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13523    lt_compile=`echo "$ac_compile" | $SED \
   13524    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13525    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13526    -e 's:$: $lt_compiler_flag:'`
   13527    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13528    (eval "$lt_compile" 2>out/conftest.err)
   13529    ac_status=$?
   13530    cat out/conftest.err >&5
   13531    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13532    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13533    then
   13534      # The compiler can only warn and ignore the option if not recognized
   13535      # So say no if there are warnings
   13536      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13537      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13538      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13539        lt_cv_prog_compiler_c_o=yes
   13540      fi
   13541    fi
   13542    chmod u+w . 2>&5
   13543    $RM conftest*
   13544    # SGI C++ compiler will create directory out/ii_files/ for
   13545    # template instantiation
   13546    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13547    $RM out/* && rmdir out
   13548    cd ..
   13549    $RM -r conftest
   13550    $RM conftest*
   13551 
   13552 fi
   13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13554 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13562 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13563 if ${lt_cv_prog_compiler_c_o+:} false; then :
   13564   $as_echo_n "(cached) " >&6
   13565 else
   13566   lt_cv_prog_compiler_c_o=no
   13567    $RM -r conftest 2>/dev/null
   13568    mkdir conftest
   13569    cd conftest
   13570    mkdir out
   13571    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13572 
   13573    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13574    # Insert the option either (1) after the last *FLAGS variable, or
   13575    # (2) before a word containing "conftest.", or (3) at the end.
   13576    # Note that $ac_compile itself does not contain backslashes and begins
   13577    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13578    lt_compile=`echo "$ac_compile" | $SED \
   13579    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13580    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13581    -e 's:$: $lt_compiler_flag:'`
   13582    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13583    (eval "$lt_compile" 2>out/conftest.err)
   13584    ac_status=$?
   13585    cat out/conftest.err >&5
   13586    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13587    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13588    then
   13589      # The compiler can only warn and ignore the option if not recognized
   13590      # So say no if there are warnings
   13591      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13592      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13593      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13594        lt_cv_prog_compiler_c_o=yes
   13595      fi
   13596    fi
   13597    chmod u+w . 2>&5
   13598    $RM conftest*
   13599    # SGI C++ compiler will create directory out/ii_files/ for
   13600    # template instantiation
   13601    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13602    $RM out/* && rmdir out
   13603    cd ..
   13604    $RM -r conftest
   13605    $RM conftest*
   13606 
   13607 fi
   13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   13609 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   13610 
   13611 
   13612 
   13613 
   13614 hard_links="nottested"
   13615 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   13616   # do not overwrite the value of need_locks provided by the user
   13617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13618 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13619   hard_links=yes
   13620   $RM conftest*
   13621   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13622   touch conftest.a
   13623   ln conftest.a conftest.b 2>&5 || hard_links=no
   13624   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13626 $as_echo "$hard_links" >&6; }
   13627   if test "$hard_links" = no; then
   13628     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13629 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13630     need_locks=warn
   13631   fi
   13632 else
   13633   need_locks=no
   13634 fi
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13642 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13643 
   13644   runpath_var=
   13645   allow_undefined_flag=
   13646   always_export_symbols=no
   13647   archive_cmds=
   13648   archive_expsym_cmds=
   13649   compiler_needs_object=no
   13650   enable_shared_with_static_runtimes=no
   13651   export_dynamic_flag_spec=
   13652   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13653   hardcode_automatic=no
   13654   hardcode_direct=no
   13655   hardcode_direct_absolute=no
   13656   hardcode_libdir_flag_spec=
   13657   hardcode_libdir_separator=
   13658   hardcode_minus_L=no
   13659   hardcode_shlibpath_var=unsupported
   13660   inherit_rpath=no
   13661   link_all_deplibs=unknown
   13662   module_cmds=
   13663   module_expsym_cmds=
   13664   old_archive_from_new_cmds=
   13665   old_archive_from_expsyms_cmds=
   13666   thread_safe_flag_spec=
   13667   whole_archive_flag_spec=
   13668   # include_expsyms should be a list of space-separated symbols to be *always*
   13669   # included in the symbol list
   13670   include_expsyms=
   13671   # exclude_expsyms can be an extended regexp of symbols to exclude
   13672   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   13673   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   13674   # as well as any symbol that contains `d'.
   13675   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13676   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   13677   # platforms (ab)use it in PIC code, but their linkers get confused if
   13678   # the symbol is explicitly referenced.  Since portable code cannot
   13679   # rely on this symbol name, it's probably fine to never include it in
   13680   # preloaded symbol tables.
   13681   # Exclude shared library initialization/finalization symbols.
   13682   extract_expsyms_cmds=
   13683 
   13684   case $host_os in
   13685   cygwin* | mingw* | pw32* | cegcc*)
   13686     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   13687     # When not using gcc, we currently assume that we are using
   13688     # Microsoft Visual C++.
   13689     if test "$GCC" != yes; then
   13690       with_gnu_ld=no
   13691     fi
   13692     ;;
   13693   interix*)
   13694     # we just hope/assume this is gcc and not c89 (= MSVC++)
   13695     with_gnu_ld=yes
   13696     ;;
   13697   openbsd*)
   13698     with_gnu_ld=no
   13699     ;;
   13700   esac
   13701 
   13702   ld_shlibs=yes
   13703 
   13704   # On some targets, GNU ld is compatible enough with the native linker
   13705   # that we're better off using the native interface for both.
   13706   lt_use_gnu_ld_interface=no
   13707   if test "$with_gnu_ld" = yes; then
   13708     case $host_os in
   13709       aix*)
   13710 	# The AIX port of GNU ld has always aspired to compatibility
   13711 	# with the native linker.  However, as the warning in the GNU ld
   13712 	# block says, versions before 2.19.5* couldn't really create working
   13713 	# shared libraries, regardless of the interface used.
   13714 	case `$LD -v 2>&1` in
   13715 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   13716 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   13717 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   13718 	  *)
   13719 	    lt_use_gnu_ld_interface=yes
   13720 	    ;;
   13721 	esac
   13722 	;;
   13723       *)
   13724 	lt_use_gnu_ld_interface=yes
   13725 	;;
   13726     esac
   13727   fi
   13728 
   13729   if test "$lt_use_gnu_ld_interface" = yes; then
   13730     # If archive_cmds runs LD, not CC, wlarc should be empty
   13731     wlarc='${wl}'
   13732 
   13733     # Set some defaults for GNU ld with shared library support. These
   13734     # are reset later if shared libraries are not supported. Putting them
   13735     # here allows them to be overridden if necessary.
   13736     runpath_var=LD_RUN_PATH
   13737     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   13738     export_dynamic_flag_spec='${wl}--export-dynamic'
   13739     # ancient GNU ld didn't support --whole-archive et. al.
   13740     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   13741       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13742     else
   13743       whole_archive_flag_spec=
   13744     fi
   13745     supports_anon_versioning=no
   13746     case `$LD -v 2>&1` in
   13747       *GNU\ gold*) supports_anon_versioning=yes ;;
   13748       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   13749       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   13750       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   13751       *\ 2.11.*) ;; # other 2.11 versions
   13752       *) supports_anon_versioning=yes ;;
   13753     esac
   13754 
   13755     # See if GNU ld supports shared libraries.
   13756     case $host_os in
   13757     aix[3-9]*)
   13758       # On AIX/PPC, the GNU linker is very broken
   13759       if test "$host_cpu" != ia64; then
   13760 	ld_shlibs=no
   13761 	cat <<_LT_EOF 1>&2
   13762 
   13763 *** Warning: the GNU linker, at least up to release 2.19, is reported
   13764 *** to be unable to reliably create shared libraries on AIX.
   13765 *** Therefore, libtool is disabling shared libraries support.  If you
   13766 *** really care for shared libraries, you may want to install binutils
   13767 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   13768 *** You will then need to restart the configuration process.
   13769 
   13770 _LT_EOF
   13771       fi
   13772       ;;
   13773 
   13774     amigaos*)
   13775       case $host_cpu in
   13776       powerpc)
   13777             # see comment about AmigaOS4 .so support
   13778             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13779             archive_expsym_cmds=''
   13780         ;;
   13781       m68k)
   13782             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)'
   13783             hardcode_libdir_flag_spec='-L$libdir'
   13784             hardcode_minus_L=yes
   13785         ;;
   13786       esac
   13787       ;;
   13788 
   13789     beos*)
   13790       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13791 	allow_undefined_flag=unsupported
   13792 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13793 	# support --undefined.  This deserves some investigation.  FIXME
   13794 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13795       else
   13796 	ld_shlibs=no
   13797       fi
   13798       ;;
   13799 
   13800     cygwin* | mingw* | pw32* | cegcc*)
   13801       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   13802       # as there is no search path for DLLs.
   13803       hardcode_libdir_flag_spec='-L$libdir'
   13804       export_dynamic_flag_spec='${wl}--export-all-symbols'
   13805       allow_undefined_flag=unsupported
   13806       always_export_symbols=no
   13807       enable_shared_with_static_runtimes=yes
   13808       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'
   13809       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   13810 
   13811       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13812         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13813 	# If the export-symbols file already is a .def file (1st line
   13814 	# is EXPORTS), use it as is; otherwise, prepend...
   13815 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13816 	  cp $export_symbols $output_objdir/$soname.def;
   13817 	else
   13818 	  echo EXPORTS > $output_objdir/$soname.def;
   13819 	  cat $export_symbols >> $output_objdir/$soname.def;
   13820 	fi~
   13821 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13822       else
   13823 	ld_shlibs=no
   13824       fi
   13825       ;;
   13826 
   13827     haiku*)
   13828       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13829       link_all_deplibs=yes
   13830       ;;
   13831 
   13832     interix[3-9]*)
   13833       hardcode_direct=no
   13834       hardcode_shlibpath_var=no
   13835       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   13836       export_dynamic_flag_spec='${wl}-E'
   13837       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13838       # Instead, shared libraries are loaded at an image base (0x10000000 by
   13839       # default) and relocated if they conflict, which is a slow very memory
   13840       # consuming and fragmenting process.  To avoid this, we pick a random,
   13841       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13842       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13843       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13844       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'
   13845       ;;
   13846 
   13847     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   13848       tmp_diet=no
   13849       if test "$host_os" = linux-dietlibc; then
   13850 	case $cc_basename in
   13851 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   13852 	esac
   13853       fi
   13854       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   13855 	 && test "$tmp_diet" = no
   13856       then
   13857 	tmp_addflag=' $pic_flag'
   13858 	tmp_sharedflag='-shared'
   13859 	case $cc_basename,$host_cpu in
   13860         pgcc*)				# Portland Group C compiler
   13861 	  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'
   13862 	  tmp_addflag=' $pic_flag'
   13863 	  ;;
   13864 	pgf77* | pgf90* | pgf95* | pgfortran*)
   13865 					# Portland Group f77 and f90 compilers
   13866 	  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'
   13867 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   13868 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   13869 	  tmp_addflag=' -i_dynamic' ;;
   13870 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   13871 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   13872 	ifc* | ifort*)			# Intel Fortran compiler
   13873 	  tmp_addflag=' -nofor_main' ;;
   13874 	lf95*)				# Lahey Fortran 8.1
   13875 	  whole_archive_flag_spec=
   13876 	  tmp_sharedflag='--shared' ;;
   13877 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   13878 	  tmp_sharedflag='-qmkshrobj'
   13879 	  tmp_addflag= ;;
   13880 	nvcc*)	# Cuda Compiler Driver 2.2
   13881 	  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'
   13882 	  compiler_needs_object=yes
   13883 	  ;;
   13884 	esac
   13885 	case `$CC -V 2>&1 | sed 5q` in
   13886 	*Sun\ C*)			# Sun C 5.9
   13887 	  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'
   13888 	  compiler_needs_object=yes
   13889 	  tmp_sharedflag='-G' ;;
   13890 	*Sun\ F*)			# Sun Fortran 8.3
   13891 	  tmp_sharedflag='-G' ;;
   13892 	esac
   13893 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13894 
   13895         if test "x$supports_anon_versioning" = xyes; then
   13896           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13897 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13898 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   13899 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13900         fi
   13901 
   13902 	case $cc_basename in
   13903 	xlf* | bgf* | bgxlf* | mpixlf*)
   13904 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   13905 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   13906 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   13907 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   13908 	  if test "x$supports_anon_versioning" = xyes; then
   13909 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   13910 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13911 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   13912 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   13913 	  fi
   13914 	  ;;
   13915 	esac
   13916       else
   13917         ld_shlibs=no
   13918       fi
   13919       ;;
   13920 
   13921     netbsd*)
   13922       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13923 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   13924 	wlarc=
   13925       else
   13926 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13927 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13928       fi
   13929       ;;
   13930 
   13931     solaris*)
   13932       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   13933 	ld_shlibs=no
   13934 	cat <<_LT_EOF 1>&2
   13935 
   13936 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   13937 *** create shared libraries on Solaris systems.  Therefore, libtool
   13938 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13939 *** binutils to release 2.9.1 or newer.  Another option is to modify
   13940 *** your PATH or compiler configuration so that the native linker is
   13941 *** used, and then restart.
   13942 
   13943 _LT_EOF
   13944       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13945 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13946 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13947       else
   13948 	ld_shlibs=no
   13949       fi
   13950       ;;
   13951 
   13952     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   13953       case `$LD -v 2>&1` in
   13954         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   13955 	ld_shlibs=no
   13956 	cat <<_LT_EOF 1>&2
   13957 
   13958 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   13959 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   13960 *** is disabling shared libraries support.  We urge you to upgrade GNU
   13961 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   13962 *** your PATH or compiler configuration so that the native linker is
   13963 *** used, and then restart.
   13964 
   13965 _LT_EOF
   13966 	;;
   13967 	*)
   13968 	  # For security reasons, it is highly recommended that you always
   13969 	  # use absolute paths for naming shared libraries, and exclude the
   13970 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   13971 	  # requires that you compile everything twice, which is a pain.
   13972 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13973 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   13974 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13975 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13976 	  else
   13977 	    ld_shlibs=no
   13978 	  fi
   13979 	;;
   13980       esac
   13981       ;;
   13982 
   13983     sunos4*)
   13984       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   13985       wlarc=
   13986       hardcode_direct=yes
   13987       hardcode_shlibpath_var=no
   13988       ;;
   13989 
   13990     *)
   13991       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13992 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13993 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13994       else
   13995 	ld_shlibs=no
   13996       fi
   13997       ;;
   13998     esac
   13999 
   14000     if test "$ld_shlibs" = no; then
   14001       runpath_var=
   14002       hardcode_libdir_flag_spec=
   14003       export_dynamic_flag_spec=
   14004       whole_archive_flag_spec=
   14005     fi
   14006   else
   14007     # PORTME fill in a description of your system's linker (not GNU ld)
   14008     case $host_os in
   14009     aix3*)
   14010       allow_undefined_flag=unsupported
   14011       always_export_symbols=yes
   14012       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'
   14013       # Note: this linker hardcodes the directories in LIBPATH if there
   14014       # are no directories specified by -L.
   14015       hardcode_minus_L=yes
   14016       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   14017 	# Neither direct hardcoding nor static linking is supported with a
   14018 	# broken collect2.
   14019 	hardcode_direct=unsupported
   14020       fi
   14021       ;;
   14022 
   14023     aix[4-9]*)
   14024       if test "$host_cpu" = ia64; then
   14025 	# On IA64, the linker does run time linking by default, so we don't
   14026 	# have to do anything special.
   14027 	aix_use_runtimelinking=no
   14028 	exp_sym_flag='-Bexport'
   14029 	no_entry_flag=""
   14030       else
   14031 	# If we're using GNU nm, then we don't want the "-C" option.
   14032 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   14033 	# Also, AIX nm treats weak defined symbols like other global
   14034 	# defined symbols, whereas GNU nm marks them as "W".
   14035 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14036 	  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'
   14037 	else
   14038 	  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'
   14039 	fi
   14040 	aix_use_runtimelinking=no
   14041 
   14042 	# Test if we are trying to use run time linking or normal
   14043 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   14044 	# need to do runtime linking.
   14045 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   14046 	  for ld_flag in $LDFLAGS; do
   14047 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   14048 	    aix_use_runtimelinking=yes
   14049 	    break
   14050 	  fi
   14051 	  done
   14052 	  ;;
   14053 	esac
   14054 
   14055 	exp_sym_flag='-bexport'
   14056 	no_entry_flag='-bnoentry'
   14057       fi
   14058 
   14059       # When large executables or shared objects are built, AIX ld can
   14060       # have problems creating the table of contents.  If linking a library
   14061       # or program results in "error TOC overflow" add -mminimal-toc to
   14062       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   14063       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   14064 
   14065       archive_cmds=''
   14066       hardcode_direct=yes
   14067       hardcode_direct_absolute=yes
   14068       hardcode_libdir_separator=':'
   14069       link_all_deplibs=yes
   14070       file_list_spec='${wl}-f,'
   14071 
   14072       if test "$GCC" = yes; then
   14073 	case $host_os in aix4.[012]|aix4.[012].*)
   14074 	# We only want to do this on AIX 4.2 and lower, the check
   14075 	# below for broken collect2 doesn't work under 4.3+
   14076 	  collect2name=`${CC} -print-prog-name=collect2`
   14077 	  if test -f "$collect2name" &&
   14078 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   14079 	  then
   14080 	  # We have reworked collect2
   14081 	  :
   14082 	  else
   14083 	  # We have old collect2
   14084 	  hardcode_direct=unsupported
   14085 	  # It fails to find uninstalled libraries when the uninstalled
   14086 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   14087 	  # to unsupported forces relinking
   14088 	  hardcode_minus_L=yes
   14089 	  hardcode_libdir_flag_spec='-L$libdir'
   14090 	  hardcode_libdir_separator=
   14091 	  fi
   14092 	  ;;
   14093 	esac
   14094 	shared_flag='-shared'
   14095 	if test "$aix_use_runtimelinking" = yes; then
   14096 	  shared_flag="$shared_flag "'${wl}-G'
   14097 	fi
   14098       else
   14099 	# not using gcc
   14100 	if test "$host_cpu" = ia64; then
   14101 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   14102 	# chokes on -Wl,-G. The following line is correct:
   14103 	  shared_flag='-G'
   14104 	else
   14105 	  if test "$aix_use_runtimelinking" = yes; then
   14106 	    shared_flag='${wl}-G'
   14107 	  else
   14108 	    shared_flag='${wl}-bM:SRE'
   14109 	  fi
   14110 	fi
   14111       fi
   14112 
   14113       export_dynamic_flag_spec='${wl}-bexpall'
   14114       # It seems that -bexpall does not export symbols beginning with
   14115       # underscore (_), so it is better to generate a list of symbols to export.
   14116       always_export_symbols=yes
   14117       if test "$aix_use_runtimelinking" = yes; then
   14118 	# Warning - without using the other runtime loading flags (-brtl),
   14119 	# -berok will link without error, but may produce a broken library.
   14120 	allow_undefined_flag='-berok'
   14121         # Determine the default libpath from the value encoded in an
   14122         # empty executable.
   14123         if test "${lt_cv_aix_libpath+set}" = set; then
   14124   aix_libpath=$lt_cv_aix_libpath
   14125 else
   14126   if ${lt_cv_aix_libpath_+:} false; then :
   14127   $as_echo_n "(cached) " >&6
   14128 else
   14129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14130 /* end confdefs.h.  */
   14131 
   14132 int
   14133 main ()
   14134 {
   14135 
   14136   ;
   14137   return 0;
   14138 }
   14139 _ACEOF
   14140 if ac_fn_c_try_link "$LINENO"; then :
   14141 
   14142   lt_aix_libpath_sed='
   14143       /Import File Strings/,/^$/ {
   14144 	  /^0/ {
   14145 	      s/^0  *\([^ ]*\) *$/\1/
   14146 	      p
   14147 	  }
   14148       }'
   14149   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14150   # Check for a 64-bit object if we didn't find anything.
   14151   if test -z "$lt_cv_aix_libpath_"; then
   14152     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14153   fi
   14154 fi
   14155 rm -f core conftest.err conftest.$ac_objext \
   14156     conftest$ac_exeext conftest.$ac_ext
   14157   if test -z "$lt_cv_aix_libpath_"; then
   14158     lt_cv_aix_libpath_="/usr/lib:/lib"
   14159   fi
   14160 
   14161 fi
   14162 
   14163   aix_libpath=$lt_cv_aix_libpath_
   14164 fi
   14165 
   14166         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   14167         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"
   14168       else
   14169 	if test "$host_cpu" = ia64; then
   14170 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   14171 	  allow_undefined_flag="-z nodefs"
   14172 	  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"
   14173 	else
   14174 	 # Determine the default libpath from the value encoded in an
   14175 	 # empty executable.
   14176 	 if test "${lt_cv_aix_libpath+set}" = set; then
   14177   aix_libpath=$lt_cv_aix_libpath
   14178 else
   14179   if ${lt_cv_aix_libpath_+:} false; then :
   14180   $as_echo_n "(cached) " >&6
   14181 else
   14182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14183 /* end confdefs.h.  */
   14184 
   14185 int
   14186 main ()
   14187 {
   14188 
   14189   ;
   14190   return 0;
   14191 }
   14192 _ACEOF
   14193 if ac_fn_c_try_link "$LINENO"; then :
   14194 
   14195   lt_aix_libpath_sed='
   14196       /Import File Strings/,/^$/ {
   14197 	  /^0/ {
   14198 	      s/^0  *\([^ ]*\) *$/\1/
   14199 	      p
   14200 	  }
   14201       }'
   14202   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14203   # Check for a 64-bit object if we didn't find anything.
   14204   if test -z "$lt_cv_aix_libpath_"; then
   14205     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   14206   fi
   14207 fi
   14208 rm -f core conftest.err conftest.$ac_objext \
   14209     conftest$ac_exeext conftest.$ac_ext
   14210   if test -z "$lt_cv_aix_libpath_"; then
   14211     lt_cv_aix_libpath_="/usr/lib:/lib"
   14212   fi
   14213 
   14214 fi
   14215 
   14216   aix_libpath=$lt_cv_aix_libpath_
   14217 fi
   14218 
   14219 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   14220 	  # Warning - without using the other run time loading flags,
   14221 	  # -berok will link without error, but may produce a broken library.
   14222 	  no_undefined_flag=' ${wl}-bernotok'
   14223 	  allow_undefined_flag=' ${wl}-berok'
   14224 	  if test "$with_gnu_ld" = yes; then
   14225 	    # We only use this code for GNU lds that support --whole-archive.
   14226 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   14227 	  else
   14228 	    # Exported symbols can be pulled into shared objects from archives
   14229 	    whole_archive_flag_spec='$convenience'
   14230 	  fi
   14231 	  archive_cmds_need_lc=yes
   14232 	  # This is similar to how AIX traditionally builds its shared libraries.
   14233 	  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'
   14234 	fi
   14235       fi
   14236       ;;
   14237 
   14238     amigaos*)
   14239       case $host_cpu in
   14240       powerpc)
   14241             # see comment about AmigaOS4 .so support
   14242             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14243             archive_expsym_cmds=''
   14244         ;;
   14245       m68k)
   14246             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)'
   14247             hardcode_libdir_flag_spec='-L$libdir'
   14248             hardcode_minus_L=yes
   14249         ;;
   14250       esac
   14251       ;;
   14252 
   14253     bsdi[45]*)
   14254       export_dynamic_flag_spec=-rdynamic
   14255       ;;
   14256 
   14257     cygwin* | mingw* | pw32* | cegcc*)
   14258       # When not using gcc, we currently assume that we are using
   14259       # Microsoft Visual C++.
   14260       # hardcode_libdir_flag_spec is actually meaningless, as there is
   14261       # no search path for DLLs.
   14262       case $cc_basename in
   14263       cl*)
   14264 	# Native MSVC
   14265 	hardcode_libdir_flag_spec=' '
   14266 	allow_undefined_flag=unsupported
   14267 	always_export_symbols=yes
   14268 	file_list_spec='@'
   14269 	# Tell ltmain to make .lib files, not .a files.
   14270 	libext=lib
   14271 	# Tell ltmain to make .dll files, not .so files.
   14272 	shrext_cmds=".dll"
   14273 	# FIXME: Setting linknames here is a bad hack.
   14274 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   14275 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14276 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   14277 	  else
   14278 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   14279 	  fi~
   14280 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   14281 	  linknames='
   14282 	# The linker will not automatically build a static lib if we build a DLL.
   14283 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   14284 	enable_shared_with_static_runtimes=yes
   14285 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   14286 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14287 	# Don't use ranlib
   14288 	old_postinstall_cmds='chmod 644 $oldlib'
   14289 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   14290 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   14291 	  case $lt_outputfile in
   14292 	    *.exe|*.EXE) ;;
   14293 	    *)
   14294 	      lt_outputfile="$lt_outputfile.exe"
   14295 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   14296 	      ;;
   14297 	  esac~
   14298 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   14299 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   14300 	    $RM "$lt_outputfile.manifest";
   14301 	  fi'
   14302 	;;
   14303       *)
   14304 	# Assume MSVC wrapper
   14305 	hardcode_libdir_flag_spec=' '
   14306 	allow_undefined_flag=unsupported
   14307 	# Tell ltmain to make .lib files, not .a files.
   14308 	libext=lib
   14309 	# Tell ltmain to make .dll files, not .so files.
   14310 	shrext_cmds=".dll"
   14311 	# FIXME: Setting linknames here is a bad hack.
   14312 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   14313 	# The linker will automatically build a .lib file if we build a DLL.
   14314 	old_archive_from_new_cmds='true'
   14315 	# FIXME: Should let the user specify the lib program.
   14316 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   14317 	enable_shared_with_static_runtimes=yes
   14318 	;;
   14319       esac
   14320       ;;
   14321 
   14322     darwin* | rhapsody*)
   14323 
   14324 
   14325   archive_cmds_need_lc=no
   14326   hardcode_direct=no
   14327   hardcode_automatic=yes
   14328   hardcode_shlibpath_var=unsupported
   14329   if test "$lt_cv_ld_force_load" = "yes"; then
   14330     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\"`'
   14331 
   14332   else
   14333     whole_archive_flag_spec=''
   14334   fi
   14335   link_all_deplibs=yes
   14336   allow_undefined_flag="$_lt_dar_allow_undefined"
   14337   case $cc_basename in
   14338      ifort*) _lt_dar_can_shared=yes ;;
   14339      *) _lt_dar_can_shared=$GCC ;;
   14340   esac
   14341   if test "$_lt_dar_can_shared" = "yes"; then
   14342     output_verbose_link_cmd=func_echo_all
   14343     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   14344     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   14345     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}"
   14346     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}"
   14347 
   14348   else
   14349   ld_shlibs=no
   14350   fi
   14351 
   14352       ;;
   14353 
   14354     dgux*)
   14355       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14356       hardcode_libdir_flag_spec='-L$libdir'
   14357       hardcode_shlibpath_var=no
   14358       ;;
   14359 
   14360     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   14361     # support.  Future versions do this automatically, but an explicit c++rt0.o
   14362     # does not break anything, and helps significantly (at the cost of a little
   14363     # extra space).
   14364     freebsd2.2*)
   14365       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   14366       hardcode_libdir_flag_spec='-R$libdir'
   14367       hardcode_direct=yes
   14368       hardcode_shlibpath_var=no
   14369       ;;
   14370 
   14371     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   14372     freebsd2.*)
   14373       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14374       hardcode_direct=yes
   14375       hardcode_minus_L=yes
   14376       hardcode_shlibpath_var=no
   14377       ;;
   14378 
   14379     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   14380     freebsd* | dragonfly*)
   14381       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14382       hardcode_libdir_flag_spec='-R$libdir'
   14383       hardcode_direct=yes
   14384       hardcode_shlibpath_var=no
   14385       ;;
   14386 
   14387     hpux9*)
   14388       if test "$GCC" = yes; then
   14389 	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'
   14390       else
   14391 	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'
   14392       fi
   14393       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   14394       hardcode_libdir_separator=:
   14395       hardcode_direct=yes
   14396 
   14397       # hardcode_minus_L: Not really in the search PATH,
   14398       # but as the default location of the library.
   14399       hardcode_minus_L=yes
   14400       export_dynamic_flag_spec='${wl}-E'
   14401       ;;
   14402 
   14403     hpux10*)
   14404       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   14405 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14406       else
   14407 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14408       fi
   14409       if test "$with_gnu_ld" = no; then
   14410 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   14411 	hardcode_libdir_separator=:
   14412 	hardcode_direct=yes
   14413 	hardcode_direct_absolute=yes
   14414 	export_dynamic_flag_spec='${wl}-E'
   14415 	# hardcode_minus_L: Not really in the search PATH,
   14416 	# but as the default location of the library.
   14417 	hardcode_minus_L=yes
   14418       fi
   14419       ;;
   14420 
   14421     hpux11*)
   14422       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   14423 	case $host_cpu in
   14424 	hppa*64*)
   14425 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14426 	  ;;
   14427 	ia64*)
   14428 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14429 	  ;;
   14430 	*)
   14431 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14432 	  ;;
   14433 	esac
   14434       else
   14435 	case $host_cpu in
   14436 	hppa*64*)
   14437 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14438 	  ;;
   14439 	ia64*)
   14440 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   14441 	  ;;
   14442 	*)
   14443 
   14444 	  # Older versions of the 11.00 compiler do not understand -b yet
   14445 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   14446 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   14447 $as_echo_n "checking if $CC understands -b... " >&6; }
   14448 if ${lt_cv_prog_compiler__b+:} false; then :
   14449   $as_echo_n "(cached) " >&6
   14450 else
   14451   lt_cv_prog_compiler__b=no
   14452    save_LDFLAGS="$LDFLAGS"
   14453    LDFLAGS="$LDFLAGS -b"
   14454    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14455    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14456      # The linker can only warn and ignore the option if not recognized
   14457      # So say no if there are warnings
   14458      if test -s conftest.err; then
   14459        # Append any errors to the config.log.
   14460        cat conftest.err 1>&5
   14461        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14462        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14463        if diff conftest.exp conftest.er2 >/dev/null; then
   14464          lt_cv_prog_compiler__b=yes
   14465        fi
   14466      else
   14467        lt_cv_prog_compiler__b=yes
   14468      fi
   14469    fi
   14470    $RM -r conftest*
   14471    LDFLAGS="$save_LDFLAGS"
   14472 
   14473 fi
   14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   14475 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   14476 
   14477 if test x"$lt_cv_prog_compiler__b" = xyes; then
   14478     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   14479 else
   14480     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   14481 fi
   14482 
   14483 	  ;;
   14484 	esac
   14485       fi
   14486       if test "$with_gnu_ld" = no; then
   14487 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   14488 	hardcode_libdir_separator=:
   14489 
   14490 	case $host_cpu in
   14491 	hppa*64*|ia64*)
   14492 	  hardcode_direct=no
   14493 	  hardcode_shlibpath_var=no
   14494 	  ;;
   14495 	*)
   14496 	  hardcode_direct=yes
   14497 	  hardcode_direct_absolute=yes
   14498 	  export_dynamic_flag_spec='${wl}-E'
   14499 
   14500 	  # hardcode_minus_L: Not really in the search PATH,
   14501 	  # but as the default location of the library.
   14502 	  hardcode_minus_L=yes
   14503 	  ;;
   14504 	esac
   14505       fi
   14506       ;;
   14507 
   14508     irix5* | irix6* | nonstopux*)
   14509       if test "$GCC" = yes; then
   14510 	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'
   14511 	# Try to use the -exported_symbol ld option, if it does not
   14512 	# work, assume that -exports_file does not work either and
   14513 	# implicitly export all symbols.
   14514 	# This should be the same for all languages, so no per-tag cache variable.
   14515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   14516 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   14517 if ${lt_cv_irix_exported_symbol+:} false; then :
   14518   $as_echo_n "(cached) " >&6
   14519 else
   14520   save_LDFLAGS="$LDFLAGS"
   14521 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   14522 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14523 /* end confdefs.h.  */
   14524 int foo (void) { return 0; }
   14525 _ACEOF
   14526 if ac_fn_c_try_link "$LINENO"; then :
   14527   lt_cv_irix_exported_symbol=yes
   14528 else
   14529   lt_cv_irix_exported_symbol=no
   14530 fi
   14531 rm -f core conftest.err conftest.$ac_objext \
   14532     conftest$ac_exeext conftest.$ac_ext
   14533            LDFLAGS="$save_LDFLAGS"
   14534 fi
   14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   14536 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   14537 	if test "$lt_cv_irix_exported_symbol" = yes; then
   14538           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'
   14539 	fi
   14540       else
   14541 	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'
   14542 	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'
   14543       fi
   14544       archive_cmds_need_lc='no'
   14545       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14546       hardcode_libdir_separator=:
   14547       inherit_rpath=yes
   14548       link_all_deplibs=yes
   14549       ;;
   14550 
   14551     netbsd*)
   14552       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14553 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   14554       else
   14555 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   14556       fi
   14557       hardcode_libdir_flag_spec='-R$libdir'
   14558       hardcode_direct=yes
   14559       hardcode_shlibpath_var=no
   14560       ;;
   14561 
   14562     newsos6)
   14563       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14564       hardcode_direct=yes
   14565       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14566       hardcode_libdir_separator=:
   14567       hardcode_shlibpath_var=no
   14568       ;;
   14569 
   14570     *nto* | *qnx*)
   14571       ;;
   14572 
   14573     openbsd*)
   14574       if test -f /usr/libexec/ld.so; then
   14575 	hardcode_direct=yes
   14576 	hardcode_shlibpath_var=no
   14577 	hardcode_direct_absolute=yes
   14578 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14579 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14580 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   14581 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   14582 	  export_dynamic_flag_spec='${wl}-E'
   14583 	else
   14584 	  case $host_os in
   14585 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   14586 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   14587 	     hardcode_libdir_flag_spec='-R$libdir'
   14588 	     ;;
   14589 	   *)
   14590 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   14591 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   14592 	     ;;
   14593 	  esac
   14594 	fi
   14595       else
   14596 	ld_shlibs=no
   14597       fi
   14598       ;;
   14599 
   14600     os2*)
   14601       hardcode_libdir_flag_spec='-L$libdir'
   14602       hardcode_minus_L=yes
   14603       allow_undefined_flag=unsupported
   14604       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'
   14605       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   14606       ;;
   14607 
   14608     osf3*)
   14609       if test "$GCC" = yes; then
   14610 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   14611 	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'
   14612       else
   14613 	allow_undefined_flag=' -expect_unresolved \*'
   14614 	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'
   14615       fi
   14616       archive_cmds_need_lc='no'
   14617       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14618       hardcode_libdir_separator=:
   14619       ;;
   14620 
   14621     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   14622       if test "$GCC" = yes; then
   14623 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   14624 	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'
   14625 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14626       else
   14627 	allow_undefined_flag=' -expect_unresolved \*'
   14628 	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'
   14629 	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~
   14630 	$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'
   14631 
   14632 	# Both c and cxx compiler support -rpath directly
   14633 	hardcode_libdir_flag_spec='-rpath $libdir'
   14634       fi
   14635       archive_cmds_need_lc='no'
   14636       hardcode_libdir_separator=:
   14637       ;;
   14638 
   14639     solaris*)
   14640       no_undefined_flag=' -z defs'
   14641       if test "$GCC" = yes; then
   14642 	wlarc='${wl}'
   14643 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   14644 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14645 	  $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'
   14646       else
   14647 	case `$CC -V 2>&1` in
   14648 	*"Compilers 5.0"*)
   14649 	  wlarc=''
   14650 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14651 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14652 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   14653 	  ;;
   14654 	*)
   14655 	  wlarc='${wl}'
   14656 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14657 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14658 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   14659 	  ;;
   14660 	esac
   14661       fi
   14662       hardcode_libdir_flag_spec='-R$libdir'
   14663       hardcode_shlibpath_var=no
   14664       case $host_os in
   14665       solaris2.[0-5] | solaris2.[0-5].*) ;;
   14666       *)
   14667 	# The compiler driver will combine and reorder linker options,
   14668 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   14669 	# but is careful enough not to reorder.
   14670 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   14671 	if test "$GCC" = yes; then
   14672 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   14673 	else
   14674 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   14675 	fi
   14676 	;;
   14677       esac
   14678       link_all_deplibs=yes
   14679       ;;
   14680 
   14681     sunos4*)
   14682       if test "x$host_vendor" = xsequent; then
   14683 	# Use $CC to link under sequent, because it throws in some extra .o
   14684 	# files that make .init and .fini sections work.
   14685 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   14686       else
   14687 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   14688       fi
   14689       hardcode_libdir_flag_spec='-L$libdir'
   14690       hardcode_direct=yes
   14691       hardcode_minus_L=yes
   14692       hardcode_shlibpath_var=no
   14693       ;;
   14694 
   14695     sysv4)
   14696       case $host_vendor in
   14697 	sni)
   14698 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14699 	  hardcode_direct=yes # is this really true???
   14700 	;;
   14701 	siemens)
   14702 	  ## LD is ld it makes a PLAMLIB
   14703 	  ## CC just makes a GrossModule.
   14704 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   14705 	  reload_cmds='$CC -r -o $output$reload_objs'
   14706 	  hardcode_direct=no
   14707         ;;
   14708 	motorola)
   14709 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14710 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   14711 	;;
   14712       esac
   14713       runpath_var='LD_RUN_PATH'
   14714       hardcode_shlibpath_var=no
   14715       ;;
   14716 
   14717     sysv4.3*)
   14718       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14719       hardcode_shlibpath_var=no
   14720       export_dynamic_flag_spec='-Bexport'
   14721       ;;
   14722 
   14723     sysv4*MP*)
   14724       if test -d /usr/nec; then
   14725 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14726 	hardcode_shlibpath_var=no
   14727 	runpath_var=LD_RUN_PATH
   14728 	hardcode_runpath_var=yes
   14729 	ld_shlibs=yes
   14730       fi
   14731       ;;
   14732 
   14733     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14734       no_undefined_flag='${wl}-z,text'
   14735       archive_cmds_need_lc=no
   14736       hardcode_shlibpath_var=no
   14737       runpath_var='LD_RUN_PATH'
   14738 
   14739       if test "$GCC" = yes; then
   14740 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14741 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14742       else
   14743 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14744 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14745       fi
   14746       ;;
   14747 
   14748     sysv5* | sco3.2v5* | sco5v6*)
   14749       # Note: We can NOT use -z defs as we might desire, because we do not
   14750       # link with -lc, and that would cause any symbols used from libc to
   14751       # always be unresolved, which means just about no library would
   14752       # ever link correctly.  If we're not using GNU ld we use -z text
   14753       # though, which does catch some bad symbols but isn't as heavy-handed
   14754       # as -z defs.
   14755       no_undefined_flag='${wl}-z,text'
   14756       allow_undefined_flag='${wl}-z,nodefs'
   14757       archive_cmds_need_lc=no
   14758       hardcode_shlibpath_var=no
   14759       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   14760       hardcode_libdir_separator=':'
   14761       link_all_deplibs=yes
   14762       export_dynamic_flag_spec='${wl}-Bexport'
   14763       runpath_var='LD_RUN_PATH'
   14764 
   14765       if test "$GCC" = yes; then
   14766 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14767 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14768       else
   14769 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14770 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14771       fi
   14772       ;;
   14773 
   14774     uts4*)
   14775       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   14776       hardcode_libdir_flag_spec='-L$libdir'
   14777       hardcode_shlibpath_var=no
   14778       ;;
   14779 
   14780     *)
   14781       ld_shlibs=no
   14782       ;;
   14783     esac
   14784 
   14785     if test x$host_vendor = xsni; then
   14786       case $host in
   14787       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   14788 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   14789 	;;
   14790       esac
   14791     fi
   14792   fi
   14793 
   14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   14795 $as_echo "$ld_shlibs" >&6; }
   14796 test "$ld_shlibs" = no && can_build_shared=no
   14797 
   14798 with_gnu_ld=$with_gnu_ld
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 #
   14815 # Do we need to explicitly link libc?
   14816 #
   14817 case "x$archive_cmds_need_lc" in
   14818 x|xyes)
   14819   # Assume -lc should be added
   14820   archive_cmds_need_lc=yes
   14821 
   14822   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14823     case $archive_cmds in
   14824     *'~'*)
   14825       # FIXME: we may have to deal with multi-command sequences.
   14826       ;;
   14827     '$CC '*)
   14828       # Test whether the compiler implicitly links with -lc since on some
   14829       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14830       # to ld, don't add -lc before -lgcc.
   14831       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14833 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   14834   $as_echo_n "(cached) " >&6
   14835 else
   14836   $RM conftest*
   14837 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14838 
   14839 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14840   (eval $ac_compile) 2>&5
   14841   ac_status=$?
   14842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14843   test $ac_status = 0; } 2>conftest.err; then
   14844 	  soname=conftest
   14845 	  lib=conftest
   14846 	  libobjs=conftest.$ac_objext
   14847 	  deplibs=
   14848 	  wl=$lt_prog_compiler_wl
   14849 	  pic_flag=$lt_prog_compiler_pic
   14850 	  compiler_flags=-v
   14851 	  linker_flags=-v
   14852 	  verstring=
   14853 	  output_objdir=.
   14854 	  libname=conftest
   14855 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   14856 	  allow_undefined_flag=
   14857 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14858   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14859   ac_status=$?
   14860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14861   test $ac_status = 0; }
   14862 	  then
   14863 	    lt_cv_archive_cmds_need_lc=no
   14864 	  else
   14865 	    lt_cv_archive_cmds_need_lc=yes
   14866 	  fi
   14867 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   14868 	else
   14869 	  cat conftest.err 1>&5
   14870 	fi
   14871 	$RM conftest*
   14872 
   14873 fi
   14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   14875 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   14876       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   14877       ;;
   14878     esac
   14879   fi
   14880   ;;
   14881 esac
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15035 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15036 
   15037 if test "$GCC" = yes; then
   15038   case $host_os in
   15039     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   15040     *) lt_awk_arg="/^libraries:/" ;;
   15041   esac
   15042   case $host_os in
   15043     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   15044     *) lt_sed_strip_eq="s,=/,/,g" ;;
   15045   esac
   15046   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   15047   case $lt_search_path_spec in
   15048   *\;*)
   15049     # if the path contains ";" then we assume it to be the separator
   15050     # otherwise default to the standard path separator (i.e. ":") - it is
   15051     # assumed that no part of a normal pathname contains ";" but that should
   15052     # okay in the real world where ";" in dirpaths is itself problematic.
   15053     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   15054     ;;
   15055   *)
   15056     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   15057     ;;
   15058   esac
   15059   # Ok, now we have the path, separated by spaces, we can step through it
   15060   # and add multilib dir if necessary.
   15061   lt_tmp_lt_search_path_spec=
   15062   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   15063   for lt_sys_path in $lt_search_path_spec; do
   15064     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   15065       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   15066     else
   15067       test -d "$lt_sys_path" && \
   15068 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   15069     fi
   15070   done
   15071   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   15072 BEGIN {RS=" "; FS="/|\n";} {
   15073   lt_foo="";
   15074   lt_count=0;
   15075   for (lt_i = NF; lt_i > 0; lt_i--) {
   15076     if ($lt_i != "" && $lt_i != ".") {
   15077       if ($lt_i == "..") {
   15078         lt_count++;
   15079       } else {
   15080         if (lt_count == 0) {
   15081           lt_foo="/" $lt_i lt_foo;
   15082         } else {
   15083           lt_count--;
   15084         }
   15085       }
   15086     }
   15087   }
   15088   if (lt_foo != "") { lt_freq[lt_foo]++; }
   15089   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   15090 }'`
   15091   # AWK program above erroneously prepends '/' to C:/dos/paths
   15092   # for these hosts.
   15093   case $host_os in
   15094     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   15095       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   15096   esac
   15097   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   15098 else
   15099   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   15100 fi
   15101 library_names_spec=
   15102 libname_spec='lib$name'
   15103 soname_spec=
   15104 shrext_cmds=".so"
   15105 postinstall_cmds=
   15106 postuninstall_cmds=
   15107 finish_cmds=
   15108 finish_eval=
   15109 shlibpath_var=
   15110 shlibpath_overrides_runpath=unknown
   15111 version_type=none
   15112 dynamic_linker="$host_os ld.so"
   15113 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15114 need_lib_prefix=unknown
   15115 hardcode_into_libs=no
   15116 
   15117 # when you set need_version to no, make sure it does not cause -set_version
   15118 # flags to be left without arguments
   15119 need_version=unknown
   15120 
   15121 case $host_os in
   15122 aix3*)
   15123   version_type=linux # correct to gnu/linux during the next big refactor
   15124   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15125   shlibpath_var=LIBPATH
   15126 
   15127   # AIX 3 has no versioning support, so we append a major version to the name.
   15128   soname_spec='${libname}${release}${shared_ext}$major'
   15129   ;;
   15130 
   15131 aix[4-9]*)
   15132   version_type=linux # correct to gnu/linux during the next big refactor
   15133   need_lib_prefix=no
   15134   need_version=no
   15135   hardcode_into_libs=yes
   15136   if test "$host_cpu" = ia64; then
   15137     # AIX 5 supports IA64
   15138     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15139     shlibpath_var=LD_LIBRARY_PATH
   15140   else
   15141     # With GCC up to 2.95.x, collect2 would create an import file
   15142     # for dependence libraries.  The import file would start with
   15143     # the line `#! .'.  This would cause the generated library to
   15144     # depend on `.', always an invalid library.  This was fixed in
   15145     # development snapshots of GCC prior to 3.0.
   15146     case $host_os in
   15147       aix4 | aix4.[01] | aix4.[01].*)
   15148       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15149 	   echo ' yes '
   15150 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   15151 	:
   15152       else
   15153 	can_build_shared=no
   15154       fi
   15155       ;;
   15156     esac
   15157     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15158     # soname into executable. Probably we can add versioning support to
   15159     # collect2, so additional links can be useful in future.
   15160     if test "$aix_use_runtimelinking" = yes; then
   15161       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15162       # instead of lib<name>.a to let people know that these are not
   15163       # typical AIX shared libraries.
   15164       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15165     else
   15166       # We preserve .a as extension for shared libraries through AIX4.2
   15167       # and later when we are not doing run time linking.
   15168       library_names_spec='${libname}${release}.a $libname.a'
   15169       soname_spec='${libname}${release}${shared_ext}$major'
   15170     fi
   15171     shlibpath_var=LIBPATH
   15172   fi
   15173   ;;
   15174 
   15175 amigaos*)
   15176   case $host_cpu in
   15177   powerpc)
   15178     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15179     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15180     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15181     ;;
   15182   m68k)
   15183     library_names_spec='$libname.ixlibrary $libname.a'
   15184     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15185     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'
   15186     ;;
   15187   esac
   15188   ;;
   15189 
   15190 beos*)
   15191   library_names_spec='${libname}${shared_ext}'
   15192   dynamic_linker="$host_os ld.so"
   15193   shlibpath_var=LIBRARY_PATH
   15194   ;;
   15195 
   15196 bsdi[45]*)
   15197   version_type=linux # correct to gnu/linux during the next big refactor
   15198   need_version=no
   15199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15200   soname_spec='${libname}${release}${shared_ext}$major'
   15201   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15202   shlibpath_var=LD_LIBRARY_PATH
   15203   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15204   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15205   # the default ld.so.conf also contains /usr/contrib/lib and
   15206   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15207   # libtool to hard-code these into programs
   15208   ;;
   15209 
   15210 cygwin* | mingw* | pw32* | cegcc*)
   15211   version_type=windows
   15212   shrext_cmds=".dll"
   15213   need_version=no
   15214   need_lib_prefix=no
   15215 
   15216   case $GCC,$cc_basename in
   15217   yes,*)
   15218     # gcc
   15219     library_names_spec='$libname.dll.a'
   15220     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15221     postinstall_cmds='base_file=`basename \${file}`~
   15222       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15223       dldir=$destdir/`dirname \$dlpath`~
   15224       test -d \$dldir || mkdir -p \$dldir~
   15225       $install_prog $dir/$dlname \$dldir/$dlname~
   15226       chmod a+x \$dldir/$dlname~
   15227       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15228         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15229       fi'
   15230     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15231       dlpath=$dir/\$dldll~
   15232        $RM \$dlpath'
   15233     shlibpath_overrides_runpath=yes
   15234 
   15235     case $host_os in
   15236     cygwin*)
   15237       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15238       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15239 
   15240       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   15241       ;;
   15242     mingw* | cegcc*)
   15243       # MinGW DLLs use traditional 'lib' prefix
   15244       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15245       ;;
   15246     pw32*)
   15247       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15248       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15249       ;;
   15250     esac
   15251     dynamic_linker='Win32 ld.exe'
   15252     ;;
   15253 
   15254   *,cl*)
   15255     # Native MSVC
   15256     libname_spec='$name'
   15257     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15258     library_names_spec='${libname}.dll.lib'
   15259 
   15260     case $build_os in
   15261     mingw*)
   15262       sys_lib_search_path_spec=
   15263       lt_save_ifs=$IFS
   15264       IFS=';'
   15265       for lt_path in $LIB
   15266       do
   15267         IFS=$lt_save_ifs
   15268         # Let DOS variable expansion print the short 8.3 style file name.
   15269         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   15270         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   15271       done
   15272       IFS=$lt_save_ifs
   15273       # Convert to MSYS style.
   15274       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   15275       ;;
   15276     cygwin*)
   15277       # Convert to unix form, then to dos form, then back to unix form
   15278       # but this time dos style (no spaces!) so that the unix form looks
   15279       # like /cygdrive/c/PROGRA~1:/cygdr...
   15280       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   15281       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   15282       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15283       ;;
   15284     *)
   15285       sys_lib_search_path_spec="$LIB"
   15286       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   15287         # It is most probably a Windows format PATH.
   15288         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15289       else
   15290         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   15291       fi
   15292       # FIXME: find the short name or the path components, as spaces are
   15293       # common. (e.g. "Program Files" -> "PROGRA~1")
   15294       ;;
   15295     esac
   15296 
   15297     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15298     postinstall_cmds='base_file=`basename \${file}`~
   15299       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15300       dldir=$destdir/`dirname \$dlpath`~
   15301       test -d \$dldir || mkdir -p \$dldir~
   15302       $install_prog $dir/$dlname \$dldir/$dlname'
   15303     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15304       dlpath=$dir/\$dldll~
   15305        $RM \$dlpath'
   15306     shlibpath_overrides_runpath=yes
   15307     dynamic_linker='Win32 link.exe'
   15308     ;;
   15309 
   15310   *)
   15311     # Assume MSVC wrapper
   15312     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15313     dynamic_linker='Win32 ld.exe'
   15314     ;;
   15315   esac
   15316   # FIXME: first we should search . and the directory the executable is in
   15317   shlibpath_var=PATH
   15318   ;;
   15319 
   15320 darwin* | rhapsody*)
   15321   dynamic_linker="$host_os dyld"
   15322   version_type=darwin
   15323   need_lib_prefix=no
   15324   need_version=no
   15325   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15326   soname_spec='${libname}${release}${major}$shared_ext'
   15327   shlibpath_overrides_runpath=yes
   15328   shlibpath_var=DYLD_LIBRARY_PATH
   15329   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15330 
   15331   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   15332   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15333   ;;
   15334 
   15335 dgux*)
   15336   version_type=linux # correct to gnu/linux during the next big refactor
   15337   need_lib_prefix=no
   15338   need_version=no
   15339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15340   soname_spec='${libname}${release}${shared_ext}$major'
   15341   shlibpath_var=LD_LIBRARY_PATH
   15342   ;;
   15343 
   15344 freebsd* | dragonfly*)
   15345   # DragonFly does not have aout.  When/if they implement a new
   15346   # versioning mechanism, adjust this.
   15347   if test -x /usr/bin/objformat; then
   15348     objformat=`/usr/bin/objformat`
   15349   else
   15350     case $host_os in
   15351     freebsd[23].*) objformat=aout ;;
   15352     *) objformat=elf ;;
   15353     esac
   15354   fi
   15355   version_type=freebsd-$objformat
   15356   case $version_type in
   15357     freebsd-elf*)
   15358       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15359       need_version=no
   15360       need_lib_prefix=no
   15361       ;;
   15362     freebsd-*)
   15363       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15364       need_version=yes
   15365       ;;
   15366   esac
   15367   shlibpath_var=LD_LIBRARY_PATH
   15368   case $host_os in
   15369   freebsd2.*)
   15370     shlibpath_overrides_runpath=yes
   15371     ;;
   15372   freebsd3.[01]* | freebsdelf3.[01]*)
   15373     shlibpath_overrides_runpath=yes
   15374     hardcode_into_libs=yes
   15375     ;;
   15376   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15377   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15378     shlibpath_overrides_runpath=no
   15379     hardcode_into_libs=yes
   15380     ;;
   15381   *) # from 4.6 on, and DragonFly
   15382     shlibpath_overrides_runpath=yes
   15383     hardcode_into_libs=yes
   15384     ;;
   15385   esac
   15386   ;;
   15387 
   15388 gnu*)
   15389   version_type=linux # correct to gnu/linux during the next big refactor
   15390   need_lib_prefix=no
   15391   need_version=no
   15392   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15393   soname_spec='${libname}${release}${shared_ext}$major'
   15394   shlibpath_var=LD_LIBRARY_PATH
   15395   shlibpath_overrides_runpath=no
   15396   hardcode_into_libs=yes
   15397   ;;
   15398 
   15399 haiku*)
   15400   version_type=linux # correct to gnu/linux during the next big refactor
   15401   need_lib_prefix=no
   15402   need_version=no
   15403   dynamic_linker="$host_os runtime_loader"
   15404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15405   soname_spec='${libname}${release}${shared_ext}$major'
   15406   shlibpath_var=LIBRARY_PATH
   15407   shlibpath_overrides_runpath=yes
   15408   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15409   hardcode_into_libs=yes
   15410   ;;
   15411 
   15412 hpux9* | hpux10* | hpux11*)
   15413   # Give a soname corresponding to the major version so that dld.sl refuses to
   15414   # link against other versions.
   15415   version_type=sunos
   15416   need_lib_prefix=no
   15417   need_version=no
   15418   case $host_cpu in
   15419   ia64*)
   15420     shrext_cmds='.so'
   15421     hardcode_into_libs=yes
   15422     dynamic_linker="$host_os dld.so"
   15423     shlibpath_var=LD_LIBRARY_PATH
   15424     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15425     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15426     soname_spec='${libname}${release}${shared_ext}$major'
   15427     if test "X$HPUX_IA64_MODE" = X32; then
   15428       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15429     else
   15430       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15431     fi
   15432     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15433     ;;
   15434   hppa*64*)
   15435     shrext_cmds='.sl'
   15436     hardcode_into_libs=yes
   15437     dynamic_linker="$host_os dld.sl"
   15438     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15439     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15441     soname_spec='${libname}${release}${shared_ext}$major'
   15442     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15443     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15444     ;;
   15445   *)
   15446     shrext_cmds='.sl'
   15447     dynamic_linker="$host_os dld.sl"
   15448     shlibpath_var=SHLIB_PATH
   15449     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15450     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15451     soname_spec='${libname}${release}${shared_ext}$major'
   15452     ;;
   15453   esac
   15454   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15455   postinstall_cmds='chmod 555 $lib'
   15456   # or fails outright, so override atomically:
   15457   install_override_mode=555
   15458   ;;
   15459 
   15460 interix[3-9]*)
   15461   version_type=linux # correct to gnu/linux during the next big refactor
   15462   need_lib_prefix=no
   15463   need_version=no
   15464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15465   soname_spec='${libname}${release}${shared_ext}$major'
   15466   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15467   shlibpath_var=LD_LIBRARY_PATH
   15468   shlibpath_overrides_runpath=no
   15469   hardcode_into_libs=yes
   15470   ;;
   15471 
   15472 irix5* | irix6* | nonstopux*)
   15473   case $host_os in
   15474     nonstopux*) version_type=nonstopux ;;
   15475     *)
   15476 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15477 		version_type=linux # correct to gnu/linux during the next big refactor
   15478 	else
   15479 		version_type=irix
   15480 	fi ;;
   15481   esac
   15482   need_lib_prefix=no
   15483   need_version=no
   15484   soname_spec='${libname}${release}${shared_ext}$major'
   15485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15486   case $host_os in
   15487   irix5* | nonstopux*)
   15488     libsuff= shlibsuff=
   15489     ;;
   15490   *)
   15491     case $LD in # libtool.m4 will add one of these switches to LD
   15492     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15493       libsuff= shlibsuff= libmagic=32-bit;;
   15494     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15495       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15496     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15497       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15498     *) libsuff= shlibsuff= libmagic=never-match;;
   15499     esac
   15500     ;;
   15501   esac
   15502   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15503   shlibpath_overrides_runpath=no
   15504   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15505   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15506   hardcode_into_libs=yes
   15507   ;;
   15508 
   15509 # No shared lib support for Linux oldld, aout, or coff.
   15510 linux*oldld* | linux*aout* | linux*coff*)
   15511   dynamic_linker=no
   15512   ;;
   15513 
   15514 # This must be glibc/ELF.
   15515 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   15516   version_type=linux # correct to gnu/linux during the next big refactor
   15517   need_lib_prefix=no
   15518   need_version=no
   15519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15520   soname_spec='${libname}${release}${shared_ext}$major'
   15521   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15522   shlibpath_var=LD_LIBRARY_PATH
   15523   shlibpath_overrides_runpath=no
   15524 
   15525   # Some binutils ld are patched to set DT_RUNPATH
   15526   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15527   $as_echo_n "(cached) " >&6
   15528 else
   15529   lt_cv_shlibpath_overrides_runpath=no
   15530     save_LDFLAGS=$LDFLAGS
   15531     save_libdir=$libdir
   15532     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   15533 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   15534     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15535 /* end confdefs.h.  */
   15536 
   15537 int
   15538 main ()
   15539 {
   15540 
   15541   ;
   15542   return 0;
   15543 }
   15544 _ACEOF
   15545 if ac_fn_c_try_link "$LINENO"; then :
   15546   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15547   lt_cv_shlibpath_overrides_runpath=yes
   15548 fi
   15549 fi
   15550 rm -f core conftest.err conftest.$ac_objext \
   15551     conftest$ac_exeext conftest.$ac_ext
   15552     LDFLAGS=$save_LDFLAGS
   15553     libdir=$save_libdir
   15554 
   15555 fi
   15556 
   15557   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15558 
   15559   # This implies no fast_install, which is unacceptable.
   15560   # Some rework will be needed to allow for fast_install
   15561   # before this can be enabled.
   15562   hardcode_into_libs=yes
   15563 
   15564   # Add ABI-specific directories to the system library path.
   15565   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   15566 
   15567   # Append ld.so.conf contents to the search path
   15568   if test -f /etc/ld.so.conf; then
   15569     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' ' '`
   15570     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   15571 
   15572   fi
   15573 
   15574   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15575   # powerpc, because MkLinux only supported shared libraries with the
   15576   # GNU dynamic linker.  Since this was broken with cross compilers,
   15577   # most powerpc-linux boxes support dynamic linking these days and
   15578   # people can always --disable-shared, the test was removed, and we
   15579   # assume the GNU/Linux dynamic linker is in use.
   15580   dynamic_linker='GNU/Linux ld.so'
   15581   ;;
   15582 
   15583 netbsd*)
   15584   version_type=sunos
   15585   need_lib_prefix=no
   15586   need_version=no
   15587   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15588     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15589     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15590     dynamic_linker='NetBSD (a.out) ld.so'
   15591   else
   15592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15593     soname_spec='${libname}${release}${shared_ext}$major'
   15594     dynamic_linker='NetBSD ld.elf_so'
   15595   fi
   15596   shlibpath_var=LD_LIBRARY_PATH
   15597   shlibpath_overrides_runpath=yes
   15598   hardcode_into_libs=yes
   15599   ;;
   15600 
   15601 newsos6)
   15602   version_type=linux # correct to gnu/linux during the next big refactor
   15603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15604   shlibpath_var=LD_LIBRARY_PATH
   15605   shlibpath_overrides_runpath=yes
   15606   ;;
   15607 
   15608 *nto* | *qnx*)
   15609   version_type=qnx
   15610   need_lib_prefix=no
   15611   need_version=no
   15612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15613   soname_spec='${libname}${release}${shared_ext}$major'
   15614   shlibpath_var=LD_LIBRARY_PATH
   15615   shlibpath_overrides_runpath=no
   15616   hardcode_into_libs=yes
   15617   dynamic_linker='ldqnx.so'
   15618   ;;
   15619 
   15620 openbsd*)
   15621   version_type=sunos
   15622   sys_lib_dlsearch_path_spec="/usr/lib"
   15623   need_lib_prefix=no
   15624   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15625   case $host_os in
   15626     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15627     *)				need_version=no  ;;
   15628   esac
   15629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15630   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15631   shlibpath_var=LD_LIBRARY_PATH
   15632   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15633     case $host_os in
   15634       openbsd2.[89] | openbsd2.[89].*)
   15635 	shlibpath_overrides_runpath=no
   15636 	;;
   15637       *)
   15638 	shlibpath_overrides_runpath=yes
   15639 	;;
   15640       esac
   15641   else
   15642     shlibpath_overrides_runpath=yes
   15643   fi
   15644   ;;
   15645 
   15646 os2*)
   15647   libname_spec='$name'
   15648   shrext_cmds=".dll"
   15649   need_lib_prefix=no
   15650   library_names_spec='$libname${shared_ext} $libname.a'
   15651   dynamic_linker='OS/2 ld.exe'
   15652   shlibpath_var=LIBPATH
   15653   ;;
   15654 
   15655 osf3* | osf4* | osf5*)
   15656   version_type=osf
   15657   need_lib_prefix=no
   15658   need_version=no
   15659   soname_spec='${libname}${release}${shared_ext}$major'
   15660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15661   shlibpath_var=LD_LIBRARY_PATH
   15662   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15663   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15664   ;;
   15665 
   15666 rdos*)
   15667   dynamic_linker=no
   15668   ;;
   15669 
   15670 solaris*)
   15671   version_type=linux # correct to gnu/linux during the next big refactor
   15672   need_lib_prefix=no
   15673   need_version=no
   15674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15675   soname_spec='${libname}${release}${shared_ext}$major'
   15676   shlibpath_var=LD_LIBRARY_PATH
   15677   shlibpath_overrides_runpath=yes
   15678   hardcode_into_libs=yes
   15679   # ldd complains unless libraries are executable
   15680   postinstall_cmds='chmod +x $lib'
   15681   ;;
   15682 
   15683 sunos4*)
   15684   version_type=sunos
   15685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15686   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15687   shlibpath_var=LD_LIBRARY_PATH
   15688   shlibpath_overrides_runpath=yes
   15689   if test "$with_gnu_ld" = yes; then
   15690     need_lib_prefix=no
   15691   fi
   15692   need_version=yes
   15693   ;;
   15694 
   15695 sysv4 | sysv4.3*)
   15696   version_type=linux # correct to gnu/linux during the next big refactor
   15697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15698   soname_spec='${libname}${release}${shared_ext}$major'
   15699   shlibpath_var=LD_LIBRARY_PATH
   15700   case $host_vendor in
   15701     sni)
   15702       shlibpath_overrides_runpath=no
   15703       need_lib_prefix=no
   15704       runpath_var=LD_RUN_PATH
   15705       ;;
   15706     siemens)
   15707       need_lib_prefix=no
   15708       ;;
   15709     motorola)
   15710       need_lib_prefix=no
   15711       need_version=no
   15712       shlibpath_overrides_runpath=no
   15713       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15714       ;;
   15715   esac
   15716   ;;
   15717 
   15718 sysv4*MP*)
   15719   if test -d /usr/nec ;then
   15720     version_type=linux # correct to gnu/linux during the next big refactor
   15721     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15722     soname_spec='$libname${shared_ext}.$major'
   15723     shlibpath_var=LD_LIBRARY_PATH
   15724   fi
   15725   ;;
   15726 
   15727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15728   version_type=freebsd-elf
   15729   need_lib_prefix=no
   15730   need_version=no
   15731   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15732   soname_spec='${libname}${release}${shared_ext}$major'
   15733   shlibpath_var=LD_LIBRARY_PATH
   15734   shlibpath_overrides_runpath=yes
   15735   hardcode_into_libs=yes
   15736   if test "$with_gnu_ld" = yes; then
   15737     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15738   else
   15739     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15740     case $host_os in
   15741       sco3.2v5*)
   15742         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15743 	;;
   15744     esac
   15745   fi
   15746   sys_lib_dlsearch_path_spec='/usr/lib'
   15747   ;;
   15748 
   15749 tpf*)
   15750   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15751   version_type=linux # correct to gnu/linux during the next big refactor
   15752   need_lib_prefix=no
   15753   need_version=no
   15754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15755   shlibpath_var=LD_LIBRARY_PATH
   15756   shlibpath_overrides_runpath=no
   15757   hardcode_into_libs=yes
   15758   ;;
   15759 
   15760 uts4*)
   15761   version_type=linux # correct to gnu/linux during the next big refactor
   15762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15763   soname_spec='${libname}${release}${shared_ext}$major'
   15764   shlibpath_var=LD_LIBRARY_PATH
   15765   ;;
   15766 
   15767 *)
   15768   dynamic_linker=no
   15769   ;;
   15770 esac
   15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15772 $as_echo "$dynamic_linker" >&6; }
   15773 test "$dynamic_linker" = no && can_build_shared=no
   15774 
   15775 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15776 if test "$GCC" = yes; then
   15777   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15778 fi
   15779 
   15780 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15781   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15782 fi
   15783 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15784   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15785 fi
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15879 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15880 hardcode_action=
   15881 if test -n "$hardcode_libdir_flag_spec" ||
   15882    test -n "$runpath_var" ||
   15883    test "X$hardcode_automatic" = "Xyes" ; then
   15884 
   15885   # We can hardcode non-existent directories.
   15886   if test "$hardcode_direct" != no &&
   15887      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15888      # have to relink, otherwise we might link with an installed library
   15889      # when we should be linking with a yet-to-be-installed one
   15890      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   15891      test "$hardcode_minus_L" != no; then
   15892     # Linking always hardcodes the temporary library directory.
   15893     hardcode_action=relink
   15894   else
   15895     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15896     hardcode_action=immediate
   15897   fi
   15898 else
   15899   # We cannot hardcode anything, or else we can only hardcode existing
   15900   # directories.
   15901   hardcode_action=unsupported
   15902 fi
   15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   15904 $as_echo "$hardcode_action" >&6; }
   15905 
   15906 if test "$hardcode_action" = relink ||
   15907    test "$inherit_rpath" = yes; then
   15908   # Fast installation is not supported
   15909   enable_fast_install=no
   15910 elif test "$shlibpath_overrides_runpath" = yes ||
   15911      test "$enable_shared" = no; then
   15912   # Fast installation is not necessary
   15913   enable_fast_install=needless
   15914 fi
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921   if test "x$enable_dlopen" != xyes; then
   15922   enable_dlopen=unknown
   15923   enable_dlopen_self=unknown
   15924   enable_dlopen_self_static=unknown
   15925 else
   15926   lt_cv_dlopen=no
   15927   lt_cv_dlopen_libs=
   15928 
   15929   case $host_os in
   15930   beos*)
   15931     lt_cv_dlopen="load_add_on"
   15932     lt_cv_dlopen_libs=
   15933     lt_cv_dlopen_self=yes
   15934     ;;
   15935 
   15936   mingw* | pw32* | cegcc*)
   15937     lt_cv_dlopen="LoadLibrary"
   15938     lt_cv_dlopen_libs=
   15939     ;;
   15940 
   15941   cygwin*)
   15942     lt_cv_dlopen="dlopen"
   15943     lt_cv_dlopen_libs=
   15944     ;;
   15945 
   15946   darwin*)
   15947   # if libdl is installed we need to link against it
   15948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   15949 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   15950 if ${ac_cv_lib_dl_dlopen+:} false; then :
   15951   $as_echo_n "(cached) " >&6
   15952 else
   15953   ac_check_lib_save_LIBS=$LIBS
   15954 LIBS="-ldl  $LIBS"
   15955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 
   15958 /* Override any GCC internal prototype to avoid an error.
   15959    Use char because int might match the return type of a GCC
   15960    builtin and then its argument prototype would still apply.  */
   15961 #ifdef __cplusplus
   15962 extern "C"
   15963 #endif
   15964 char dlopen ();
   15965 int
   15966 main ()
   15967 {
   15968 return dlopen ();
   15969   ;
   15970   return 0;
   15971 }
   15972 _ACEOF
   15973 if ac_fn_c_try_link "$LINENO"; then :
   15974   ac_cv_lib_dl_dlopen=yes
   15975 else
   15976   ac_cv_lib_dl_dlopen=no
   15977 fi
   15978 rm -f core conftest.err conftest.$ac_objext \
   15979     conftest$ac_exeext conftest.$ac_ext
   15980 LIBS=$ac_check_lib_save_LIBS
   15981 fi
   15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   15983 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   15984 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   15985   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   15986 else
   15987 
   15988     lt_cv_dlopen="dyld"
   15989     lt_cv_dlopen_libs=
   15990     lt_cv_dlopen_self=yes
   15991 
   15992 fi
   15993 
   15994     ;;
   15995 
   15996   *)
   15997     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   15998 if test "x$ac_cv_func_shl_load" = xyes; then :
   15999   lt_cv_dlopen="shl_load"
   16000 else
   16001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   16002 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   16003 if ${ac_cv_lib_dld_shl_load+:} false; then :
   16004   $as_echo_n "(cached) " >&6
   16005 else
   16006   ac_check_lib_save_LIBS=$LIBS
   16007 LIBS="-ldld  $LIBS"
   16008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16009 /* end confdefs.h.  */
   16010 
   16011 /* Override any GCC internal prototype to avoid an error.
   16012    Use char because int might match the return type of a GCC
   16013    builtin and then its argument prototype would still apply.  */
   16014 #ifdef __cplusplus
   16015 extern "C"
   16016 #endif
   16017 char shl_load ();
   16018 int
   16019 main ()
   16020 {
   16021 return shl_load ();
   16022   ;
   16023   return 0;
   16024 }
   16025 _ACEOF
   16026 if ac_fn_c_try_link "$LINENO"; then :
   16027   ac_cv_lib_dld_shl_load=yes
   16028 else
   16029   ac_cv_lib_dld_shl_load=no
   16030 fi
   16031 rm -f core conftest.err conftest.$ac_objext \
   16032     conftest$ac_exeext conftest.$ac_ext
   16033 LIBS=$ac_check_lib_save_LIBS
   16034 fi
   16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   16036 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   16037 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   16038   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   16039 else
   16040   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   16041 if test "x$ac_cv_func_dlopen" = xyes; then :
   16042   lt_cv_dlopen="dlopen"
   16043 else
   16044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   16045 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   16046 if ${ac_cv_lib_dl_dlopen+:} false; then :
   16047   $as_echo_n "(cached) " >&6
   16048 else
   16049   ac_check_lib_save_LIBS=$LIBS
   16050 LIBS="-ldl  $LIBS"
   16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16052 /* end confdefs.h.  */
   16053 
   16054 /* Override any GCC internal prototype to avoid an error.
   16055    Use char because int might match the return type of a GCC
   16056    builtin and then its argument prototype would still apply.  */
   16057 #ifdef __cplusplus
   16058 extern "C"
   16059 #endif
   16060 char dlopen ();
   16061 int
   16062 main ()
   16063 {
   16064 return dlopen ();
   16065   ;
   16066   return 0;
   16067 }
   16068 _ACEOF
   16069 if ac_fn_c_try_link "$LINENO"; then :
   16070   ac_cv_lib_dl_dlopen=yes
   16071 else
   16072   ac_cv_lib_dl_dlopen=no
   16073 fi
   16074 rm -f core conftest.err conftest.$ac_objext \
   16075     conftest$ac_exeext conftest.$ac_ext
   16076 LIBS=$ac_check_lib_save_LIBS
   16077 fi
   16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   16079 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   16080 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   16081   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   16082 else
   16083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   16084 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   16085 if ${ac_cv_lib_svld_dlopen+:} false; then :
   16086   $as_echo_n "(cached) " >&6
   16087 else
   16088   ac_check_lib_save_LIBS=$LIBS
   16089 LIBS="-lsvld  $LIBS"
   16090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16091 /* end confdefs.h.  */
   16092 
   16093 /* Override any GCC internal prototype to avoid an error.
   16094    Use char because int might match the return type of a GCC
   16095    builtin and then its argument prototype would still apply.  */
   16096 #ifdef __cplusplus
   16097 extern "C"
   16098 #endif
   16099 char dlopen ();
   16100 int
   16101 main ()
   16102 {
   16103 return dlopen ();
   16104   ;
   16105   return 0;
   16106 }
   16107 _ACEOF
   16108 if ac_fn_c_try_link "$LINENO"; then :
   16109   ac_cv_lib_svld_dlopen=yes
   16110 else
   16111   ac_cv_lib_svld_dlopen=no
   16112 fi
   16113 rm -f core conftest.err conftest.$ac_objext \
   16114     conftest$ac_exeext conftest.$ac_ext
   16115 LIBS=$ac_check_lib_save_LIBS
   16116 fi
   16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   16118 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   16119 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   16120   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   16121 else
   16122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   16123 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   16124 if ${ac_cv_lib_dld_dld_link+:} false; then :
   16125   $as_echo_n "(cached) " >&6
   16126 else
   16127   ac_check_lib_save_LIBS=$LIBS
   16128 LIBS="-ldld  $LIBS"
   16129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16130 /* end confdefs.h.  */
   16131 
   16132 /* Override any GCC internal prototype to avoid an error.
   16133    Use char because int might match the return type of a GCC
   16134    builtin and then its argument prototype would still apply.  */
   16135 #ifdef __cplusplus
   16136 extern "C"
   16137 #endif
   16138 char dld_link ();
   16139 int
   16140 main ()
   16141 {
   16142 return dld_link ();
   16143   ;
   16144   return 0;
   16145 }
   16146 _ACEOF
   16147 if ac_fn_c_try_link "$LINENO"; then :
   16148   ac_cv_lib_dld_dld_link=yes
   16149 else
   16150   ac_cv_lib_dld_dld_link=no
   16151 fi
   16152 rm -f core conftest.err conftest.$ac_objext \
   16153     conftest$ac_exeext conftest.$ac_ext
   16154 LIBS=$ac_check_lib_save_LIBS
   16155 fi
   16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   16157 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   16158 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   16159   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   16160 fi
   16161 
   16162 
   16163 fi
   16164 
   16165 
   16166 fi
   16167 
   16168 
   16169 fi
   16170 
   16171 
   16172 fi
   16173 
   16174 
   16175 fi
   16176 
   16177     ;;
   16178   esac
   16179 
   16180   if test "x$lt_cv_dlopen" != xno; then
   16181     enable_dlopen=yes
   16182   else
   16183     enable_dlopen=no
   16184   fi
   16185 
   16186   case $lt_cv_dlopen in
   16187   dlopen)
   16188     save_CPPFLAGS="$CPPFLAGS"
   16189     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   16190 
   16191     save_LDFLAGS="$LDFLAGS"
   16192     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   16193 
   16194     save_LIBS="$LIBS"
   16195     LIBS="$lt_cv_dlopen_libs $LIBS"
   16196 
   16197     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   16198 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   16199 if ${lt_cv_dlopen_self+:} false; then :
   16200   $as_echo_n "(cached) " >&6
   16201 else
   16202   	  if test "$cross_compiling" = yes; then :
   16203   lt_cv_dlopen_self=cross
   16204 else
   16205   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16206   lt_status=$lt_dlunknown
   16207   cat > conftest.$ac_ext <<_LT_EOF
   16208 #line $LINENO "configure"
   16209 #include "confdefs.h"
   16210 
   16211 #if HAVE_DLFCN_H
   16212 #include <dlfcn.h>
   16213 #endif
   16214 
   16215 #include <stdio.h>
   16216 
   16217 #ifdef RTLD_GLOBAL
   16218 #  define LT_DLGLOBAL		RTLD_GLOBAL
   16219 #else
   16220 #  ifdef DL_GLOBAL
   16221 #    define LT_DLGLOBAL		DL_GLOBAL
   16222 #  else
   16223 #    define LT_DLGLOBAL		0
   16224 #  endif
   16225 #endif
   16226 
   16227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16228    find out it does not work in some platform. */
   16229 #ifndef LT_DLLAZY_OR_NOW
   16230 #  ifdef RTLD_LAZY
   16231 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16232 #  else
   16233 #    ifdef DL_LAZY
   16234 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16235 #    else
   16236 #      ifdef RTLD_NOW
   16237 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16238 #      else
   16239 #        ifdef DL_NOW
   16240 #          define LT_DLLAZY_OR_NOW	DL_NOW
   16241 #        else
   16242 #          define LT_DLLAZY_OR_NOW	0
   16243 #        endif
   16244 #      endif
   16245 #    endif
   16246 #  endif
   16247 #endif
   16248 
   16249 /* When -fvisbility=hidden is used, assume the code has been annotated
   16250    correspondingly for the symbols needed.  */
   16251 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16252 int fnord () __attribute__((visibility("default")));
   16253 #endif
   16254 
   16255 int fnord () { return 42; }
   16256 int main ()
   16257 {
   16258   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16259   int status = $lt_dlunknown;
   16260 
   16261   if (self)
   16262     {
   16263       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16264       else
   16265         {
   16266 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16267           else puts (dlerror ());
   16268 	}
   16269       /* dlclose (self); */
   16270     }
   16271   else
   16272     puts (dlerror ());
   16273 
   16274   return status;
   16275 }
   16276 _LT_EOF
   16277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16278   (eval $ac_link) 2>&5
   16279   ac_status=$?
   16280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16281   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   16282     (./conftest; exit; ) >&5 2>/dev/null
   16283     lt_status=$?
   16284     case x$lt_status in
   16285       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   16286       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   16287       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   16288     esac
   16289   else :
   16290     # compilation failed
   16291     lt_cv_dlopen_self=no
   16292   fi
   16293 fi
   16294 rm -fr conftest*
   16295 
   16296 
   16297 fi
   16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   16299 $as_echo "$lt_cv_dlopen_self" >&6; }
   16300 
   16301     if test "x$lt_cv_dlopen_self" = xyes; then
   16302       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   16303       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   16304 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   16305 if ${lt_cv_dlopen_self_static+:} false; then :
   16306   $as_echo_n "(cached) " >&6
   16307 else
   16308   	  if test "$cross_compiling" = yes; then :
   16309   lt_cv_dlopen_self_static=cross
   16310 else
   16311   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   16312   lt_status=$lt_dlunknown
   16313   cat > conftest.$ac_ext <<_LT_EOF
   16314 #line $LINENO "configure"
   16315 #include "confdefs.h"
   16316 
   16317 #if HAVE_DLFCN_H
   16318 #include <dlfcn.h>
   16319 #endif
   16320 
   16321 #include <stdio.h>
   16322 
   16323 #ifdef RTLD_GLOBAL
   16324 #  define LT_DLGLOBAL		RTLD_GLOBAL
   16325 #else
   16326 #  ifdef DL_GLOBAL
   16327 #    define LT_DLGLOBAL		DL_GLOBAL
   16328 #  else
   16329 #    define LT_DLGLOBAL		0
   16330 #  endif
   16331 #endif
   16332 
   16333 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   16334    find out it does not work in some platform. */
   16335 #ifndef LT_DLLAZY_OR_NOW
   16336 #  ifdef RTLD_LAZY
   16337 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   16338 #  else
   16339 #    ifdef DL_LAZY
   16340 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   16341 #    else
   16342 #      ifdef RTLD_NOW
   16343 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   16344 #      else
   16345 #        ifdef DL_NOW
   16346 #          define LT_DLLAZY_OR_NOW	DL_NOW
   16347 #        else
   16348 #          define LT_DLLAZY_OR_NOW	0
   16349 #        endif
   16350 #      endif
   16351 #    endif
   16352 #  endif
   16353 #endif
   16354 
   16355 /* When -fvisbility=hidden is used, assume the code has been annotated
   16356    correspondingly for the symbols needed.  */
   16357 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   16358 int fnord () __attribute__((visibility("default")));
   16359 #endif
   16360 
   16361 int fnord () { return 42; }
   16362 int main ()
   16363 {
   16364   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   16365   int status = $lt_dlunknown;
   16366 
   16367   if (self)
   16368     {
   16369       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   16370       else
   16371         {
   16372 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   16373           else puts (dlerror ());
   16374 	}
   16375       /* dlclose (self); */
   16376     }
   16377   else
   16378     puts (dlerror ());
   16379 
   16380   return status;
   16381 }
   16382 _LT_EOF
   16383   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   16384   (eval $ac_link) 2>&5
   16385   ac_status=$?
   16386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16387   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   16388     (./conftest; exit; ) >&5 2>/dev/null
   16389     lt_status=$?
   16390     case x$lt_status in
   16391       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   16392       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   16393       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   16394     esac
   16395   else :
   16396     # compilation failed
   16397     lt_cv_dlopen_self_static=no
   16398   fi
   16399 fi
   16400 rm -fr conftest*
   16401 
   16402 
   16403 fi
   16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   16405 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   16406     fi
   16407 
   16408     CPPFLAGS="$save_CPPFLAGS"
   16409     LDFLAGS="$save_LDFLAGS"
   16410     LIBS="$save_LIBS"
   16411     ;;
   16412   esac
   16413 
   16414   case $lt_cv_dlopen_self in
   16415   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   16416   *) enable_dlopen_self=unknown ;;
   16417   esac
   16418 
   16419   case $lt_cv_dlopen_self_static in
   16420   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   16421   *) enable_dlopen_self_static=unknown ;;
   16422   esac
   16423 fi
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 striplib=
   16442 old_striplib=
   16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   16444 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   16445 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   16446   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   16447   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   16448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16449 $as_echo "yes" >&6; }
   16450 else
   16451 # FIXME - insert some real tests, host_os isn't really good enough
   16452   case $host_os in
   16453   darwin*)
   16454     if test -n "$STRIP" ; then
   16455       striplib="$STRIP -x"
   16456       old_striplib="$STRIP -S"
   16457       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16458 $as_echo "yes" >&6; }
   16459     else
   16460       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16461 $as_echo "no" >&6; }
   16462     fi
   16463     ;;
   16464   *)
   16465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16466 $as_echo "no" >&6; }
   16467     ;;
   16468   esac
   16469 fi
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482   # Report which library types will actually be built
   16483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   16484 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   16485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   16486 $as_echo "$can_build_shared" >&6; }
   16487 
   16488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   16489 $as_echo_n "checking whether to build shared libraries... " >&6; }
   16490   test "$can_build_shared" = "no" && enable_shared=no
   16491 
   16492   # On AIX, shared libraries and static libraries use the same namespace, and
   16493   # are all built from PIC.
   16494   case $host_os in
   16495   aix3*)
   16496     test "$enable_shared" = yes && enable_static=no
   16497     if test -n "$RANLIB"; then
   16498       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   16499       postinstall_cmds='$RANLIB $lib'
   16500     fi
   16501     ;;
   16502 
   16503   aix[4-9]*)
   16504     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   16505       test "$enable_shared" = yes && enable_static=no
   16506     fi
   16507     ;;
   16508   esac
   16509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   16510 $as_echo "$enable_shared" >&6; }
   16511 
   16512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   16513 $as_echo_n "checking whether to build static libraries... " >&6; }
   16514   # Make sure either enable_shared or enable_static is yes.
   16515   test "$enable_shared" = yes || enable_static=yes
   16516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   16517 $as_echo "$enable_static" >&6; }
   16518 
   16519 
   16520 
   16521 
   16522 fi
   16523 ac_ext=c
   16524 ac_cpp='$CPP $CPPFLAGS'
   16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16528 
   16529 CC="$lt_save_CC"
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545         ac_config_commands="$ac_config_commands libtool"
   16546 
   16547 
   16548 
   16549 
   16550 # Only expand once:
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 # Define a configure option for an alternate module directory
   16557 
   16558 # Check whether --with-xorg-module-dir was given.
   16559 if test "${with_xorg_module_dir+set}" = set; then :
   16560   withval=$with_xorg_module_dir;  moduledir="$withval"
   16561 else
   16562    moduledir="$libdir/xorg/modules"
   16563 fi
   16564 
   16565 
   16566 
   16567 
   16568 # Store the list of server defined optional extensions in REQUIRED_MODULES
   16569 
   16570 
   16571 	SAVE_CFLAGS="$CFLAGS"
   16572 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   16573 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16574 /* end confdefs.h.  */
   16575 
   16576 #include "xorg-server.h"
   16577 #if !defined RANDR
   16578 #error RANDR not defined
   16579 #endif
   16580 
   16581 int
   16582 main ()
   16583 {
   16584 
   16585   ;
   16586   return 0;
   16587 }
   16588 _ACEOF
   16589 if ac_fn_c_try_compile "$LINENO"; then :
   16590   _EXT_CHECK=yes
   16591 else
   16592   _EXT_CHECK=no
   16593 fi
   16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16595 	CFLAGS="$SAVE_CFLAGS"
   16596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   16597 $as_echo_n "checking if RANDR is defined... " >&6; }
   16598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   16599 $as_echo "$_EXT_CHECK" >&6; }
   16600 	if test "$_EXT_CHECK" != no; then
   16601 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   16602 	fi
   16603 
   16604 
   16605 
   16606 	SAVE_CFLAGS="$CFLAGS"
   16607 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   16608 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 
   16611 #include "xorg-server.h"
   16612 #if !defined RENDER
   16613 #error RENDER not defined
   16614 #endif
   16615 
   16616 int
   16617 main ()
   16618 {
   16619 
   16620   ;
   16621   return 0;
   16622 }
   16623 _ACEOF
   16624 if ac_fn_c_try_compile "$LINENO"; then :
   16625   _EXT_CHECK=yes
   16626 else
   16627   _EXT_CHECK=no
   16628 fi
   16629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16630 	CFLAGS="$SAVE_CFLAGS"
   16631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   16632 $as_echo_n "checking if RENDER is defined... " >&6; }
   16633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   16634 $as_echo "$_EXT_CHECK" >&6; }
   16635 	if test "$_EXT_CHECK" != no; then
   16636 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   16637 	fi
   16638 
   16639 
   16640 
   16641 	SAVE_CFLAGS="$CFLAGS"
   16642 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   16643 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16644 /* end confdefs.h.  */
   16645 
   16646 #include "xorg-server.h"
   16647 #if !defined XV
   16648 #error XV not defined
   16649 #endif
   16650 
   16651 int
   16652 main ()
   16653 {
   16654 
   16655   ;
   16656   return 0;
   16657 }
   16658 _ACEOF
   16659 if ac_fn_c_try_compile "$LINENO"; then :
   16660   _EXT_CHECK=yes
   16661 else
   16662   _EXT_CHECK=no
   16663 fi
   16664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16665 	CFLAGS="$SAVE_CFLAGS"
   16666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   16667 $as_echo_n "checking if XV is defined... " >&6; }
   16668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   16669 $as_echo "$_EXT_CHECK" >&6; }
   16670 	if test "$_EXT_CHECK" != no; then
   16671 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   16672 	fi
   16673 
   16674 
   16675 
   16676 	SAVE_CFLAGS="$CFLAGS"
   16677 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   16678 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16679 /* end confdefs.h.  */
   16680 
   16681 #include "xorg-server.h"
   16682 #if !defined DPMSExtension
   16683 #error DPMSExtension not defined
   16684 #endif
   16685 
   16686 int
   16687 main ()
   16688 {
   16689 
   16690   ;
   16691   return 0;
   16692 }
   16693 _ACEOF
   16694 if ac_fn_c_try_compile "$LINENO"; then :
   16695   _EXT_CHECK=yes
   16696 else
   16697   _EXT_CHECK=no
   16698 fi
   16699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16700 	CFLAGS="$SAVE_CFLAGS"
   16701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   16702 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   16703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   16704 $as_echo "$_EXT_CHECK" >&6; }
   16705 	if test "$_EXT_CHECK" != no; then
   16706 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   16707 	fi
   16708 
   16709 
   16710 # Obtain compiler/linker options for the driver dependencies
   16711 
   16712 pkg_failed=no
   16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   16714 $as_echo_n "checking for XORG... " >&6; }
   16715 
   16716 if test -n "$XORG_CFLAGS"; then
   16717     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   16718  elif test -n "$PKG_CONFIG"; then
   16719     if test -n "$PKG_CONFIG" && \
   16720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   16721   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   16722   ac_status=$?
   16723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16724   test $ac_status = 0; }; then
   16725   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   16726 else
   16727   pkg_failed=yes
   16728 fi
   16729  else
   16730     pkg_failed=untried
   16731 fi
   16732 if test -n "$XORG_LIBS"; then
   16733     pkg_cv_XORG_LIBS="$XORG_LIBS"
   16734  elif test -n "$PKG_CONFIG"; then
   16735     if test -n "$PKG_CONFIG" && \
   16736     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   16737   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   16738   ac_status=$?
   16739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16740   test $ac_status = 0; }; then
   16741   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   16742 else
   16743   pkg_failed=yes
   16744 fi
   16745  else
   16746     pkg_failed=untried
   16747 fi
   16748 
   16749 
   16750 
   16751 if test $pkg_failed = yes; then
   16752    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16753 $as_echo "no" >&6; }
   16754 
   16755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16756         _pkg_short_errors_supported=yes
   16757 else
   16758         _pkg_short_errors_supported=no
   16759 fi
   16760         if test $_pkg_short_errors_supported = yes; then
   16761 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   16762         else
   16763 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   16764         fi
   16765 	# Put the nasty error message in config.log where it belongs
   16766 	echo "$XORG_PKG_ERRORS" >&5
   16767 
   16768 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   16769 
   16770 $XORG_PKG_ERRORS
   16771 
   16772 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   16773 installed software in a non-standard prefix.
   16774 
   16775 Alternatively, you may set the environment variables XORG_CFLAGS
   16776 and XORG_LIBS to avoid the need to call pkg-config.
   16777 See the pkg-config man page for more details." "$LINENO" 5
   16778 
   16779 elif test $pkg_failed = untried; then
   16780      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16781 $as_echo "no" >&6; }
   16782 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16784 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   16785 is in your PATH or set the PKG_CONFIG environment variable to the full
   16786 path to pkg-config.
   16787 
   16788 Alternatively, you may set the environment variables XORG_CFLAGS
   16789 and XORG_LIBS to avoid the need to call pkg-config.
   16790 See the pkg-config man page for more details.
   16791 
   16792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   16793 See \`config.log' for more details" "$LINENO" 5; }
   16794 
   16795 else
   16796 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   16797 	XORG_LIBS=$pkg_cv_XORG_LIBS
   16798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16799 $as_echo "yes" >&6; }
   16800 
   16801 fi
   16802 
   16803 pkg_failed=no
   16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   16805 $as_echo_n "checking for XEXT... " >&6; }
   16806 
   16807 if test -n "$XEXT_CFLAGS"; then
   16808     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   16809  elif test -n "$PKG_CONFIG"; then
   16810     if test -n "$PKG_CONFIG" && \
   16811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   16812   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   16813   ac_status=$?
   16814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16815   test $ac_status = 0; }; then
   16816   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   16817 else
   16818   pkg_failed=yes
   16819 fi
   16820  else
   16821     pkg_failed=untried
   16822 fi
   16823 if test -n "$XEXT_LIBS"; then
   16824     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   16825  elif test -n "$PKG_CONFIG"; then
   16826     if test -n "$PKG_CONFIG" && \
   16827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   16828   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   16829   ac_status=$?
   16830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16831   test $ac_status = 0; }; then
   16832   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   16833 else
   16834   pkg_failed=yes
   16835 fi
   16836  else
   16837     pkg_failed=untried
   16838 fi
   16839 
   16840 
   16841 
   16842 if test $pkg_failed = yes; then
   16843    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16844 $as_echo "no" >&6; }
   16845 
   16846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16847         _pkg_short_errors_supported=yes
   16848 else
   16849         _pkg_short_errors_supported=no
   16850 fi
   16851         if test $_pkg_short_errors_supported = yes; then
   16852 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   16853         else
   16854 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   16855         fi
   16856 	# Put the nasty error message in config.log where it belongs
   16857 	echo "$XEXT_PKG_ERRORS" >&5
   16858 
   16859 	HAVE_XEXTPROTO_71="no"
   16860 elif test $pkg_failed = untried; then
   16861      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16862 $as_echo "no" >&6; }
   16863 	HAVE_XEXTPROTO_71="no"
   16864 else
   16865 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   16866 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   16867         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16868 $as_echo "yes" >&6; }
   16869 	HAVE_XEXTPROTO_71="yes";
   16870 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   16871 
   16872 fi
   16873  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   16874   HAVE_XEXTPROTO_71_TRUE=
   16875   HAVE_XEXTPROTO_71_FALSE='#'
   16876 else
   16877   HAVE_XEXTPROTO_71_TRUE='#'
   16878   HAVE_XEXTPROTO_71_FALSE=
   16879 fi
   16880 
   16881 
   16882 
   16883 
   16884 pkg_failed=no
   16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   16886 $as_echo_n "checking for PCIACCESS... " >&6; }
   16887 
   16888 if test -n "$PCIACCESS_CFLAGS"; then
   16889     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   16890  elif test -n "$PKG_CONFIG"; then
   16891     if test -n "$PKG_CONFIG" && \
   16892     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   16893   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   16894   ac_status=$?
   16895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16896   test $ac_status = 0; }; then
   16897   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   16898 else
   16899   pkg_failed=yes
   16900 fi
   16901  else
   16902     pkg_failed=untried
   16903 fi
   16904 if test -n "$PCIACCESS_LIBS"; then
   16905     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   16906  elif test -n "$PKG_CONFIG"; then
   16907     if test -n "$PKG_CONFIG" && \
   16908     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   16909   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   16910   ac_status=$?
   16911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16912   test $ac_status = 0; }; then
   16913   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   16914 else
   16915   pkg_failed=yes
   16916 fi
   16917  else
   16918     pkg_failed=untried
   16919 fi
   16920 
   16921 
   16922 
   16923 if test $pkg_failed = yes; then
   16924    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16925 $as_echo "no" >&6; }
   16926 
   16927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   16928         _pkg_short_errors_supported=yes
   16929 else
   16930         _pkg_short_errors_supported=no
   16931 fi
   16932         if test $_pkg_short_errors_supported = yes; then
   16933 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   16934         else
   16935 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   16936         fi
   16937 	# Put the nasty error message in config.log where it belongs
   16938 	echo "$PCIACCESS_PKG_ERRORS" >&5
   16939 
   16940 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   16941 
   16942 $PCIACCESS_PKG_ERRORS
   16943 
   16944 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   16945 installed software in a non-standard prefix.
   16946 
   16947 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   16948 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   16949 See the pkg-config man page for more details." "$LINENO" 5
   16950 
   16951 elif test $pkg_failed = untried; then
   16952      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16953 $as_echo "no" >&6; }
   16954 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16956 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   16957 is in your PATH or set the PKG_CONFIG environment variable to the full
   16958 path to pkg-config.
   16959 
   16960 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   16961 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   16962 See the pkg-config man page for more details.
   16963 
   16964 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   16965 See \`config.log' for more details" "$LINENO" 5; }
   16966 
   16967 else
   16968 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   16969 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   16970         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16971 $as_echo "yes" >&6; }
   16972 
   16973 fi
   16974 
   16975 DRIVER_NAME=apm
   16976 
   16977 
   16978 # since we cannot use the result from XORG_DRIVER_CHECK_EXT directly.
   16979 ac_fn_c_check_decl "$LINENO" "XV" "ac_cv_have_decl_XV" "#include \"xorg/xorg-server.h\"
   16980 "
   16981 if test "x$ac_cv_have_decl_XV" = xyes; then :
   16982   have_xv=yes
   16983 else
   16984   have_xv=false
   16985 fi
   16986 
   16987 if test "x$have_xv" = xyes; then
   16988 	SAVED_CFLAGS="$CFLAGS"
   16989 	CFLAGS="$CFLAGS $XORG_CFLAGS"
   16990 
   16991 	ac_fn_c_check_member "$LINENO" "ScrnInfoRec" "ModeSet" "ac_cv_member_ScrnInfoRec_ModeSet" "#include \"xf86str.h\"
   16992 "
   16993 if test "x$ac_cv_member_ScrnInfoRec_ModeSet" = xyes; then :
   16994   SCRNINFO_HAS_MODESET=yes
   16995 else
   16996   SCRNINFO_HAS_MODESET=no
   16997 fi
   16998 
   16999 	if test "x$SCRNINFO_HAS_MODESET" = xyes; then
   17000 
   17001 $as_echo "#define XV_NEW_REPUT 1" >>confdefs.h
   17002 
   17003 	fi
   17004 
   17005 	CFLAGS="$SAVED_CFLAGS"
   17006 fi
   17007  if test x$XV_NEW_REPUT = xyes; then
   17008   XV_NEW_REPUT_TRUE=
   17009   XV_NEW_REPUT_FALSE='#'
   17010 else
   17011   XV_NEW_REPUT_TRUE='#'
   17012   XV_NEW_REPUT_FALSE=
   17013 fi
   17014 
   17015 
   17016 # Check whether --enable-xaa was given.
   17017 if test "${enable_xaa+set}" = set; then :
   17018   enableval=$enable_xaa; XAA="$enableval"
   17019 else
   17020   XAA=auto
   17021 fi
   17022 
   17023 if test "x$XAA" != xno; then
   17024         save_CFLAGS=$CFLAGS
   17025         save_CPPFLAGS=$CPPFLAGS
   17026         CFLAGS=$XORG_CFLAGS
   17027         CPPFLAGS="$XORG_CFLAGS"
   17028         for ac_header in xaa.h
   17029 do :
   17030   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   17031 if test "x$ac_cv_header_xaa_h" = xyes; then :
   17032   cat >>confdefs.h <<_ACEOF
   17033 #define HAVE_XAA_H 1
   17034 _ACEOF
   17035  XAA=yes
   17036 else
   17037   XAA=no
   17038 fi
   17039 
   17040 done
   17041 
   17042         CFLAGS=$save_CFLAGS
   17043         CPPFLAGS=$save_CPPFLAGS
   17044 fi
   17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   17046 $as_echo_n "checking whether to include XAA support... " >&6; }
   17047  if test "x$XAA" = xyes; then
   17048   XAA_TRUE=
   17049   XAA_FALSE='#'
   17050 else
   17051   XAA_TRUE='#'
   17052   XAA_FALSE=
   17053 fi
   17054 
   17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   17056 $as_echo "$XAA" >&6; }
   17057 
   17058 
   17059 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   17060 
   17061 cat >confcache <<\_ACEOF
   17062 # This file is a shell script that caches the results of configure
   17063 # tests run on this system so they can be shared between configure
   17064 # scripts and configure runs, see configure's option --config-cache.
   17065 # It is not useful on other systems.  If it contains results you don't
   17066 # want to keep, you may remove or edit it.
   17067 #
   17068 # config.status only pays attention to the cache file if you give it
   17069 # the --recheck option to rerun configure.
   17070 #
   17071 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17072 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17073 # following values.
   17074 
   17075 _ACEOF
   17076 
   17077 # The following way of writing the cache mishandles newlines in values,
   17078 # but we know of no workaround that is simple, portable, and efficient.
   17079 # So, we kill variables containing newlines.
   17080 # Ultrix sh set writes to stderr and can't be redirected directly,
   17081 # and sets the high bit in the cache file unless we assign to the vars.
   17082 (
   17083   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17084     eval ac_val=\$$ac_var
   17085     case $ac_val in #(
   17086     *${as_nl}*)
   17087       case $ac_var in #(
   17088       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17089 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17090       esac
   17091       case $ac_var in #(
   17092       _ | IFS | as_nl) ;; #(
   17093       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17094       *) { eval $ac_var=; unset $ac_var;} ;;
   17095       esac ;;
   17096     esac
   17097   done
   17098 
   17099   (set) 2>&1 |
   17100     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17101     *${as_nl}ac_space=\ *)
   17102       # `set' does not quote correctly, so add quotes: double-quote
   17103       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17104       sed -n \
   17105 	"s/'/'\\\\''/g;
   17106 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17107       ;; #(
   17108     *)
   17109       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17110       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17111       ;;
   17112     esac |
   17113     sort
   17114 ) |
   17115   sed '
   17116      /^ac_cv_env_/b end
   17117      t clear
   17118      :clear
   17119      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17120      t end
   17121      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17122      :end' >>confcache
   17123 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17124   if test -w "$cache_file"; then
   17125     if test "x$cache_file" != "x/dev/null"; then
   17126       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17127 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17128       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17129 	cat confcache >"$cache_file"
   17130       else
   17131         case $cache_file in #(
   17132         */* | ?:*)
   17133 	  mv -f confcache "$cache_file"$$ &&
   17134 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17135         *)
   17136 	  mv -f confcache "$cache_file" ;;
   17137 	esac
   17138       fi
   17139     fi
   17140   else
   17141     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17142 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17143   fi
   17144 fi
   17145 rm -f confcache
   17146 
   17147 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17148 # Let make expand exec_prefix.
   17149 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17150 
   17151 DEFS=-DHAVE_CONFIG_H
   17152 
   17153 ac_libobjs=
   17154 ac_ltlibobjs=
   17155 U=
   17156 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17157   # 1. Remove the extension, and $U if already installed.
   17158   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17159   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17160   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17161   #    will be set to the directory where LIBOBJS objects are built.
   17162   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17163   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17164 done
   17165 LIBOBJS=$ac_libobjs
   17166 
   17167 LTLIBOBJS=$ac_ltlibobjs
   17168 
   17169 
   17170  if test -n "$EXEEXT"; then
   17171   am__EXEEXT_TRUE=
   17172   am__EXEEXT_FALSE='#'
   17173 else
   17174   am__EXEEXT_TRUE='#'
   17175   am__EXEEXT_FALSE=
   17176 fi
   17177 
   17178 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17179   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17181 fi
   17182 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17183   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17185 fi
   17186 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17187   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17189 fi
   17190 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   17191   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   17192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17193 fi
   17194 if test -z "${XV_NEW_REPUT_TRUE}" && test -z "${XV_NEW_REPUT_FALSE}"; then
   17195   as_fn_error $? "conditional \"XV_NEW_REPUT\" was never defined.
   17196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17197 fi
   17198 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   17199   as_fn_error $? "conditional \"XAA\" was never defined.
   17200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17201 fi
   17202 
   17203 : "${CONFIG_STATUS=./config.status}"
   17204 ac_write_fail=0
   17205 ac_clean_files_save=$ac_clean_files
   17206 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17208 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17209 as_write_fail=0
   17210 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17211 #! $SHELL
   17212 # Generated by $as_me.
   17213 # Run this file to recreate the current configuration.
   17214 # Compiler output produced by configure, useful for debugging
   17215 # configure, is in config.log if it exists.
   17216 
   17217 debug=false
   17218 ac_cs_recheck=false
   17219 ac_cs_silent=false
   17220 
   17221 SHELL=\${CONFIG_SHELL-$SHELL}
   17222 export SHELL
   17223 _ASEOF
   17224 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17225 ## -------------------- ##
   17226 ## M4sh Initialization. ##
   17227 ## -------------------- ##
   17228 
   17229 # Be more Bourne compatible
   17230 DUALCASE=1; export DUALCASE # for MKS sh
   17231 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17232   emulate sh
   17233   NULLCMD=:
   17234   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17235   # is contrary to our usage.  Disable this feature.
   17236   alias -g '${1+"$@"}'='"$@"'
   17237   setopt NO_GLOB_SUBST
   17238 else
   17239   case `(set -o) 2>/dev/null` in #(
   17240   *posix*) :
   17241     set -o posix ;; #(
   17242   *) :
   17243      ;;
   17244 esac
   17245 fi
   17246 
   17247 
   17248 as_nl='
   17249 '
   17250 export as_nl
   17251 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17252 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17253 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17254 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17255 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17256 # but without wasting forks for bash or zsh.
   17257 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17258     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17259   as_echo='print -r --'
   17260   as_echo_n='print -rn --'
   17261 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17262   as_echo='printf %s\n'
   17263   as_echo_n='printf %s'
   17264 else
   17265   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17266     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17267     as_echo_n='/usr/ucb/echo -n'
   17268   else
   17269     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17270     as_echo_n_body='eval
   17271       arg=$1;
   17272       case $arg in #(
   17273       *"$as_nl"*)
   17274 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17275 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17276       esac;
   17277       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17278     '
   17279     export as_echo_n_body
   17280     as_echo_n='sh -c $as_echo_n_body as_echo'
   17281   fi
   17282   export as_echo_body
   17283   as_echo='sh -c $as_echo_body as_echo'
   17284 fi
   17285 
   17286 # The user is always right.
   17287 if test "${PATH_SEPARATOR+set}" != set; then
   17288   PATH_SEPARATOR=:
   17289   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17290     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17291       PATH_SEPARATOR=';'
   17292   }
   17293 fi
   17294 
   17295 
   17296 # IFS
   17297 # We need space, tab and new line, in precisely that order.  Quoting is
   17298 # there to prevent editors from complaining about space-tab.
   17299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17300 # splitting by setting IFS to empty value.)
   17301 IFS=" ""	$as_nl"
   17302 
   17303 # Find who we are.  Look in the path if we contain no directory separator.
   17304 as_myself=
   17305 case $0 in #((
   17306   *[\\/]* ) as_myself=$0 ;;
   17307   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17308 for as_dir in $PATH
   17309 do
   17310   IFS=$as_save_IFS
   17311   test -z "$as_dir" && as_dir=.
   17312     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17313   done
   17314 IFS=$as_save_IFS
   17315 
   17316      ;;
   17317 esac
   17318 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17319 # in which case we are not to be found in the path.
   17320 if test "x$as_myself" = x; then
   17321   as_myself=$0
   17322 fi
   17323 if test ! -f "$as_myself"; then
   17324   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17325   exit 1
   17326 fi
   17327 
   17328 # Unset variables that we do not need and which cause bugs (e.g. in
   17329 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17330 # suppresses any "Segmentation fault" message there.  '((' could
   17331 # trigger a bug in pdksh 5.2.14.
   17332 for as_var in BASH_ENV ENV MAIL MAILPATH
   17333 do eval test x\${$as_var+set} = xset \
   17334   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17335 done
   17336 PS1='$ '
   17337 PS2='> '
   17338 PS4='+ '
   17339 
   17340 # NLS nuisances.
   17341 LC_ALL=C
   17342 export LC_ALL
   17343 LANGUAGE=C
   17344 export LANGUAGE
   17345 
   17346 # CDPATH.
   17347 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17348 
   17349 
   17350 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17351 # ----------------------------------------
   17352 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17353 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17354 # script with STATUS, using 1 if that was 0.
   17355 as_fn_error ()
   17356 {
   17357   as_status=$1; test $as_status -eq 0 && as_status=1
   17358   if test "$4"; then
   17359     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17360     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17361   fi
   17362   $as_echo "$as_me: error: $2" >&2
   17363   as_fn_exit $as_status
   17364 } # as_fn_error
   17365 
   17366 
   17367 # as_fn_set_status STATUS
   17368 # -----------------------
   17369 # Set $? to STATUS, without forking.
   17370 as_fn_set_status ()
   17371 {
   17372   return $1
   17373 } # as_fn_set_status
   17374 
   17375 # as_fn_exit STATUS
   17376 # -----------------
   17377 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17378 as_fn_exit ()
   17379 {
   17380   set +e
   17381   as_fn_set_status $1
   17382   exit $1
   17383 } # as_fn_exit
   17384 
   17385 # as_fn_unset VAR
   17386 # ---------------
   17387 # Portably unset VAR.
   17388 as_fn_unset ()
   17389 {
   17390   { eval $1=; unset $1;}
   17391 }
   17392 as_unset=as_fn_unset
   17393 # as_fn_append VAR VALUE
   17394 # ----------------------
   17395 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17396 # advantage of any shell optimizations that allow amortized linear growth over
   17397 # repeated appends, instead of the typical quadratic growth present in naive
   17398 # implementations.
   17399 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17400   eval 'as_fn_append ()
   17401   {
   17402     eval $1+=\$2
   17403   }'
   17404 else
   17405   as_fn_append ()
   17406   {
   17407     eval $1=\$$1\$2
   17408   }
   17409 fi # as_fn_append
   17410 
   17411 # as_fn_arith ARG...
   17412 # ------------------
   17413 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17415 # must be portable across $(()) and expr.
   17416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17417   eval 'as_fn_arith ()
   17418   {
   17419     as_val=$(( $* ))
   17420   }'
   17421 else
   17422   as_fn_arith ()
   17423   {
   17424     as_val=`expr "$@" || test $? -eq 1`
   17425   }
   17426 fi # as_fn_arith
   17427 
   17428 
   17429 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17430    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17431   as_expr=expr
   17432 else
   17433   as_expr=false
   17434 fi
   17435 
   17436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17437   as_basename=basename
   17438 else
   17439   as_basename=false
   17440 fi
   17441 
   17442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17443   as_dirname=dirname
   17444 else
   17445   as_dirname=false
   17446 fi
   17447 
   17448 as_me=`$as_basename -- "$0" ||
   17449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17450 	 X"$0" : 'X\(//\)$' \| \
   17451 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17452 $as_echo X/"$0" |
   17453     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17454 	    s//\1/
   17455 	    q
   17456 	  }
   17457 	  /^X\/\(\/\/\)$/{
   17458 	    s//\1/
   17459 	    q
   17460 	  }
   17461 	  /^X\/\(\/\).*/{
   17462 	    s//\1/
   17463 	    q
   17464 	  }
   17465 	  s/.*/./; q'`
   17466 
   17467 # Avoid depending upon Character Ranges.
   17468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17471 as_cr_digits='0123456789'
   17472 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17473 
   17474 ECHO_C= ECHO_N= ECHO_T=
   17475 case `echo -n x` in #(((((
   17476 -n*)
   17477   case `echo 'xy\c'` in
   17478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17479   xy)  ECHO_C='\c';;
   17480   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17481        ECHO_T='	';;
   17482   esac;;
   17483 *)
   17484   ECHO_N='-n';;
   17485 esac
   17486 
   17487 rm -f conf$$ conf$$.exe conf$$.file
   17488 if test -d conf$$.dir; then
   17489   rm -f conf$$.dir/conf$$.file
   17490 else
   17491   rm -f conf$$.dir
   17492   mkdir conf$$.dir 2>/dev/null
   17493 fi
   17494 if (echo >conf$$.file) 2>/dev/null; then
   17495   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17496     as_ln_s='ln -s'
   17497     # ... but there are two gotchas:
   17498     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17499     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17500     # In both cases, we have to default to `cp -p'.
   17501     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17502       as_ln_s='cp -p'
   17503   elif ln conf$$.file conf$$ 2>/dev/null; then
   17504     as_ln_s=ln
   17505   else
   17506     as_ln_s='cp -p'
   17507   fi
   17508 else
   17509   as_ln_s='cp -p'
   17510 fi
   17511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17512 rmdir conf$$.dir 2>/dev/null
   17513 
   17514 
   17515 # as_fn_mkdir_p
   17516 # -------------
   17517 # Create "$as_dir" as a directory, including parents if necessary.
   17518 as_fn_mkdir_p ()
   17519 {
   17520 
   17521   case $as_dir in #(
   17522   -*) as_dir=./$as_dir;;
   17523   esac
   17524   test -d "$as_dir" || eval $as_mkdir_p || {
   17525     as_dirs=
   17526     while :; do
   17527       case $as_dir in #(
   17528       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17529       *) as_qdir=$as_dir;;
   17530       esac
   17531       as_dirs="'$as_qdir' $as_dirs"
   17532       as_dir=`$as_dirname -- "$as_dir" ||
   17533 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17534 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17535 	 X"$as_dir" : 'X\(//\)$' \| \
   17536 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17537 $as_echo X"$as_dir" |
   17538     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17539 	    s//\1/
   17540 	    q
   17541 	  }
   17542 	  /^X\(\/\/\)[^/].*/{
   17543 	    s//\1/
   17544 	    q
   17545 	  }
   17546 	  /^X\(\/\/\)$/{
   17547 	    s//\1/
   17548 	    q
   17549 	  }
   17550 	  /^X\(\/\).*/{
   17551 	    s//\1/
   17552 	    q
   17553 	  }
   17554 	  s/.*/./; q'`
   17555       test -d "$as_dir" && break
   17556     done
   17557     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17558   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17559 
   17560 
   17561 } # as_fn_mkdir_p
   17562 if mkdir -p . 2>/dev/null; then
   17563   as_mkdir_p='mkdir -p "$as_dir"'
   17564 else
   17565   test -d ./-p && rmdir ./-p
   17566   as_mkdir_p=false
   17567 fi
   17568 
   17569 if test -x / >/dev/null 2>&1; then
   17570   as_test_x='test -x'
   17571 else
   17572   if ls -dL / >/dev/null 2>&1; then
   17573     as_ls_L_option=L
   17574   else
   17575     as_ls_L_option=
   17576   fi
   17577   as_test_x='
   17578     eval sh -c '\''
   17579       if test -d "$1"; then
   17580 	test -d "$1/.";
   17581       else
   17582 	case $1 in #(
   17583 	-*)set "./$1";;
   17584 	esac;
   17585 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   17586 	???[sx]*):;;*)false;;esac;fi
   17587     '\'' sh
   17588   '
   17589 fi
   17590 as_executable_p=$as_test_x
   17591 
   17592 # Sed expression to map a string onto a valid CPP name.
   17593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17594 
   17595 # Sed expression to map a string onto a valid variable name.
   17596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17597 
   17598 
   17599 exec 6>&1
   17600 ## ----------------------------------- ##
   17601 ## Main body of $CONFIG_STATUS script. ##
   17602 ## ----------------------------------- ##
   17603 _ASEOF
   17604 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17605 
   17606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17607 # Save the log message, to keep $0 and so on meaningful, and to
   17608 # report actual input values of CONFIG_FILES etc. instead of their
   17609 # values after options handling.
   17610 ac_log="
   17611 This file was extended by xf86-video-apm $as_me 1.2.5, which was
   17612 generated by GNU Autoconf 2.68.  Invocation command line was
   17613 
   17614   CONFIG_FILES    = $CONFIG_FILES
   17615   CONFIG_HEADERS  = $CONFIG_HEADERS
   17616   CONFIG_LINKS    = $CONFIG_LINKS
   17617   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17618   $ $0 $@
   17619 
   17620 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17621 "
   17622 
   17623 _ACEOF
   17624 
   17625 case $ac_config_files in *"
   17626 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17627 esac
   17628 
   17629 case $ac_config_headers in *"
   17630 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17631 esac
   17632 
   17633 
   17634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17635 # Files that config.status was made for.
   17636 config_files="$ac_config_files"
   17637 config_headers="$ac_config_headers"
   17638 config_commands="$ac_config_commands"
   17639 
   17640 _ACEOF
   17641 
   17642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17643 ac_cs_usage="\
   17644 \`$as_me' instantiates files and other configuration actions
   17645 from templates according to the current configuration.  Unless the files
   17646 and actions are specified as TAGs, all are instantiated by default.
   17647 
   17648 Usage: $0 [OPTION]... [TAG]...
   17649 
   17650   -h, --help       print this help, then exit
   17651   -V, --version    print version number and configuration settings, then exit
   17652       --config     print configuration, then exit
   17653   -q, --quiet, --silent
   17654                    do not print progress messages
   17655   -d, --debug      don't remove temporary files
   17656       --recheck    update $as_me by reconfiguring in the same conditions
   17657       --file=FILE[:TEMPLATE]
   17658                    instantiate the configuration file FILE
   17659       --header=FILE[:TEMPLATE]
   17660                    instantiate the configuration header FILE
   17661 
   17662 Configuration files:
   17663 $config_files
   17664 
   17665 Configuration headers:
   17666 $config_headers
   17667 
   17668 Configuration commands:
   17669 $config_commands
   17670 
   17671 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   17672 
   17673 _ACEOF
   17674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17675 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17676 ac_cs_version="\\
   17677 xf86-video-apm config.status 1.2.5
   17678 configured by $0, generated by GNU Autoconf 2.68,
   17679   with options \\"\$ac_cs_config\\"
   17680 
   17681 Copyright (C) 2010 Free Software Foundation, Inc.
   17682 This config.status script is free software; the Free Software Foundation
   17683 gives unlimited permission to copy, distribute and modify it."
   17684 
   17685 ac_pwd='$ac_pwd'
   17686 srcdir='$srcdir'
   17687 INSTALL='$INSTALL'
   17688 MKDIR_P='$MKDIR_P'
   17689 AWK='$AWK'
   17690 test -n "\$AWK" || AWK=awk
   17691 _ACEOF
   17692 
   17693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17694 # The default lists apply if the user does not specify any file.
   17695 ac_need_defaults=:
   17696 while test $# != 0
   17697 do
   17698   case $1 in
   17699   --*=?*)
   17700     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17701     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17702     ac_shift=:
   17703     ;;
   17704   --*=)
   17705     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17706     ac_optarg=
   17707     ac_shift=:
   17708     ;;
   17709   *)
   17710     ac_option=$1
   17711     ac_optarg=$2
   17712     ac_shift=shift
   17713     ;;
   17714   esac
   17715 
   17716   case $ac_option in
   17717   # Handling of the options.
   17718   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17719     ac_cs_recheck=: ;;
   17720   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17721     $as_echo "$ac_cs_version"; exit ;;
   17722   --config | --confi | --conf | --con | --co | --c )
   17723     $as_echo "$ac_cs_config"; exit ;;
   17724   --debug | --debu | --deb | --de | --d | -d )
   17725     debug=: ;;
   17726   --file | --fil | --fi | --f )
   17727     $ac_shift
   17728     case $ac_optarg in
   17729     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17730     '') as_fn_error $? "missing file argument" ;;
   17731     esac
   17732     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17733     ac_need_defaults=false;;
   17734   --header | --heade | --head | --hea )
   17735     $ac_shift
   17736     case $ac_optarg in
   17737     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17738     esac
   17739     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17740     ac_need_defaults=false;;
   17741   --he | --h)
   17742     # Conflict between --help and --header
   17743     as_fn_error $? "ambiguous option: \`$1'
   17744 Try \`$0 --help' for more information.";;
   17745   --help | --hel | -h )
   17746     $as_echo "$ac_cs_usage"; exit ;;
   17747   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17748   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17749     ac_cs_silent=: ;;
   17750 
   17751   # This is an error.
   17752   -*) as_fn_error $? "unrecognized option: \`$1'
   17753 Try \`$0 --help' for more information." ;;
   17754 
   17755   *) as_fn_append ac_config_targets " $1"
   17756      ac_need_defaults=false ;;
   17757 
   17758   esac
   17759   shift
   17760 done
   17761 
   17762 ac_configure_extra_args=
   17763 
   17764 if $ac_cs_silent; then
   17765   exec 6>/dev/null
   17766   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17767 fi
   17768 
   17769 _ACEOF
   17770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17771 if \$ac_cs_recheck; then
   17772   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17773   shift
   17774   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17775   CONFIG_SHELL='$SHELL'
   17776   export CONFIG_SHELL
   17777   exec "\$@"
   17778 fi
   17779 
   17780 _ACEOF
   17781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17782 exec 5>>config.log
   17783 {
   17784   echo
   17785   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17786 ## Running $as_me. ##
   17787 _ASBOX
   17788   $as_echo "$ac_log"
   17789 } >&5
   17790 
   17791 _ACEOF
   17792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17793 #
   17794 # INIT-COMMANDS
   17795 #
   17796 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17797 
   17798 
   17799 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17800 # if CDPATH is set.
   17801 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17802 
   17803 sed_quote_subst='$sed_quote_subst'
   17804 double_quote_subst='$double_quote_subst'
   17805 delay_variable_subst='$delay_variable_subst'
   17806 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17807 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17808 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17809 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17810 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17811 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17812 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17813 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17814 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   17815 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17816 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17817 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17818 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17819 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17820 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17821 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17822 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17823 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17824 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17825 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17826 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17827 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17828 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17829 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17830 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17831 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17832 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17833 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17834 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17835 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   17836 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   17837 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17838 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17839 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17840 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17841 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17842 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   17843 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   17844 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   17845 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   17846 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17847 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17848 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   17849 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17850 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17851 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17852 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17853 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17854 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17855 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17856 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17857 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17858 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17859 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17860 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17861 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17862 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"`'
   17863 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   17864 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   17865 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17866 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17867 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17868 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17869 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17870 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17871 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17872 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17873 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   17874 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17875 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17876 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17877 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17878 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17879 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17880 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17881 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17882 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17883 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17884 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17885 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17886 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17887 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17888 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17889 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17890 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17891 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17892 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17893 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17894 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17895 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17896 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17897 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17898 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17899 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17900 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17901 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17902 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17903 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17904 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17905 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17906 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17907 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17908 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17909 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17910 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   17911 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17912 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17913 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17914 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17915 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17916 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17917 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17918 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17919 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17920 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17921 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17922 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17923 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17924 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17925 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17926 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17927 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17928 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17929 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17930 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17931 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17932 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17933 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17934 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17935 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17936 
   17937 LTCC='$LTCC'
   17938 LTCFLAGS='$LTCFLAGS'
   17939 compiler='$compiler_DEFAULT'
   17940 
   17941 # A function that is used when there is no print builtin or printf.
   17942 func_fallback_echo ()
   17943 {
   17944   eval 'cat <<_LTECHO_EOF
   17945 \$1
   17946 _LTECHO_EOF'
   17947 }
   17948 
   17949 # Quote evaled strings.
   17950 for var in SHELL \
   17951 ECHO \
   17952 PATH_SEPARATOR \
   17953 SED \
   17954 GREP \
   17955 EGREP \
   17956 FGREP \
   17957 LD \
   17958 NM \
   17959 LN_S \
   17960 lt_SP2NL \
   17961 lt_NL2SP \
   17962 reload_flag \
   17963 OBJDUMP \
   17964 deplibs_check_method \
   17965 file_magic_cmd \
   17966 file_magic_glob \
   17967 want_nocaseglob \
   17968 DLLTOOL \
   17969 sharedlib_from_linklib_cmd \
   17970 AR \
   17971 AR_FLAGS \
   17972 archiver_list_spec \
   17973 STRIP \
   17974 RANLIB \
   17975 CC \
   17976 CFLAGS \
   17977 compiler \
   17978 lt_cv_sys_global_symbol_pipe \
   17979 lt_cv_sys_global_symbol_to_cdecl \
   17980 lt_cv_sys_global_symbol_to_c_name_address \
   17981 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17982 nm_file_list_spec \
   17983 lt_prog_compiler_no_builtin_flag \
   17984 lt_prog_compiler_pic \
   17985 lt_prog_compiler_wl \
   17986 lt_prog_compiler_static \
   17987 lt_cv_prog_compiler_c_o \
   17988 need_locks \
   17989 MANIFEST_TOOL \
   17990 DSYMUTIL \
   17991 NMEDIT \
   17992 LIPO \
   17993 OTOOL \
   17994 OTOOL64 \
   17995 shrext_cmds \
   17996 export_dynamic_flag_spec \
   17997 whole_archive_flag_spec \
   17998 compiler_needs_object \
   17999 with_gnu_ld \
   18000 allow_undefined_flag \
   18001 no_undefined_flag \
   18002 hardcode_libdir_flag_spec \
   18003 hardcode_libdir_separator \
   18004 exclude_expsyms \
   18005 include_expsyms \
   18006 file_list_spec \
   18007 variables_saved_for_relink \
   18008 libname_spec \
   18009 library_names_spec \
   18010 soname_spec \
   18011 install_override_mode \
   18012 finish_eval \
   18013 old_striplib \
   18014 striplib; do
   18015     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18016     *[\\\\\\\`\\"\\\$]*)
   18017       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18018       ;;
   18019     *)
   18020       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18021       ;;
   18022     esac
   18023 done
   18024 
   18025 # Double-quote double-evaled strings.
   18026 for var in reload_cmds \
   18027 old_postinstall_cmds \
   18028 old_postuninstall_cmds \
   18029 old_archive_cmds \
   18030 extract_expsyms_cmds \
   18031 old_archive_from_new_cmds \
   18032 old_archive_from_expsyms_cmds \
   18033 archive_cmds \
   18034 archive_expsym_cmds \
   18035 module_cmds \
   18036 module_expsym_cmds \
   18037 export_symbols_cmds \
   18038 prelink_cmds \
   18039 postlink_cmds \
   18040 postinstall_cmds \
   18041 postuninstall_cmds \
   18042 finish_cmds \
   18043 sys_lib_search_path_spec \
   18044 sys_lib_dlsearch_path_spec; do
   18045     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18046     *[\\\\\\\`\\"\\\$]*)
   18047       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18048       ;;
   18049     *)
   18050       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18051       ;;
   18052     esac
   18053 done
   18054 
   18055 ac_aux_dir='$ac_aux_dir'
   18056 xsi_shell='$xsi_shell'
   18057 lt_shell_append='$lt_shell_append'
   18058 
   18059 # See if we are running on zsh, and set the options which allow our
   18060 # commands through without removal of \ escapes INIT.
   18061 if test -n "\${ZSH_VERSION+set}" ; then
   18062    setopt NO_GLOB_SUBST
   18063 fi
   18064 
   18065 
   18066     PACKAGE='$PACKAGE'
   18067     VERSION='$VERSION'
   18068     TIMESTAMP='$TIMESTAMP'
   18069     RM='$RM'
   18070     ofile='$ofile'
   18071 
   18072 
   18073 
   18074 
   18075 _ACEOF
   18076 
   18077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18078 
   18079 # Handling of arguments.
   18080 for ac_config_target in $ac_config_targets
   18081 do
   18082   case $ac_config_target in
   18083     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18084     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18085     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18086     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18087     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18088     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18089 
   18090   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18091   esac
   18092 done
   18093 
   18094 
   18095 # If the user did not use the arguments to specify the items to instantiate,
   18096 # then the envvar interface is used.  Set only those that are not.
   18097 # We use the long form for the default assignment because of an extremely
   18098 # bizarre bug on SunOS 4.1.3.
   18099 if $ac_need_defaults; then
   18100   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18101   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18102   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18103 fi
   18104 
   18105 # Have a temporary directory for convenience.  Make it in the build tree
   18106 # simply because there is no reason against having it here, and in addition,
   18107 # creating and moving files from /tmp can sometimes cause problems.
   18108 # Hook for its removal unless debugging.
   18109 # Note that there is a small window in which the directory will not be cleaned:
   18110 # after its creation but before its name has been assigned to `$tmp'.
   18111 $debug ||
   18112 {
   18113   tmp= ac_tmp=
   18114   trap 'exit_status=$?
   18115   : "${ac_tmp:=$tmp}"
   18116   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18117 ' 0
   18118   trap 'as_fn_exit 1' 1 2 13 15
   18119 }
   18120 # Create a (secure) tmp directory for tmp files.
   18121 
   18122 {
   18123   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18124   test -d "$tmp"
   18125 }  ||
   18126 {
   18127   tmp=./conf$$-$RANDOM
   18128   (umask 077 && mkdir "$tmp")
   18129 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18130 ac_tmp=$tmp
   18131 
   18132 # Set up the scripts for CONFIG_FILES section.
   18133 # No need to generate them if there are no CONFIG_FILES.
   18134 # This happens for instance with `./config.status config.h'.
   18135 if test -n "$CONFIG_FILES"; then
   18136 
   18137 
   18138 ac_cr=`echo X | tr X '\015'`
   18139 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18140 # But we know of no other shell where ac_cr would be empty at this
   18141 # point, so we can use a bashism as a fallback.
   18142 if test "x$ac_cr" = x; then
   18143   eval ac_cr=\$\'\\r\'
   18144 fi
   18145 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18146 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18147   ac_cs_awk_cr='\\r'
   18148 else
   18149   ac_cs_awk_cr=$ac_cr
   18150 fi
   18151 
   18152 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18153 _ACEOF
   18154 
   18155 
   18156 {
   18157   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18158   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18159   echo "_ACEOF"
   18160 } >conf$$subs.sh ||
   18161   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18162 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18163 ac_delim='%!_!# '
   18164 for ac_last_try in false false false false false :; do
   18165   . ./conf$$subs.sh ||
   18166     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18167 
   18168   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18169   if test $ac_delim_n = $ac_delim_num; then
   18170     break
   18171   elif $ac_last_try; then
   18172     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18173   else
   18174     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18175   fi
   18176 done
   18177 rm -f conf$$subs.sh
   18178 
   18179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18180 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18181 _ACEOF
   18182 sed -n '
   18183 h
   18184 s/^/S["/; s/!.*/"]=/
   18185 p
   18186 g
   18187 s/^[^!]*!//
   18188 :repl
   18189 t repl
   18190 s/'"$ac_delim"'$//
   18191 t delim
   18192 :nl
   18193 h
   18194 s/\(.\{148\}\)..*/\1/
   18195 t more1
   18196 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18197 p
   18198 n
   18199 b repl
   18200 :more1
   18201 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18202 p
   18203 g
   18204 s/.\{148\}//
   18205 t nl
   18206 :delim
   18207 h
   18208 s/\(.\{148\}\)..*/\1/
   18209 t more2
   18210 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18211 p
   18212 b
   18213 :more2
   18214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18215 p
   18216 g
   18217 s/.\{148\}//
   18218 t delim
   18219 ' <conf$$subs.awk | sed '
   18220 /^[^""]/{
   18221   N
   18222   s/\n//
   18223 }
   18224 ' >>$CONFIG_STATUS || ac_write_fail=1
   18225 rm -f conf$$subs.awk
   18226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18227 _ACAWK
   18228 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18229   for (key in S) S_is_set[key] = 1
   18230   FS = ""
   18231 
   18232 }
   18233 {
   18234   line = $ 0
   18235   nfields = split(line, field, "@")
   18236   substed = 0
   18237   len = length(field[1])
   18238   for (i = 2; i < nfields; i++) {
   18239     key = field[i]
   18240     keylen = length(key)
   18241     if (S_is_set[key]) {
   18242       value = S[key]
   18243       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18244       len += length(value) + length(field[++i])
   18245       substed = 1
   18246     } else
   18247       len += 1 + keylen
   18248   }
   18249 
   18250   print line
   18251 }
   18252 
   18253 _ACAWK
   18254 _ACEOF
   18255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18257   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18258 else
   18259   cat
   18260 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18261   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18262 _ACEOF
   18263 
   18264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18266 # trailing colons and then remove the whole line if VPATH becomes empty
   18267 # (actually we leave an empty line to preserve line numbers).
   18268 if test "x$srcdir" = x.; then
   18269   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18270 h
   18271 s///
   18272 s/^/:/
   18273 s/[	 ]*$/:/
   18274 s/:\$(srcdir):/:/g
   18275 s/:\${srcdir}:/:/g
   18276 s/:@srcdir@:/:/g
   18277 s/^:*//
   18278 s/:*$//
   18279 x
   18280 s/\(=[	 ]*\).*/\1/
   18281 G
   18282 s/\n//
   18283 s/^[^=]*=[	 ]*$//
   18284 }'
   18285 fi
   18286 
   18287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18288 fi # test -n "$CONFIG_FILES"
   18289 
   18290 # Set up the scripts for CONFIG_HEADERS section.
   18291 # No need to generate them if there are no CONFIG_HEADERS.
   18292 # This happens for instance with `./config.status Makefile'.
   18293 if test -n "$CONFIG_HEADERS"; then
   18294 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18295 BEGIN {
   18296 _ACEOF
   18297 
   18298 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18299 # here-document in config.status, that substitutes the proper values into
   18300 # config.h.in to produce config.h.
   18301 
   18302 # Create a delimiter string that does not exist in confdefs.h, to ease
   18303 # handling of long lines.
   18304 ac_delim='%!_!# '
   18305 for ac_last_try in false false :; do
   18306   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18307   if test -z "$ac_tt"; then
   18308     break
   18309   elif $ac_last_try; then
   18310     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18311   else
   18312     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18313   fi
   18314 done
   18315 
   18316 # For the awk script, D is an array of macro values keyed by name,
   18317 # likewise P contains macro parameters if any.  Preserve backslash
   18318 # newline sequences.
   18319 
   18320 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18321 sed -n '
   18322 s/.\{148\}/&'"$ac_delim"'/g
   18323 t rset
   18324 :rset
   18325 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18326 t def
   18327 d
   18328 :def
   18329 s/\\$//
   18330 t bsnl
   18331 s/["\\]/\\&/g
   18332 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18333 D["\1"]=" \3"/p
   18334 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18335 d
   18336 :bsnl
   18337 s/["\\]/\\&/g
   18338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18339 D["\1"]=" \3\\\\\\n"\\/p
   18340 t cont
   18341 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18342 t cont
   18343 d
   18344 :cont
   18345 n
   18346 s/.\{148\}/&'"$ac_delim"'/g
   18347 t clear
   18348 :clear
   18349 s/\\$//
   18350 t bsnlc
   18351 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18352 d
   18353 :bsnlc
   18354 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18355 b cont
   18356 ' <confdefs.h | sed '
   18357 s/'"$ac_delim"'/"\\\
   18358 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18359 
   18360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18361   for (key in D) D_is_set[key] = 1
   18362   FS = ""
   18363 }
   18364 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18365   line = \$ 0
   18366   split(line, arg, " ")
   18367   if (arg[1] == "#") {
   18368     defundef = arg[2]
   18369     mac1 = arg[3]
   18370   } else {
   18371     defundef = substr(arg[1], 2)
   18372     mac1 = arg[2]
   18373   }
   18374   split(mac1, mac2, "(") #)
   18375   macro = mac2[1]
   18376   prefix = substr(line, 1, index(line, defundef) - 1)
   18377   if (D_is_set[macro]) {
   18378     # Preserve the white space surrounding the "#".
   18379     print prefix "define", macro P[macro] D[macro]
   18380     next
   18381   } else {
   18382     # Replace #undef with comments.  This is necessary, for example,
   18383     # in the case of _POSIX_SOURCE, which is predefined and required
   18384     # on some systems where configure will not decide to define it.
   18385     if (defundef == "undef") {
   18386       print "/*", prefix defundef, macro, "*/"
   18387       next
   18388     }
   18389   }
   18390 }
   18391 { print }
   18392 _ACAWK
   18393 _ACEOF
   18394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18395   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18396 fi # test -n "$CONFIG_HEADERS"
   18397 
   18398 
   18399 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18400 shift
   18401 for ac_tag
   18402 do
   18403   case $ac_tag in
   18404   :[FHLC]) ac_mode=$ac_tag; continue;;
   18405   esac
   18406   case $ac_mode$ac_tag in
   18407   :[FHL]*:*);;
   18408   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18409   :[FH]-) ac_tag=-:-;;
   18410   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18411   esac
   18412   ac_save_IFS=$IFS
   18413   IFS=:
   18414   set x $ac_tag
   18415   IFS=$ac_save_IFS
   18416   shift
   18417   ac_file=$1
   18418   shift
   18419 
   18420   case $ac_mode in
   18421   :L) ac_source=$1;;
   18422   :[FH])
   18423     ac_file_inputs=
   18424     for ac_f
   18425     do
   18426       case $ac_f in
   18427       -) ac_f="$ac_tmp/stdin";;
   18428       *) # Look for the file first in the build tree, then in the source tree
   18429 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18430 	 # because $ac_f cannot contain `:'.
   18431 	 test -f "$ac_f" ||
   18432 	   case $ac_f in
   18433 	   [\\/$]*) false;;
   18434 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18435 	   esac ||
   18436 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18437       esac
   18438       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18439       as_fn_append ac_file_inputs " '$ac_f'"
   18440     done
   18441 
   18442     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18443     # use $as_me), people would be surprised to read:
   18444     #    /* config.h.  Generated by config.status.  */
   18445     configure_input='Generated from '`
   18446 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18447 	`' by configure.'
   18448     if test x"$ac_file" != x-; then
   18449       configure_input="$ac_file.  $configure_input"
   18450       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18451 $as_echo "$as_me: creating $ac_file" >&6;}
   18452     fi
   18453     # Neutralize special characters interpreted by sed in replacement strings.
   18454     case $configure_input in #(
   18455     *\&* | *\|* | *\\* )
   18456        ac_sed_conf_input=`$as_echo "$configure_input" |
   18457        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18458     *) ac_sed_conf_input=$configure_input;;
   18459     esac
   18460 
   18461     case $ac_tag in
   18462     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18463       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18464     esac
   18465     ;;
   18466   esac
   18467 
   18468   ac_dir=`$as_dirname -- "$ac_file" ||
   18469 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18470 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18471 	 X"$ac_file" : 'X\(//\)$' \| \
   18472 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18473 $as_echo X"$ac_file" |
   18474     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18475 	    s//\1/
   18476 	    q
   18477 	  }
   18478 	  /^X\(\/\/\)[^/].*/{
   18479 	    s//\1/
   18480 	    q
   18481 	  }
   18482 	  /^X\(\/\/\)$/{
   18483 	    s//\1/
   18484 	    q
   18485 	  }
   18486 	  /^X\(\/\).*/{
   18487 	    s//\1/
   18488 	    q
   18489 	  }
   18490 	  s/.*/./; q'`
   18491   as_dir="$ac_dir"; as_fn_mkdir_p
   18492   ac_builddir=.
   18493 
   18494 case "$ac_dir" in
   18495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18496 *)
   18497   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18498   # A ".." for each directory in $ac_dir_suffix.
   18499   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18500   case $ac_top_builddir_sub in
   18501   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18502   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18503   esac ;;
   18504 esac
   18505 ac_abs_top_builddir=$ac_pwd
   18506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18507 # for backward compatibility:
   18508 ac_top_builddir=$ac_top_build_prefix
   18509 
   18510 case $srcdir in
   18511   .)  # We are building in place.
   18512     ac_srcdir=.
   18513     ac_top_srcdir=$ac_top_builddir_sub
   18514     ac_abs_top_srcdir=$ac_pwd ;;
   18515   [\\/]* | ?:[\\/]* )  # Absolute name.
   18516     ac_srcdir=$srcdir$ac_dir_suffix;
   18517     ac_top_srcdir=$srcdir
   18518     ac_abs_top_srcdir=$srcdir ;;
   18519   *) # Relative name.
   18520     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18521     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18522     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18523 esac
   18524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18525 
   18526 
   18527   case $ac_mode in
   18528   :F)
   18529   #
   18530   # CONFIG_FILE
   18531   #
   18532 
   18533   case $INSTALL in
   18534   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18535   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18536   esac
   18537   ac_MKDIR_P=$MKDIR_P
   18538   case $MKDIR_P in
   18539   [\\/$]* | ?:[\\/]* ) ;;
   18540   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18541   esac
   18542 _ACEOF
   18543 
   18544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18545 # If the template does not know about datarootdir, expand it.
   18546 # FIXME: This hack should be removed a few years after 2.60.
   18547 ac_datarootdir_hack=; ac_datarootdir_seen=
   18548 ac_sed_dataroot='
   18549 /datarootdir/ {
   18550   p
   18551   q
   18552 }
   18553 /@datadir@/p
   18554 /@docdir@/p
   18555 /@infodir@/p
   18556 /@localedir@/p
   18557 /@mandir@/p'
   18558 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18559 *datarootdir*) ac_datarootdir_seen=yes;;
   18560 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18561   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18562 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18563 _ACEOF
   18564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18565   ac_datarootdir_hack='
   18566   s&@datadir@&$datadir&g
   18567   s&@docdir@&$docdir&g
   18568   s&@infodir@&$infodir&g
   18569   s&@localedir@&$localedir&g
   18570   s&@mandir@&$mandir&g
   18571   s&\\\${datarootdir}&$datarootdir&g' ;;
   18572 esac
   18573 _ACEOF
   18574 
   18575 # Neutralize VPATH when `$srcdir' = `.'.
   18576 # Shell code in configure.ac might set extrasub.
   18577 # FIXME: do we really want to maintain this feature?
   18578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18579 ac_sed_extra="$ac_vpsub
   18580 $extrasub
   18581 _ACEOF
   18582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18583 :t
   18584 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18585 s|@configure_input@|$ac_sed_conf_input|;t t
   18586 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18587 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18588 s&@srcdir@&$ac_srcdir&;t t
   18589 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18590 s&@top_srcdir@&$ac_top_srcdir&;t t
   18591 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18592 s&@builddir@&$ac_builddir&;t t
   18593 s&@abs_builddir@&$ac_abs_builddir&;t t
   18594 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18595 s&@INSTALL@&$ac_INSTALL&;t t
   18596 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18597 $ac_datarootdir_hack
   18598 "
   18599 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18600   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18601 
   18602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18603   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18604   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18605       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18606   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18607 which seems to be undefined.  Please make sure it is defined" >&5
   18608 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18609 which seems to be undefined.  Please make sure it is defined" >&2;}
   18610 
   18611   rm -f "$ac_tmp/stdin"
   18612   case $ac_file in
   18613   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18614   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18615   esac \
   18616   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18617  ;;
   18618   :H)
   18619   #
   18620   # CONFIG_HEADER
   18621   #
   18622   if test x"$ac_file" != x-; then
   18623     {
   18624       $as_echo "/* $configure_input  */" \
   18625       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18626     } >"$ac_tmp/config.h" \
   18627       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18628     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18629       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18630 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18631     else
   18632       rm -f "$ac_file"
   18633       mv "$ac_tmp/config.h" "$ac_file" \
   18634 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18635     fi
   18636   else
   18637     $as_echo "/* $configure_input  */" \
   18638       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18639       || as_fn_error $? "could not create -" "$LINENO" 5
   18640   fi
   18641 # Compute "$ac_file"'s index in $config_headers.
   18642 _am_arg="$ac_file"
   18643 _am_stamp_count=1
   18644 for _am_header in $config_headers :; do
   18645   case $_am_header in
   18646     $_am_arg | $_am_arg:* )
   18647       break ;;
   18648     * )
   18649       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18650   esac
   18651 done
   18652 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18653 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18654 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18655 	 X"$_am_arg" : 'X\(//\)$' \| \
   18656 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18657 $as_echo X"$_am_arg" |
   18658     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18659 	    s//\1/
   18660 	    q
   18661 	  }
   18662 	  /^X\(\/\/\)[^/].*/{
   18663 	    s//\1/
   18664 	    q
   18665 	  }
   18666 	  /^X\(\/\/\)$/{
   18667 	    s//\1/
   18668 	    q
   18669 	  }
   18670 	  /^X\(\/\).*/{
   18671 	    s//\1/
   18672 	    q
   18673 	  }
   18674 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18675  ;;
   18676 
   18677   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18678 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18679  ;;
   18680   esac
   18681 
   18682 
   18683   case $ac_file$ac_mode in
   18684     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18685   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   18686   # are listed without --file.  Let's play safe and only enable the eval
   18687   # if we detect the quoting.
   18688   case $CONFIG_FILES in
   18689   *\'*) eval set x "$CONFIG_FILES" ;;
   18690   *)   set x $CONFIG_FILES ;;
   18691   esac
   18692   shift
   18693   for mf
   18694   do
   18695     # Strip MF so we end up with the name of the file.
   18696     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18697     # Check whether this is an Automake generated Makefile or not.
   18698     # We used to match only the files named `Makefile.in', but
   18699     # some people rename them; so instead we look at the file content.
   18700     # Grep'ing the first line is not enough: some people post-process
   18701     # each Makefile.in and add a new line on top of each file to say so.
   18702     # Grep'ing the whole file is not good either: AIX grep has a line
   18703     # limit of 2048, but all sed's we know have understand at least 4000.
   18704     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18705       dirpart=`$as_dirname -- "$mf" ||
   18706 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18707 	 X"$mf" : 'X\(//\)[^/]' \| \
   18708 	 X"$mf" : 'X\(//\)$' \| \
   18709 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18710 $as_echo X"$mf" |
   18711     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18712 	    s//\1/
   18713 	    q
   18714 	  }
   18715 	  /^X\(\/\/\)[^/].*/{
   18716 	    s//\1/
   18717 	    q
   18718 	  }
   18719 	  /^X\(\/\/\)$/{
   18720 	    s//\1/
   18721 	    q
   18722 	  }
   18723 	  /^X\(\/\).*/{
   18724 	    s//\1/
   18725 	    q
   18726 	  }
   18727 	  s/.*/./; q'`
   18728     else
   18729       continue
   18730     fi
   18731     # Extract the definition of DEPDIR, am__include, and am__quote
   18732     # from the Makefile without running `make'.
   18733     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18734     test -z "$DEPDIR" && continue
   18735     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18736     test -z "am__include" && continue
   18737     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18738     # When using ansi2knr, U may be empty or an underscore; expand it
   18739     U=`sed -n 's/^U = //p' < "$mf"`
   18740     # Find all dependency output files, they are included files with
   18741     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18742     # simplest approach to changing $(DEPDIR) to its actual value in the
   18743     # expansion.
   18744     for file in `sed -n "
   18745       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18746 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   18747       # Make sure the directory exists.
   18748       test -f "$dirpart/$file" && continue
   18749       fdir=`$as_dirname -- "$file" ||
   18750 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18751 	 X"$file" : 'X\(//\)[^/]' \| \
   18752 	 X"$file" : 'X\(//\)$' \| \
   18753 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18754 $as_echo X"$file" |
   18755     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18756 	    s//\1/
   18757 	    q
   18758 	  }
   18759 	  /^X\(\/\/\)[^/].*/{
   18760 	    s//\1/
   18761 	    q
   18762 	  }
   18763 	  /^X\(\/\/\)$/{
   18764 	    s//\1/
   18765 	    q
   18766 	  }
   18767 	  /^X\(\/\).*/{
   18768 	    s//\1/
   18769 	    q
   18770 	  }
   18771 	  s/.*/./; q'`
   18772       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18773       # echo "creating $dirpart/$file"
   18774       echo '# dummy' > "$dirpart/$file"
   18775     done
   18776   done
   18777 }
   18778  ;;
   18779     "libtool":C)
   18780 
   18781     # See if we are running on zsh, and set the options which allow our
   18782     # commands through without removal of \ escapes.
   18783     if test -n "${ZSH_VERSION+set}" ; then
   18784       setopt NO_GLOB_SUBST
   18785     fi
   18786 
   18787     cfgfile="${ofile}T"
   18788     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18789     $RM "$cfgfile"
   18790 
   18791     cat <<_LT_EOF >> "$cfgfile"
   18792 #! $SHELL
   18793 
   18794 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18795 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18796 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18797 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18798 #
   18799 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18800 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   18801 #                 Foundation, Inc.
   18802 #   Written by Gordon Matzigkeit, 1996
   18803 #
   18804 #   This file is part of GNU Libtool.
   18805 #
   18806 # GNU Libtool is free software; you can redistribute it and/or
   18807 # modify it under the terms of the GNU General Public License as
   18808 # published by the Free Software Foundation; either version 2 of
   18809 # the License, or (at your option) any later version.
   18810 #
   18811 # As a special exception to the GNU General Public License,
   18812 # if you distribute this file as part of a program or library that
   18813 # is built using GNU Libtool, you may include this file under the
   18814 # same distribution terms that you use for the rest of that program.
   18815 #
   18816 # GNU Libtool is distributed in the hope that it will be useful,
   18817 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18818 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18819 # GNU General Public License for more details.
   18820 #
   18821 # You should have received a copy of the GNU General Public License
   18822 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18823 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18824 # obtained by writing to the Free Software Foundation, Inc.,
   18825 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18826 
   18827 
   18828 # The names of the tagged configurations supported by this script.
   18829 available_tags=""
   18830 
   18831 # ### BEGIN LIBTOOL CONFIG
   18832 
   18833 # Whether or not to build static libraries.
   18834 build_old_libs=$enable_static
   18835 
   18836 # Which release of libtool.m4 was used?
   18837 macro_version=$macro_version
   18838 macro_revision=$macro_revision
   18839 
   18840 # Whether or not to build shared libraries.
   18841 build_libtool_libs=$enable_shared
   18842 
   18843 # What type of objects to build.
   18844 pic_mode=$pic_mode
   18845 
   18846 # Whether or not to optimize for fast installation.
   18847 fast_install=$enable_fast_install
   18848 
   18849 # Shell to use when invoking shell scripts.
   18850 SHELL=$lt_SHELL
   18851 
   18852 # An echo program that protects backslashes.
   18853 ECHO=$lt_ECHO
   18854 
   18855 # The PATH separator for the build system.
   18856 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   18857 
   18858 # The host system.
   18859 host_alias=$host_alias
   18860 host=$host
   18861 host_os=$host_os
   18862 
   18863 # The build system.
   18864 build_alias=$build_alias
   18865 build=$build
   18866 build_os=$build_os
   18867 
   18868 # A sed program that does not truncate output.
   18869 SED=$lt_SED
   18870 
   18871 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18872 Xsed="\$SED -e 1s/^X//"
   18873 
   18874 # A grep program that handles long lines.
   18875 GREP=$lt_GREP
   18876 
   18877 # An ERE matcher.
   18878 EGREP=$lt_EGREP
   18879 
   18880 # A literal string matcher.
   18881 FGREP=$lt_FGREP
   18882 
   18883 # A BSD- or MS-compatible name lister.
   18884 NM=$lt_NM
   18885 
   18886 # Whether we need soft or hard links.
   18887 LN_S=$lt_LN_S
   18888 
   18889 # What is the maximum length of a command?
   18890 max_cmd_len=$max_cmd_len
   18891 
   18892 # Object file suffix (normally "o").
   18893 objext=$ac_objext
   18894 
   18895 # Executable file suffix (normally "").
   18896 exeext=$exeext
   18897 
   18898 # whether the shell understands "unset".
   18899 lt_unset=$lt_unset
   18900 
   18901 # turn spaces into newlines.
   18902 SP2NL=$lt_lt_SP2NL
   18903 
   18904 # turn newlines into spaces.
   18905 NL2SP=$lt_lt_NL2SP
   18906 
   18907 # convert \$build file names to \$host format.
   18908 to_host_file_cmd=$lt_cv_to_host_file_cmd
   18909 
   18910 # convert \$build files to toolchain format.
   18911 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   18912 
   18913 # An object symbol dumper.
   18914 OBJDUMP=$lt_OBJDUMP
   18915 
   18916 # Method to check whether dependent libraries are shared objects.
   18917 deplibs_check_method=$lt_deplibs_check_method
   18918 
   18919 # Command to use when deplibs_check_method = "file_magic".
   18920 file_magic_cmd=$lt_file_magic_cmd
   18921 
   18922 # How to find potential files when deplibs_check_method = "file_magic".
   18923 file_magic_glob=$lt_file_magic_glob
   18924 
   18925 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   18926 want_nocaseglob=$lt_want_nocaseglob
   18927 
   18928 # DLL creation program.
   18929 DLLTOOL=$lt_DLLTOOL
   18930 
   18931 # Command to associate shared and link libraries.
   18932 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   18933 
   18934 # The archiver.
   18935 AR=$lt_AR
   18936 
   18937 # Flags to create an archive.
   18938 AR_FLAGS=$lt_AR_FLAGS
   18939 
   18940 # How to feed a file listing to the archiver.
   18941 archiver_list_spec=$lt_archiver_list_spec
   18942 
   18943 # A symbol stripping program.
   18944 STRIP=$lt_STRIP
   18945 
   18946 # Commands used to install an old-style archive.
   18947 RANLIB=$lt_RANLIB
   18948 old_postinstall_cmds=$lt_old_postinstall_cmds
   18949 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18950 
   18951 # Whether to use a lock for old archive extraction.
   18952 lock_old_archive_extraction=$lock_old_archive_extraction
   18953 
   18954 # A C compiler.
   18955 LTCC=$lt_CC
   18956 
   18957 # LTCC compiler flags.
   18958 LTCFLAGS=$lt_CFLAGS
   18959 
   18960 # Take the output of nm and produce a listing of raw symbols and C names.
   18961 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18962 
   18963 # Transform the output of nm in a proper C declaration.
   18964 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18965 
   18966 # Transform the output of nm in a C name address pair.
   18967 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18968 
   18969 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18970 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18971 
   18972 # Specify filename containing input files for \$NM.
   18973 nm_file_list_spec=$lt_nm_file_list_spec
   18974 
   18975 # The root where to search for dependent libraries,and in which our libraries should be installed.
   18976 lt_sysroot=$lt_sysroot
   18977 
   18978 # The name of the directory that contains temporary libtool files.
   18979 objdir=$objdir
   18980 
   18981 # Used to examine libraries when file_magic_cmd begins with "file".
   18982 MAGIC_CMD=$MAGIC_CMD
   18983 
   18984 # Must we lock files when doing compilation?
   18985 need_locks=$lt_need_locks
   18986 
   18987 # Manifest tool.
   18988 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   18989 
   18990 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18991 DSYMUTIL=$lt_DSYMUTIL
   18992 
   18993 # Tool to change global to local symbols on Mac OS X.
   18994 NMEDIT=$lt_NMEDIT
   18995 
   18996 # Tool to manipulate fat objects and archives on Mac OS X.
   18997 LIPO=$lt_LIPO
   18998 
   18999 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19000 OTOOL=$lt_OTOOL
   19001 
   19002 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19003 OTOOL64=$lt_OTOOL64
   19004 
   19005 # Old archive suffix (normally "a").
   19006 libext=$libext
   19007 
   19008 # Shared library suffix (normally ".so").
   19009 shrext_cmds=$lt_shrext_cmds
   19010 
   19011 # The commands to extract the exported symbol list from a shared archive.
   19012 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19013 
   19014 # Variables whose values should be saved in libtool wrapper scripts and
   19015 # restored at link time.
   19016 variables_saved_for_relink=$lt_variables_saved_for_relink
   19017 
   19018 # Do we need the "lib" prefix for modules?
   19019 need_lib_prefix=$need_lib_prefix
   19020 
   19021 # Do we need a version for libraries?
   19022 need_version=$need_version
   19023 
   19024 # Library versioning type.
   19025 version_type=$version_type
   19026 
   19027 # Shared library runtime path variable.
   19028 runpath_var=$runpath_var
   19029 
   19030 # Shared library path variable.
   19031 shlibpath_var=$shlibpath_var
   19032 
   19033 # Is shlibpath searched before the hard-coded library search path?
   19034 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19035 
   19036 # Format of library name prefix.
   19037 libname_spec=$lt_libname_spec
   19038 
   19039 # List of archive names.  First name is the real one, the rest are links.
   19040 # The last name is the one that the linker finds with -lNAME
   19041 library_names_spec=$lt_library_names_spec
   19042 
   19043 # The coded name of the library, if different from the real name.
   19044 soname_spec=$lt_soname_spec
   19045 
   19046 # Permission mode override for installation of shared libraries.
   19047 install_override_mode=$lt_install_override_mode
   19048 
   19049 # Command to use after installation of a shared archive.
   19050 postinstall_cmds=$lt_postinstall_cmds
   19051 
   19052 # Command to use after uninstallation of a shared archive.
   19053 postuninstall_cmds=$lt_postuninstall_cmds
   19054 
   19055 # Commands used to finish a libtool library installation in a directory.
   19056 finish_cmds=$lt_finish_cmds
   19057 
   19058 # As "finish_cmds", except a single script fragment to be evaled but
   19059 # not shown.
   19060 finish_eval=$lt_finish_eval
   19061 
   19062 # Whether we should hardcode library paths into libraries.
   19063 hardcode_into_libs=$hardcode_into_libs
   19064 
   19065 # Compile-time system search path for libraries.
   19066 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19067 
   19068 # Run-time system search path for libraries.
   19069 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19070 
   19071 # Whether dlopen is supported.
   19072 dlopen_support=$enable_dlopen
   19073 
   19074 # Whether dlopen of programs is supported.
   19075 dlopen_self=$enable_dlopen_self
   19076 
   19077 # Whether dlopen of statically linked programs is supported.
   19078 dlopen_self_static=$enable_dlopen_self_static
   19079 
   19080 # Commands to strip libraries.
   19081 old_striplib=$lt_old_striplib
   19082 striplib=$lt_striplib
   19083 
   19084 
   19085 # The linker used to build libraries.
   19086 LD=$lt_LD
   19087 
   19088 # How to create reloadable object files.
   19089 reload_flag=$lt_reload_flag
   19090 reload_cmds=$lt_reload_cmds
   19091 
   19092 # Commands used to build an old-style archive.
   19093 old_archive_cmds=$lt_old_archive_cmds
   19094 
   19095 # A language specific compiler.
   19096 CC=$lt_compiler
   19097 
   19098 # Is the compiler the GNU compiler?
   19099 with_gcc=$GCC
   19100 
   19101 # Compiler flag to turn off builtin functions.
   19102 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19103 
   19104 # Additional compiler flags for building library objects.
   19105 pic_flag=$lt_lt_prog_compiler_pic
   19106 
   19107 # How to pass a linker flag through the compiler.
   19108 wl=$lt_lt_prog_compiler_wl
   19109 
   19110 # Compiler flag to prevent dynamic linking.
   19111 link_static_flag=$lt_lt_prog_compiler_static
   19112 
   19113 # Does compiler simultaneously support -c and -o options?
   19114 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19115 
   19116 # Whether or not to add -lc for building shared libraries.
   19117 build_libtool_need_lc=$archive_cmds_need_lc
   19118 
   19119 # Whether or not to disallow shared libs when runtime libs are static.
   19120 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19121 
   19122 # Compiler flag to allow reflexive dlopens.
   19123 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19124 
   19125 # Compiler flag to generate shared objects directly from archives.
   19126 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19127 
   19128 # Whether the compiler copes with passing no objects directly.
   19129 compiler_needs_object=$lt_compiler_needs_object
   19130 
   19131 # Create an old-style archive from a shared archive.
   19132 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19133 
   19134 # Create a temporary old-style archive to link instead of a shared archive.
   19135 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19136 
   19137 # Commands used to build a shared archive.
   19138 archive_cmds=$lt_archive_cmds
   19139 archive_expsym_cmds=$lt_archive_expsym_cmds
   19140 
   19141 # Commands used to build a loadable module if different from building
   19142 # a shared archive.
   19143 module_cmds=$lt_module_cmds
   19144 module_expsym_cmds=$lt_module_expsym_cmds
   19145 
   19146 # Whether we are building with GNU ld or not.
   19147 with_gnu_ld=$lt_with_gnu_ld
   19148 
   19149 # Flag that allows shared libraries with undefined symbols to be built.
   19150 allow_undefined_flag=$lt_allow_undefined_flag
   19151 
   19152 # Flag that enforces no undefined symbols.
   19153 no_undefined_flag=$lt_no_undefined_flag
   19154 
   19155 # Flag to hardcode \$libdir into a binary during linking.
   19156 # This must work even if \$libdir does not exist
   19157 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19158 
   19159 # Whether we need a single "-rpath" flag with a separated argument.
   19160 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19161 
   19162 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19163 # DIR into the resulting binary.
   19164 hardcode_direct=$hardcode_direct
   19165 
   19166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19167 # DIR into the resulting binary and the resulting library dependency is
   19168 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19169 # library is relocated.
   19170 hardcode_direct_absolute=$hardcode_direct_absolute
   19171 
   19172 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19173 # into the resulting binary.
   19174 hardcode_minus_L=$hardcode_minus_L
   19175 
   19176 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19177 # into the resulting binary.
   19178 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19179 
   19180 # Set to "yes" if building a shared library automatically hardcodes DIR
   19181 # into the library and all subsequent libraries and executables linked
   19182 # against it.
   19183 hardcode_automatic=$hardcode_automatic
   19184 
   19185 # Set to yes if linker adds runtime paths of dependent libraries
   19186 # to runtime path list.
   19187 inherit_rpath=$inherit_rpath
   19188 
   19189 # Whether libtool must link a program against all its dependency libraries.
   19190 link_all_deplibs=$link_all_deplibs
   19191 
   19192 # Set to "yes" if exported symbols are required.
   19193 always_export_symbols=$always_export_symbols
   19194 
   19195 # The commands to list exported symbols.
   19196 export_symbols_cmds=$lt_export_symbols_cmds
   19197 
   19198 # Symbols that should not be listed in the preloaded symbols.
   19199 exclude_expsyms=$lt_exclude_expsyms
   19200 
   19201 # Symbols that must always be exported.
   19202 include_expsyms=$lt_include_expsyms
   19203 
   19204 # Commands necessary for linking programs (against libraries) with templates.
   19205 prelink_cmds=$lt_prelink_cmds
   19206 
   19207 # Commands necessary for finishing linking programs.
   19208 postlink_cmds=$lt_postlink_cmds
   19209 
   19210 # Specify filename containing input files.
   19211 file_list_spec=$lt_file_list_spec
   19212 
   19213 # How to hardcode a shared library path into an executable.
   19214 hardcode_action=$hardcode_action
   19215 
   19216 # ### END LIBTOOL CONFIG
   19217 
   19218 _LT_EOF
   19219 
   19220   case $host_os in
   19221   aix3*)
   19222     cat <<\_LT_EOF >> "$cfgfile"
   19223 # AIX sometimes has problems with the GCC collect2 program.  For some
   19224 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19225 # vanish in a puff of smoke.
   19226 if test "X${COLLECT_NAMES+set}" != Xset; then
   19227   COLLECT_NAMES=
   19228   export COLLECT_NAMES
   19229 fi
   19230 _LT_EOF
   19231     ;;
   19232   esac
   19233 
   19234 
   19235 ltmain="$ac_aux_dir/ltmain.sh"
   19236 
   19237 
   19238   # We use sed instead of cat because bash on DJGPP gets confused if
   19239   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19240   # text mode, it properly converts lines to CR/LF.  This bash problem
   19241   # is reportedly fixed, but why not run on old versions too?
   19242   sed '$q' "$ltmain" >> "$cfgfile" \
   19243      || (rm -f "$cfgfile"; exit 1)
   19244 
   19245   if test x"$xsi_shell" = xyes; then
   19246   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19247 func_dirname ()\
   19248 {\
   19249 \    case ${1} in\
   19250 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19251 \      *  ) func_dirname_result="${3}" ;;\
   19252 \    esac\
   19253 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19254   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19255     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19256 test 0 -eq $? || _lt_function_replace_fail=:
   19257 
   19258 
   19259   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19260 func_basename ()\
   19261 {\
   19262 \    func_basename_result="${1##*/}"\
   19263 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19264   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19265     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19266 test 0 -eq $? || _lt_function_replace_fail=:
   19267 
   19268 
   19269   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19270 func_dirname_and_basename ()\
   19271 {\
   19272 \    case ${1} in\
   19273 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19274 \      *  ) func_dirname_result="${3}" ;;\
   19275 \    esac\
   19276 \    func_basename_result="${1##*/}"\
   19277 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19278   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19279     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19280 test 0 -eq $? || _lt_function_replace_fail=:
   19281 
   19282 
   19283   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19284 func_stripname ()\
   19285 {\
   19286 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19287 \    # positional parameters, so assign one to ordinary parameter first.\
   19288 \    func_stripname_result=${3}\
   19289 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19290 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19291 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19292   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19293     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19294 test 0 -eq $? || _lt_function_replace_fail=:
   19295 
   19296 
   19297   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19298 func_split_long_opt ()\
   19299 {\
   19300 \    func_split_long_opt_name=${1%%=*}\
   19301 \    func_split_long_opt_arg=${1#*=}\
   19302 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19303   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19304     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19305 test 0 -eq $? || _lt_function_replace_fail=:
   19306 
   19307 
   19308   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19309 func_split_short_opt ()\
   19310 {\
   19311 \    func_split_short_opt_arg=${1#??}\
   19312 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19313 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19314   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19315     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19316 test 0 -eq $? || _lt_function_replace_fail=:
   19317 
   19318 
   19319   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19320 func_lo2o ()\
   19321 {\
   19322 \    case ${1} in\
   19323 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19324 \      *)    func_lo2o_result=${1} ;;\
   19325 \    esac\
   19326 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19327   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19328     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19329 test 0 -eq $? || _lt_function_replace_fail=:
   19330 
   19331 
   19332   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19333 func_xform ()\
   19334 {\
   19335     func_xform_result=${1%.*}.lo\
   19336 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19337   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19338     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19339 test 0 -eq $? || _lt_function_replace_fail=:
   19340 
   19341 
   19342   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19343 func_arith ()\
   19344 {\
   19345     func_arith_result=$(( $* ))\
   19346 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19347   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19348     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19349 test 0 -eq $? || _lt_function_replace_fail=:
   19350 
   19351 
   19352   sed -e '/^func_len ()$/,/^} # func_len /c\
   19353 func_len ()\
   19354 {\
   19355     func_len_result=${#1}\
   19356 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19357   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19358     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19359 test 0 -eq $? || _lt_function_replace_fail=:
   19360 
   19361 fi
   19362 
   19363 if test x"$lt_shell_append" = xyes; then
   19364   sed -e '/^func_append ()$/,/^} # func_append /c\
   19365 func_append ()\
   19366 {\
   19367     eval "${1}+=\\${2}"\
   19368 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19369   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19370     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19371 test 0 -eq $? || _lt_function_replace_fail=:
   19372 
   19373 
   19374   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19375 func_append_quoted ()\
   19376 {\
   19377 \    func_quote_for_eval "${2}"\
   19378 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   19379 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   19380   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19381     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19382 test 0 -eq $? || _lt_function_replace_fail=:
   19383 
   19384 
   19385   # Save a `func_append' function call where possible by direct use of '+='
   19386   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   19387     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19388       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19389   test 0 -eq $? || _lt_function_replace_fail=:
   19390 else
   19391   # Save a `func_append' function call even when '+=' is not available
   19392   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   19393     && mv -f "$cfgfile.tmp" "$cfgfile" \
   19394       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19395   test 0 -eq $? || _lt_function_replace_fail=:
   19396 fi
   19397 
   19398 if test x"$_lt_function_replace_fail" = x":"; then
   19399   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   19400 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   19401 fi
   19402 
   19403 
   19404    mv -f "$cfgfile" "$ofile" ||
   19405     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19406   chmod +x "$ofile"
   19407 
   19408  ;;
   19409 
   19410   esac
   19411 done # for ac_tag
   19412 
   19413 
   19414 as_fn_exit 0
   19415 _ACEOF
   19416 ac_clean_files=$ac_clean_files_save
   19417 
   19418 test $ac_write_fail = 0 ||
   19419   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19420 
   19421 
   19422 # configure is writing to config.log, and then calls config.status.
   19423 # config.status does its own redirection, appending to config.log.
   19424 # Unfortunately, on DOS this fails, as config.log is still kept open
   19425 # by configure, so config.status won't be able to write to it; its
   19426 # output is simply discarded.  So we exec the FD to /dev/null,
   19427 # effectively closing config.log, so it can be properly (re)opened and
   19428 # appended to by config.status.  When coming back to configure, we
   19429 # need to make the FD available again.
   19430 if test "$no_create" != yes; then
   19431   ac_cs_success=:
   19432   ac_config_status_args=
   19433   test "$silent" = yes &&
   19434     ac_config_status_args="$ac_config_status_args --quiet"
   19435   exec 5>/dev/null
   19436   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19437   exec 5>>config.log
   19438   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19439   # would make configure fail if this is the last instruction.
   19440   $ac_cs_success || as_fn_exit 1
   19441 fi
   19442 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19443   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19444 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19445 fi
   19446 
   19447