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 libXcursor 1.1.14.
      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 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || 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='libXcursor'
    573 PACKAGE_TARNAME='libXcursor'
    574 PACKAGE_VERSION='1.1.14'
    575 PACKAGE_STRING='libXcursor 1.1.14'
    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 LINT_FALSE
    621 LINT_TRUE
    622 LINT_FLAGS
    623 LINT
    624 XCURSOR_LIBS
    625 XCURSOR_CFLAGS
    626 XCURSORPATH
    627 ICONDIR
    628 MAN_SUBSTS
    629 XORG_MAN_PAGE
    630 ADMIN_MAN_DIR
    631 DRIVER_MAN_DIR
    632 MISC_MAN_DIR
    633 FILE_MAN_DIR
    634 LIB_MAN_DIR
    635 APP_MAN_DIR
    636 ADMIN_MAN_SUFFIX
    637 DRIVER_MAN_SUFFIX
    638 MISC_MAN_SUFFIX
    639 FILE_MAN_SUFFIX
    640 LIB_MAN_SUFFIX
    641 APP_MAN_SUFFIX
    642 INSTALL_CMD
    643 PKG_CONFIG
    644 CHANGELOG_CMD
    645 STRICT_CFLAGS
    646 CWARNFLAGS
    647 BASE_CFLAGS
    648 CPP
    649 OTOOL64
    650 OTOOL
    651 LIPO
    652 NMEDIT
    653 DSYMUTIL
    654 MANIFEST_TOOL
    655 RANLIB
    656 ac_ct_AR
    657 AR
    658 DLLTOOL
    659 OBJDUMP
    660 LN_S
    661 NM
    662 ac_ct_DUMPBIN
    663 DUMPBIN
    664 LD
    665 FGREP
    666 EGREP
    667 GREP
    668 SED
    669 am__fastdepCC_FALSE
    670 am__fastdepCC_TRUE
    671 CCDEPMODE
    672 am__nodep
    673 AMDEPBACKSLASH
    674 AMDEP_FALSE
    675 AMDEP_TRUE
    676 am__quote
    677 am__include
    678 DEPDIR
    679 OBJEXT
    680 EXEEXT
    681 ac_ct_CC
    682 CPPFLAGS
    683 LDFLAGS
    684 CFLAGS
    685 CC
    686 host_os
    687 host_vendor
    688 host_cpu
    689 host
    690 build_os
    691 build_vendor
    692 build_cpu
    693 build
    694 LIBTOOL
    695 MAINT
    696 MAINTAINER_MODE_FALSE
    697 MAINTAINER_MODE_TRUE
    698 AM_BACKSLASH
    699 AM_DEFAULT_VERBOSITY
    700 AM_DEFAULT_V
    701 AM_V
    702 am__untar
    703 am__tar
    704 AMTAR
    705 am__leading_dot
    706 SET_MAKE
    707 AWK
    708 mkdir_p
    709 MKDIR_P
    710 INSTALL_STRIP_PROGRAM
    711 STRIP
    712 install_sh
    713 MAKEINFO
    714 AUTOHEADER
    715 AUTOMAKE
    716 AUTOCONF
    717 ACLOCAL
    718 VERSION
    719 PACKAGE
    720 CYGPATH_W
    721 am__isrc
    722 INSTALL_DATA
    723 INSTALL_SCRIPT
    724 INSTALL_PROGRAM
    725 target_alias
    726 host_alias
    727 build_alias
    728 LIBS
    729 ECHO_T
    730 ECHO_N
    731 ECHO_C
    732 DEFS
    733 mandir
    734 localedir
    735 libdir
    736 psdir
    737 pdfdir
    738 dvidir
    739 htmldir
    740 infodir
    741 docdir
    742 oldincludedir
    743 includedir
    744 localstatedir
    745 sharedstatedir
    746 sysconfdir
    747 datadir
    748 datarootdir
    749 libexecdir
    750 sbindir
    751 bindir
    752 program_transform_name
    753 prefix
    754 exec_prefix
    755 PACKAGE_URL
    756 PACKAGE_BUGREPORT
    757 PACKAGE_STRING
    758 PACKAGE_VERSION
    759 PACKAGE_TARNAME
    760 PACKAGE_NAME
    761 PATH_SEPARATOR
    762 SHELL'
    763 ac_subst_files=''
    764 ac_user_opts='
    765 enable_option_checking
    766 enable_silent_rules
    767 enable_maintainer_mode
    768 enable_shared
    769 enable_static
    770 with_pic
    771 enable_fast_install
    772 enable_dependency_tracking
    773 with_gnu_ld
    774 with_sysroot
    775 enable_libtool_lock
    776 enable_selective_werror
    777 enable_strict_compilation
    778 with_icondir
    779 with_cursorpath
    780 with_lint
    781 '
    782       ac_precious_vars='build_alias
    783 host_alias
    784 target_alias
    785 CC
    786 CFLAGS
    787 LDFLAGS
    788 LIBS
    789 CPPFLAGS
    790 CPP
    791 PKG_CONFIG
    792 XCURSOR_CFLAGS
    793 XCURSOR_LIBS
    794 LINT
    795 LINT_FLAGS'
    796 
    797 
    798 # Initialize some variables set by options.
    799 ac_init_help=
    800 ac_init_version=false
    801 ac_unrecognized_opts=
    802 ac_unrecognized_sep=
    803 # The variables have the same names as the options, with
    804 # dashes changed to underlines.
    805 cache_file=/dev/null
    806 exec_prefix=NONE
    807 no_create=
    808 no_recursion=
    809 prefix=NONE
    810 program_prefix=NONE
    811 program_suffix=NONE
    812 program_transform_name=s,x,x,
    813 silent=
    814 site=
    815 srcdir=
    816 verbose=
    817 x_includes=NONE
    818 x_libraries=NONE
    819 
    820 # Installation directory options.
    821 # These are left unexpanded so users can "make install exec_prefix=/foo"
    822 # and all the variables that are supposed to be based on exec_prefix
    823 # by default will actually change.
    824 # Use braces instead of parens because sh, perl, etc. also accept them.
    825 # (The list follows the same order as the GNU Coding Standards.)
    826 bindir='${exec_prefix}/bin'
    827 sbindir='${exec_prefix}/sbin'
    828 libexecdir='${exec_prefix}/libexec'
    829 datarootdir='${prefix}/share'
    830 datadir='${datarootdir}'
    831 sysconfdir='${prefix}/etc'
    832 sharedstatedir='${prefix}/com'
    833 localstatedir='${prefix}/var'
    834 includedir='${prefix}/include'
    835 oldincludedir='/usr/include'
    836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    837 infodir='${datarootdir}/info'
    838 htmldir='${docdir}'
    839 dvidir='${docdir}'
    840 pdfdir='${docdir}'
    841 psdir='${docdir}'
    842 libdir='${exec_prefix}/lib'
    843 localedir='${datarootdir}/locale'
    844 mandir='${datarootdir}/man'
    845 
    846 ac_prev=
    847 ac_dashdash=
    848 for ac_option
    849 do
    850   # If the previous option needs an argument, assign it.
    851   if test -n "$ac_prev"; then
    852     eval $ac_prev=\$ac_option
    853     ac_prev=
    854     continue
    855   fi
    856 
    857   case $ac_option in
    858   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    859   *=)   ac_optarg= ;;
    860   *)    ac_optarg=yes ;;
    861   esac
    862 
    863   # Accept the important Cygnus configure options, so we can diagnose typos.
    864 
    865   case $ac_dashdash$ac_option in
    866   --)
    867     ac_dashdash=yes ;;
    868 
    869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    870     ac_prev=bindir ;;
    871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    872     bindir=$ac_optarg ;;
    873 
    874   -build | --build | --buil | --bui | --bu)
    875     ac_prev=build_alias ;;
    876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    877     build_alias=$ac_optarg ;;
    878 
    879   -cache-file | --cache-file | --cache-fil | --cache-fi \
    880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    881     ac_prev=cache_file ;;
    882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    884     cache_file=$ac_optarg ;;
    885 
    886   --config-cache | -C)
    887     cache_file=config.cache ;;
    888 
    889   -datadir | --datadir | --datadi | --datad)
    890     ac_prev=datadir ;;
    891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    892     datadir=$ac_optarg ;;
    893 
    894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    895   | --dataroo | --dataro | --datar)
    896     ac_prev=datarootdir ;;
    897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    899     datarootdir=$ac_optarg ;;
    900 
    901   -disable-* | --disable-*)
    902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    903     # Reject names that are not valid shell variable names.
    904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    905       as_fn_error $? "invalid feature name: $ac_useropt"
    906     ac_useropt_orig=$ac_useropt
    907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    908     case $ac_user_opts in
    909       *"
    910 "enable_$ac_useropt"
    911 "*) ;;
    912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    913 	 ac_unrecognized_sep=', ';;
    914     esac
    915     eval enable_$ac_useropt=no ;;
    916 
    917   -docdir | --docdir | --docdi | --doc | --do)
    918     ac_prev=docdir ;;
    919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    920     docdir=$ac_optarg ;;
    921 
    922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    923     ac_prev=dvidir ;;
    924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    925     dvidir=$ac_optarg ;;
    926 
    927   -enable-* | --enable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: $ac_useropt"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=\$ac_optarg ;;
    942 
    943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    945   | --exec | --exe | --ex)
    946     ac_prev=exec_prefix ;;
    947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    949   | --exec=* | --exe=* | --ex=*)
    950     exec_prefix=$ac_optarg ;;
    951 
    952   -gas | --gas | --ga | --g)
    953     # Obsolete; use --with-gas.
    954     with_gas=yes ;;
    955 
    956   -help | --help | --hel | --he | -h)
    957     ac_init_help=long ;;
    958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    959     ac_init_help=recursive ;;
    960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    961     ac_init_help=short ;;
    962 
    963   -host | --host | --hos | --ho)
    964     ac_prev=host_alias ;;
    965   -host=* | --host=* | --hos=* | --ho=*)
    966     host_alias=$ac_optarg ;;
    967 
    968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    969     ac_prev=htmldir ;;
    970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    971   | --ht=*)
    972     htmldir=$ac_optarg ;;
    973 
    974   -includedir | --includedir | --includedi | --included | --include \
    975   | --includ | --inclu | --incl | --inc)
    976     ac_prev=includedir ;;
    977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    978   | --includ=* | --inclu=* | --incl=* | --inc=*)
    979     includedir=$ac_optarg ;;
    980 
    981   -infodir | --infodir | --infodi | --infod | --info | --inf)
    982     ac_prev=infodir ;;
    983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    984     infodir=$ac_optarg ;;
    985 
    986   -libdir | --libdir | --libdi | --libd)
    987     ac_prev=libdir ;;
    988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    989     libdir=$ac_optarg ;;
    990 
    991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    992   | --libexe | --libex | --libe)
    993     ac_prev=libexecdir ;;
    994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    995   | --libexe=* | --libex=* | --libe=*)
    996     libexecdir=$ac_optarg ;;
    997 
    998   -localedir | --localedir | --localedi | --localed | --locale)
    999     ac_prev=localedir ;;
   1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1001     localedir=$ac_optarg ;;
   1002 
   1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1004   | --localstate | --localstat | --localsta | --localst | --locals)
   1005     ac_prev=localstatedir ;;
   1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1008     localstatedir=$ac_optarg ;;
   1009 
   1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1011     ac_prev=mandir ;;
   1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1013     mandir=$ac_optarg ;;
   1014 
   1015   -nfp | --nfp | --nf)
   1016     # Obsolete; use --without-fp.
   1017     with_fp=no ;;
   1018 
   1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1020   | --no-cr | --no-c | -n)
   1021     no_create=yes ;;
   1022 
   1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1025     no_recursion=yes ;;
   1026 
   1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1029   | --oldin | --oldi | --old | --ol | --o)
   1030     ac_prev=oldincludedir ;;
   1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1034     oldincludedir=$ac_optarg ;;
   1035 
   1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1037     ac_prev=prefix ;;
   1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1039     prefix=$ac_optarg ;;
   1040 
   1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1042   | --program-pre | --program-pr | --program-p)
   1043     ac_prev=program_prefix ;;
   1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1046     program_prefix=$ac_optarg ;;
   1047 
   1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1049   | --program-suf | --program-su | --program-s)
   1050     ac_prev=program_suffix ;;
   1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1053     program_suffix=$ac_optarg ;;
   1054 
   1055   -program-transform-name | --program-transform-name \
   1056   | --program-transform-nam | --program-transform-na \
   1057   | --program-transform-n | --program-transform- \
   1058   | --program-transform | --program-transfor \
   1059   | --program-transfo | --program-transf \
   1060   | --program-trans | --program-tran \
   1061   | --progr-tra | --program-tr | --program-t)
   1062     ac_prev=program_transform_name ;;
   1063   -program-transform-name=* | --program-transform-name=* \
   1064   | --program-transform-nam=* | --program-transform-na=* \
   1065   | --program-transform-n=* | --program-transform-=* \
   1066   | --program-transform=* | --program-transfor=* \
   1067   | --program-transfo=* | --program-transf=* \
   1068   | --program-trans=* | --program-tran=* \
   1069   | --progr-tra=* | --program-tr=* | --program-t=*)
   1070     program_transform_name=$ac_optarg ;;
   1071 
   1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1073     ac_prev=pdfdir ;;
   1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1075     pdfdir=$ac_optarg ;;
   1076 
   1077   -psdir | --psdir | --psdi | --psd | --ps)
   1078     ac_prev=psdir ;;
   1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1080     psdir=$ac_optarg ;;
   1081 
   1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1083   | -silent | --silent | --silen | --sile | --sil)
   1084     silent=yes ;;
   1085 
   1086   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1087     ac_prev=sbindir ;;
   1088   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1089   | --sbi=* | --sb=*)
   1090     sbindir=$ac_optarg ;;
   1091 
   1092   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1093   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1094   | --sharedst | --shareds | --shared | --share | --shar \
   1095   | --sha | --sh)
   1096     ac_prev=sharedstatedir ;;
   1097   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1098   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1099   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1100   | --sha=* | --sh=*)
   1101     sharedstatedir=$ac_optarg ;;
   1102 
   1103   -site | --site | --sit)
   1104     ac_prev=site ;;
   1105   -site=* | --site=* | --sit=*)
   1106     site=$ac_optarg ;;
   1107 
   1108   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1109     ac_prev=srcdir ;;
   1110   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1111     srcdir=$ac_optarg ;;
   1112 
   1113   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1114   | --syscon | --sysco | --sysc | --sys | --sy)
   1115     ac_prev=sysconfdir ;;
   1116   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1117   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1118     sysconfdir=$ac_optarg ;;
   1119 
   1120   -target | --target | --targe | --targ | --tar | --ta | --t)
   1121     ac_prev=target_alias ;;
   1122   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1123     target_alias=$ac_optarg ;;
   1124 
   1125   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1126     verbose=yes ;;
   1127 
   1128   -version | --version | --versio | --versi | --vers | -V)
   1129     ac_init_version=: ;;
   1130 
   1131   -with-* | --with-*)
   1132     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1133     # Reject names that are not valid shell variable names.
   1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1135       as_fn_error $? "invalid package name: $ac_useropt"
   1136     ac_useropt_orig=$ac_useropt
   1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1138     case $ac_user_opts in
   1139       *"
   1140 "with_$ac_useropt"
   1141 "*) ;;
   1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1143 	 ac_unrecognized_sep=', ';;
   1144     esac
   1145     eval with_$ac_useropt=\$ac_optarg ;;
   1146 
   1147   -without-* | --without-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: $ac_useropt"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=no ;;
   1162 
   1163   --x)
   1164     # Obsolete; use --with-x.
   1165     with_x=yes ;;
   1166 
   1167   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1168   | --x-incl | --x-inc | --x-in | --x-i)
   1169     ac_prev=x_includes ;;
   1170   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1171   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1172     x_includes=$ac_optarg ;;
   1173 
   1174   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1175   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1176     ac_prev=x_libraries ;;
   1177   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1178   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1179     x_libraries=$ac_optarg ;;
   1180 
   1181   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1182 Try \`$0 --help' for more information"
   1183     ;;
   1184 
   1185   *=*)
   1186     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1187     # Reject names that are not valid shell variable names.
   1188     case $ac_envvar in #(
   1189       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1190       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1191     esac
   1192     eval $ac_envvar=\$ac_optarg
   1193     export $ac_envvar ;;
   1194 
   1195   *)
   1196     # FIXME: should be removed in autoconf 3.0.
   1197     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1198     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1199       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1200     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1201     ;;
   1202 
   1203   esac
   1204 done
   1205 
   1206 if test -n "$ac_prev"; then
   1207   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1208   as_fn_error $? "missing argument to $ac_option"
   1209 fi
   1210 
   1211 if test -n "$ac_unrecognized_opts"; then
   1212   case $enable_option_checking in
   1213     no) ;;
   1214     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1215     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1216   esac
   1217 fi
   1218 
   1219 # Check all directory arguments for consistency.
   1220 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1221 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1222 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1223 		libdir localedir mandir
   1224 do
   1225   eval ac_val=\$$ac_var
   1226   # Remove trailing slashes.
   1227   case $ac_val in
   1228     */ )
   1229       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1230       eval $ac_var=\$ac_val;;
   1231   esac
   1232   # Be sure to have absolute directory names.
   1233   case $ac_val in
   1234     [\\/$]* | ?:[\\/]* )  continue;;
   1235     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1236   esac
   1237   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1238 done
   1239 
   1240 # There might be people who depend on the old broken behavior: `$host'
   1241 # used to hold the argument of --host etc.
   1242 # FIXME: To remove some day.
   1243 build=$build_alias
   1244 host=$host_alias
   1245 target=$target_alias
   1246 
   1247 # FIXME: To remove some day.
   1248 if test "x$host_alias" != x; then
   1249   if test "x$build_alias" = x; then
   1250     cross_compiling=maybe
   1251     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1252     If a cross compiler is detected then cross compile mode will be used" >&2
   1253   elif test "x$build_alias" != "x$host_alias"; then
   1254     cross_compiling=yes
   1255   fi
   1256 fi
   1257 
   1258 ac_tool_prefix=
   1259 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1260 
   1261 test "$silent" = yes && exec 6>/dev/null
   1262 
   1263 
   1264 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1265 ac_ls_di=`ls -di .` &&
   1266 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1267   as_fn_error $? "working directory cannot be determined"
   1268 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1269   as_fn_error $? "pwd does not report name of working directory"
   1270 
   1271 
   1272 # Find the source files, if location was not specified.
   1273 if test -z "$srcdir"; then
   1274   ac_srcdir_defaulted=yes
   1275   # Try the directory containing this script, then the parent directory.
   1276   ac_confdir=`$as_dirname -- "$as_myself" ||
   1277 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1278 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1279 	 X"$as_myself" : 'X\(//\)$' \| \
   1280 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1281 $as_echo X"$as_myself" |
   1282     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)[^/].*/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\/\)$/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\).*/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  s/.*/./; q'`
   1299   srcdir=$ac_confdir
   1300   if test ! -r "$srcdir/$ac_unique_file"; then
   1301     srcdir=..
   1302   fi
   1303 else
   1304   ac_srcdir_defaulted=no
   1305 fi
   1306 if test ! -r "$srcdir/$ac_unique_file"; then
   1307   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1308   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1309 fi
   1310 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1311 ac_abs_confdir=`(
   1312 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1313 	pwd)`
   1314 # When building in place, set srcdir=.
   1315 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1316   srcdir=.
   1317 fi
   1318 # Remove unnecessary trailing slashes from srcdir.
   1319 # Double slashes in file names in object file debugging info
   1320 # mess up M-x gdb in Emacs.
   1321 case $srcdir in
   1322 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1323 esac
   1324 for ac_var in $ac_precious_vars; do
   1325   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1326   eval ac_env_${ac_var}_value=\$${ac_var}
   1327   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1328   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1329 done
   1330 
   1331 #
   1332 # Report the --help message.
   1333 #
   1334 if test "$ac_init_help" = "long"; then
   1335   # Omit some internal or obsolete options to make the list less imposing.
   1336   # This message is too long to be a string in the A/UX 3.1 sh.
   1337   cat <<_ACEOF
   1338 \`configure' configures libXcursor 1.1.14 to adapt to many kinds of systems.
   1339 
   1340 Usage: $0 [OPTION]... [VAR=VALUE]...
   1341 
   1342 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1343 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1344 
   1345 Defaults for the options are specified in brackets.
   1346 
   1347 Configuration:
   1348   -h, --help              display this help and exit
   1349       --help=short        display options specific to this package
   1350       --help=recursive    display the short help of all the included packages
   1351   -V, --version           display version information and exit
   1352   -q, --quiet, --silent   do not print \`checking ...' messages
   1353       --cache-file=FILE   cache test results in FILE [disabled]
   1354   -C, --config-cache      alias for \`--cache-file=config.cache'
   1355   -n, --no-create         do not create output files
   1356       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1357 
   1358 Installation directories:
   1359   --prefix=PREFIX         install architecture-independent files in PREFIX
   1360                           [$ac_default_prefix]
   1361   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1362                           [PREFIX]
   1363 
   1364 By default, \`make install' will install all the files in
   1365 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1366 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1367 for instance \`--prefix=\$HOME'.
   1368 
   1369 For better control, use the options below.
   1370 
   1371 Fine tuning of the installation directories:
   1372   --bindir=DIR            user executables [EPREFIX/bin]
   1373   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1374   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1375   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1376   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1377   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1378   --libdir=DIR            object code libraries [EPREFIX/lib]
   1379   --includedir=DIR        C header files [PREFIX/include]
   1380   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1381   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1382   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1383   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1384   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1385   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1386   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXcursor]
   1387   --htmldir=DIR           html documentation [DOCDIR]
   1388   --dvidir=DIR            dvi documentation [DOCDIR]
   1389   --pdfdir=DIR            pdf documentation [DOCDIR]
   1390   --psdir=DIR             ps documentation [DOCDIR]
   1391 _ACEOF
   1392 
   1393   cat <<\_ACEOF
   1394 
   1395 Program names:
   1396   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1397   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1398   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1399 
   1400 System types:
   1401   --build=BUILD     configure for building on BUILD [guessed]
   1402   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1403 _ACEOF
   1404 fi
   1405 
   1406 if test -n "$ac_init_help"; then
   1407   case $ac_init_help in
   1408      short | recursive ) echo "Configuration of libXcursor 1.1.14:";;
   1409    esac
   1410   cat <<\_ACEOF
   1411 
   1412 Optional Features:
   1413   --disable-option-checking  ignore unrecognized --enable/--with options
   1414   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1415   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1416   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1417   --disable-silent-rules  verbose build output (undo: "make V=0")
   1418   --enable-maintainer-mode
   1419                           enable make rules and dependencies not useful (and
   1420                           sometimes confusing) to the casual installer
   1421   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1422   --enable-static[=PKGS]  build static libraries [default=yes]
   1423   --enable-fast-install[=PKGS]
   1424                           optimize for fast installation [default=yes]
   1425   --enable-dependency-tracking
   1426                           do not reject slow dependency extractors
   1427   --disable-dependency-tracking
   1428                           speeds up one-time build
   1429   --disable-libtool-lock  avoid locking (might break parallel builds)
   1430   --disable-selective-werror
   1431                           Turn off selective compiler errors. (default:
   1432                           enabled)
   1433   --enable-strict-compilation
   1434                           Enable all warnings from compiler and make them
   1435                           errors (default: disabled)
   1436 
   1437 Optional Packages:
   1438   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1439   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1440   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1441                           both]
   1442   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1443   --with-sysroot=DIR Search for dependent libraries within DIR
   1444                         (or the compiler's sysroot if not specified).
   1445   --with-icondir=<path>   Set default icon directory (default:
   1446                           ${datadir}/icons)
   1447   --with-cursorpath=<paths>
   1448                           Set default search path for cursors
   1449   --with-lint             Use a lint-style source code checker (default:
   1450                           disabled)
   1451 
   1452 Some influential environment variables:
   1453   CC          C compiler command
   1454   CFLAGS      C compiler flags
   1455   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1456               nonstandard directory <lib dir>
   1457   LIBS        libraries to pass to the linker, e.g. -l<library>
   1458   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1459               you have headers in a nonstandard directory <include dir>
   1460   CPP         C preprocessor
   1461   PKG_CONFIG  path to pkg-config utility
   1462   XCURSOR_CFLAGS
   1463               C compiler flags for XCURSOR, overriding pkg-config
   1464   XCURSOR_LIBS
   1465               linker flags for XCURSOR, overriding pkg-config
   1466   LINT        Path to a lint-style command
   1467   LINT_FLAGS  Flags for the lint-style command
   1468 
   1469 Use these variables to override the choices made by `configure' or to help
   1470 it to find libraries and programs with nonstandard names/locations.
   1471 
   1472 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1473 _ACEOF
   1474 ac_status=$?
   1475 fi
   1476 
   1477 if test "$ac_init_help" = "recursive"; then
   1478   # If there are subdirs, report their specific --help.
   1479   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1480     test -d "$ac_dir" ||
   1481       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1482       continue
   1483     ac_builddir=.
   1484 
   1485 case "$ac_dir" in
   1486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1487 *)
   1488   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1489   # A ".." for each directory in $ac_dir_suffix.
   1490   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1491   case $ac_top_builddir_sub in
   1492   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1493   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1494   esac ;;
   1495 esac
   1496 ac_abs_top_builddir=$ac_pwd
   1497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1498 # for backward compatibility:
   1499 ac_top_builddir=$ac_top_build_prefix
   1500 
   1501 case $srcdir in
   1502   .)  # We are building in place.
   1503     ac_srcdir=.
   1504     ac_top_srcdir=$ac_top_builddir_sub
   1505     ac_abs_top_srcdir=$ac_pwd ;;
   1506   [\\/]* | ?:[\\/]* )  # Absolute name.
   1507     ac_srcdir=$srcdir$ac_dir_suffix;
   1508     ac_top_srcdir=$srcdir
   1509     ac_abs_top_srcdir=$srcdir ;;
   1510   *) # Relative name.
   1511     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1512     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1513     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1514 esac
   1515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1516 
   1517     cd "$ac_dir" || { ac_status=$?; continue; }
   1518     # Check for guested configure.
   1519     if test -f "$ac_srcdir/configure.gnu"; then
   1520       echo &&
   1521       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1522     elif test -f "$ac_srcdir/configure"; then
   1523       echo &&
   1524       $SHELL "$ac_srcdir/configure" --help=recursive
   1525     else
   1526       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1527     fi || ac_status=$?
   1528     cd "$ac_pwd" || { ac_status=$?; break; }
   1529   done
   1530 fi
   1531 
   1532 test -n "$ac_init_help" && exit $ac_status
   1533 if $ac_init_version; then
   1534   cat <<\_ACEOF
   1535 libXcursor configure 1.1.14
   1536 generated by GNU Autoconf 2.68
   1537 
   1538 Copyright (C) 2010 Free Software Foundation, Inc.
   1539 This configure script is free software; the Free Software Foundation
   1540 gives unlimited permission to copy, distribute and modify it.
   1541 _ACEOF
   1542   exit
   1543 fi
   1544 
   1545 ## ------------------------ ##
   1546 ## Autoconf initialization. ##
   1547 ## ------------------------ ##
   1548 
   1549 # ac_fn_c_try_compile LINENO
   1550 # --------------------------
   1551 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1552 ac_fn_c_try_compile ()
   1553 {
   1554   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1555   rm -f conftest.$ac_objext
   1556   if { { ac_try="$ac_compile"
   1557 case "(($ac_try" in
   1558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1559   *) ac_try_echo=$ac_try;;
   1560 esac
   1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1562 $as_echo "$ac_try_echo"; } >&5
   1563   (eval "$ac_compile") 2>conftest.err
   1564   ac_status=$?
   1565   if test -s conftest.err; then
   1566     grep -v '^ *+' conftest.err >conftest.er1
   1567     cat conftest.er1 >&5
   1568     mv -f conftest.er1 conftest.err
   1569   fi
   1570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1571   test $ac_status = 0; } && {
   1572 	 test -z "$ac_c_werror_flag" ||
   1573 	 test ! -s conftest.err
   1574        } && test -s conftest.$ac_objext; then :
   1575   ac_retval=0
   1576 else
   1577   $as_echo "$as_me: failed program was:" >&5
   1578 sed 's/^/| /' conftest.$ac_ext >&5
   1579 
   1580 	ac_retval=1
   1581 fi
   1582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1583   as_fn_set_status $ac_retval
   1584 
   1585 } # ac_fn_c_try_compile
   1586 
   1587 # ac_fn_c_try_link LINENO
   1588 # -----------------------
   1589 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1590 ac_fn_c_try_link ()
   1591 {
   1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1593   rm -f conftest.$ac_objext conftest$ac_exeext
   1594   if { { ac_try="$ac_link"
   1595 case "(($ac_try" in
   1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1597   *) ac_try_echo=$ac_try;;
   1598 esac
   1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1600 $as_echo "$ac_try_echo"; } >&5
   1601   (eval "$ac_link") 2>conftest.err
   1602   ac_status=$?
   1603   if test -s conftest.err; then
   1604     grep -v '^ *+' conftest.err >conftest.er1
   1605     cat conftest.er1 >&5
   1606     mv -f conftest.er1 conftest.err
   1607   fi
   1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1609   test $ac_status = 0; } && {
   1610 	 test -z "$ac_c_werror_flag" ||
   1611 	 test ! -s conftest.err
   1612        } && test -s conftest$ac_exeext && {
   1613 	 test "$cross_compiling" = yes ||
   1614 	 $as_test_x conftest$ac_exeext
   1615        }; then :
   1616   ac_retval=0
   1617 else
   1618   $as_echo "$as_me: failed program was:" >&5
   1619 sed 's/^/| /' conftest.$ac_ext >&5
   1620 
   1621 	ac_retval=1
   1622 fi
   1623   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1624   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1625   # interfere with the next link command; also delete a directory that is
   1626   # left behind by Apple's compiler.  We do this before executing the actions.
   1627   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1629   as_fn_set_status $ac_retval
   1630 
   1631 } # ac_fn_c_try_link
   1632 
   1633 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1634 # -------------------------------------------------------
   1635 # Tests whether HEADER exists and can be compiled using the include files in
   1636 # INCLUDES, setting the cache variable VAR accordingly.
   1637 ac_fn_c_check_header_compile ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1641 $as_echo_n "checking for $2... " >&6; }
   1642 if eval \${$3+:} false; then :
   1643   $as_echo_n "(cached) " >&6
   1644 else
   1645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1646 /* end confdefs.h.  */
   1647 $4
   1648 #include <$2>
   1649 _ACEOF
   1650 if ac_fn_c_try_compile "$LINENO"; then :
   1651   eval "$3=yes"
   1652 else
   1653   eval "$3=no"
   1654 fi
   1655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1656 fi
   1657 eval ac_res=\$$3
   1658 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1659 $as_echo "$ac_res" >&6; }
   1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1661 
   1662 } # ac_fn_c_check_header_compile
   1663 
   1664 # ac_fn_c_try_cpp LINENO
   1665 # ----------------------
   1666 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_cpp ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1671 case "(($ac_try" in
   1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1673   *) ac_try_echo=$ac_try;;
   1674 esac
   1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1676 $as_echo "$ac_try_echo"; } >&5
   1677   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1678   ac_status=$?
   1679   if test -s conftest.err; then
   1680     grep -v '^ *+' conftest.err >conftest.er1
   1681     cat conftest.er1 >&5
   1682     mv -f conftest.er1 conftest.err
   1683   fi
   1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1685   test $ac_status = 0; } > conftest.i && {
   1686 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1687 	 test ! -s conftest.err
   1688        }; then :
   1689   ac_retval=0
   1690 else
   1691   $as_echo "$as_me: failed program was:" >&5
   1692 sed 's/^/| /' conftest.$ac_ext >&5
   1693 
   1694     ac_retval=1
   1695 fi
   1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1697   as_fn_set_status $ac_retval
   1698 
   1699 } # ac_fn_c_try_cpp
   1700 
   1701 # ac_fn_c_try_run LINENO
   1702 # ----------------------
   1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1704 # that executables *can* be run.
   1705 ac_fn_c_try_run ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   if { { ac_try="$ac_link"
   1709 case "(($ac_try" in
   1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1711   *) ac_try_echo=$ac_try;;
   1712 esac
   1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1714 $as_echo "$ac_try_echo"; } >&5
   1715   (eval "$ac_link") 2>&5
   1716   ac_status=$?
   1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1719   { { case "(($ac_try" in
   1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1721   *) ac_try_echo=$ac_try;;
   1722 esac
   1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1724 $as_echo "$ac_try_echo"; } >&5
   1725   (eval "$ac_try") 2>&5
   1726   ac_status=$?
   1727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1728   test $ac_status = 0; }; }; then :
   1729   ac_retval=0
   1730 else
   1731   $as_echo "$as_me: program exited with status $ac_status" >&5
   1732        $as_echo "$as_me: failed program was:" >&5
   1733 sed 's/^/| /' conftest.$ac_ext >&5
   1734 
   1735        ac_retval=$ac_status
   1736 fi
   1737   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1739   as_fn_set_status $ac_retval
   1740 
   1741 } # ac_fn_c_try_run
   1742 
   1743 # ac_fn_c_check_func LINENO FUNC VAR
   1744 # ----------------------------------
   1745 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1746 ac_fn_c_check_func ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1750 $as_echo_n "checking for $2... " >&6; }
   1751 if eval \${$3+:} false; then :
   1752   $as_echo_n "(cached) " >&6
   1753 else
   1754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1755 /* end confdefs.h.  */
   1756 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1758 #define $2 innocuous_$2
   1759 
   1760 /* System header to define __stub macros and hopefully few prototypes,
   1761     which can conflict with char $2 (); below.
   1762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1763     <limits.h> exists even on freestanding compilers.  */
   1764 
   1765 #ifdef __STDC__
   1766 # include <limits.h>
   1767 #else
   1768 # include <assert.h>
   1769 #endif
   1770 
   1771 #undef $2
   1772 
   1773 /* Override any GCC internal prototype to avoid an error.
   1774    Use char because int might match the return type of a GCC
   1775    builtin and then its argument prototype would still apply.  */
   1776 #ifdef __cplusplus
   1777 extern "C"
   1778 #endif
   1779 char $2 ();
   1780 /* The GNU C library defines this for functions which it implements
   1781     to always fail with ENOSYS.  Some functions are actually named
   1782     something starting with __ and the normal name is an alias.  */
   1783 #if defined __stub_$2 || defined __stub___$2
   1784 choke me
   1785 #endif
   1786 
   1787 int
   1788 main ()
   1789 {
   1790 return $2 ();
   1791   ;
   1792   return 0;
   1793 }
   1794 _ACEOF
   1795 if ac_fn_c_try_link "$LINENO"; then :
   1796   eval "$3=yes"
   1797 else
   1798   eval "$3=no"
   1799 fi
   1800 rm -f core conftest.err conftest.$ac_objext \
   1801     conftest$ac_exeext conftest.$ac_ext
   1802 fi
   1803 eval ac_res=\$$3
   1804 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1805 $as_echo "$ac_res" >&6; }
   1806   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1807 
   1808 } # ac_fn_c_check_func
   1809 
   1810 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1811 # ---------------------------------------------
   1812 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1813 # accordingly.
   1814 ac_fn_c_check_decl ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1818   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1820 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1821 if eval \${$3+:} false; then :
   1822   $as_echo_n "(cached) " >&6
   1823 else
   1824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1825 /* end confdefs.h.  */
   1826 $4
   1827 int
   1828 main ()
   1829 {
   1830 #ifndef $as_decl_name
   1831 #ifdef __cplusplus
   1832   (void) $as_decl_use;
   1833 #else
   1834   (void) $as_decl_name;
   1835 #endif
   1836 #endif
   1837 
   1838   ;
   1839   return 0;
   1840 }
   1841 _ACEOF
   1842 if ac_fn_c_try_compile "$LINENO"; then :
   1843   eval "$3=yes"
   1844 else
   1845   eval "$3=no"
   1846 fi
   1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1848 fi
   1849 eval ac_res=\$$3
   1850 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1851 $as_echo "$ac_res" >&6; }
   1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1853 
   1854 } # ac_fn_c_check_decl
   1855 cat >config.log <<_ACEOF
   1856 This file contains any messages produced by compilers while
   1857 running configure, to aid debugging if configure makes a mistake.
   1858 
   1859 It was created by libXcursor $as_me 1.1.14, which was
   1860 generated by GNU Autoconf 2.68.  Invocation command line was
   1861 
   1862   $ $0 $@
   1863 
   1864 _ACEOF
   1865 exec 5>>config.log
   1866 {
   1867 cat <<_ASUNAME
   1868 ## --------- ##
   1869 ## Platform. ##
   1870 ## --------- ##
   1871 
   1872 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1873 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1874 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1875 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1876 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1877 
   1878 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1879 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1880 
   1881 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1882 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1883 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1884 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1885 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1886 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1887 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1888 
   1889 _ASUNAME
   1890 
   1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1892 for as_dir in $PATH
   1893 do
   1894   IFS=$as_save_IFS
   1895   test -z "$as_dir" && as_dir=.
   1896     $as_echo "PATH: $as_dir"
   1897   done
   1898 IFS=$as_save_IFS
   1899 
   1900 } >&5
   1901 
   1902 cat >&5 <<_ACEOF
   1903 
   1904 
   1905 ## ----------- ##
   1906 ## Core tests. ##
   1907 ## ----------- ##
   1908 
   1909 _ACEOF
   1910 
   1911 
   1912 # Keep a trace of the command line.
   1913 # Strip out --no-create and --no-recursion so they do not pile up.
   1914 # Strip out --silent because we don't want to record it for future runs.
   1915 # Also quote any args containing shell meta-characters.
   1916 # Make two passes to allow for proper duplicate-argument suppression.
   1917 ac_configure_args=
   1918 ac_configure_args0=
   1919 ac_configure_args1=
   1920 ac_must_keep_next=false
   1921 for ac_pass in 1 2
   1922 do
   1923   for ac_arg
   1924   do
   1925     case $ac_arg in
   1926     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1927     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1928     | -silent | --silent | --silen | --sile | --sil)
   1929       continue ;;
   1930     *\'*)
   1931       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1932     esac
   1933     case $ac_pass in
   1934     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1935     2)
   1936       as_fn_append ac_configure_args1 " '$ac_arg'"
   1937       if test $ac_must_keep_next = true; then
   1938 	ac_must_keep_next=false # Got value, back to normal.
   1939       else
   1940 	case $ac_arg in
   1941 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1942 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1943 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1944 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1945 	    case "$ac_configure_args0 " in
   1946 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1947 	    esac
   1948 	    ;;
   1949 	  -* ) ac_must_keep_next=true ;;
   1950 	esac
   1951       fi
   1952       as_fn_append ac_configure_args " '$ac_arg'"
   1953       ;;
   1954     esac
   1955   done
   1956 done
   1957 { ac_configure_args0=; unset ac_configure_args0;}
   1958 { ac_configure_args1=; unset ac_configure_args1;}
   1959 
   1960 # When interrupted or exit'd, cleanup temporary files, and complete
   1961 # config.log.  We remove comments because anyway the quotes in there
   1962 # would cause problems or look ugly.
   1963 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1964 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1965 trap 'exit_status=$?
   1966   # Save into config.log some information that might help in debugging.
   1967   {
   1968     echo
   1969 
   1970     $as_echo "## ---------------- ##
   1971 ## Cache variables. ##
   1972 ## ---------------- ##"
   1973     echo
   1974     # The following way of writing the cache mishandles newlines in values,
   1975 (
   1976   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1977     eval ac_val=\$$ac_var
   1978     case $ac_val in #(
   1979     *${as_nl}*)
   1980       case $ac_var in #(
   1981       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1983       esac
   1984       case $ac_var in #(
   1985       _ | IFS | as_nl) ;; #(
   1986       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1987       *) { eval $ac_var=; unset $ac_var;} ;;
   1988       esac ;;
   1989     esac
   1990   done
   1991   (set) 2>&1 |
   1992     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1993     *${as_nl}ac_space=\ *)
   1994       sed -n \
   1995 	"s/'\''/'\''\\\\'\'''\''/g;
   1996 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1997       ;; #(
   1998     *)
   1999       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2000       ;;
   2001     esac |
   2002     sort
   2003 )
   2004     echo
   2005 
   2006     $as_echo "## ----------------- ##
   2007 ## Output variables. ##
   2008 ## ----------------- ##"
   2009     echo
   2010     for ac_var in $ac_subst_vars
   2011     do
   2012       eval ac_val=\$$ac_var
   2013       case $ac_val in
   2014       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2015       esac
   2016       $as_echo "$ac_var='\''$ac_val'\''"
   2017     done | sort
   2018     echo
   2019 
   2020     if test -n "$ac_subst_files"; then
   2021       $as_echo "## ------------------- ##
   2022 ## File substitutions. ##
   2023 ## ------------------- ##"
   2024       echo
   2025       for ac_var in $ac_subst_files
   2026       do
   2027 	eval ac_val=\$$ac_var
   2028 	case $ac_val in
   2029 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2030 	esac
   2031 	$as_echo "$ac_var='\''$ac_val'\''"
   2032       done | sort
   2033       echo
   2034     fi
   2035 
   2036     if test -s confdefs.h; then
   2037       $as_echo "## ----------- ##
   2038 ## confdefs.h. ##
   2039 ## ----------- ##"
   2040       echo
   2041       cat confdefs.h
   2042       echo
   2043     fi
   2044     test "$ac_signal" != 0 &&
   2045       $as_echo "$as_me: caught signal $ac_signal"
   2046     $as_echo "$as_me: exit $exit_status"
   2047   } >&5
   2048   rm -f core *.core core.conftest.* &&
   2049     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2050     exit $exit_status
   2051 ' 0
   2052 for ac_signal in 1 2 13 15; do
   2053   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2054 done
   2055 ac_signal=0
   2056 
   2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2058 rm -f -r conftest* confdefs.h
   2059 
   2060 $as_echo "/* confdefs.h */" > confdefs.h
   2061 
   2062 # Predefined preprocessor variables.
   2063 
   2064 cat >>confdefs.h <<_ACEOF
   2065 #define PACKAGE_NAME "$PACKAGE_NAME"
   2066 _ACEOF
   2067 
   2068 cat >>confdefs.h <<_ACEOF
   2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2070 _ACEOF
   2071 
   2072 cat >>confdefs.h <<_ACEOF
   2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2074 _ACEOF
   2075 
   2076 cat >>confdefs.h <<_ACEOF
   2077 #define PACKAGE_STRING "$PACKAGE_STRING"
   2078 _ACEOF
   2079 
   2080 cat >>confdefs.h <<_ACEOF
   2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2082 _ACEOF
   2083 
   2084 cat >>confdefs.h <<_ACEOF
   2085 #define PACKAGE_URL "$PACKAGE_URL"
   2086 _ACEOF
   2087 
   2088 
   2089 # Let the site file select an alternate cache file if it wants to.
   2090 # Prefer an explicitly selected file to automatically selected ones.
   2091 ac_site_file1=NONE
   2092 ac_site_file2=NONE
   2093 if test -n "$CONFIG_SITE"; then
   2094   # We do not want a PATH search for config.site.
   2095   case $CONFIG_SITE in #((
   2096     -*)  ac_site_file1=./$CONFIG_SITE;;
   2097     */*) ac_site_file1=$CONFIG_SITE;;
   2098     *)   ac_site_file1=./$CONFIG_SITE;;
   2099   esac
   2100 elif test "x$prefix" != xNONE; then
   2101   ac_site_file1=$prefix/share/config.site
   2102   ac_site_file2=$prefix/etc/config.site
   2103 else
   2104   ac_site_file1=$ac_default_prefix/share/config.site
   2105   ac_site_file2=$ac_default_prefix/etc/config.site
   2106 fi
   2107 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2108 do
   2109   test "x$ac_site_file" = xNONE && continue
   2110   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2111     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2112 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2113     sed 's/^/| /' "$ac_site_file" >&5
   2114     . "$ac_site_file" \
   2115       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2117 as_fn_error $? "failed to load site script $ac_site_file
   2118 See \`config.log' for more details" "$LINENO" 5; }
   2119   fi
   2120 done
   2121 
   2122 if test -r "$cache_file"; then
   2123   # Some versions of bash will fail to source /dev/null (special files
   2124   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2125   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2126     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2127 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2128     case $cache_file in
   2129       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2130       *)                      . "./$cache_file";;
   2131     esac
   2132   fi
   2133 else
   2134   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2135 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2136   >$cache_file
   2137 fi
   2138 
   2139 # Check that the precious variables saved in the cache have kept the same
   2140 # value.
   2141 ac_cache_corrupted=false
   2142 for ac_var in $ac_precious_vars; do
   2143   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2144   eval ac_new_set=\$ac_env_${ac_var}_set
   2145   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2146   eval ac_new_val=\$ac_env_${ac_var}_value
   2147   case $ac_old_set,$ac_new_set in
   2148     set,)
   2149       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2150 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2151       ac_cache_corrupted=: ;;
   2152     ,set)
   2153       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2154 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2155       ac_cache_corrupted=: ;;
   2156     ,);;
   2157     *)
   2158       if test "x$ac_old_val" != "x$ac_new_val"; then
   2159 	# differences in whitespace do not lead to failure.
   2160 	ac_old_val_w=`echo x $ac_old_val`
   2161 	ac_new_val_w=`echo x $ac_new_val`
   2162 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2163 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2164 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2165 	  ac_cache_corrupted=:
   2166 	else
   2167 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2168 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2169 	  eval $ac_var=\$ac_old_val
   2170 	fi
   2171 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2172 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2173 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2174 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2175       fi;;
   2176   esac
   2177   # Pass precious variables to config.status.
   2178   if test "$ac_new_set" = set; then
   2179     case $ac_new_val in
   2180     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2181     *) ac_arg=$ac_var=$ac_new_val ;;
   2182     esac
   2183     case " $ac_configure_args " in
   2184       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2185       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2186     esac
   2187   fi
   2188 done
   2189 if $ac_cache_corrupted; then
   2190   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2192   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2193 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2194   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2195 fi
   2196 ## -------------------- ##
   2197 ## Main body of script. ##
   2198 ## -------------------- ##
   2199 
   2200 ac_ext=c
   2201 ac_cpp='$CPP $CPPFLAGS'
   2202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2205 
   2206 
   2207 
   2208 ac_config_headers="$ac_config_headers config.h include/X11/Xcursor/Xcursor.h"
   2209 
   2210 
   2211 # Initialize Automake
   2212 am__api_version='1.13'
   2213 
   2214 ac_aux_dir=
   2215 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2216   if test -f "$ac_dir/install-sh"; then
   2217     ac_aux_dir=$ac_dir
   2218     ac_install_sh="$ac_aux_dir/install-sh -c"
   2219     break
   2220   elif test -f "$ac_dir/install.sh"; then
   2221     ac_aux_dir=$ac_dir
   2222     ac_install_sh="$ac_aux_dir/install.sh -c"
   2223     break
   2224   elif test -f "$ac_dir/shtool"; then
   2225     ac_aux_dir=$ac_dir
   2226     ac_install_sh="$ac_aux_dir/shtool install -c"
   2227     break
   2228   fi
   2229 done
   2230 if test -z "$ac_aux_dir"; then
   2231   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2232 fi
   2233 
   2234 # These three variables are undocumented and unsupported,
   2235 # and are intended to be withdrawn in a future Autoconf release.
   2236 # They can cause serious problems if a builder's source tree is in a directory
   2237 # whose full name contains unusual characters.
   2238 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2239 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2240 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2241 
   2242 
   2243 # Find a good install program.  We prefer a C program (faster),
   2244 # so one script is as good as another.  But avoid the broken or
   2245 # incompatible versions:
   2246 # SysV /etc/install, /usr/sbin/install
   2247 # SunOS /usr/etc/install
   2248 # IRIX /sbin/install
   2249 # AIX /bin/install
   2250 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2254 # OS/2's system install, which has a completely different semantic
   2255 # ./install, which can be erroneously created by make from ./install.sh.
   2256 # Reject install programs that cannot install multiple files.
   2257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2258 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2259 if test -z "$INSTALL"; then
   2260 if ${ac_cv_path_install+:} false; then :
   2261   $as_echo_n "(cached) " >&6
   2262 else
   2263   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2264 for as_dir in $PATH
   2265 do
   2266   IFS=$as_save_IFS
   2267   test -z "$as_dir" && as_dir=.
   2268     # Account for people who put trailing slashes in PATH elements.
   2269 case $as_dir/ in #((
   2270   ./ | .// | /[cC]/* | \
   2271   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2272   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2273   /usr/ucb/* ) ;;
   2274   *)
   2275     # OSF1 and SCO ODT 3.0 have their own names for install.
   2276     # Don't use installbsd from OSF since it installs stuff as root
   2277     # by default.
   2278     for ac_prog in ginstall scoinst install; do
   2279       for ac_exec_ext in '' $ac_executable_extensions; do
   2280 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2281 	  if test $ac_prog = install &&
   2282 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2283 	    # AIX install.  It has an incompatible calling convention.
   2284 	    :
   2285 	  elif test $ac_prog = install &&
   2286 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2287 	    # program-specific install script used by HP pwplus--don't use.
   2288 	    :
   2289 	  else
   2290 	    rm -rf conftest.one conftest.two conftest.dir
   2291 	    echo one > conftest.one
   2292 	    echo two > conftest.two
   2293 	    mkdir conftest.dir
   2294 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2295 	      test -s conftest.one && test -s conftest.two &&
   2296 	      test -s conftest.dir/conftest.one &&
   2297 	      test -s conftest.dir/conftest.two
   2298 	    then
   2299 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2300 	      break 3
   2301 	    fi
   2302 	  fi
   2303 	fi
   2304       done
   2305     done
   2306     ;;
   2307 esac
   2308 
   2309   done
   2310 IFS=$as_save_IFS
   2311 
   2312 rm -rf conftest.one conftest.two conftest.dir
   2313 
   2314 fi
   2315   if test "${ac_cv_path_install+set}" = set; then
   2316     INSTALL=$ac_cv_path_install
   2317   else
   2318     # As a last resort, use the slow shell script.  Don't cache a
   2319     # value for INSTALL within a source directory, because that will
   2320     # break other packages using the cache if that directory is
   2321     # removed, or if the value is a relative name.
   2322     INSTALL=$ac_install_sh
   2323   fi
   2324 fi
   2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2326 $as_echo "$INSTALL" >&6; }
   2327 
   2328 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2329 # It thinks the first close brace ends the variable substitution.
   2330 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2331 
   2332 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2333 
   2334 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2335 
   2336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2337 $as_echo_n "checking whether build environment is sane... " >&6; }
   2338 # Reject unsafe characters in $srcdir or the absolute working directory
   2339 # name.  Accept space and tab only in the latter.
   2340 am_lf='
   2341 '
   2342 case `pwd` in
   2343   *[\\\"\#\$\&\'\`$am_lf]*)
   2344     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2345 esac
   2346 case $srcdir in
   2347   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2348     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2349 esac
   2350 
   2351 # Do 'set' in a subshell so we don't clobber the current shell's
   2352 # arguments.  Must try -L first in case configure is actually a
   2353 # symlink; some systems play weird games with the mod time of symlinks
   2354 # (eg FreeBSD returns the mod time of the symlink's containing
   2355 # directory).
   2356 if (
   2357    am_has_slept=no
   2358    for am_try in 1 2; do
   2359      echo "timestamp, slept: $am_has_slept" > conftest.file
   2360      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2361      if test "$*" = "X"; then
   2362 	# -L didn't work.
   2363 	set X `ls -t "$srcdir/configure" conftest.file`
   2364      fi
   2365      if test "$*" != "X $srcdir/configure conftest.file" \
   2366 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2367 
   2368 	# If neither matched, then we have a broken ls.  This can happen
   2369 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2370 	# broken ls alias from the environment.  This has actually
   2371 	# happened.  Such a system could not be considered "sane".
   2372 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2373   alias in your environment" "$LINENO" 5
   2374      fi
   2375      if test "$2" = conftest.file || test $am_try -eq 2; then
   2376        break
   2377      fi
   2378      # Just in case.
   2379      sleep 1
   2380      am_has_slept=yes
   2381    done
   2382    test "$2" = conftest.file
   2383    )
   2384 then
   2385    # Ok.
   2386    :
   2387 else
   2388    as_fn_error $? "newly created file is older than distributed files!
   2389 Check your system clock" "$LINENO" 5
   2390 fi
   2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2392 $as_echo "yes" >&6; }
   2393 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2394 # generated files are strictly newer.
   2395 am_sleep_pid=
   2396 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2397   ( sleep 1 ) &
   2398   am_sleep_pid=$!
   2399 fi
   2400 
   2401 rm -f conftest.file
   2402 
   2403 test "$program_prefix" != NONE &&
   2404   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2405 # Use a double $ so make ignores it.
   2406 test "$program_suffix" != NONE &&
   2407   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2408 # Double any \ or $.
   2409 # By default was `s,x,x', remove it if useless.
   2410 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2411 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2412 
   2413 # expand $ac_aux_dir to an absolute path
   2414 am_aux_dir=`cd $ac_aux_dir && pwd`
   2415 
   2416 if test x"${MISSING+set}" != xset; then
   2417   case $am_aux_dir in
   2418   *\ * | *\	*)
   2419     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2420   *)
   2421     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2422   esac
   2423 fi
   2424 # Use eval to expand $SHELL
   2425 if eval "$MISSING --is-lightweight"; then
   2426   am_missing_run="$MISSING "
   2427 else
   2428   am_missing_run=
   2429   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2430 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2431 fi
   2432 
   2433 if test x"${install_sh}" != xset; then
   2434   case $am_aux_dir in
   2435   *\ * | *\	*)
   2436     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2437   *)
   2438     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2439   esac
   2440 fi
   2441 
   2442 # Installed binaries are usually stripped using 'strip' when the user
   2443 # run "make install-strip".  However 'strip' might not be the right
   2444 # tool to use in cross-compilation environments, therefore Automake
   2445 # will honor the 'STRIP' environment variable to overrule this program.
   2446 if test "$cross_compiling" != no; then
   2447   if test -n "$ac_tool_prefix"; then
   2448   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2449 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2451 $as_echo_n "checking for $ac_word... " >&6; }
   2452 if ${ac_cv_prog_STRIP+:} false; then :
   2453   $as_echo_n "(cached) " >&6
   2454 else
   2455   if test -n "$STRIP"; then
   2456   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2457 else
   2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2459 for as_dir in $PATH
   2460 do
   2461   IFS=$as_save_IFS
   2462   test -z "$as_dir" && as_dir=.
   2463     for ac_exec_ext in '' $ac_executable_extensions; do
   2464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2465     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2467     break 2
   2468   fi
   2469 done
   2470   done
   2471 IFS=$as_save_IFS
   2472 
   2473 fi
   2474 fi
   2475 STRIP=$ac_cv_prog_STRIP
   2476 if test -n "$STRIP"; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2478 $as_echo "$STRIP" >&6; }
   2479 else
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2481 $as_echo "no" >&6; }
   2482 fi
   2483 
   2484 
   2485 fi
   2486 if test -z "$ac_cv_prog_STRIP"; then
   2487   ac_ct_STRIP=$STRIP
   2488   # Extract the first word of "strip", so it can be a program name with args.
   2489 set dummy strip; ac_word=$2
   2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2491 $as_echo_n "checking for $ac_word... " >&6; }
   2492 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2493   $as_echo_n "(cached) " >&6
   2494 else
   2495   if test -n "$ac_ct_STRIP"; then
   2496   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2497 else
   2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2499 for as_dir in $PATH
   2500 do
   2501   IFS=$as_save_IFS
   2502   test -z "$as_dir" && as_dir=.
   2503     for ac_exec_ext in '' $ac_executable_extensions; do
   2504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2505     ac_cv_prog_ac_ct_STRIP="strip"
   2506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2507     break 2
   2508   fi
   2509 done
   2510   done
   2511 IFS=$as_save_IFS
   2512 
   2513 fi
   2514 fi
   2515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2516 if test -n "$ac_ct_STRIP"; then
   2517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2518 $as_echo "$ac_ct_STRIP" >&6; }
   2519 else
   2520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2521 $as_echo "no" >&6; }
   2522 fi
   2523 
   2524   if test "x$ac_ct_STRIP" = x; then
   2525     STRIP=":"
   2526   else
   2527     case $cross_compiling:$ac_tool_warned in
   2528 yes:)
   2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2531 ac_tool_warned=yes ;;
   2532 esac
   2533     STRIP=$ac_ct_STRIP
   2534   fi
   2535 else
   2536   STRIP="$ac_cv_prog_STRIP"
   2537 fi
   2538 
   2539 fi
   2540 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2541 
   2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2543 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2544 if test -z "$MKDIR_P"; then
   2545   if ${ac_cv_path_mkdir+:} false; then :
   2546   $as_echo_n "(cached) " >&6
   2547 else
   2548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2549 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2550 do
   2551   IFS=$as_save_IFS
   2552   test -z "$as_dir" && as_dir=.
   2553     for ac_prog in mkdir gmkdir; do
   2554 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2555 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2556 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2557 	     'mkdir (GNU coreutils) '* | \
   2558 	     'mkdir (coreutils) '* | \
   2559 	     'mkdir (fileutils) '4.1*)
   2560 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2561 	       break 3;;
   2562 	   esac
   2563 	 done
   2564        done
   2565   done
   2566 IFS=$as_save_IFS
   2567 
   2568 fi
   2569 
   2570   test -d ./--version && rmdir ./--version
   2571   if test "${ac_cv_path_mkdir+set}" = set; then
   2572     MKDIR_P="$ac_cv_path_mkdir -p"
   2573   else
   2574     # As a last resort, use the slow shell script.  Don't cache a
   2575     # value for MKDIR_P within a source directory, because that will
   2576     # break other packages using the cache if that directory is
   2577     # removed, or if the value is a relative name.
   2578     MKDIR_P="$ac_install_sh -d"
   2579   fi
   2580 fi
   2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2582 $as_echo "$MKDIR_P" >&6; }
   2583 
   2584 for ac_prog in gawk mawk nawk awk
   2585 do
   2586   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2587 set dummy $ac_prog; ac_word=$2
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2589 $as_echo_n "checking for $ac_word... " >&6; }
   2590 if ${ac_cv_prog_AWK+:} false; then :
   2591   $as_echo_n "(cached) " >&6
   2592 else
   2593   if test -n "$AWK"; then
   2594   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2595 else
   2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2597 for as_dir in $PATH
   2598 do
   2599   IFS=$as_save_IFS
   2600   test -z "$as_dir" && as_dir=.
   2601     for ac_exec_ext in '' $ac_executable_extensions; do
   2602   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2603     ac_cv_prog_AWK="$ac_prog"
   2604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2605     break 2
   2606   fi
   2607 done
   2608   done
   2609 IFS=$as_save_IFS
   2610 
   2611 fi
   2612 fi
   2613 AWK=$ac_cv_prog_AWK
   2614 if test -n "$AWK"; then
   2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2616 $as_echo "$AWK" >&6; }
   2617 else
   2618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2619 $as_echo "no" >&6; }
   2620 fi
   2621 
   2622 
   2623   test -n "$AWK" && break
   2624 done
   2625 
   2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2627 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2628 set x ${MAKE-make}
   2629 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2630 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2631   $as_echo_n "(cached) " >&6
   2632 else
   2633   cat >conftest.make <<\_ACEOF
   2634 SHELL = /bin/sh
   2635 all:
   2636 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2637 _ACEOF
   2638 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2639 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2640   *@@@%%%=?*=@@@%%%*)
   2641     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2642   *)
   2643     eval ac_cv_prog_make_${ac_make}_set=no;;
   2644 esac
   2645 rm -f conftest.make
   2646 fi
   2647 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2649 $as_echo "yes" >&6; }
   2650   SET_MAKE=
   2651 else
   2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2653 $as_echo "no" >&6; }
   2654   SET_MAKE="MAKE=${MAKE-make}"
   2655 fi
   2656 
   2657 rm -rf .tst 2>/dev/null
   2658 mkdir .tst 2>/dev/null
   2659 if test -d .tst; then
   2660   am__leading_dot=.
   2661 else
   2662   am__leading_dot=_
   2663 fi
   2664 rmdir .tst 2>/dev/null
   2665 
   2666 # Check whether --enable-silent-rules was given.
   2667 if test "${enable_silent_rules+set}" = set; then :
   2668   enableval=$enable_silent_rules;
   2669 fi
   2670 
   2671 case $enable_silent_rules in # (((
   2672   yes) AM_DEFAULT_VERBOSITY=0;;
   2673    no) AM_DEFAULT_VERBOSITY=1;;
   2674     *) AM_DEFAULT_VERBOSITY=1;;
   2675 esac
   2676 am_make=${MAKE-make}
   2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2678 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2679 if ${am_cv_make_support_nested_variables+:} false; then :
   2680   $as_echo_n "(cached) " >&6
   2681 else
   2682   if $as_echo 'TRUE=$(BAR$(V))
   2683 BAR0=false
   2684 BAR1=true
   2685 V=1
   2686 am__doit:
   2687 	@$(TRUE)
   2688 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2689   am_cv_make_support_nested_variables=yes
   2690 else
   2691   am_cv_make_support_nested_variables=no
   2692 fi
   2693 fi
   2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2695 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2696 if test $am_cv_make_support_nested_variables = yes; then
   2697     AM_V='$(V)'
   2698   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2699 else
   2700   AM_V=$AM_DEFAULT_VERBOSITY
   2701   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2702 fi
   2703 AM_BACKSLASH='\'
   2704 
   2705 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2706   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2707   # is not polluted with repeated "-I."
   2708   am__isrc=' -I$(srcdir)'
   2709   # test to see if srcdir already configured
   2710   if test -f $srcdir/config.status; then
   2711     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2712   fi
   2713 fi
   2714 
   2715 # test whether we have cygpath
   2716 if test -z "$CYGPATH_W"; then
   2717   if (cygpath --version) >/dev/null 2>/dev/null; then
   2718     CYGPATH_W='cygpath -w'
   2719   else
   2720     CYGPATH_W=echo
   2721   fi
   2722 fi
   2723 
   2724 
   2725 # Define the identity of the package.
   2726  PACKAGE='libXcursor'
   2727  VERSION='1.1.14'
   2728 
   2729 
   2730 cat >>confdefs.h <<_ACEOF
   2731 #define PACKAGE "$PACKAGE"
   2732 _ACEOF
   2733 
   2734 
   2735 cat >>confdefs.h <<_ACEOF
   2736 #define VERSION "$VERSION"
   2737 _ACEOF
   2738 
   2739 # Some tools Automake needs.
   2740 
   2741 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2742 
   2743 
   2744 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2745 
   2746 
   2747 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2748 
   2749 
   2750 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2751 
   2752 
   2753 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2754 
   2755 # For better backward compatibility.  To be removed once Automake 1.9.x
   2756 # dies out for good.  For more background, see:
   2757 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2758 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2759 mkdir_p='$(MKDIR_P)'
   2760 
   2761 # We need awk for the "check" target.  The system "awk" is bad on
   2762 # some platforms.
   2763 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2764 # in the wild :-(  We should find a proper way to deprecate it ...
   2765 AMTAR='$${TAR-tar}'
   2766 
   2767 
   2768 # We'll loop over all known methods to create a tar archive until one works.
   2769 _am_tools='gnutar  pax cpio none'
   2770 
   2771 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2772 
   2773 
   2774 
   2775 
   2776 
   2777 
   2778 
   2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2780 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2781     # Check whether --enable-maintainer-mode was given.
   2782 if test "${enable_maintainer_mode+set}" = set; then :
   2783   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2784 else
   2785   USE_MAINTAINER_MODE=no
   2786 fi
   2787 
   2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2789 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2790    if test $USE_MAINTAINER_MODE = yes; then
   2791   MAINTAINER_MODE_TRUE=
   2792   MAINTAINER_MODE_FALSE='#'
   2793 else
   2794   MAINTAINER_MODE_TRUE='#'
   2795   MAINTAINER_MODE_FALSE=
   2796 fi
   2797 
   2798   MAINT=$MAINTAINER_MODE_TRUE
   2799 
   2800 
   2801 
   2802 # Initialize libtool
   2803 case `pwd` in
   2804   *\ * | *\	*)
   2805     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2806 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2807 esac
   2808 
   2809 
   2810 
   2811 macro_version='2.4.2'
   2812 macro_revision='1.3337'
   2813 
   2814 
   2815 
   2816 
   2817 
   2818 
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 ltmain="$ac_aux_dir/ltmain.sh"
   2827 
   2828 # Make sure we can run config.sub.
   2829 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2830   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2831 
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2833 $as_echo_n "checking build system type... " >&6; }
   2834 if ${ac_cv_build+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   ac_build_alias=$build_alias
   2838 test "x$ac_build_alias" = x &&
   2839   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2840 test "x$ac_build_alias" = x &&
   2841   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2842 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2843   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2844 
   2845 fi
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2847 $as_echo "$ac_cv_build" >&6; }
   2848 case $ac_cv_build in
   2849 *-*-*) ;;
   2850 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2851 esac
   2852 build=$ac_cv_build
   2853 ac_save_IFS=$IFS; IFS='-'
   2854 set x $ac_cv_build
   2855 shift
   2856 build_cpu=$1
   2857 build_vendor=$2
   2858 shift; shift
   2859 # Remember, the first character of IFS is used to create $*,
   2860 # except with old shells:
   2861 build_os=$*
   2862 IFS=$ac_save_IFS
   2863 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2864 
   2865 
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2867 $as_echo_n "checking host system type... " >&6; }
   2868 if ${ac_cv_host+:} false; then :
   2869   $as_echo_n "(cached) " >&6
   2870 else
   2871   if test "x$host_alias" = x; then
   2872   ac_cv_host=$ac_cv_build
   2873 else
   2874   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2875     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2876 fi
   2877 
   2878 fi
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2880 $as_echo "$ac_cv_host" >&6; }
   2881 case $ac_cv_host in
   2882 *-*-*) ;;
   2883 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2884 esac
   2885 host=$ac_cv_host
   2886 ac_save_IFS=$IFS; IFS='-'
   2887 set x $ac_cv_host
   2888 shift
   2889 host_cpu=$1
   2890 host_vendor=$2
   2891 shift; shift
   2892 # Remember, the first character of IFS is used to create $*,
   2893 # except with old shells:
   2894 host_os=$*
   2895 IFS=$ac_save_IFS
   2896 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2897 
   2898 
   2899 # Backslashify metacharacters that are still active within
   2900 # double-quoted strings.
   2901 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2902 
   2903 # Same as above, but do not quote variable references.
   2904 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2905 
   2906 # Sed substitution to delay expansion of an escaped shell variable in a
   2907 # double_quote_subst'ed string.
   2908 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2909 
   2910 # Sed substitution to delay expansion of an escaped single quote.
   2911 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2912 
   2913 # Sed substitution to avoid accidental globbing in evaled expressions
   2914 no_glob_subst='s/\*/\\\*/g'
   2915 
   2916 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2917 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2918 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2919 
   2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2921 $as_echo_n "checking how to print strings... " >&6; }
   2922 # Test print first, because it will be a builtin if present.
   2923 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2924    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2925   ECHO='print -r --'
   2926 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2927   ECHO='printf %s\n'
   2928 else
   2929   # Use this function as a fallback that always works.
   2930   func_fallback_echo ()
   2931   {
   2932     eval 'cat <<_LTECHO_EOF
   2933 $1
   2934 _LTECHO_EOF'
   2935   }
   2936   ECHO='func_fallback_echo'
   2937 fi
   2938 
   2939 # func_echo_all arg...
   2940 # Invoke $ECHO with all args, space-separated.
   2941 func_echo_all ()
   2942 {
   2943     $ECHO ""
   2944 }
   2945 
   2946 case "$ECHO" in
   2947   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2948 $as_echo "printf" >&6; } ;;
   2949   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2950 $as_echo "print -r" >&6; } ;;
   2951   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2952 $as_echo "cat" >&6; } ;;
   2953 esac
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 DEPDIR="${am__leading_dot}deps"
   2969 
   2970 ac_config_commands="$ac_config_commands depfiles"
   2971 
   2972 
   2973 am_make=${MAKE-make}
   2974 cat > confinc << 'END'
   2975 am__doit:
   2976 	@echo this is the am__doit target
   2977 .PHONY: am__doit
   2978 END
   2979 # If we don't find an include directive, just comment out the code.
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2981 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2982 am__include="#"
   2983 am__quote=
   2984 _am_result=none
   2985 # First try GNU make style include.
   2986 echo "include confinc" > confmf
   2987 # Ignore all kinds of additional output from 'make'.
   2988 case `$am_make -s -f confmf 2> /dev/null` in #(
   2989 *the\ am__doit\ target*)
   2990   am__include=include
   2991   am__quote=
   2992   _am_result=GNU
   2993   ;;
   2994 esac
   2995 # Now try BSD make style include.
   2996 if test "$am__include" = "#"; then
   2997    echo '.include "confinc"' > confmf
   2998    case `$am_make -s -f confmf 2> /dev/null` in #(
   2999    *the\ am__doit\ target*)
   3000      am__include=.include
   3001      am__quote="\""
   3002      _am_result=BSD
   3003      ;;
   3004    esac
   3005 fi
   3006 
   3007 
   3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3009 $as_echo "$_am_result" >&6; }
   3010 rm -f confinc confmf
   3011 
   3012 # Check whether --enable-dependency-tracking was given.
   3013 if test "${enable_dependency_tracking+set}" = set; then :
   3014   enableval=$enable_dependency_tracking;
   3015 fi
   3016 
   3017 if test "x$enable_dependency_tracking" != xno; then
   3018   am_depcomp="$ac_aux_dir/depcomp"
   3019   AMDEPBACKSLASH='\'
   3020   am__nodep='_no'
   3021 fi
   3022  if test "x$enable_dependency_tracking" != xno; then
   3023   AMDEP_TRUE=
   3024   AMDEP_FALSE='#'
   3025 else
   3026   AMDEP_TRUE='#'
   3027   AMDEP_FALSE=
   3028 fi
   3029 
   3030 
   3031 ac_ext=c
   3032 ac_cpp='$CPP $CPPFLAGS'
   3033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3036 if test -n "$ac_tool_prefix"; then
   3037   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3038 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3040 $as_echo_n "checking for $ac_word... " >&6; }
   3041 if ${ac_cv_prog_CC+:} false; then :
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   if test -n "$CC"; then
   3045   ac_cv_prog_CC="$CC" # Let the user override the test.
   3046 else
   3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3048 for as_dir in $PATH
   3049 do
   3050   IFS=$as_save_IFS
   3051   test -z "$as_dir" && as_dir=.
   3052     for ac_exec_ext in '' $ac_executable_extensions; do
   3053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3054     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3056     break 2
   3057   fi
   3058 done
   3059   done
   3060 IFS=$as_save_IFS
   3061 
   3062 fi
   3063 fi
   3064 CC=$ac_cv_prog_CC
   3065 if test -n "$CC"; then
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3067 $as_echo "$CC" >&6; }
   3068 else
   3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3070 $as_echo "no" >&6; }
   3071 fi
   3072 
   3073 
   3074 fi
   3075 if test -z "$ac_cv_prog_CC"; then
   3076   ac_ct_CC=$CC
   3077   # Extract the first word of "gcc", so it can be a program name with args.
   3078 set dummy gcc; ac_word=$2
   3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3080 $as_echo_n "checking for $ac_word... " >&6; }
   3081 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3082   $as_echo_n "(cached) " >&6
   3083 else
   3084   if test -n "$ac_ct_CC"; then
   3085   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3086 else
   3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3088 for as_dir in $PATH
   3089 do
   3090   IFS=$as_save_IFS
   3091   test -z "$as_dir" && as_dir=.
   3092     for ac_exec_ext in '' $ac_executable_extensions; do
   3093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3094     ac_cv_prog_ac_ct_CC="gcc"
   3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3096     break 2
   3097   fi
   3098 done
   3099   done
   3100 IFS=$as_save_IFS
   3101 
   3102 fi
   3103 fi
   3104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3105 if test -n "$ac_ct_CC"; then
   3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3107 $as_echo "$ac_ct_CC" >&6; }
   3108 else
   3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3110 $as_echo "no" >&6; }
   3111 fi
   3112 
   3113   if test "x$ac_ct_CC" = x; then
   3114     CC=""
   3115   else
   3116     case $cross_compiling:$ac_tool_warned in
   3117 yes:)
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3120 ac_tool_warned=yes ;;
   3121 esac
   3122     CC=$ac_ct_CC
   3123   fi
   3124 else
   3125   CC="$ac_cv_prog_CC"
   3126 fi
   3127 
   3128 if test -z "$CC"; then
   3129           if test -n "$ac_tool_prefix"; then
   3130     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3131 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3133 $as_echo_n "checking for $ac_word... " >&6; }
   3134 if ${ac_cv_prog_CC+:} false; then :
   3135   $as_echo_n "(cached) " >&6
   3136 else
   3137   if test -n "$CC"; then
   3138   ac_cv_prog_CC="$CC" # Let the user override the test.
   3139 else
   3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3141 for as_dir in $PATH
   3142 do
   3143   IFS=$as_save_IFS
   3144   test -z "$as_dir" && as_dir=.
   3145     for ac_exec_ext in '' $ac_executable_extensions; do
   3146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3147     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3149     break 2
   3150   fi
   3151 done
   3152   done
   3153 IFS=$as_save_IFS
   3154 
   3155 fi
   3156 fi
   3157 CC=$ac_cv_prog_CC
   3158 if test -n "$CC"; then
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3160 $as_echo "$CC" >&6; }
   3161 else
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3163 $as_echo "no" >&6; }
   3164 fi
   3165 
   3166 
   3167   fi
   3168 fi
   3169 if test -z "$CC"; then
   3170   # Extract the first word of "cc", so it can be a program name with args.
   3171 set dummy cc; ac_word=$2
   3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3173 $as_echo_n "checking for $ac_word... " >&6; }
   3174 if ${ac_cv_prog_CC+:} false; then :
   3175   $as_echo_n "(cached) " >&6
   3176 else
   3177   if test -n "$CC"; then
   3178   ac_cv_prog_CC="$CC" # Let the user override the test.
   3179 else
   3180   ac_prog_rejected=no
   3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3182 for as_dir in $PATH
   3183 do
   3184   IFS=$as_save_IFS
   3185   test -z "$as_dir" && as_dir=.
   3186     for ac_exec_ext in '' $ac_executable_extensions; do
   3187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3188     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3189        ac_prog_rejected=yes
   3190        continue
   3191      fi
   3192     ac_cv_prog_CC="cc"
   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 if test $ac_prog_rejected = yes; then
   3201   # We found a bogon in the path, so make sure we never use it.
   3202   set dummy $ac_cv_prog_CC
   3203   shift
   3204   if test $# != 0; then
   3205     # We chose a different compiler from the bogus one.
   3206     # However, it has the same basename, so the bogon will be chosen
   3207     # first if we set CC to just the basename; use the full file name.
   3208     shift
   3209     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3210   fi
   3211 fi
   3212 fi
   3213 fi
   3214 CC=$ac_cv_prog_CC
   3215 if test -n "$CC"; then
   3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3217 $as_echo "$CC" >&6; }
   3218 else
   3219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3220 $as_echo "no" >&6; }
   3221 fi
   3222 
   3223 
   3224 fi
   3225 if test -z "$CC"; then
   3226   if test -n "$ac_tool_prefix"; then
   3227   for ac_prog in cl.exe
   3228   do
   3229     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3230 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3232 $as_echo_n "checking for $ac_word... " >&6; }
   3233 if ${ac_cv_prog_CC+:} false; then :
   3234   $as_echo_n "(cached) " >&6
   3235 else
   3236   if test -n "$CC"; then
   3237   ac_cv_prog_CC="$CC" # Let the user override the test.
   3238 else
   3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3240 for as_dir in $PATH
   3241 do
   3242   IFS=$as_save_IFS
   3243   test -z "$as_dir" && as_dir=.
   3244     for ac_exec_ext in '' $ac_executable_extensions; do
   3245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3246     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3248     break 2
   3249   fi
   3250 done
   3251   done
   3252 IFS=$as_save_IFS
   3253 
   3254 fi
   3255 fi
   3256 CC=$ac_cv_prog_CC
   3257 if test -n "$CC"; then
   3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3259 $as_echo "$CC" >&6; }
   3260 else
   3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3262 $as_echo "no" >&6; }
   3263 fi
   3264 
   3265 
   3266     test -n "$CC" && break
   3267   done
   3268 fi
   3269 if test -z "$CC"; then
   3270   ac_ct_CC=$CC
   3271   for ac_prog in cl.exe
   3272 do
   3273   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3274 set dummy $ac_prog; ac_word=$2
   3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3276 $as_echo_n "checking for $ac_word... " >&6; }
   3277 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3278   $as_echo_n "(cached) " >&6
   3279 else
   3280   if test -n "$ac_ct_CC"; then
   3281   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3282 else
   3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3284 for as_dir in $PATH
   3285 do
   3286   IFS=$as_save_IFS
   3287   test -z "$as_dir" && as_dir=.
   3288     for ac_exec_ext in '' $ac_executable_extensions; do
   3289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3290     ac_cv_prog_ac_ct_CC="$ac_prog"
   3291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3292     break 2
   3293   fi
   3294 done
   3295   done
   3296 IFS=$as_save_IFS
   3297 
   3298 fi
   3299 fi
   3300 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3301 if test -n "$ac_ct_CC"; then
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3303 $as_echo "$ac_ct_CC" >&6; }
   3304 else
   3305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3306 $as_echo "no" >&6; }
   3307 fi
   3308 
   3309 
   3310   test -n "$ac_ct_CC" && break
   3311 done
   3312 
   3313   if test "x$ac_ct_CC" = x; then
   3314     CC=""
   3315   else
   3316     case $cross_compiling:$ac_tool_warned in
   3317 yes:)
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3320 ac_tool_warned=yes ;;
   3321 esac
   3322     CC=$ac_ct_CC
   3323   fi
   3324 fi
   3325 
   3326 fi
   3327 
   3328 
   3329 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3331 as_fn_error $? "no acceptable C compiler found in \$PATH
   3332 See \`config.log' for more details" "$LINENO" 5; }
   3333 
   3334 # Provide some information about the compiler.
   3335 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3336 set X $ac_compile
   3337 ac_compiler=$2
   3338 for ac_option in --version -v -V -qversion; do
   3339   { { ac_try="$ac_compiler $ac_option >&5"
   3340 case "(($ac_try" in
   3341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3342   *) ac_try_echo=$ac_try;;
   3343 esac
   3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3345 $as_echo "$ac_try_echo"; } >&5
   3346   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3347   ac_status=$?
   3348   if test -s conftest.err; then
   3349     sed '10a\
   3350 ... rest of stderr output deleted ...
   3351          10q' conftest.err >conftest.er1
   3352     cat conftest.er1 >&5
   3353   fi
   3354   rm -f conftest.er1 conftest.err
   3355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3356   test $ac_status = 0; }
   3357 done
   3358 
   3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3360 /* end confdefs.h.  */
   3361 
   3362 int
   3363 main ()
   3364 {
   3365 
   3366   ;
   3367   return 0;
   3368 }
   3369 _ACEOF
   3370 ac_clean_files_save=$ac_clean_files
   3371 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3372 # Try to create an executable without -o first, disregard a.out.
   3373 # It will help us diagnose broken compilers, and finding out an intuition
   3374 # of exeext.
   3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3376 $as_echo_n "checking whether the C compiler works... " >&6; }
   3377 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3378 
   3379 # The possible output files:
   3380 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3381 
   3382 ac_rmfiles=
   3383 for ac_file in $ac_files
   3384 do
   3385   case $ac_file in
   3386     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3387     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3388   esac
   3389 done
   3390 rm -f $ac_rmfiles
   3391 
   3392 if { { ac_try="$ac_link_default"
   3393 case "(($ac_try" in
   3394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3395   *) ac_try_echo=$ac_try;;
   3396 esac
   3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3398 $as_echo "$ac_try_echo"; } >&5
   3399   (eval "$ac_link_default") 2>&5
   3400   ac_status=$?
   3401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3402   test $ac_status = 0; }; then :
   3403   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3404 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3405 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3406 # so that the user can short-circuit this test for compilers unknown to
   3407 # Autoconf.
   3408 for ac_file in $ac_files ''
   3409 do
   3410   test -f "$ac_file" || continue
   3411   case $ac_file in
   3412     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3413 	;;
   3414     [ab].out )
   3415 	# We found the default executable, but exeext='' is most
   3416 	# certainly right.
   3417 	break;;
   3418     *.* )
   3419 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3420 	then :; else
   3421 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3422 	fi
   3423 	# We set ac_cv_exeext here because the later test for it is not
   3424 	# safe: cross compilers may not add the suffix if given an `-o'
   3425 	# argument, so we may need to know it at that point already.
   3426 	# Even if this section looks crufty: it has the advantage of
   3427 	# actually working.
   3428 	break;;
   3429     * )
   3430 	break;;
   3431   esac
   3432 done
   3433 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3434 
   3435 else
   3436   ac_file=''
   3437 fi
   3438 if test -z "$ac_file"; then :
   3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3440 $as_echo "no" >&6; }
   3441 $as_echo "$as_me: failed program was:" >&5
   3442 sed 's/^/| /' conftest.$ac_ext >&5
   3443 
   3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3446 as_fn_error 77 "C compiler cannot create executables
   3447 See \`config.log' for more details" "$LINENO" 5; }
   3448 else
   3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3450 $as_echo "yes" >&6; }
   3451 fi
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3453 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3455 $as_echo "$ac_file" >&6; }
   3456 ac_exeext=$ac_cv_exeext
   3457 
   3458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3459 ac_clean_files=$ac_clean_files_save
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3461 $as_echo_n "checking for suffix of executables... " >&6; }
   3462 if { { ac_try="$ac_link"
   3463 case "(($ac_try" in
   3464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3465   *) ac_try_echo=$ac_try;;
   3466 esac
   3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3468 $as_echo "$ac_try_echo"; } >&5
   3469   (eval "$ac_link") 2>&5
   3470   ac_status=$?
   3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3472   test $ac_status = 0; }; then :
   3473   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3474 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3475 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3476 # `rm'.
   3477 for ac_file in conftest.exe conftest conftest.*; do
   3478   test -f "$ac_file" || continue
   3479   case $ac_file in
   3480     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3481     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3482 	  break;;
   3483     * ) break;;
   3484   esac
   3485 done
   3486 else
   3487   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3489 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3490 See \`config.log' for more details" "$LINENO" 5; }
   3491 fi
   3492 rm -f conftest conftest$ac_cv_exeext
   3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3494 $as_echo "$ac_cv_exeext" >&6; }
   3495 
   3496 rm -f conftest.$ac_ext
   3497 EXEEXT=$ac_cv_exeext
   3498 ac_exeext=$EXEEXT
   3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3500 /* end confdefs.h.  */
   3501 #include <stdio.h>
   3502 int
   3503 main ()
   3504 {
   3505 FILE *f = fopen ("conftest.out", "w");
   3506  return ferror (f) || fclose (f) != 0;
   3507 
   3508   ;
   3509   return 0;
   3510 }
   3511 _ACEOF
   3512 ac_clean_files="$ac_clean_files conftest.out"
   3513 # Check that the compiler produces executables we can run.  If not, either
   3514 # the compiler is broken, or we cross compile.
   3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3516 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3517 if test "$cross_compiling" != yes; then
   3518   { { ac_try="$ac_link"
   3519 case "(($ac_try" in
   3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3521   *) ac_try_echo=$ac_try;;
   3522 esac
   3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3524 $as_echo "$ac_try_echo"; } >&5
   3525   (eval "$ac_link") 2>&5
   3526   ac_status=$?
   3527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3528   test $ac_status = 0; }
   3529   if { ac_try='./conftest$ac_cv_exeext'
   3530   { { case "(($ac_try" in
   3531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3532   *) ac_try_echo=$ac_try;;
   3533 esac
   3534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3535 $as_echo "$ac_try_echo"; } >&5
   3536   (eval "$ac_try") 2>&5
   3537   ac_status=$?
   3538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3539   test $ac_status = 0; }; }; then
   3540     cross_compiling=no
   3541   else
   3542     if test "$cross_compiling" = maybe; then
   3543 	cross_compiling=yes
   3544     else
   3545 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3546 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3547 as_fn_error $? "cannot run C compiled programs.
   3548 If you meant to cross compile, use \`--host'.
   3549 See \`config.log' for more details" "$LINENO" 5; }
   3550     fi
   3551   fi
   3552 fi
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3554 $as_echo "$cross_compiling" >&6; }
   3555 
   3556 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3557 ac_clean_files=$ac_clean_files_save
   3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3559 $as_echo_n "checking for suffix of object files... " >&6; }
   3560 if ${ac_cv_objext+:} false; then :
   3561   $as_echo_n "(cached) " >&6
   3562 else
   3563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 rm -f conftest.o conftest.obj
   3575 if { { ac_try="$ac_compile"
   3576 case "(($ac_try" in
   3577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3578   *) ac_try_echo=$ac_try;;
   3579 esac
   3580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3581 $as_echo "$ac_try_echo"; } >&5
   3582   (eval "$ac_compile") 2>&5
   3583   ac_status=$?
   3584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3585   test $ac_status = 0; }; then :
   3586   for ac_file in conftest.o conftest.obj conftest.*; do
   3587   test -f "$ac_file" || continue;
   3588   case $ac_file in
   3589     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3590     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3591        break;;
   3592   esac
   3593 done
   3594 else
   3595   $as_echo "$as_me: failed program was:" >&5
   3596 sed 's/^/| /' conftest.$ac_ext >&5
   3597 
   3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3600 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3601 See \`config.log' for more details" "$LINENO" 5; }
   3602 fi
   3603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3604 fi
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3606 $as_echo "$ac_cv_objext" >&6; }
   3607 OBJEXT=$ac_cv_objext
   3608 ac_objext=$OBJEXT
   3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3610 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3611 if ${ac_cv_c_compiler_gnu+:} false; then :
   3612   $as_echo_n "(cached) " >&6
   3613 else
   3614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3615 /* end confdefs.h.  */
   3616 
   3617 int
   3618 main ()
   3619 {
   3620 #ifndef __GNUC__
   3621        choke me
   3622 #endif
   3623 
   3624   ;
   3625   return 0;
   3626 }
   3627 _ACEOF
   3628 if ac_fn_c_try_compile "$LINENO"; then :
   3629   ac_compiler_gnu=yes
   3630 else
   3631   ac_compiler_gnu=no
   3632 fi
   3633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3634 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3635 
   3636 fi
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3638 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3639 if test $ac_compiler_gnu = yes; then
   3640   GCC=yes
   3641 else
   3642   GCC=
   3643 fi
   3644 ac_test_CFLAGS=${CFLAGS+set}
   3645 ac_save_CFLAGS=$CFLAGS
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3647 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3648 if ${ac_cv_prog_cc_g+:} false; then :
   3649   $as_echo_n "(cached) " >&6
   3650 else
   3651   ac_save_c_werror_flag=$ac_c_werror_flag
   3652    ac_c_werror_flag=yes
   3653    ac_cv_prog_cc_g=no
   3654    CFLAGS="-g"
   3655    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 int
   3659 main ()
   3660 {
   3661 
   3662   ;
   3663   return 0;
   3664 }
   3665 _ACEOF
   3666 if ac_fn_c_try_compile "$LINENO"; then :
   3667   ac_cv_prog_cc_g=yes
   3668 else
   3669   CFLAGS=""
   3670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3671 /* end confdefs.h.  */
   3672 
   3673 int
   3674 main ()
   3675 {
   3676 
   3677   ;
   3678   return 0;
   3679 }
   3680 _ACEOF
   3681 if ac_fn_c_try_compile "$LINENO"; then :
   3682 
   3683 else
   3684   ac_c_werror_flag=$ac_save_c_werror_flag
   3685 	 CFLAGS="-g"
   3686 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3687 /* end confdefs.h.  */
   3688 
   3689 int
   3690 main ()
   3691 {
   3692 
   3693   ;
   3694   return 0;
   3695 }
   3696 _ACEOF
   3697 if ac_fn_c_try_compile "$LINENO"; then :
   3698   ac_cv_prog_cc_g=yes
   3699 fi
   3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3701 fi
   3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3703 fi
   3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3705    ac_c_werror_flag=$ac_save_c_werror_flag
   3706 fi
   3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3708 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3709 if test "$ac_test_CFLAGS" = set; then
   3710   CFLAGS=$ac_save_CFLAGS
   3711 elif test $ac_cv_prog_cc_g = yes; then
   3712   if test "$GCC" = yes; then
   3713     CFLAGS="-g -O2"
   3714   else
   3715     CFLAGS="-g"
   3716   fi
   3717 else
   3718   if test "$GCC" = yes; then
   3719     CFLAGS="-O2"
   3720   else
   3721     CFLAGS=
   3722   fi
   3723 fi
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3725 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3726 if ${ac_cv_prog_cc_c89+:} false; then :
   3727   $as_echo_n "(cached) " >&6
   3728 else
   3729   ac_cv_prog_cc_c89=no
   3730 ac_save_CC=$CC
   3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3732 /* end confdefs.h.  */
   3733 #include <stdarg.h>
   3734 #include <stdio.h>
   3735 #include <sys/types.h>
   3736 #include <sys/stat.h>
   3737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3738 struct buf { int x; };
   3739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3740 static char *e (p, i)
   3741      char **p;
   3742      int i;
   3743 {
   3744   return p[i];
   3745 }
   3746 static char *f (char * (*g) (char **, int), char **p, ...)
   3747 {
   3748   char *s;
   3749   va_list v;
   3750   va_start (v,p);
   3751   s = g (p, va_arg (v,int));
   3752   va_end (v);
   3753   return s;
   3754 }
   3755 
   3756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3757    function prototypes and stuff, but not '\xHH' hex character constants.
   3758    These don't provoke an error unfortunately, instead are silently treated
   3759    as 'x'.  The following induces an error, until -std is added to get
   3760    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3761    array size at least.  It's necessary to write '\x00'==0 to get something
   3762    that's true only with -std.  */
   3763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3764 
   3765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3766    inside strings and character constants.  */
   3767 #define FOO(x) 'x'
   3768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3769 
   3770 int test (int i, double x);
   3771 struct s1 {int (*f) (int a);};
   3772 struct s2 {int (*f) (double a);};
   3773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3774 int argc;
   3775 char **argv;
   3776 int
   3777 main ()
   3778 {
   3779 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3780   ;
   3781   return 0;
   3782 }
   3783 _ACEOF
   3784 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3785 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3786 do
   3787   CC="$ac_save_CC $ac_arg"
   3788   if ac_fn_c_try_compile "$LINENO"; then :
   3789   ac_cv_prog_cc_c89=$ac_arg
   3790 fi
   3791 rm -f core conftest.err conftest.$ac_objext
   3792   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3793 done
   3794 rm -f conftest.$ac_ext
   3795 CC=$ac_save_CC
   3796 
   3797 fi
   3798 # AC_CACHE_VAL
   3799 case "x$ac_cv_prog_cc_c89" in
   3800   x)
   3801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3802 $as_echo "none needed" >&6; } ;;
   3803   xno)
   3804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3805 $as_echo "unsupported" >&6; } ;;
   3806   *)
   3807     CC="$CC $ac_cv_prog_cc_c89"
   3808     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3809 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3810 esac
   3811 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3812 
   3813 fi
   3814 
   3815 ac_ext=c
   3816 ac_cpp='$CPP $CPPFLAGS'
   3817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3820 
   3821 depcc="$CC"   am_compiler_list=
   3822 
   3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3824 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3825 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3826   $as_echo_n "(cached) " >&6
   3827 else
   3828   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3829   # We make a subdir and do the tests there.  Otherwise we can end up
   3830   # making bogus files that we don't know about and never remove.  For
   3831   # instance it was reported that on HP-UX the gcc test will end up
   3832   # making a dummy file named 'D' -- because '-MD' means "put the output
   3833   # in D".
   3834   rm -rf conftest.dir
   3835   mkdir conftest.dir
   3836   # Copy depcomp to subdir because otherwise we won't find it if we're
   3837   # using a relative directory.
   3838   cp "$am_depcomp" conftest.dir
   3839   cd conftest.dir
   3840   # We will build objects and dependencies in a subdirectory because
   3841   # it helps to detect inapplicable dependency modes.  For instance
   3842   # both Tru64's cc and ICC support -MD to output dependencies as a
   3843   # side effect of compilation, but ICC will put the dependencies in
   3844   # the current directory while Tru64 will put them in the object
   3845   # directory.
   3846   mkdir sub
   3847 
   3848   am_cv_CC_dependencies_compiler_type=none
   3849   if test "$am_compiler_list" = ""; then
   3850      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3851   fi
   3852   am__universal=false
   3853   case " $depcc " in #(
   3854      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3855      esac
   3856 
   3857   for depmode in $am_compiler_list; do
   3858     # Setup a source with many dependencies, because some compilers
   3859     # like to wrap large dependency lists on column 80 (with \), and
   3860     # we should not choose a depcomp mode which is confused by this.
   3861     #
   3862     # We need to recreate these files for each test, as the compiler may
   3863     # overwrite some of them when testing with obscure command lines.
   3864     # This happens at least with the AIX C compiler.
   3865     : > sub/conftest.c
   3866     for i in 1 2 3 4 5 6; do
   3867       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3868       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3869       # Solaris 10 /bin/sh.
   3870       echo '/* dummy */' > sub/conftst$i.h
   3871     done
   3872     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3873 
   3874     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3875     # mode.  It turns out that the SunPro C++ compiler does not properly
   3876     # handle '-M -o', and we need to detect this.  Also, some Intel
   3877     # versions had trouble with output in subdirs.
   3878     am__obj=sub/conftest.${OBJEXT-o}
   3879     am__minus_obj="-o $am__obj"
   3880     case $depmode in
   3881     gcc)
   3882       # This depmode causes a compiler race in universal mode.
   3883       test "$am__universal" = false || continue
   3884       ;;
   3885     nosideeffect)
   3886       # After this tag, mechanisms are not by side-effect, so they'll
   3887       # only be used when explicitly requested.
   3888       if test "x$enable_dependency_tracking" = xyes; then
   3889 	continue
   3890       else
   3891 	break
   3892       fi
   3893       ;;
   3894     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3895       # This compiler won't grok '-c -o', but also, the minuso test has
   3896       # not run yet.  These depmodes are late enough in the game, and
   3897       # so weak that their functioning should not be impacted.
   3898       am__obj=conftest.${OBJEXT-o}
   3899       am__minus_obj=
   3900       ;;
   3901     none) break ;;
   3902     esac
   3903     if depmode=$depmode \
   3904        source=sub/conftest.c object=$am__obj \
   3905        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3906        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3907          >/dev/null 2>conftest.err &&
   3908        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3909        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3910        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3911        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3912       # icc doesn't choke on unknown options, it will just issue warnings
   3913       # or remarks (even with -Werror).  So we grep stderr for any message
   3914       # that says an option was ignored or not supported.
   3915       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3916       #   icc: Command line warning: ignoring option '-M'; no argument required
   3917       # The diagnosis changed in icc 8.0:
   3918       #   icc: Command line remark: option '-MP' not supported
   3919       if (grep 'ignoring option' conftest.err ||
   3920           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3921         am_cv_CC_dependencies_compiler_type=$depmode
   3922         break
   3923       fi
   3924     fi
   3925   done
   3926 
   3927   cd ..
   3928   rm -rf conftest.dir
   3929 else
   3930   am_cv_CC_dependencies_compiler_type=none
   3931 fi
   3932 
   3933 fi
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3935 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3936 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3937 
   3938  if
   3939   test "x$enable_dependency_tracking" != xno \
   3940   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3941   am__fastdepCC_TRUE=
   3942   am__fastdepCC_FALSE='#'
   3943 else
   3944   am__fastdepCC_TRUE='#'
   3945   am__fastdepCC_FALSE=
   3946 fi
   3947 
   3948 
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3950 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3951 if ${ac_cv_path_SED+:} false; then :
   3952   $as_echo_n "(cached) " >&6
   3953 else
   3954             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3955      for ac_i in 1 2 3 4 5 6 7; do
   3956        ac_script="$ac_script$as_nl$ac_script"
   3957      done
   3958      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3959      { ac_script=; unset ac_script;}
   3960      if test -z "$SED"; then
   3961   ac_path_SED_found=false
   3962   # Loop through the user's path and test for each of PROGNAME-LIST
   3963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3964 for as_dir in $PATH
   3965 do
   3966   IFS=$as_save_IFS
   3967   test -z "$as_dir" && as_dir=.
   3968     for ac_prog in sed gsed; do
   3969     for ac_exec_ext in '' $ac_executable_extensions; do
   3970       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3971       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3972 # Check for GNU ac_path_SED and select it if it is found.
   3973   # Check for GNU $ac_path_SED
   3974 case `"$ac_path_SED" --version 2>&1` in
   3975 *GNU*)
   3976   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3977 *)
   3978   ac_count=0
   3979   $as_echo_n 0123456789 >"conftest.in"
   3980   while :
   3981   do
   3982     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3983     mv "conftest.tmp" "conftest.in"
   3984     cp "conftest.in" "conftest.nl"
   3985     $as_echo '' >> "conftest.nl"
   3986     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3987     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3988     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3989     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3990       # Best one so far, save it but keep looking for a better one
   3991       ac_cv_path_SED="$ac_path_SED"
   3992       ac_path_SED_max=$ac_count
   3993     fi
   3994     # 10*(2^10) chars as input seems more than enough
   3995     test $ac_count -gt 10 && break
   3996   done
   3997   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3998 esac
   3999 
   4000       $ac_path_SED_found && break 3
   4001     done
   4002   done
   4003   done
   4004 IFS=$as_save_IFS
   4005   if test -z "$ac_cv_path_SED"; then
   4006     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4007   fi
   4008 else
   4009   ac_cv_path_SED=$SED
   4010 fi
   4011 
   4012 fi
   4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4014 $as_echo "$ac_cv_path_SED" >&6; }
   4015  SED="$ac_cv_path_SED"
   4016   rm -f conftest.sed
   4017 
   4018 test -z "$SED" && SED=sed
   4019 Xsed="$SED -e 1s/^X//"
   4020 
   4021 
   4022 
   4023 
   4024 
   4025 
   4026 
   4027 
   4028 
   4029 
   4030 
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4032 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4033 if ${ac_cv_path_GREP+:} false; then :
   4034   $as_echo_n "(cached) " >&6
   4035 else
   4036   if test -z "$GREP"; then
   4037   ac_path_GREP_found=false
   4038   # Loop through the user's path and test for each of PROGNAME-LIST
   4039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4041 do
   4042   IFS=$as_save_IFS
   4043   test -z "$as_dir" && as_dir=.
   4044     for ac_prog in grep ggrep; do
   4045     for ac_exec_ext in '' $ac_executable_extensions; do
   4046       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4047       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4048 # Check for GNU ac_path_GREP and select it if it is found.
   4049   # Check for GNU $ac_path_GREP
   4050 case `"$ac_path_GREP" --version 2>&1` in
   4051 *GNU*)
   4052   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4053 *)
   4054   ac_count=0
   4055   $as_echo_n 0123456789 >"conftest.in"
   4056   while :
   4057   do
   4058     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4059     mv "conftest.tmp" "conftest.in"
   4060     cp "conftest.in" "conftest.nl"
   4061     $as_echo 'GREP' >> "conftest.nl"
   4062     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4063     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4064     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4065     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4066       # Best one so far, save it but keep looking for a better one
   4067       ac_cv_path_GREP="$ac_path_GREP"
   4068       ac_path_GREP_max=$ac_count
   4069     fi
   4070     # 10*(2^10) chars as input seems more than enough
   4071     test $ac_count -gt 10 && break
   4072   done
   4073   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4074 esac
   4075 
   4076       $ac_path_GREP_found && break 3
   4077     done
   4078   done
   4079   done
   4080 IFS=$as_save_IFS
   4081   if test -z "$ac_cv_path_GREP"; then
   4082     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4083   fi
   4084 else
   4085   ac_cv_path_GREP=$GREP
   4086 fi
   4087 
   4088 fi
   4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4090 $as_echo "$ac_cv_path_GREP" >&6; }
   4091  GREP="$ac_cv_path_GREP"
   4092 
   4093 
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4095 $as_echo_n "checking for egrep... " >&6; }
   4096 if ${ac_cv_path_EGREP+:} false; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4100    then ac_cv_path_EGREP="$GREP -E"
   4101    else
   4102      if test -z "$EGREP"; then
   4103   ac_path_EGREP_found=false
   4104   # Loop through the user's path and test for each of PROGNAME-LIST
   4105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4107 do
   4108   IFS=$as_save_IFS
   4109   test -z "$as_dir" && as_dir=.
   4110     for ac_prog in egrep; do
   4111     for ac_exec_ext in '' $ac_executable_extensions; do
   4112       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4113       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4114 # Check for GNU ac_path_EGREP and select it if it is found.
   4115   # Check for GNU $ac_path_EGREP
   4116 case `"$ac_path_EGREP" --version 2>&1` in
   4117 *GNU*)
   4118   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4119 *)
   4120   ac_count=0
   4121   $as_echo_n 0123456789 >"conftest.in"
   4122   while :
   4123   do
   4124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4125     mv "conftest.tmp" "conftest.in"
   4126     cp "conftest.in" "conftest.nl"
   4127     $as_echo 'EGREP' >> "conftest.nl"
   4128     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4131     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4132       # Best one so far, save it but keep looking for a better one
   4133       ac_cv_path_EGREP="$ac_path_EGREP"
   4134       ac_path_EGREP_max=$ac_count
   4135     fi
   4136     # 10*(2^10) chars as input seems more than enough
   4137     test $ac_count -gt 10 && break
   4138   done
   4139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4140 esac
   4141 
   4142       $ac_path_EGREP_found && break 3
   4143     done
   4144   done
   4145   done
   4146 IFS=$as_save_IFS
   4147   if test -z "$ac_cv_path_EGREP"; then
   4148     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4149   fi
   4150 else
   4151   ac_cv_path_EGREP=$EGREP
   4152 fi
   4153 
   4154    fi
   4155 fi
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4157 $as_echo "$ac_cv_path_EGREP" >&6; }
   4158  EGREP="$ac_cv_path_EGREP"
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4162 $as_echo_n "checking for fgrep... " >&6; }
   4163 if ${ac_cv_path_FGREP+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4167    then ac_cv_path_FGREP="$GREP -F"
   4168    else
   4169      if test -z "$FGREP"; then
   4170   ac_path_FGREP_found=false
   4171   # Loop through the user's path and test for each of PROGNAME-LIST
   4172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4174 do
   4175   IFS=$as_save_IFS
   4176   test -z "$as_dir" && as_dir=.
   4177     for ac_prog in fgrep; do
   4178     for ac_exec_ext in '' $ac_executable_extensions; do
   4179       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4180       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4181 # Check for GNU ac_path_FGREP and select it if it is found.
   4182   # Check for GNU $ac_path_FGREP
   4183 case `"$ac_path_FGREP" --version 2>&1` in
   4184 *GNU*)
   4185   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4186 *)
   4187   ac_count=0
   4188   $as_echo_n 0123456789 >"conftest.in"
   4189   while :
   4190   do
   4191     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4192     mv "conftest.tmp" "conftest.in"
   4193     cp "conftest.in" "conftest.nl"
   4194     $as_echo 'FGREP' >> "conftest.nl"
   4195     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4196     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4197     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4198     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4199       # Best one so far, save it but keep looking for a better one
   4200       ac_cv_path_FGREP="$ac_path_FGREP"
   4201       ac_path_FGREP_max=$ac_count
   4202     fi
   4203     # 10*(2^10) chars as input seems more than enough
   4204     test $ac_count -gt 10 && break
   4205   done
   4206   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4207 esac
   4208 
   4209       $ac_path_FGREP_found && break 3
   4210     done
   4211   done
   4212   done
   4213 IFS=$as_save_IFS
   4214   if test -z "$ac_cv_path_FGREP"; then
   4215     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4216   fi
   4217 else
   4218   ac_cv_path_FGREP=$FGREP
   4219 fi
   4220 
   4221    fi
   4222 fi
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4224 $as_echo "$ac_cv_path_FGREP" >&6; }
   4225  FGREP="$ac_cv_path_FGREP"
   4226 
   4227 
   4228 test -z "$GREP" && GREP=grep
   4229 
   4230 
   4231 
   4232 
   4233 
   4234 
   4235 
   4236 
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 
   4244 
   4245 
   4246 
   4247 
   4248 # Check whether --with-gnu-ld was given.
   4249 if test "${with_gnu_ld+set}" = set; then :
   4250   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4251 else
   4252   with_gnu_ld=no
   4253 fi
   4254 
   4255 ac_prog=ld
   4256 if test "$GCC" = yes; then
   4257   # Check if gcc -print-prog-name=ld gives a path.
   4258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4259 $as_echo_n "checking for ld used by $CC... " >&6; }
   4260   case $host in
   4261   *-*-mingw*)
   4262     # gcc leaves a trailing carriage return which upsets mingw
   4263     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4264   *)
   4265     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4266   esac
   4267   case $ac_prog in
   4268     # Accept absolute paths.
   4269     [\\/]* | ?:[\\/]*)
   4270       re_direlt='/[^/][^/]*/\.\./'
   4271       # Canonicalize the pathname of ld
   4272       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4273       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4274 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4275       done
   4276       test -z "$LD" && LD="$ac_prog"
   4277       ;;
   4278   "")
   4279     # If it fails, then pretend we aren't using GCC.
   4280     ac_prog=ld
   4281     ;;
   4282   *)
   4283     # If it is relative, then search for the first ld in PATH.
   4284     with_gnu_ld=unknown
   4285     ;;
   4286   esac
   4287 elif test "$with_gnu_ld" = yes; then
   4288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4289 $as_echo_n "checking for GNU ld... " >&6; }
   4290 else
   4291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4292 $as_echo_n "checking for non-GNU ld... " >&6; }
   4293 fi
   4294 if ${lt_cv_path_LD+:} false; then :
   4295   $as_echo_n "(cached) " >&6
   4296 else
   4297   if test -z "$LD"; then
   4298   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4299   for ac_dir in $PATH; do
   4300     IFS="$lt_save_ifs"
   4301     test -z "$ac_dir" && ac_dir=.
   4302     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4303       lt_cv_path_LD="$ac_dir/$ac_prog"
   4304       # Check to see if the program is GNU ld.  I'd rather use --version,
   4305       # but apparently some variants of GNU ld only accept -v.
   4306       # Break only if it was the GNU/non-GNU ld that we prefer.
   4307       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4308       *GNU* | *'with BFD'*)
   4309 	test "$with_gnu_ld" != no && break
   4310 	;;
   4311       *)
   4312 	test "$with_gnu_ld" != yes && break
   4313 	;;
   4314       esac
   4315     fi
   4316   done
   4317   IFS="$lt_save_ifs"
   4318 else
   4319   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4320 fi
   4321 fi
   4322 
   4323 LD="$lt_cv_path_LD"
   4324 if test -n "$LD"; then
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4326 $as_echo "$LD" >&6; }
   4327 else
   4328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4329 $as_echo "no" >&6; }
   4330 fi
   4331 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4333 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4334 if ${lt_cv_prog_gnu_ld+:} false; then :
   4335   $as_echo_n "(cached) " >&6
   4336 else
   4337   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4338 case `$LD -v 2>&1 </dev/null` in
   4339 *GNU* | *'with BFD'*)
   4340   lt_cv_prog_gnu_ld=yes
   4341   ;;
   4342 *)
   4343   lt_cv_prog_gnu_ld=no
   4344   ;;
   4345 esac
   4346 fi
   4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4348 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4349 with_gnu_ld=$lt_cv_prog_gnu_ld
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4360 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4361 if ${lt_cv_path_NM+:} false; then :
   4362   $as_echo_n "(cached) " >&6
   4363 else
   4364   if test -n "$NM"; then
   4365   # Let the user override the test.
   4366   lt_cv_path_NM="$NM"
   4367 else
   4368   lt_nm_to_check="${ac_tool_prefix}nm"
   4369   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4370     lt_nm_to_check="$lt_nm_to_check nm"
   4371   fi
   4372   for lt_tmp_nm in $lt_nm_to_check; do
   4373     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4374     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4375       IFS="$lt_save_ifs"
   4376       test -z "$ac_dir" && ac_dir=.
   4377       tmp_nm="$ac_dir/$lt_tmp_nm"
   4378       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4379 	# Check to see if the nm accepts a BSD-compat flag.
   4380 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4381 	#   nm: unknown option "B" ignored
   4382 	# Tru64's nm complains that /dev/null is an invalid object file
   4383 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4384 	*/dev/null* | *'Invalid file or object type'*)
   4385 	  lt_cv_path_NM="$tmp_nm -B"
   4386 	  break
   4387 	  ;;
   4388 	*)
   4389 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4390 	  */dev/null*)
   4391 	    lt_cv_path_NM="$tmp_nm -p"
   4392 	    break
   4393 	    ;;
   4394 	  *)
   4395 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4396 	    continue # so that we can try to find one that supports BSD flags
   4397 	    ;;
   4398 	  esac
   4399 	  ;;
   4400 	esac
   4401       fi
   4402     done
   4403     IFS="$lt_save_ifs"
   4404   done
   4405   : ${lt_cv_path_NM=no}
   4406 fi
   4407 fi
   4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4409 $as_echo "$lt_cv_path_NM" >&6; }
   4410 if test "$lt_cv_path_NM" != "no"; then
   4411   NM="$lt_cv_path_NM"
   4412 else
   4413   # Didn't find any BSD compatible name lister, look for dumpbin.
   4414   if test -n "$DUMPBIN"; then :
   4415     # Let the user override the test.
   4416   else
   4417     if test -n "$ac_tool_prefix"; then
   4418   for ac_prog in dumpbin "link -dump"
   4419   do
   4420     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4421 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4423 $as_echo_n "checking for $ac_word... " >&6; }
   4424 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   if test -n "$DUMPBIN"; then
   4428   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4429 else
   4430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4431 for as_dir in $PATH
   4432 do
   4433   IFS=$as_save_IFS
   4434   test -z "$as_dir" && as_dir=.
   4435     for ac_exec_ext in '' $ac_executable_extensions; do
   4436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4437     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4439     break 2
   4440   fi
   4441 done
   4442   done
   4443 IFS=$as_save_IFS
   4444 
   4445 fi
   4446 fi
   4447 DUMPBIN=$ac_cv_prog_DUMPBIN
   4448 if test -n "$DUMPBIN"; then
   4449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4450 $as_echo "$DUMPBIN" >&6; }
   4451 else
   4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4453 $as_echo "no" >&6; }
   4454 fi
   4455 
   4456 
   4457     test -n "$DUMPBIN" && break
   4458   done
   4459 fi
   4460 if test -z "$DUMPBIN"; then
   4461   ac_ct_DUMPBIN=$DUMPBIN
   4462   for ac_prog in dumpbin "link -dump"
   4463 do
   4464   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4465 set dummy $ac_prog; ac_word=$2
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4467 $as_echo_n "checking for $ac_word... " >&6; }
   4468 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4469   $as_echo_n "(cached) " >&6
   4470 else
   4471   if test -n "$ac_ct_DUMPBIN"; then
   4472   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4473 else
   4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4475 for as_dir in $PATH
   4476 do
   4477   IFS=$as_save_IFS
   4478   test -z "$as_dir" && as_dir=.
   4479     for ac_exec_ext in '' $ac_executable_extensions; do
   4480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4481     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4483     break 2
   4484   fi
   4485 done
   4486   done
   4487 IFS=$as_save_IFS
   4488 
   4489 fi
   4490 fi
   4491 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4492 if test -n "$ac_ct_DUMPBIN"; then
   4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4494 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4495 else
   4496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4497 $as_echo "no" >&6; }
   4498 fi
   4499 
   4500 
   4501   test -n "$ac_ct_DUMPBIN" && break
   4502 done
   4503 
   4504   if test "x$ac_ct_DUMPBIN" = x; then
   4505     DUMPBIN=":"
   4506   else
   4507     case $cross_compiling:$ac_tool_warned in
   4508 yes:)
   4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4511 ac_tool_warned=yes ;;
   4512 esac
   4513     DUMPBIN=$ac_ct_DUMPBIN
   4514   fi
   4515 fi
   4516 
   4517     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4518     *COFF*)
   4519       DUMPBIN="$DUMPBIN -symbols"
   4520       ;;
   4521     *)
   4522       DUMPBIN=:
   4523       ;;
   4524     esac
   4525   fi
   4526 
   4527   if test "$DUMPBIN" != ":"; then
   4528     NM="$DUMPBIN"
   4529   fi
   4530 fi
   4531 test -z "$NM" && NM=nm
   4532 
   4533 
   4534 
   4535 
   4536 
   4537 
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4539 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4540 if ${lt_cv_nm_interface+:} false; then :
   4541   $as_echo_n "(cached) " >&6
   4542 else
   4543   lt_cv_nm_interface="BSD nm"
   4544   echo "int some_variable = 0;" > conftest.$ac_ext
   4545   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4546   (eval "$ac_compile" 2>conftest.err)
   4547   cat conftest.err >&5
   4548   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4549   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4550   cat conftest.err >&5
   4551   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4552   cat conftest.out >&5
   4553   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4554     lt_cv_nm_interface="MS dumpbin"
   4555   fi
   4556   rm -f conftest*
   4557 fi
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4559 $as_echo "$lt_cv_nm_interface" >&6; }
   4560 
   4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4562 $as_echo_n "checking whether ln -s works... " >&6; }
   4563 LN_S=$as_ln_s
   4564 if test "$LN_S" = "ln -s"; then
   4565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4566 $as_echo "yes" >&6; }
   4567 else
   4568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4569 $as_echo "no, using $LN_S" >&6; }
   4570 fi
   4571 
   4572 # find the maximum length of command line arguments
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4574 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4575 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4576   $as_echo_n "(cached) " >&6
   4577 else
   4578     i=0
   4579   teststring="ABCD"
   4580 
   4581   case $build_os in
   4582   msdosdjgpp*)
   4583     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4584     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4585     # during glob expansion).  Even if it were fixed, the result of this
   4586     # check would be larger than it should be.
   4587     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4588     ;;
   4589 
   4590   gnu*)
   4591     # Under GNU Hurd, this test is not required because there is
   4592     # no limit to the length of command line arguments.
   4593     # Libtool will interpret -1 as no limit whatsoever
   4594     lt_cv_sys_max_cmd_len=-1;
   4595     ;;
   4596 
   4597   cygwin* | mingw* | cegcc*)
   4598     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4599     # about 5 minutes as the teststring grows exponentially.
   4600     # Worse, since 9x/ME are not pre-emptively multitasking,
   4601     # you end up with a "frozen" computer, even though with patience
   4602     # the test eventually succeeds (with a max line length of 256k).
   4603     # Instead, let's just punt: use the minimum linelength reported by
   4604     # all of the supported platforms: 8192 (on NT/2K/XP).
   4605     lt_cv_sys_max_cmd_len=8192;
   4606     ;;
   4607 
   4608   mint*)
   4609     # On MiNT this can take a long time and run out of memory.
   4610     lt_cv_sys_max_cmd_len=8192;
   4611     ;;
   4612 
   4613   amigaos*)
   4614     # On AmigaOS with pdksh, this test takes hours, literally.
   4615     # So we just punt and use a minimum line length of 8192.
   4616     lt_cv_sys_max_cmd_len=8192;
   4617     ;;
   4618 
   4619   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4620     # This has been around since 386BSD, at least.  Likely further.
   4621     if test -x /sbin/sysctl; then
   4622       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4623     elif test -x /usr/sbin/sysctl; then
   4624       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4625     else
   4626       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4627     fi
   4628     # And add a safety zone
   4629     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4630     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4631     ;;
   4632 
   4633   interix*)
   4634     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4635     lt_cv_sys_max_cmd_len=196608
   4636     ;;
   4637 
   4638   os2*)
   4639     # The test takes a long time on OS/2.
   4640     lt_cv_sys_max_cmd_len=8192
   4641     ;;
   4642 
   4643   osf*)
   4644     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4645     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4646     # nice to cause kernel panics so lets avoid the loop below.
   4647     # First set a reasonable default.
   4648     lt_cv_sys_max_cmd_len=16384
   4649     #
   4650     if test -x /sbin/sysconfig; then
   4651       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4652         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4653       esac
   4654     fi
   4655     ;;
   4656   sco3.2v5*)
   4657     lt_cv_sys_max_cmd_len=102400
   4658     ;;
   4659   sysv5* | sco5v6* | sysv4.2uw2*)
   4660     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4661     if test -n "$kargmax"; then
   4662       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4663     else
   4664       lt_cv_sys_max_cmd_len=32768
   4665     fi
   4666     ;;
   4667   *)
   4668     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4669     if test -n "$lt_cv_sys_max_cmd_len"; then
   4670       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4671       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4672     else
   4673       # Make teststring a little bigger before we do anything with it.
   4674       # a 1K string should be a reasonable start.
   4675       for i in 1 2 3 4 5 6 7 8 ; do
   4676         teststring=$teststring$teststring
   4677       done
   4678       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4679       # If test is not a shell built-in, we'll probably end up computing a
   4680       # maximum length that is only half of the actual maximum length, but
   4681       # we can't tell.
   4682       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4683 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4684 	      test $i != 17 # 1/2 MB should be enough
   4685       do
   4686         i=`expr $i + 1`
   4687         teststring=$teststring$teststring
   4688       done
   4689       # Only check the string length outside the loop.
   4690       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4691       teststring=
   4692       # Add a significant safety factor because C++ compilers can tack on
   4693       # massive amounts of additional arguments before passing them to the
   4694       # linker.  It appears as though 1/2 is a usable value.
   4695       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4696     fi
   4697     ;;
   4698   esac
   4699 
   4700 fi
   4701 
   4702 if test -n $lt_cv_sys_max_cmd_len ; then
   4703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4704 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4705 else
   4706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4707 $as_echo "none" >&6; }
   4708 fi
   4709 max_cmd_len=$lt_cv_sys_max_cmd_len
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 : ${CP="cp -f"}
   4717 : ${MV="mv -f"}
   4718 : ${RM="rm -f"}
   4719 
   4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4721 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4722 # Try some XSI features
   4723 xsi_shell=no
   4724 ( _lt_dummy="a/b/c"
   4725   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4726       = c,a/b,b/c, \
   4727     && eval 'test $(( 1 + 1 )) -eq 2 \
   4728     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4729   && xsi_shell=yes
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4731 $as_echo "$xsi_shell" >&6; }
   4732 
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4735 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4736 lt_shell_append=no
   4737 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4738     >/dev/null 2>&1 \
   4739   && lt_shell_append=yes
   4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4741 $as_echo "$lt_shell_append" >&6; }
   4742 
   4743 
   4744 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4745   lt_unset=unset
   4746 else
   4747   lt_unset=false
   4748 fi
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 # test EBCDIC or ASCII
   4755 case `echo X|tr X '\101'` in
   4756  A) # ASCII based system
   4757     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4758   lt_SP2NL='tr \040 \012'
   4759   lt_NL2SP='tr \015\012 \040\040'
   4760   ;;
   4761  *) # EBCDIC based system
   4762   lt_SP2NL='tr \100 \n'
   4763   lt_NL2SP='tr \r\n \100\100'
   4764   ;;
   4765 esac
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4776 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4777 if ${lt_cv_to_host_file_cmd+:} false; then :
   4778   $as_echo_n "(cached) " >&6
   4779 else
   4780   case $host in
   4781   *-*-mingw* )
   4782     case $build in
   4783       *-*-mingw* ) # actually msys
   4784         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4785         ;;
   4786       *-*-cygwin* )
   4787         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4788         ;;
   4789       * ) # otherwise, assume *nix
   4790         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4791         ;;
   4792     esac
   4793     ;;
   4794   *-*-cygwin* )
   4795     case $build in
   4796       *-*-mingw* ) # actually msys
   4797         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4798         ;;
   4799       *-*-cygwin* )
   4800         lt_cv_to_host_file_cmd=func_convert_file_noop
   4801         ;;
   4802       * ) # otherwise, assume *nix
   4803         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4804         ;;
   4805     esac
   4806     ;;
   4807   * ) # unhandled hosts (and "normal" native builds)
   4808     lt_cv_to_host_file_cmd=func_convert_file_noop
   4809     ;;
   4810 esac
   4811 
   4812 fi
   4813 
   4814 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4816 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4823 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4824 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4825   $as_echo_n "(cached) " >&6
   4826 else
   4827   #assume ordinary cross tools, or native build.
   4828 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4829 case $host in
   4830   *-*-mingw* )
   4831     case $build in
   4832       *-*-mingw* ) # actually msys
   4833         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4834         ;;
   4835     esac
   4836     ;;
   4837 esac
   4838 
   4839 fi
   4840 
   4841 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4843 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4850 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4851 if ${lt_cv_ld_reload_flag+:} false; then :
   4852   $as_echo_n "(cached) " >&6
   4853 else
   4854   lt_cv_ld_reload_flag='-r'
   4855 fi
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4857 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4858 reload_flag=$lt_cv_ld_reload_flag
   4859 case $reload_flag in
   4860 "" | " "*) ;;
   4861 *) reload_flag=" $reload_flag" ;;
   4862 esac
   4863 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4864 case $host_os in
   4865   cygwin* | mingw* | pw32* | cegcc*)
   4866     if test "$GCC" != yes; then
   4867       reload_cmds=false
   4868     fi
   4869     ;;
   4870   darwin*)
   4871     if test "$GCC" = yes; then
   4872       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4873     else
   4874       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4875     fi
   4876     ;;
   4877 esac
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 if test -n "$ac_tool_prefix"; then
   4888   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4889 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4891 $as_echo_n "checking for $ac_word... " >&6; }
   4892 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4893   $as_echo_n "(cached) " >&6
   4894 else
   4895   if test -n "$OBJDUMP"; then
   4896   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4897 else
   4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4899 for as_dir in $PATH
   4900 do
   4901   IFS=$as_save_IFS
   4902   test -z "$as_dir" && as_dir=.
   4903     for ac_exec_ext in '' $ac_executable_extensions; do
   4904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4905     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4907     break 2
   4908   fi
   4909 done
   4910   done
   4911 IFS=$as_save_IFS
   4912 
   4913 fi
   4914 fi
   4915 OBJDUMP=$ac_cv_prog_OBJDUMP
   4916 if test -n "$OBJDUMP"; then
   4917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4918 $as_echo "$OBJDUMP" >&6; }
   4919 else
   4920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4921 $as_echo "no" >&6; }
   4922 fi
   4923 
   4924 
   4925 fi
   4926 if test -z "$ac_cv_prog_OBJDUMP"; then
   4927   ac_ct_OBJDUMP=$OBJDUMP
   4928   # Extract the first word of "objdump", so it can be a program name with args.
   4929 set dummy objdump; ac_word=$2
   4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4931 $as_echo_n "checking for $ac_word... " >&6; }
   4932 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   if test -n "$ac_ct_OBJDUMP"; then
   4936   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4937 else
   4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4939 for as_dir in $PATH
   4940 do
   4941   IFS=$as_save_IFS
   4942   test -z "$as_dir" && as_dir=.
   4943     for ac_exec_ext in '' $ac_executable_extensions; do
   4944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4945     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4947     break 2
   4948   fi
   4949 done
   4950   done
   4951 IFS=$as_save_IFS
   4952 
   4953 fi
   4954 fi
   4955 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4956 if test -n "$ac_ct_OBJDUMP"; then
   4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4958 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4959 else
   4960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4961 $as_echo "no" >&6; }
   4962 fi
   4963 
   4964   if test "x$ac_ct_OBJDUMP" = x; then
   4965     OBJDUMP="false"
   4966   else
   4967     case $cross_compiling:$ac_tool_warned in
   4968 yes:)
   4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4971 ac_tool_warned=yes ;;
   4972 esac
   4973     OBJDUMP=$ac_ct_OBJDUMP
   4974   fi
   4975 else
   4976   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4977 fi
   4978 
   4979 test -z "$OBJDUMP" && OBJDUMP=objdump
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4990 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4991 if ${lt_cv_deplibs_check_method+:} false; then :
   4992   $as_echo_n "(cached) " >&6
   4993 else
   4994   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4995 lt_cv_file_magic_test_file=
   4996 lt_cv_deplibs_check_method='unknown'
   4997 # Need to set the preceding variable on all platforms that support
   4998 # interlibrary dependencies.
   4999 # 'none' -- dependencies not supported.
   5000 # `unknown' -- same as none, but documents that we really don't know.
   5001 # 'pass_all' -- all dependencies passed with no checks.
   5002 # 'test_compile' -- check by making test program.
   5003 # 'file_magic [[regex]]' -- check by looking for files in library path
   5004 # which responds to the $file_magic_cmd with a given extended regex.
   5005 # If you have `file' or equivalent on your system and you're not sure
   5006 # whether `pass_all' will *always* work, you probably want this one.
   5007 
   5008 case $host_os in
   5009 aix[4-9]*)
   5010   lt_cv_deplibs_check_method=pass_all
   5011   ;;
   5012 
   5013 beos*)
   5014   lt_cv_deplibs_check_method=pass_all
   5015   ;;
   5016 
   5017 bsdi[45]*)
   5018   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5019   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5020   lt_cv_file_magic_test_file=/shlib/libc.so
   5021   ;;
   5022 
   5023 cygwin*)
   5024   # func_win32_libid is a shell function defined in ltmain.sh
   5025   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5026   lt_cv_file_magic_cmd='func_win32_libid'
   5027   ;;
   5028 
   5029 mingw* | pw32*)
   5030   # Base MSYS/MinGW do not provide the 'file' command needed by
   5031   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5032   # unless we find 'file', for example because we are cross-compiling.
   5033   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5034   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5035     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5036     lt_cv_file_magic_cmd='func_win32_libid'
   5037   else
   5038     # Keep this pattern in sync with the one in func_win32_libid.
   5039     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5040     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5041   fi
   5042   ;;
   5043 
   5044 cegcc*)
   5045   # use the weaker test based on 'objdump'. See mingw*.
   5046   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5047   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5048   ;;
   5049 
   5050 darwin* | rhapsody*)
   5051   lt_cv_deplibs_check_method=pass_all
   5052   ;;
   5053 
   5054 freebsd* | dragonfly*)
   5055   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5056     case $host_cpu in
   5057     i*86 )
   5058       # Not sure whether the presence of OpenBSD here was a mistake.
   5059       # Let's accept both of them until this is cleared up.
   5060       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5061       lt_cv_file_magic_cmd=/usr/bin/file
   5062       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5063       ;;
   5064     esac
   5065   else
   5066     lt_cv_deplibs_check_method=pass_all
   5067   fi
   5068   ;;
   5069 
   5070 gnu*)
   5071   lt_cv_deplibs_check_method=pass_all
   5072   ;;
   5073 
   5074 haiku*)
   5075   lt_cv_deplibs_check_method=pass_all
   5076   ;;
   5077 
   5078 hpux10.20* | hpux11*)
   5079   lt_cv_file_magic_cmd=/usr/bin/file
   5080   case $host_cpu in
   5081   ia64*)
   5082     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5083     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5084     ;;
   5085   hppa*64*)
   5086     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]'
   5087     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5088     ;;
   5089   *)
   5090     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5091     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5092     ;;
   5093   esac
   5094   ;;
   5095 
   5096 interix[3-9]*)
   5097   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5098   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5099   ;;
   5100 
   5101 irix5* | irix6* | nonstopux*)
   5102   case $LD in
   5103   *-32|*"-32 ") libmagic=32-bit;;
   5104   *-n32|*"-n32 ") libmagic=N32;;
   5105   *-64|*"-64 ") libmagic=64-bit;;
   5106   *) libmagic=never-match;;
   5107   esac
   5108   lt_cv_deplibs_check_method=pass_all
   5109   ;;
   5110 
   5111 # This must be glibc/ELF.
   5112 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5113   lt_cv_deplibs_check_method=pass_all
   5114   ;;
   5115 
   5116 netbsd*)
   5117   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5118     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5119   else
   5120     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5121   fi
   5122   ;;
   5123 
   5124 newos6*)
   5125   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5126   lt_cv_file_magic_cmd=/usr/bin/file
   5127   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5128   ;;
   5129 
   5130 *nto* | *qnx*)
   5131   lt_cv_deplibs_check_method=pass_all
   5132   ;;
   5133 
   5134 openbsd*)
   5135   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5136     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5137   else
   5138     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5139   fi
   5140   ;;
   5141 
   5142 osf3* | osf4* | osf5*)
   5143   lt_cv_deplibs_check_method=pass_all
   5144   ;;
   5145 
   5146 rdos*)
   5147   lt_cv_deplibs_check_method=pass_all
   5148   ;;
   5149 
   5150 solaris*)
   5151   lt_cv_deplibs_check_method=pass_all
   5152   ;;
   5153 
   5154 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5155   lt_cv_deplibs_check_method=pass_all
   5156   ;;
   5157 
   5158 sysv4 | sysv4.3*)
   5159   case $host_vendor in
   5160   motorola)
   5161     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]'
   5162     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5163     ;;
   5164   ncr)
   5165     lt_cv_deplibs_check_method=pass_all
   5166     ;;
   5167   sequent)
   5168     lt_cv_file_magic_cmd='/bin/file'
   5169     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5170     ;;
   5171   sni)
   5172     lt_cv_file_magic_cmd='/bin/file'
   5173     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5174     lt_cv_file_magic_test_file=/lib/libc.so
   5175     ;;
   5176   siemens)
   5177     lt_cv_deplibs_check_method=pass_all
   5178     ;;
   5179   pc)
   5180     lt_cv_deplibs_check_method=pass_all
   5181     ;;
   5182   esac
   5183   ;;
   5184 
   5185 tpf*)
   5186   lt_cv_deplibs_check_method=pass_all
   5187   ;;
   5188 esac
   5189 
   5190 fi
   5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5192 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5193 
   5194 file_magic_glob=
   5195 want_nocaseglob=no
   5196 if test "$build" = "$host"; then
   5197   case $host_os in
   5198   mingw* | pw32*)
   5199     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5200       want_nocaseglob=yes
   5201     else
   5202       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5203     fi
   5204     ;;
   5205   esac
   5206 fi
   5207 
   5208 file_magic_cmd=$lt_cv_file_magic_cmd
   5209 deplibs_check_method=$lt_cv_deplibs_check_method
   5210 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 if test -n "$ac_tool_prefix"; then
   5234   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5235 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5237 $as_echo_n "checking for $ac_word... " >&6; }
   5238 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5239   $as_echo_n "(cached) " >&6
   5240 else
   5241   if test -n "$DLLTOOL"; then
   5242   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5243 else
   5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5245 for as_dir in $PATH
   5246 do
   5247   IFS=$as_save_IFS
   5248   test -z "$as_dir" && as_dir=.
   5249     for ac_exec_ext in '' $ac_executable_extensions; do
   5250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5251     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5253     break 2
   5254   fi
   5255 done
   5256   done
   5257 IFS=$as_save_IFS
   5258 
   5259 fi
   5260 fi
   5261 DLLTOOL=$ac_cv_prog_DLLTOOL
   5262 if test -n "$DLLTOOL"; then
   5263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5264 $as_echo "$DLLTOOL" >&6; }
   5265 else
   5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5267 $as_echo "no" >&6; }
   5268 fi
   5269 
   5270 
   5271 fi
   5272 if test -z "$ac_cv_prog_DLLTOOL"; then
   5273   ac_ct_DLLTOOL=$DLLTOOL
   5274   # Extract the first word of "dlltool", so it can be a program name with args.
   5275 set dummy dlltool; ac_word=$2
   5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5277 $as_echo_n "checking for $ac_word... " >&6; }
   5278 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5279   $as_echo_n "(cached) " >&6
   5280 else
   5281   if test -n "$ac_ct_DLLTOOL"; then
   5282   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5283 else
   5284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5285 for as_dir in $PATH
   5286 do
   5287   IFS=$as_save_IFS
   5288   test -z "$as_dir" && as_dir=.
   5289     for ac_exec_ext in '' $ac_executable_extensions; do
   5290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5291     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5293     break 2
   5294   fi
   5295 done
   5296   done
   5297 IFS=$as_save_IFS
   5298 
   5299 fi
   5300 fi
   5301 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5302 if test -n "$ac_ct_DLLTOOL"; then
   5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5304 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5305 else
   5306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5307 $as_echo "no" >&6; }
   5308 fi
   5309 
   5310   if test "x$ac_ct_DLLTOOL" = x; then
   5311     DLLTOOL="false"
   5312   else
   5313     case $cross_compiling:$ac_tool_warned in
   5314 yes:)
   5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5317 ac_tool_warned=yes ;;
   5318 esac
   5319     DLLTOOL=$ac_ct_DLLTOOL
   5320   fi
   5321 else
   5322   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5323 fi
   5324 
   5325 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5337 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5338 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5342 
   5343 case $host_os in
   5344 cygwin* | mingw* | pw32* | cegcc*)
   5345   # two different shell functions defined in ltmain.sh
   5346   # decide which to use based on capabilities of $DLLTOOL
   5347   case `$DLLTOOL --help 2>&1` in
   5348   *--identify-strict*)
   5349     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5350     ;;
   5351   *)
   5352     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5353     ;;
   5354   esac
   5355   ;;
   5356 *)
   5357   # fallback: assume linklib IS sharedlib
   5358   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5359   ;;
   5360 esac
   5361 
   5362 fi
   5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5364 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5365 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5366 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 if test -n "$ac_tool_prefix"; then
   5376   for ac_prog in ar
   5377   do
   5378     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5381 $as_echo_n "checking for $ac_word... " >&6; }
   5382 if ${ac_cv_prog_AR+:} false; then :
   5383   $as_echo_n "(cached) " >&6
   5384 else
   5385   if test -n "$AR"; then
   5386   ac_cv_prog_AR="$AR" # Let the user override the test.
   5387 else
   5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5389 for as_dir in $PATH
   5390 do
   5391   IFS=$as_save_IFS
   5392   test -z "$as_dir" && as_dir=.
   5393     for ac_exec_ext in '' $ac_executable_extensions; do
   5394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5395     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5397     break 2
   5398   fi
   5399 done
   5400   done
   5401 IFS=$as_save_IFS
   5402 
   5403 fi
   5404 fi
   5405 AR=$ac_cv_prog_AR
   5406 if test -n "$AR"; then
   5407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5408 $as_echo "$AR" >&6; }
   5409 else
   5410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5411 $as_echo "no" >&6; }
   5412 fi
   5413 
   5414 
   5415     test -n "$AR" && break
   5416   done
   5417 fi
   5418 if test -z "$AR"; then
   5419   ac_ct_AR=$AR
   5420   for ac_prog in ar
   5421 do
   5422   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5423 set dummy $ac_prog; ac_word=$2
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5425 $as_echo_n "checking for $ac_word... " >&6; }
   5426 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   if test -n "$ac_ct_AR"; then
   5430   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5431 else
   5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5433 for as_dir in $PATH
   5434 do
   5435   IFS=$as_save_IFS
   5436   test -z "$as_dir" && as_dir=.
   5437     for ac_exec_ext in '' $ac_executable_extensions; do
   5438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5439     ac_cv_prog_ac_ct_AR="$ac_prog"
   5440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5441     break 2
   5442   fi
   5443 done
   5444   done
   5445 IFS=$as_save_IFS
   5446 
   5447 fi
   5448 fi
   5449 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5450 if test -n "$ac_ct_AR"; then
   5451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5452 $as_echo "$ac_ct_AR" >&6; }
   5453 else
   5454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5455 $as_echo "no" >&6; }
   5456 fi
   5457 
   5458 
   5459   test -n "$ac_ct_AR" && break
   5460 done
   5461 
   5462   if test "x$ac_ct_AR" = x; then
   5463     AR="false"
   5464   else
   5465     case $cross_compiling:$ac_tool_warned in
   5466 yes:)
   5467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5469 ac_tool_warned=yes ;;
   5470 esac
   5471     AR=$ac_ct_AR
   5472   fi
   5473 fi
   5474 
   5475 : ${AR=ar}
   5476 : ${AR_FLAGS=cru}
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5489 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5490 if ${lt_cv_ar_at_file+:} false; then :
   5491   $as_echo_n "(cached) " >&6
   5492 else
   5493   lt_cv_ar_at_file=no
   5494    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 
   5497 int
   5498 main ()
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_c_try_compile "$LINENO"; then :
   5506   echo conftest.$ac_objext > conftest.lst
   5507       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5508       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5509   (eval $lt_ar_try) 2>&5
   5510   ac_status=$?
   5511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5512   test $ac_status = 0; }
   5513       if test "$ac_status" -eq 0; then
   5514 	# Ensure the archiver fails upon bogus file names.
   5515 	rm -f conftest.$ac_objext libconftest.a
   5516 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5517   (eval $lt_ar_try) 2>&5
   5518   ac_status=$?
   5519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5520   test $ac_status = 0; }
   5521 	if test "$ac_status" -ne 0; then
   5522           lt_cv_ar_at_file=@
   5523         fi
   5524       fi
   5525       rm -f conftest.* libconftest.a
   5526 
   5527 fi
   5528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5529 
   5530 fi
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5532 $as_echo "$lt_cv_ar_at_file" >&6; }
   5533 
   5534 if test "x$lt_cv_ar_at_file" = xno; then
   5535   archiver_list_spec=
   5536 else
   5537   archiver_list_spec=$lt_cv_ar_at_file
   5538 fi
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 if test -n "$ac_tool_prefix"; then
   5547   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5548 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5550 $as_echo_n "checking for $ac_word... " >&6; }
   5551 if ${ac_cv_prog_STRIP+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   if test -n "$STRIP"; then
   5555   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5556 else
   5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5558 for as_dir in $PATH
   5559 do
   5560   IFS=$as_save_IFS
   5561   test -z "$as_dir" && as_dir=.
   5562     for ac_exec_ext in '' $ac_executable_extensions; do
   5563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5564     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5566     break 2
   5567   fi
   5568 done
   5569   done
   5570 IFS=$as_save_IFS
   5571 
   5572 fi
   5573 fi
   5574 STRIP=$ac_cv_prog_STRIP
   5575 if test -n "$STRIP"; then
   5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5577 $as_echo "$STRIP" >&6; }
   5578 else
   5579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5580 $as_echo "no" >&6; }
   5581 fi
   5582 
   5583 
   5584 fi
   5585 if test -z "$ac_cv_prog_STRIP"; then
   5586   ac_ct_STRIP=$STRIP
   5587   # Extract the first word of "strip", so it can be a program name with args.
   5588 set dummy strip; ac_word=$2
   5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5590 $as_echo_n "checking for $ac_word... " >&6; }
   5591 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5592   $as_echo_n "(cached) " >&6
   5593 else
   5594   if test -n "$ac_ct_STRIP"; then
   5595   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5596 else
   5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5598 for as_dir in $PATH
   5599 do
   5600   IFS=$as_save_IFS
   5601   test -z "$as_dir" && as_dir=.
   5602     for ac_exec_ext in '' $ac_executable_extensions; do
   5603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5604     ac_cv_prog_ac_ct_STRIP="strip"
   5605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5606     break 2
   5607   fi
   5608 done
   5609   done
   5610 IFS=$as_save_IFS
   5611 
   5612 fi
   5613 fi
   5614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5615 if test -n "$ac_ct_STRIP"; then
   5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5617 $as_echo "$ac_ct_STRIP" >&6; }
   5618 else
   5619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5620 $as_echo "no" >&6; }
   5621 fi
   5622 
   5623   if test "x$ac_ct_STRIP" = x; then
   5624     STRIP=":"
   5625   else
   5626     case $cross_compiling:$ac_tool_warned in
   5627 yes:)
   5628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5630 ac_tool_warned=yes ;;
   5631 esac
   5632     STRIP=$ac_ct_STRIP
   5633   fi
   5634 else
   5635   STRIP="$ac_cv_prog_STRIP"
   5636 fi
   5637 
   5638 test -z "$STRIP" && STRIP=:
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 if test -n "$ac_tool_prefix"; then
   5646   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5647 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5649 $as_echo_n "checking for $ac_word... " >&6; }
   5650 if ${ac_cv_prog_RANLIB+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   if test -n "$RANLIB"; then
   5654   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5655 else
   5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5657 for as_dir in $PATH
   5658 do
   5659   IFS=$as_save_IFS
   5660   test -z "$as_dir" && as_dir=.
   5661     for ac_exec_ext in '' $ac_executable_extensions; do
   5662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5663     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5665     break 2
   5666   fi
   5667 done
   5668   done
   5669 IFS=$as_save_IFS
   5670 
   5671 fi
   5672 fi
   5673 RANLIB=$ac_cv_prog_RANLIB
   5674 if test -n "$RANLIB"; then
   5675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5676 $as_echo "$RANLIB" >&6; }
   5677 else
   5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5679 $as_echo "no" >&6; }
   5680 fi
   5681 
   5682 
   5683 fi
   5684 if test -z "$ac_cv_prog_RANLIB"; then
   5685   ac_ct_RANLIB=$RANLIB
   5686   # Extract the first word of "ranlib", so it can be a program name with args.
   5687 set dummy ranlib; ac_word=$2
   5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5689 $as_echo_n "checking for $ac_word... " >&6; }
   5690 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5691   $as_echo_n "(cached) " >&6
   5692 else
   5693   if test -n "$ac_ct_RANLIB"; then
   5694   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5695 else
   5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5697 for as_dir in $PATH
   5698 do
   5699   IFS=$as_save_IFS
   5700   test -z "$as_dir" && as_dir=.
   5701     for ac_exec_ext in '' $ac_executable_extensions; do
   5702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5703     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5705     break 2
   5706   fi
   5707 done
   5708   done
   5709 IFS=$as_save_IFS
   5710 
   5711 fi
   5712 fi
   5713 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5714 if test -n "$ac_ct_RANLIB"; then
   5715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5716 $as_echo "$ac_ct_RANLIB" >&6; }
   5717 else
   5718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5719 $as_echo "no" >&6; }
   5720 fi
   5721 
   5722   if test "x$ac_ct_RANLIB" = x; then
   5723     RANLIB=":"
   5724   else
   5725     case $cross_compiling:$ac_tool_warned in
   5726 yes:)
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5729 ac_tool_warned=yes ;;
   5730 esac
   5731     RANLIB=$ac_ct_RANLIB
   5732   fi
   5733 else
   5734   RANLIB="$ac_cv_prog_RANLIB"
   5735 fi
   5736 
   5737 test -z "$RANLIB" && RANLIB=:
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 # Determine commands to create old-style static archives.
   5745 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5746 old_postinstall_cmds='chmod 644 $oldlib'
   5747 old_postuninstall_cmds=
   5748 
   5749 if test -n "$RANLIB"; then
   5750   case $host_os in
   5751   openbsd*)
   5752     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5753     ;;
   5754   *)
   5755     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5756     ;;
   5757   esac
   5758   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5759 fi
   5760 
   5761 case $host_os in
   5762   darwin*)
   5763     lock_old_archive_extraction=yes ;;
   5764   *)
   5765     lock_old_archive_extraction=no ;;
   5766 esac
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 # If no C compiler was specified, use CC.
   5807 LTCC=${LTCC-"$CC"}
   5808 
   5809 # If no C compiler flags were specified, use CFLAGS.
   5810 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5811 
   5812 # Allow CC to be a program name with arguments.
   5813 compiler=$CC
   5814 
   5815 
   5816 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5818 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5819 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822 
   5823 # These are sane defaults that work on at least a few old systems.
   5824 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5825 
   5826 # Character class describing NM global symbol codes.
   5827 symcode='[BCDEGRST]'
   5828 
   5829 # Regexp to match symbols that can be accessed directly from C.
   5830 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5831 
   5832 # Define system-specific variables.
   5833 case $host_os in
   5834 aix*)
   5835   symcode='[BCDT]'
   5836   ;;
   5837 cygwin* | mingw* | pw32* | cegcc*)
   5838   symcode='[ABCDGISTW]'
   5839   ;;
   5840 hpux*)
   5841   if test "$host_cpu" = ia64; then
   5842     symcode='[ABCDEGRST]'
   5843   fi
   5844   ;;
   5845 irix* | nonstopux*)
   5846   symcode='[BCDEGRST]'
   5847   ;;
   5848 osf*)
   5849   symcode='[BCDEGQRST]'
   5850   ;;
   5851 solaris*)
   5852   symcode='[BDRT]'
   5853   ;;
   5854 sco3.2v5*)
   5855   symcode='[DT]'
   5856   ;;
   5857 sysv4.2uw2*)
   5858   symcode='[DT]'
   5859   ;;
   5860 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5861   symcode='[ABDT]'
   5862   ;;
   5863 sysv4)
   5864   symcode='[DFNSTU]'
   5865   ;;
   5866 esac
   5867 
   5868 # If we're using GNU nm, then use its standard symbol codes.
   5869 case `$NM -V 2>&1` in
   5870 *GNU* | *'with BFD'*)
   5871   symcode='[ABCDGIRSTW]' ;;
   5872 esac
   5873 
   5874 # Transform an extracted symbol line into a proper C declaration.
   5875 # Some systems (esp. on ia64) link data and code symbols differently,
   5876 # so use this general approach.
   5877 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5878 
   5879 # Transform an extracted symbol line into symbol name and symbol address
   5880 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5881 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'"
   5882 
   5883 # Handle CRLF in mingw tool chain
   5884 opt_cr=
   5885 case $build_os in
   5886 mingw*)
   5887   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5888   ;;
   5889 esac
   5890 
   5891 # Try without a prefix underscore, then with it.
   5892 for ac_symprfx in "" "_"; do
   5893 
   5894   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5895   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5896 
   5897   # Write the raw and C identifiers.
   5898   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5899     # Fake it for dumpbin and say T for any non-static function
   5900     # and D for any global variable.
   5901     # Also find C++ and __fastcall symbols from MSVC++,
   5902     # which start with @ or ?.
   5903     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5904 "     {last_section=section; section=\$ 3};"\
   5905 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5906 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5907 "     \$ 0!~/External *\|/{next};"\
   5908 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5909 "     {if(hide[section]) next};"\
   5910 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5911 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5912 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5913 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5914 "     ' prfx=^$ac_symprfx"
   5915   else
   5916     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5917   fi
   5918   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5919 
   5920   # Check to see that the pipe works correctly.
   5921   pipe_works=no
   5922 
   5923   rm -f conftest*
   5924   cat > conftest.$ac_ext <<_LT_EOF
   5925 #ifdef __cplusplus
   5926 extern "C" {
   5927 #endif
   5928 char nm_test_var;
   5929 void nm_test_func(void);
   5930 void nm_test_func(void){}
   5931 #ifdef __cplusplus
   5932 }
   5933 #endif
   5934 int main(){nm_test_var='a';nm_test_func();return(0);}
   5935 _LT_EOF
   5936 
   5937   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5938   (eval $ac_compile) 2>&5
   5939   ac_status=$?
   5940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5941   test $ac_status = 0; }; then
   5942     # Now try to grab the symbols.
   5943     nlist=conftest.nm
   5944     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5945   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5946   ac_status=$?
   5947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5948   test $ac_status = 0; } && test -s "$nlist"; then
   5949       # Try sorting and uniquifying the output.
   5950       if sort "$nlist" | uniq > "$nlist"T; then
   5951 	mv -f "$nlist"T "$nlist"
   5952       else
   5953 	rm -f "$nlist"T
   5954       fi
   5955 
   5956       # Make sure that we snagged all the symbols we need.
   5957       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5958 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5959 	  cat <<_LT_EOF > conftest.$ac_ext
   5960 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5961 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5962 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5963    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5964 # define LT_DLSYM_CONST
   5965 #elif defined(__osf__)
   5966 /* This system does not cope well with relocations in const data.  */
   5967 # define LT_DLSYM_CONST
   5968 #else
   5969 # define LT_DLSYM_CONST const
   5970 #endif
   5971 
   5972 #ifdef __cplusplus
   5973 extern "C" {
   5974 #endif
   5975 
   5976 _LT_EOF
   5977 	  # Now generate the symbol file.
   5978 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5979 
   5980 	  cat <<_LT_EOF >> conftest.$ac_ext
   5981 
   5982 /* The mapping between symbol names and symbols.  */
   5983 LT_DLSYM_CONST struct {
   5984   const char *name;
   5985   void       *address;
   5986 }
   5987 lt__PROGRAM__LTX_preloaded_symbols[] =
   5988 {
   5989   { "@PROGRAM@", (void *) 0 },
   5990 _LT_EOF
   5991 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5992 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5993   {0, (void *) 0}
   5994 };
   5995 
   5996 /* This works around a problem in FreeBSD linker */
   5997 #ifdef FREEBSD_WORKAROUND
   5998 static const void *lt_preloaded_setup() {
   5999   return lt__PROGRAM__LTX_preloaded_symbols;
   6000 }
   6001 #endif
   6002 
   6003 #ifdef __cplusplus
   6004 }
   6005 #endif
   6006 _LT_EOF
   6007 	  # Now try linking the two files.
   6008 	  mv conftest.$ac_objext conftstm.$ac_objext
   6009 	  lt_globsym_save_LIBS=$LIBS
   6010 	  lt_globsym_save_CFLAGS=$CFLAGS
   6011 	  LIBS="conftstm.$ac_objext"
   6012 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6013 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6014   (eval $ac_link) 2>&5
   6015   ac_status=$?
   6016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6017   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6018 	    pipe_works=yes
   6019 	  fi
   6020 	  LIBS=$lt_globsym_save_LIBS
   6021 	  CFLAGS=$lt_globsym_save_CFLAGS
   6022 	else
   6023 	  echo "cannot find nm_test_func in $nlist" >&5
   6024 	fi
   6025       else
   6026 	echo "cannot find nm_test_var in $nlist" >&5
   6027       fi
   6028     else
   6029       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6030     fi
   6031   else
   6032     echo "$progname: failed program was:" >&5
   6033     cat conftest.$ac_ext >&5
   6034   fi
   6035   rm -rf conftest* conftst*
   6036 
   6037   # Do not use the global_symbol_pipe unless it works.
   6038   if test "$pipe_works" = yes; then
   6039     break
   6040   else
   6041     lt_cv_sys_global_symbol_pipe=
   6042   fi
   6043 done
   6044 
   6045 fi
   6046 
   6047 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6048   lt_cv_sys_global_symbol_to_cdecl=
   6049 fi
   6050 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6052 $as_echo "failed" >&6; }
   6053 else
   6054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6055 $as_echo "ok" >&6; }
   6056 fi
   6057 
   6058 # Response file support.
   6059 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6060   nm_file_list_spec='@'
   6061 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6062   nm_file_list_spec='@'
   6063 fi
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6092 $as_echo_n "checking for sysroot... " >&6; }
   6093 
   6094 # Check whether --with-sysroot was given.
   6095 if test "${with_sysroot+set}" = set; then :
   6096   withval=$with_sysroot;
   6097 else
   6098   with_sysroot=no
   6099 fi
   6100 
   6101 
   6102 lt_sysroot=
   6103 case ${with_sysroot} in #(
   6104  yes)
   6105    if test "$GCC" = yes; then
   6106      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6107    fi
   6108    ;; #(
   6109  /*)
   6110    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6111    ;; #(
   6112  no|'')
   6113    ;; #(
   6114  *)
   6115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6116 $as_echo "${with_sysroot}" >&6; }
   6117    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6118    ;;
   6119 esac
   6120 
   6121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6122 $as_echo "${lt_sysroot:-no}" >&6; }
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 # Check whether --enable-libtool-lock was given.
   6129 if test "${enable_libtool_lock+set}" = set; then :
   6130   enableval=$enable_libtool_lock;
   6131 fi
   6132 
   6133 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6134 
   6135 # Some flags need to be propagated to the compiler or linker for good
   6136 # libtool support.
   6137 case $host in
   6138 ia64-*-hpux*)
   6139   # Find out which ABI we are using.
   6140   echo 'int i;' > conftest.$ac_ext
   6141   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6142   (eval $ac_compile) 2>&5
   6143   ac_status=$?
   6144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6145   test $ac_status = 0; }; then
   6146     case `/usr/bin/file conftest.$ac_objext` in
   6147       *ELF-32*)
   6148 	HPUX_IA64_MODE="32"
   6149 	;;
   6150       *ELF-64*)
   6151 	HPUX_IA64_MODE="64"
   6152 	;;
   6153     esac
   6154   fi
   6155   rm -rf conftest*
   6156   ;;
   6157 *-*-irix6*)
   6158   # Find out which ABI we are using.
   6159   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6160   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6161   (eval $ac_compile) 2>&5
   6162   ac_status=$?
   6163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6164   test $ac_status = 0; }; then
   6165     if test "$lt_cv_prog_gnu_ld" = yes; then
   6166       case `/usr/bin/file conftest.$ac_objext` in
   6167 	*32-bit*)
   6168 	  LD="${LD-ld} -melf32bsmip"
   6169 	  ;;
   6170 	*N32*)
   6171 	  LD="${LD-ld} -melf32bmipn32"
   6172 	  ;;
   6173 	*64-bit*)
   6174 	  LD="${LD-ld} -melf64bmip"
   6175 	;;
   6176       esac
   6177     else
   6178       case `/usr/bin/file conftest.$ac_objext` in
   6179 	*32-bit*)
   6180 	  LD="${LD-ld} -32"
   6181 	  ;;
   6182 	*N32*)
   6183 	  LD="${LD-ld} -n32"
   6184 	  ;;
   6185 	*64-bit*)
   6186 	  LD="${LD-ld} -64"
   6187 	  ;;
   6188       esac
   6189     fi
   6190   fi
   6191   rm -rf conftest*
   6192   ;;
   6193 
   6194 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6195 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6196   # Find out which ABI we are using.
   6197   echo 'int i;' > conftest.$ac_ext
   6198   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6199   (eval $ac_compile) 2>&5
   6200   ac_status=$?
   6201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6202   test $ac_status = 0; }; then
   6203     case `/usr/bin/file conftest.o` in
   6204       *32-bit*)
   6205 	case $host in
   6206 	  x86_64-*kfreebsd*-gnu)
   6207 	    LD="${LD-ld} -m elf_i386_fbsd"
   6208 	    ;;
   6209 	  x86_64-*linux*)
   6210 	    LD="${LD-ld} -m elf_i386"
   6211 	    ;;
   6212 	  ppc64-*linux*|powerpc64-*linux*)
   6213 	    LD="${LD-ld} -m elf32ppclinux"
   6214 	    ;;
   6215 	  s390x-*linux*)
   6216 	    LD="${LD-ld} -m elf_s390"
   6217 	    ;;
   6218 	  sparc64-*linux*)
   6219 	    LD="${LD-ld} -m elf32_sparc"
   6220 	    ;;
   6221 	esac
   6222 	;;
   6223       *64-bit*)
   6224 	case $host in
   6225 	  x86_64-*kfreebsd*-gnu)
   6226 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6227 	    ;;
   6228 	  x86_64-*linux*)
   6229 	    LD="${LD-ld} -m elf_x86_64"
   6230 	    ;;
   6231 	  ppc*-*linux*|powerpc*-*linux*)
   6232 	    LD="${LD-ld} -m elf64ppc"
   6233 	    ;;
   6234 	  s390*-*linux*|s390*-*tpf*)
   6235 	    LD="${LD-ld} -m elf64_s390"
   6236 	    ;;
   6237 	  sparc*-*linux*)
   6238 	    LD="${LD-ld} -m elf64_sparc"
   6239 	    ;;
   6240 	esac
   6241 	;;
   6242     esac
   6243   fi
   6244   rm -rf conftest*
   6245   ;;
   6246 
   6247 *-*-sco3.2v5*)
   6248   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6249   SAVE_CFLAGS="$CFLAGS"
   6250   CFLAGS="$CFLAGS -belf"
   6251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6252 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6253 if ${lt_cv_cc_needs_belf+:} false; then :
   6254   $as_echo_n "(cached) " >&6
   6255 else
   6256   ac_ext=c
   6257 ac_cpp='$CPP $CPPFLAGS'
   6258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6261 
   6262      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6263 /* end confdefs.h.  */
   6264 
   6265 int
   6266 main ()
   6267 {
   6268 
   6269   ;
   6270   return 0;
   6271 }
   6272 _ACEOF
   6273 if ac_fn_c_try_link "$LINENO"; then :
   6274   lt_cv_cc_needs_belf=yes
   6275 else
   6276   lt_cv_cc_needs_belf=no
   6277 fi
   6278 rm -f core conftest.err conftest.$ac_objext \
   6279     conftest$ac_exeext conftest.$ac_ext
   6280      ac_ext=c
   6281 ac_cpp='$CPP $CPPFLAGS'
   6282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6285 
   6286 fi
   6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6288 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6289   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6290     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6291     CFLAGS="$SAVE_CFLAGS"
   6292   fi
   6293   ;;
   6294 *-*solaris*)
   6295   # Find out which ABI we are using.
   6296   echo 'int i;' > conftest.$ac_ext
   6297   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6298   (eval $ac_compile) 2>&5
   6299   ac_status=$?
   6300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6301   test $ac_status = 0; }; then
   6302     case `/usr/bin/file conftest.o` in
   6303     *64-bit*)
   6304       case $lt_cv_prog_gnu_ld in
   6305       yes*)
   6306         case $host in
   6307         i?86-*-solaris*)
   6308           LD="${LD-ld} -m elf_x86_64"
   6309           ;;
   6310         sparc*-*-solaris*)
   6311           LD="${LD-ld} -m elf64_sparc"
   6312           ;;
   6313         esac
   6314         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6315         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6316           LD="${LD-ld}_sol2"
   6317         fi
   6318         ;;
   6319       *)
   6320 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6321 	  LD="${LD-ld} -64"
   6322 	fi
   6323 	;;
   6324       esac
   6325       ;;
   6326     esac
   6327   fi
   6328   rm -rf conftest*
   6329   ;;
   6330 esac
   6331 
   6332 need_locks="$enable_libtool_lock"
   6333 
   6334 if test -n "$ac_tool_prefix"; then
   6335   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6336 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6338 $as_echo_n "checking for $ac_word... " >&6; }
   6339 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   if test -n "$MANIFEST_TOOL"; then
   6343   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6344 else
   6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6346 for as_dir in $PATH
   6347 do
   6348   IFS=$as_save_IFS
   6349   test -z "$as_dir" && as_dir=.
   6350     for ac_exec_ext in '' $ac_executable_extensions; do
   6351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6352     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6354     break 2
   6355   fi
   6356 done
   6357   done
   6358 IFS=$as_save_IFS
   6359 
   6360 fi
   6361 fi
   6362 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6363 if test -n "$MANIFEST_TOOL"; then
   6364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6365 $as_echo "$MANIFEST_TOOL" >&6; }
   6366 else
   6367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6368 $as_echo "no" >&6; }
   6369 fi
   6370 
   6371 
   6372 fi
   6373 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6374   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6375   # Extract the first word of "mt", so it can be a program name with args.
   6376 set dummy mt; ac_word=$2
   6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6378 $as_echo_n "checking for $ac_word... " >&6; }
   6379 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6380   $as_echo_n "(cached) " >&6
   6381 else
   6382   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6383   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6384 else
   6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6386 for as_dir in $PATH
   6387 do
   6388   IFS=$as_save_IFS
   6389   test -z "$as_dir" && as_dir=.
   6390     for ac_exec_ext in '' $ac_executable_extensions; do
   6391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6392     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6394     break 2
   6395   fi
   6396 done
   6397   done
   6398 IFS=$as_save_IFS
   6399 
   6400 fi
   6401 fi
   6402 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6403 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6405 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6406 else
   6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6408 $as_echo "no" >&6; }
   6409 fi
   6410 
   6411   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6412     MANIFEST_TOOL=":"
   6413   else
   6414     case $cross_compiling:$ac_tool_warned in
   6415 yes:)
   6416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6418 ac_tool_warned=yes ;;
   6419 esac
   6420     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6421   fi
   6422 else
   6423   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6424 fi
   6425 
   6426 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6428 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6429 if ${lt_cv_path_mainfest_tool+:} false; then :
   6430   $as_echo_n "(cached) " >&6
   6431 else
   6432   lt_cv_path_mainfest_tool=no
   6433   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6434   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6435   cat conftest.err >&5
   6436   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6437     lt_cv_path_mainfest_tool=yes
   6438   fi
   6439   rm -f conftest*
   6440 fi
   6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6442 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6443 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6444   MANIFEST_TOOL=:
   6445 fi
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452   case $host_os in
   6453     rhapsody* | darwin*)
   6454     if test -n "$ac_tool_prefix"; then
   6455   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6456 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6458 $as_echo_n "checking for $ac_word... " >&6; }
   6459 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6460   $as_echo_n "(cached) " >&6
   6461 else
   6462   if test -n "$DSYMUTIL"; then
   6463   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6464 else
   6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6466 for as_dir in $PATH
   6467 do
   6468   IFS=$as_save_IFS
   6469   test -z "$as_dir" && as_dir=.
   6470     for ac_exec_ext in '' $ac_executable_extensions; do
   6471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6472     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6474     break 2
   6475   fi
   6476 done
   6477   done
   6478 IFS=$as_save_IFS
   6479 
   6480 fi
   6481 fi
   6482 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6483 if test -n "$DSYMUTIL"; then
   6484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6485 $as_echo "$DSYMUTIL" >&6; }
   6486 else
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6488 $as_echo "no" >&6; }
   6489 fi
   6490 
   6491 
   6492 fi
   6493 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6494   ac_ct_DSYMUTIL=$DSYMUTIL
   6495   # Extract the first word of "dsymutil", so it can be a program name with args.
   6496 set dummy dsymutil; ac_word=$2
   6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6498 $as_echo_n "checking for $ac_word... " >&6; }
   6499 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6500   $as_echo_n "(cached) " >&6
   6501 else
   6502   if test -n "$ac_ct_DSYMUTIL"; then
   6503   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6504 else
   6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6506 for as_dir in $PATH
   6507 do
   6508   IFS=$as_save_IFS
   6509   test -z "$as_dir" && as_dir=.
   6510     for ac_exec_ext in '' $ac_executable_extensions; do
   6511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6512     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6514     break 2
   6515   fi
   6516 done
   6517   done
   6518 IFS=$as_save_IFS
   6519 
   6520 fi
   6521 fi
   6522 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6523 if test -n "$ac_ct_DSYMUTIL"; then
   6524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6525 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6526 else
   6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6528 $as_echo "no" >&6; }
   6529 fi
   6530 
   6531   if test "x$ac_ct_DSYMUTIL" = x; then
   6532     DSYMUTIL=":"
   6533   else
   6534     case $cross_compiling:$ac_tool_warned in
   6535 yes:)
   6536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6538 ac_tool_warned=yes ;;
   6539 esac
   6540     DSYMUTIL=$ac_ct_DSYMUTIL
   6541   fi
   6542 else
   6543   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6544 fi
   6545 
   6546     if test -n "$ac_tool_prefix"; then
   6547   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6548 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6550 $as_echo_n "checking for $ac_word... " >&6; }
   6551 if ${ac_cv_prog_NMEDIT+:} false; then :
   6552   $as_echo_n "(cached) " >&6
   6553 else
   6554   if test -n "$NMEDIT"; then
   6555   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6556 else
   6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6558 for as_dir in $PATH
   6559 do
   6560   IFS=$as_save_IFS
   6561   test -z "$as_dir" && as_dir=.
   6562     for ac_exec_ext in '' $ac_executable_extensions; do
   6563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6564     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6566     break 2
   6567   fi
   6568 done
   6569   done
   6570 IFS=$as_save_IFS
   6571 
   6572 fi
   6573 fi
   6574 NMEDIT=$ac_cv_prog_NMEDIT
   6575 if test -n "$NMEDIT"; then
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6577 $as_echo "$NMEDIT" >&6; }
   6578 else
   6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6580 $as_echo "no" >&6; }
   6581 fi
   6582 
   6583 
   6584 fi
   6585 if test -z "$ac_cv_prog_NMEDIT"; then
   6586   ac_ct_NMEDIT=$NMEDIT
   6587   # Extract the first word of "nmedit", so it can be a program name with args.
   6588 set dummy nmedit; ac_word=$2
   6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6590 $as_echo_n "checking for $ac_word... " >&6; }
   6591 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6592   $as_echo_n "(cached) " >&6
   6593 else
   6594   if test -n "$ac_ct_NMEDIT"; then
   6595   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6596 else
   6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6598 for as_dir in $PATH
   6599 do
   6600   IFS=$as_save_IFS
   6601   test -z "$as_dir" && as_dir=.
   6602     for ac_exec_ext in '' $ac_executable_extensions; do
   6603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6604     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6606     break 2
   6607   fi
   6608 done
   6609   done
   6610 IFS=$as_save_IFS
   6611 
   6612 fi
   6613 fi
   6614 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6615 if test -n "$ac_ct_NMEDIT"; then
   6616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6617 $as_echo "$ac_ct_NMEDIT" >&6; }
   6618 else
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6620 $as_echo "no" >&6; }
   6621 fi
   6622 
   6623   if test "x$ac_ct_NMEDIT" = x; then
   6624     NMEDIT=":"
   6625   else
   6626     case $cross_compiling:$ac_tool_warned in
   6627 yes:)
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6630 ac_tool_warned=yes ;;
   6631 esac
   6632     NMEDIT=$ac_ct_NMEDIT
   6633   fi
   6634 else
   6635   NMEDIT="$ac_cv_prog_NMEDIT"
   6636 fi
   6637 
   6638     if test -n "$ac_tool_prefix"; then
   6639   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6640 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6642 $as_echo_n "checking for $ac_word... " >&6; }
   6643 if ${ac_cv_prog_LIPO+:} false; then :
   6644   $as_echo_n "(cached) " >&6
   6645 else
   6646   if test -n "$LIPO"; then
   6647   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6648 else
   6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6650 for as_dir in $PATH
   6651 do
   6652   IFS=$as_save_IFS
   6653   test -z "$as_dir" && as_dir=.
   6654     for ac_exec_ext in '' $ac_executable_extensions; do
   6655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6656     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6658     break 2
   6659   fi
   6660 done
   6661   done
   6662 IFS=$as_save_IFS
   6663 
   6664 fi
   6665 fi
   6666 LIPO=$ac_cv_prog_LIPO
   6667 if test -n "$LIPO"; then
   6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6669 $as_echo "$LIPO" >&6; }
   6670 else
   6671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6672 $as_echo "no" >&6; }
   6673 fi
   6674 
   6675 
   6676 fi
   6677 if test -z "$ac_cv_prog_LIPO"; then
   6678   ac_ct_LIPO=$LIPO
   6679   # Extract the first word of "lipo", so it can be a program name with args.
   6680 set dummy lipo; ac_word=$2
   6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6682 $as_echo_n "checking for $ac_word... " >&6; }
   6683 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   if test -n "$ac_ct_LIPO"; then
   6687   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6688 else
   6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6690 for as_dir in $PATH
   6691 do
   6692   IFS=$as_save_IFS
   6693   test -z "$as_dir" && as_dir=.
   6694     for ac_exec_ext in '' $ac_executable_extensions; do
   6695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6696     ac_cv_prog_ac_ct_LIPO="lipo"
   6697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6698     break 2
   6699   fi
   6700 done
   6701   done
   6702 IFS=$as_save_IFS
   6703 
   6704 fi
   6705 fi
   6706 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6707 if test -n "$ac_ct_LIPO"; then
   6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6709 $as_echo "$ac_ct_LIPO" >&6; }
   6710 else
   6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6712 $as_echo "no" >&6; }
   6713 fi
   6714 
   6715   if test "x$ac_ct_LIPO" = x; then
   6716     LIPO=":"
   6717   else
   6718     case $cross_compiling:$ac_tool_warned in
   6719 yes:)
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6722 ac_tool_warned=yes ;;
   6723 esac
   6724     LIPO=$ac_ct_LIPO
   6725   fi
   6726 else
   6727   LIPO="$ac_cv_prog_LIPO"
   6728 fi
   6729 
   6730     if test -n "$ac_tool_prefix"; then
   6731   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6732 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6734 $as_echo_n "checking for $ac_word... " >&6; }
   6735 if ${ac_cv_prog_OTOOL+:} false; then :
   6736   $as_echo_n "(cached) " >&6
   6737 else
   6738   if test -n "$OTOOL"; then
   6739   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6740 else
   6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6742 for as_dir in $PATH
   6743 do
   6744   IFS=$as_save_IFS
   6745   test -z "$as_dir" && as_dir=.
   6746     for ac_exec_ext in '' $ac_executable_extensions; do
   6747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6748     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6750     break 2
   6751   fi
   6752 done
   6753   done
   6754 IFS=$as_save_IFS
   6755 
   6756 fi
   6757 fi
   6758 OTOOL=$ac_cv_prog_OTOOL
   6759 if test -n "$OTOOL"; then
   6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6761 $as_echo "$OTOOL" >&6; }
   6762 else
   6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6764 $as_echo "no" >&6; }
   6765 fi
   6766 
   6767 
   6768 fi
   6769 if test -z "$ac_cv_prog_OTOOL"; then
   6770   ac_ct_OTOOL=$OTOOL
   6771   # Extract the first word of "otool", so it can be a program name with args.
   6772 set dummy otool; ac_word=$2
   6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6774 $as_echo_n "checking for $ac_word... " >&6; }
   6775 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6776   $as_echo_n "(cached) " >&6
   6777 else
   6778   if test -n "$ac_ct_OTOOL"; then
   6779   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6780 else
   6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6782 for as_dir in $PATH
   6783 do
   6784   IFS=$as_save_IFS
   6785   test -z "$as_dir" && as_dir=.
   6786     for ac_exec_ext in '' $ac_executable_extensions; do
   6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6788     ac_cv_prog_ac_ct_OTOOL="otool"
   6789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6790     break 2
   6791   fi
   6792 done
   6793   done
   6794 IFS=$as_save_IFS
   6795 
   6796 fi
   6797 fi
   6798 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6799 if test -n "$ac_ct_OTOOL"; then
   6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6801 $as_echo "$ac_ct_OTOOL" >&6; }
   6802 else
   6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6804 $as_echo "no" >&6; }
   6805 fi
   6806 
   6807   if test "x$ac_ct_OTOOL" = x; then
   6808     OTOOL=":"
   6809   else
   6810     case $cross_compiling:$ac_tool_warned in
   6811 yes:)
   6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6814 ac_tool_warned=yes ;;
   6815 esac
   6816     OTOOL=$ac_ct_OTOOL
   6817   fi
   6818 else
   6819   OTOOL="$ac_cv_prog_OTOOL"
   6820 fi
   6821 
   6822     if test -n "$ac_tool_prefix"; then
   6823   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6824 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6826 $as_echo_n "checking for $ac_word... " >&6; }
   6827 if ${ac_cv_prog_OTOOL64+:} false; then :
   6828   $as_echo_n "(cached) " >&6
   6829 else
   6830   if test -n "$OTOOL64"; then
   6831   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6832 else
   6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6834 for as_dir in $PATH
   6835 do
   6836   IFS=$as_save_IFS
   6837   test -z "$as_dir" && as_dir=.
   6838     for ac_exec_ext in '' $ac_executable_extensions; do
   6839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6840     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6842     break 2
   6843   fi
   6844 done
   6845   done
   6846 IFS=$as_save_IFS
   6847 
   6848 fi
   6849 fi
   6850 OTOOL64=$ac_cv_prog_OTOOL64
   6851 if test -n "$OTOOL64"; then
   6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6853 $as_echo "$OTOOL64" >&6; }
   6854 else
   6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6856 $as_echo "no" >&6; }
   6857 fi
   6858 
   6859 
   6860 fi
   6861 if test -z "$ac_cv_prog_OTOOL64"; then
   6862   ac_ct_OTOOL64=$OTOOL64
   6863   # Extract the first word of "otool64", so it can be a program name with args.
   6864 set dummy otool64; ac_word=$2
   6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6866 $as_echo_n "checking for $ac_word... " >&6; }
   6867 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   if test -n "$ac_ct_OTOOL64"; then
   6871   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6872 else
   6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6874 for as_dir in $PATH
   6875 do
   6876   IFS=$as_save_IFS
   6877   test -z "$as_dir" && as_dir=.
   6878     for ac_exec_ext in '' $ac_executable_extensions; do
   6879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6880     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6882     break 2
   6883   fi
   6884 done
   6885   done
   6886 IFS=$as_save_IFS
   6887 
   6888 fi
   6889 fi
   6890 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6891 if test -n "$ac_ct_OTOOL64"; then
   6892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6893 $as_echo "$ac_ct_OTOOL64" >&6; }
   6894 else
   6895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6896 $as_echo "no" >&6; }
   6897 fi
   6898 
   6899   if test "x$ac_ct_OTOOL64" = x; then
   6900     OTOOL64=":"
   6901   else
   6902     case $cross_compiling:$ac_tool_warned in
   6903 yes:)
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6906 ac_tool_warned=yes ;;
   6907 esac
   6908     OTOOL64=$ac_ct_OTOOL64
   6909   fi
   6910 else
   6911   OTOOL64="$ac_cv_prog_OTOOL64"
   6912 fi
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6941 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6942 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   lt_cv_apple_cc_single_mod=no
   6946       if test -z "${LT_MULTI_MODULE}"; then
   6947 	# By default we will add the -single_module flag. You can override
   6948 	# by either setting the environment variable LT_MULTI_MODULE
   6949 	# non-empty at configure time, or by adding -multi_module to the
   6950 	# link flags.
   6951 	rm -rf libconftest.dylib*
   6952 	echo "int foo(void){return 1;}" > conftest.c
   6953 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6954 -dynamiclib -Wl,-single_module conftest.c" >&5
   6955 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6956 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6957         _lt_result=$?
   6958 	# If there is a non-empty error log, and "single_module"
   6959 	# appears in it, assume the flag caused a linker warning
   6960         if test -s conftest.err && $GREP single_module conftest.err; then
   6961 	  cat conftest.err >&5
   6962 	# Otherwise, if the output was created with a 0 exit code from
   6963 	# the compiler, it worked.
   6964 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6965 	  lt_cv_apple_cc_single_mod=yes
   6966 	else
   6967 	  cat conftest.err >&5
   6968 	fi
   6969 	rm -rf libconftest.dylib*
   6970 	rm -f conftest.*
   6971       fi
   6972 fi
   6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6974 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6975 
   6976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6977 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6978 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   lt_cv_ld_exported_symbols_list=no
   6982       save_LDFLAGS=$LDFLAGS
   6983       echo "_main" > conftest.sym
   6984       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"; then :
   6997   lt_cv_ld_exported_symbols_list=yes
   6998 else
   6999   lt_cv_ld_exported_symbols_list=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext \
   7002     conftest$ac_exeext conftest.$ac_ext
   7003 	LDFLAGS="$save_LDFLAGS"
   7004 
   7005 fi
   7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7007 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7008 
   7009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7010 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7011 if ${lt_cv_ld_force_load+:} false; then :
   7012   $as_echo_n "(cached) " >&6
   7013 else
   7014   lt_cv_ld_force_load=no
   7015       cat > conftest.c << _LT_EOF
   7016 int forced_loaded() { return 2;}
   7017 _LT_EOF
   7018       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7019       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7020       echo "$AR cru libconftest.a conftest.o" >&5
   7021       $AR cru libconftest.a conftest.o 2>&5
   7022       echo "$RANLIB libconftest.a" >&5
   7023       $RANLIB libconftest.a 2>&5
   7024       cat > conftest.c << _LT_EOF
   7025 int main() { return 0;}
   7026 _LT_EOF
   7027       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7028       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7029       _lt_result=$?
   7030       if test -s conftest.err && $GREP force_load conftest.err; then
   7031 	cat conftest.err >&5
   7032       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7033 	lt_cv_ld_force_load=yes
   7034       else
   7035 	cat conftest.err >&5
   7036       fi
   7037         rm -f conftest.err libconftest.a conftest conftest.c
   7038         rm -rf conftest.dSYM
   7039 
   7040 fi
   7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7042 $as_echo "$lt_cv_ld_force_load" >&6; }
   7043     case $host_os in
   7044     rhapsody* | darwin1.[012])
   7045       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7046     darwin1.*)
   7047       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7048     darwin*) # darwin 5.x on
   7049       # if running on 10.5 or later, the deployment target defaults
   7050       # to the OS version, if on x86, and 10.4, the deployment
   7051       # target defaults to 10.4. Don't you love it?
   7052       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7053 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7054 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7055 	10.[012]*)
   7056 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7057 	10.*)
   7058 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7059       esac
   7060     ;;
   7061   esac
   7062     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7063       _lt_dar_single_mod='$single_module'
   7064     fi
   7065     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7066       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7067     else
   7068       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7069     fi
   7070     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7071       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7072     else
   7073       _lt_dsymutil=
   7074     fi
   7075     ;;
   7076   esac
   7077 
   7078 ac_ext=c
   7079 ac_cpp='$CPP $CPPFLAGS'
   7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7084 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7085 # On Suns, sometimes $CPP names a directory.
   7086 if test -n "$CPP" && test -d "$CPP"; then
   7087   CPP=
   7088 fi
   7089 if test -z "$CPP"; then
   7090   if ${ac_cv_prog_CPP+:} false; then :
   7091   $as_echo_n "(cached) " >&6
   7092 else
   7093       # Double quotes because CPP needs to be expanded
   7094     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7095     do
   7096       ac_preproc_ok=false
   7097 for ac_c_preproc_warn_flag in '' yes
   7098 do
   7099   # Use a header file that comes with gcc, so configuring glibc
   7100   # with a fresh cross-compiler works.
   7101   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7102   # <limits.h> exists even on freestanding compilers.
   7103   # On the NeXT, cc -E runs the code through the compiler's parser,
   7104   # not just through cpp. "Syntax error" is here to catch this case.
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 #ifdef __STDC__
   7108 # include <limits.h>
   7109 #else
   7110 # include <assert.h>
   7111 #endif
   7112 		     Syntax error
   7113 _ACEOF
   7114 if ac_fn_c_try_cpp "$LINENO"; then :
   7115 
   7116 else
   7117   # Broken: fails on valid input.
   7118 continue
   7119 fi
   7120 rm -f conftest.err conftest.i conftest.$ac_ext
   7121 
   7122   # OK, works on sane cases.  Now check whether nonexistent headers
   7123   # can be detected and how.
   7124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7125 /* end confdefs.h.  */
   7126 #include <ac_nonexistent.h>
   7127 _ACEOF
   7128 if ac_fn_c_try_cpp "$LINENO"; then :
   7129   # Broken: success on invalid input.
   7130 continue
   7131 else
   7132   # Passes both tests.
   7133 ac_preproc_ok=:
   7134 break
   7135 fi
   7136 rm -f conftest.err conftest.i conftest.$ac_ext
   7137 
   7138 done
   7139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7140 rm -f conftest.i conftest.err conftest.$ac_ext
   7141 if $ac_preproc_ok; then :
   7142   break
   7143 fi
   7144 
   7145     done
   7146     ac_cv_prog_CPP=$CPP
   7147 
   7148 fi
   7149   CPP=$ac_cv_prog_CPP
   7150 else
   7151   ac_cv_prog_CPP=$CPP
   7152 fi
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7154 $as_echo "$CPP" >&6; }
   7155 ac_preproc_ok=false
   7156 for ac_c_preproc_warn_flag in '' yes
   7157 do
   7158   # Use a header file that comes with gcc, so configuring glibc
   7159   # with a fresh cross-compiler works.
   7160   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7161   # <limits.h> exists even on freestanding compilers.
   7162   # On the NeXT, cc -E runs the code through the compiler's parser,
   7163   # not just through cpp. "Syntax error" is here to catch this case.
   7164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7165 /* end confdefs.h.  */
   7166 #ifdef __STDC__
   7167 # include <limits.h>
   7168 #else
   7169 # include <assert.h>
   7170 #endif
   7171 		     Syntax error
   7172 _ACEOF
   7173 if ac_fn_c_try_cpp "$LINENO"; then :
   7174 
   7175 else
   7176   # Broken: fails on valid input.
   7177 continue
   7178 fi
   7179 rm -f conftest.err conftest.i conftest.$ac_ext
   7180 
   7181   # OK, works on sane cases.  Now check whether nonexistent headers
   7182   # can be detected and how.
   7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7184 /* end confdefs.h.  */
   7185 #include <ac_nonexistent.h>
   7186 _ACEOF
   7187 if ac_fn_c_try_cpp "$LINENO"; then :
   7188   # Broken: success on invalid input.
   7189 continue
   7190 else
   7191   # Passes both tests.
   7192 ac_preproc_ok=:
   7193 break
   7194 fi
   7195 rm -f conftest.err conftest.i conftest.$ac_ext
   7196 
   7197 done
   7198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7199 rm -f conftest.i conftest.err conftest.$ac_ext
   7200 if $ac_preproc_ok; then :
   7201 
   7202 else
   7203   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7205 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7206 See \`config.log' for more details" "$LINENO" 5; }
   7207 fi
   7208 
   7209 ac_ext=c
   7210 ac_cpp='$CPP $CPPFLAGS'
   7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7214 
   7215 
   7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7217 $as_echo_n "checking for ANSI C header files... " >&6; }
   7218 if ${ac_cv_header_stdc+:} false; then :
   7219   $as_echo_n "(cached) " >&6
   7220 else
   7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 #include <stdlib.h>
   7224 #include <stdarg.h>
   7225 #include <string.h>
   7226 #include <float.h>
   7227 
   7228 int
   7229 main ()
   7230 {
   7231 
   7232   ;
   7233   return 0;
   7234 }
   7235 _ACEOF
   7236 if ac_fn_c_try_compile "$LINENO"; then :
   7237   ac_cv_header_stdc=yes
   7238 else
   7239   ac_cv_header_stdc=no
   7240 fi
   7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7242 
   7243 if test $ac_cv_header_stdc = yes; then
   7244   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7246 /* end confdefs.h.  */
   7247 #include <string.h>
   7248 
   7249 _ACEOF
   7250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7251   $EGREP "memchr" >/dev/null 2>&1; then :
   7252 
   7253 else
   7254   ac_cv_header_stdc=no
   7255 fi
   7256 rm -f conftest*
   7257 
   7258 fi
   7259 
   7260 if test $ac_cv_header_stdc = yes; then
   7261   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 #include <stdlib.h>
   7265 
   7266 _ACEOF
   7267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7268   $EGREP "free" >/dev/null 2>&1; then :
   7269 
   7270 else
   7271   ac_cv_header_stdc=no
   7272 fi
   7273 rm -f conftest*
   7274 
   7275 fi
   7276 
   7277 if test $ac_cv_header_stdc = yes; then
   7278   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7279   if test "$cross_compiling" = yes; then :
   7280   :
   7281 else
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 #include <ctype.h>
   7285 #include <stdlib.h>
   7286 #if ((' ' & 0x0FF) == 0x020)
   7287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7288 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7289 #else
   7290 # define ISLOWER(c) \
   7291 		   (('a' <= (c) && (c) <= 'i') \
   7292 		     || ('j' <= (c) && (c) <= 'r') \
   7293 		     || ('s' <= (c) && (c) <= 'z'))
   7294 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7295 #endif
   7296 
   7297 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7298 int
   7299 main ()
   7300 {
   7301   int i;
   7302   for (i = 0; i < 256; i++)
   7303     if (XOR (islower (i), ISLOWER (i))
   7304 	|| toupper (i) != TOUPPER (i))
   7305       return 2;
   7306   return 0;
   7307 }
   7308 _ACEOF
   7309 if ac_fn_c_try_run "$LINENO"; then :
   7310 
   7311 else
   7312   ac_cv_header_stdc=no
   7313 fi
   7314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7315   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7316 fi
   7317 
   7318 fi
   7319 fi
   7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7321 $as_echo "$ac_cv_header_stdc" >&6; }
   7322 if test $ac_cv_header_stdc = yes; then
   7323 
   7324 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7325 
   7326 fi
   7327 
   7328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7330 		  inttypes.h stdint.h unistd.h
   7331 do :
   7332   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7334 "
   7335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7336   cat >>confdefs.h <<_ACEOF
   7337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7338 _ACEOF
   7339 
   7340 fi
   7341 
   7342 done
   7343 
   7344 
   7345 for ac_header in dlfcn.h
   7346 do :
   7347   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7348 "
   7349 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7350   cat >>confdefs.h <<_ACEOF
   7351 #define HAVE_DLFCN_H 1
   7352 _ACEOF
   7353 
   7354 fi
   7355 
   7356 done
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 # Set options
   7363 
   7364 
   7365 
   7366         enable_dlopen=no
   7367 
   7368 
   7369   enable_win32_dll=no
   7370 
   7371 
   7372             # Check whether --enable-shared was given.
   7373 if test "${enable_shared+set}" = set; then :
   7374   enableval=$enable_shared; p=${PACKAGE-default}
   7375     case $enableval in
   7376     yes) enable_shared=yes ;;
   7377     no) enable_shared=no ;;
   7378     *)
   7379       enable_shared=no
   7380       # Look at the argument we got.  We use all the common list separators.
   7381       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7382       for pkg in $enableval; do
   7383 	IFS="$lt_save_ifs"
   7384 	if test "X$pkg" = "X$p"; then
   7385 	  enable_shared=yes
   7386 	fi
   7387       done
   7388       IFS="$lt_save_ifs"
   7389       ;;
   7390     esac
   7391 else
   7392   enable_shared=yes
   7393 fi
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403   # Check whether --enable-static was given.
   7404 if test "${enable_static+set}" = set; then :
   7405   enableval=$enable_static; p=${PACKAGE-default}
   7406     case $enableval in
   7407     yes) enable_static=yes ;;
   7408     no) enable_static=no ;;
   7409     *)
   7410      enable_static=no
   7411       # Look at the argument we got.  We use all the common list separators.
   7412       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7413       for pkg in $enableval; do
   7414 	IFS="$lt_save_ifs"
   7415 	if test "X$pkg" = "X$p"; then
   7416 	  enable_static=yes
   7417 	fi
   7418       done
   7419       IFS="$lt_save_ifs"
   7420       ;;
   7421     esac
   7422 else
   7423   enable_static=yes
   7424 fi
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 # Check whether --with-pic was given.
   7436 if test "${with_pic+set}" = set; then :
   7437   withval=$with_pic; lt_p=${PACKAGE-default}
   7438     case $withval in
   7439     yes|no) pic_mode=$withval ;;
   7440     *)
   7441       pic_mode=default
   7442       # Look at the argument we got.  We use all the common list separators.
   7443       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7444       for lt_pkg in $withval; do
   7445 	IFS="$lt_save_ifs"
   7446 	if test "X$lt_pkg" = "X$lt_p"; then
   7447 	  pic_mode=yes
   7448 	fi
   7449       done
   7450       IFS="$lt_save_ifs"
   7451       ;;
   7452     esac
   7453 else
   7454   pic_mode=default
   7455 fi
   7456 
   7457 
   7458 test -z "$pic_mode" && pic_mode=default
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466   # Check whether --enable-fast-install was given.
   7467 if test "${enable_fast_install+set}" = set; then :
   7468   enableval=$enable_fast_install; p=${PACKAGE-default}
   7469     case $enableval in
   7470     yes) enable_fast_install=yes ;;
   7471     no) enable_fast_install=no ;;
   7472     *)
   7473       enable_fast_install=no
   7474       # Look at the argument we got.  We use all the common list separators.
   7475       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7476       for pkg in $enableval; do
   7477 	IFS="$lt_save_ifs"
   7478 	if test "X$pkg" = "X$p"; then
   7479 	  enable_fast_install=yes
   7480 	fi
   7481       done
   7482       IFS="$lt_save_ifs"
   7483       ;;
   7484     esac
   7485 else
   7486   enable_fast_install=yes
   7487 fi
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 # This can be used to rebuild libtool when needed
   7500 LIBTOOL_DEPS="$ltmain"
   7501 
   7502 # Always use our own libtool.
   7503 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 test -z "$LN_S" && LN_S="ln -s"
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 if test -n "${ZSH_VERSION+set}" ; then
   7550    setopt NO_GLOB_SUBST
   7551 fi
   7552 
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7554 $as_echo_n "checking for objdir... " >&6; }
   7555 if ${lt_cv_objdir+:} false; then :
   7556   $as_echo_n "(cached) " >&6
   7557 else
   7558   rm -f .libs 2>/dev/null
   7559 mkdir .libs 2>/dev/null
   7560 if test -d .libs; then
   7561   lt_cv_objdir=.libs
   7562 else
   7563   # MS-DOS does not allow filenames that begin with a dot.
   7564   lt_cv_objdir=_libs
   7565 fi
   7566 rmdir .libs 2>/dev/null
   7567 fi
   7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7569 $as_echo "$lt_cv_objdir" >&6; }
   7570 objdir=$lt_cv_objdir
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 cat >>confdefs.h <<_ACEOF
   7577 #define LT_OBJDIR "$lt_cv_objdir/"
   7578 _ACEOF
   7579 
   7580 
   7581 
   7582 
   7583 case $host_os in
   7584 aix3*)
   7585   # AIX sometimes has problems with the GCC collect2 program.  For some
   7586   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7587   # vanish in a puff of smoke.
   7588   if test "X${COLLECT_NAMES+set}" != Xset; then
   7589     COLLECT_NAMES=
   7590     export COLLECT_NAMES
   7591   fi
   7592   ;;
   7593 esac
   7594 
   7595 # Global variables:
   7596 ofile=libtool
   7597 can_build_shared=yes
   7598 
   7599 # All known linkers require a `.a' archive for static linking (except MSVC,
   7600 # which needs '.lib').
   7601 libext=a
   7602 
   7603 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7604 
   7605 old_CC="$CC"
   7606 old_CFLAGS="$CFLAGS"
   7607 
   7608 # Set sane defaults for various variables
   7609 test -z "$CC" && CC=cc
   7610 test -z "$LTCC" && LTCC=$CC
   7611 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7612 test -z "$LD" && LD=ld
   7613 test -z "$ac_objext" && ac_objext=o
   7614 
   7615 for cc_temp in $compiler""; do
   7616   case $cc_temp in
   7617     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7618     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7619     \-*) ;;
   7620     *) break;;
   7621   esac
   7622 done
   7623 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7624 
   7625 
   7626 # Only perform the check for file, if the check method requires it
   7627 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7628 case $deplibs_check_method in
   7629 file_magic*)
   7630   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7632 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7633 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   case $MAGIC_CMD in
   7637 [\\/*] |  ?:[\\/]*)
   7638   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7639   ;;
   7640 *)
   7641   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7642   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7643   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7644   for ac_dir in $ac_dummy; do
   7645     IFS="$lt_save_ifs"
   7646     test -z "$ac_dir" && ac_dir=.
   7647     if test -f $ac_dir/${ac_tool_prefix}file; then
   7648       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7649       if test -n "$file_magic_test_file"; then
   7650 	case $deplibs_check_method in
   7651 	"file_magic "*)
   7652 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7653 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7654 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7655 	    $EGREP "$file_magic_regex" > /dev/null; then
   7656 	    :
   7657 	  else
   7658 	    cat <<_LT_EOF 1>&2
   7659 
   7660 *** Warning: the command libtool uses to detect shared libraries,
   7661 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7662 *** The result is that libtool may fail to recognize shared libraries
   7663 *** as such.  This will affect the creation of libtool libraries that
   7664 *** depend on shared libraries, but programs linked with such libtool
   7665 *** libraries will work regardless of this problem.  Nevertheless, you
   7666 *** may want to report the problem to your system manager and/or to
   7667 *** bug-libtool@gnu.org
   7668 
   7669 _LT_EOF
   7670 	  fi ;;
   7671 	esac
   7672       fi
   7673       break
   7674     fi
   7675   done
   7676   IFS="$lt_save_ifs"
   7677   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7678   ;;
   7679 esac
   7680 fi
   7681 
   7682 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7683 if test -n "$MAGIC_CMD"; then
   7684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7685 $as_echo "$MAGIC_CMD" >&6; }
   7686 else
   7687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7688 $as_echo "no" >&6; }
   7689 fi
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7696   if test -n "$ac_tool_prefix"; then
   7697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7698 $as_echo_n "checking for file... " >&6; }
   7699 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7700   $as_echo_n "(cached) " >&6
   7701 else
   7702   case $MAGIC_CMD in
   7703 [\\/*] |  ?:[\\/]*)
   7704   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7705   ;;
   7706 *)
   7707   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7708   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7709   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7710   for ac_dir in $ac_dummy; do
   7711     IFS="$lt_save_ifs"
   7712     test -z "$ac_dir" && ac_dir=.
   7713     if test -f $ac_dir/file; then
   7714       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7715       if test -n "$file_magic_test_file"; then
   7716 	case $deplibs_check_method in
   7717 	"file_magic "*)
   7718 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7719 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7720 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7721 	    $EGREP "$file_magic_regex" > /dev/null; then
   7722 	    :
   7723 	  else
   7724 	    cat <<_LT_EOF 1>&2
   7725 
   7726 *** Warning: the command libtool uses to detect shared libraries,
   7727 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7728 *** The result is that libtool may fail to recognize shared libraries
   7729 *** as such.  This will affect the creation of libtool libraries that
   7730 *** depend on shared libraries, but programs linked with such libtool
   7731 *** libraries will work regardless of this problem.  Nevertheless, you
   7732 *** may want to report the problem to your system manager and/or to
   7733 *** bug-libtool@gnu.org
   7734 
   7735 _LT_EOF
   7736 	  fi ;;
   7737 	esac
   7738       fi
   7739       break
   7740     fi
   7741   done
   7742   IFS="$lt_save_ifs"
   7743   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7744   ;;
   7745 esac
   7746 fi
   7747 
   7748 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7749 if test -n "$MAGIC_CMD"; then
   7750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7751 $as_echo "$MAGIC_CMD" >&6; }
   7752 else
   7753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7754 $as_echo "no" >&6; }
   7755 fi
   7756 
   7757 
   7758   else
   7759     MAGIC_CMD=:
   7760   fi
   7761 fi
   7762 
   7763   fi
   7764   ;;
   7765 esac
   7766 
   7767 # Use C for the default configuration in the libtool script
   7768 
   7769 lt_save_CC="$CC"
   7770 ac_ext=c
   7771 ac_cpp='$CPP $CPPFLAGS'
   7772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7775 
   7776 
   7777 # Source file extension for C test sources.
   7778 ac_ext=c
   7779 
   7780 # Object file extension for compiled C test sources.
   7781 objext=o
   7782 objext=$objext
   7783 
   7784 # Code to be used in simple compile tests
   7785 lt_simple_compile_test_code="int some_variable = 0;"
   7786 
   7787 # Code to be used in simple link tests
   7788 lt_simple_link_test_code='int main(){return(0);}'
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 # If no C compiler was specified, use CC.
   7797 LTCC=${LTCC-"$CC"}
   7798 
   7799 # If no C compiler flags were specified, use CFLAGS.
   7800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7801 
   7802 # Allow CC to be a program name with arguments.
   7803 compiler=$CC
   7804 
   7805 # Save the default compiler, since it gets overwritten when the other
   7806 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7807 compiler_DEFAULT=$CC
   7808 
   7809 # save warnings/boilerplate of simple test code
   7810 ac_outfile=conftest.$ac_objext
   7811 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7812 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7813 _lt_compiler_boilerplate=`cat conftest.err`
   7814 $RM conftest*
   7815 
   7816 ac_outfile=conftest.$ac_objext
   7817 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7818 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7819 _lt_linker_boilerplate=`cat conftest.err`
   7820 $RM -r conftest*
   7821 
   7822 
   7823 if test -n "$compiler"; then
   7824 
   7825 lt_prog_compiler_no_builtin_flag=
   7826 
   7827 if test "$GCC" = yes; then
   7828   case $cc_basename in
   7829   nvcc*)
   7830     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7831   *)
   7832     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7833   esac
   7834 
   7835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7836 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7837 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   lt_cv_prog_compiler_rtti_exceptions=no
   7841    ac_outfile=conftest.$ac_objext
   7842    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7843    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7844    # Insert the option either (1) after the last *FLAGS variable, or
   7845    # (2) before a word containing "conftest.", or (3) at the end.
   7846    # Note that $ac_compile itself does not contain backslashes and begins
   7847    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7848    # The option is referenced via a variable to avoid confusing sed.
   7849    lt_compile=`echo "$ac_compile" | $SED \
   7850    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7851    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7852    -e 's:$: $lt_compiler_flag:'`
   7853    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7854    (eval "$lt_compile" 2>conftest.err)
   7855    ac_status=$?
   7856    cat conftest.err >&5
   7857    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7858    if (exit $ac_status) && test -s "$ac_outfile"; then
   7859      # The compiler can only warn and ignore the option if not recognized
   7860      # So say no if there are warnings other than the usual output.
   7861      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7862      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7863      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7864        lt_cv_prog_compiler_rtti_exceptions=yes
   7865      fi
   7866    fi
   7867    $RM conftest*
   7868 
   7869 fi
   7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7871 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7872 
   7873 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7874     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7875 else
   7876     :
   7877 fi
   7878 
   7879 fi
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886   lt_prog_compiler_wl=
   7887 lt_prog_compiler_pic=
   7888 lt_prog_compiler_static=
   7889 
   7890 
   7891   if test "$GCC" = yes; then
   7892     lt_prog_compiler_wl='-Wl,'
   7893     lt_prog_compiler_static='-static'
   7894 
   7895     case $host_os in
   7896       aix*)
   7897       # All AIX code is PIC.
   7898       if test "$host_cpu" = ia64; then
   7899 	# AIX 5 now supports IA64 processor
   7900 	lt_prog_compiler_static='-Bstatic'
   7901       fi
   7902       ;;
   7903 
   7904     amigaos*)
   7905       case $host_cpu in
   7906       powerpc)
   7907             # see comment about AmigaOS4 .so support
   7908             lt_prog_compiler_pic='-fPIC'
   7909         ;;
   7910       m68k)
   7911             # FIXME: we need at least 68020 code to build shared libraries, but
   7912             # adding the `-m68020' flag to GCC prevents building anything better,
   7913             # like `-m68040'.
   7914             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7915         ;;
   7916       esac
   7917       ;;
   7918 
   7919     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7920       # PIC is the default for these OSes.
   7921       ;;
   7922 
   7923     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7924       # This hack is so that the source file can tell whether it is being
   7925       # built for inclusion in a dll (and should export symbols for example).
   7926       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7927       # (--disable-auto-import) libraries
   7928       lt_prog_compiler_pic='-DDLL_EXPORT'
   7929       ;;
   7930 
   7931     darwin* | rhapsody*)
   7932       # PIC is the default on this platform
   7933       # Common symbols not allowed in MH_DYLIB files
   7934       lt_prog_compiler_pic='-fno-common'
   7935       ;;
   7936 
   7937     haiku*)
   7938       # PIC is the default for Haiku.
   7939       # The "-static" flag exists, but is broken.
   7940       lt_prog_compiler_static=
   7941       ;;
   7942 
   7943     hpux*)
   7944       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7945       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7946       # sets the default TLS model and affects inlining.
   7947       case $host_cpu in
   7948       hppa*64*)
   7949 	# +Z the default
   7950 	;;
   7951       *)
   7952 	lt_prog_compiler_pic='-fPIC'
   7953 	;;
   7954       esac
   7955       ;;
   7956 
   7957     interix[3-9]*)
   7958       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7959       # Instead, we relocate shared libraries at runtime.
   7960       ;;
   7961 
   7962     msdosdjgpp*)
   7963       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7964       # on systems that don't support them.
   7965       lt_prog_compiler_can_build_shared=no
   7966       enable_shared=no
   7967       ;;
   7968 
   7969     *nto* | *qnx*)
   7970       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7971       # it will coredump.
   7972       lt_prog_compiler_pic='-fPIC -shared'
   7973       ;;
   7974 
   7975     sysv4*MP*)
   7976       if test -d /usr/nec; then
   7977 	lt_prog_compiler_pic=-Kconform_pic
   7978       fi
   7979       ;;
   7980 
   7981     *)
   7982       lt_prog_compiler_pic='-fPIC'
   7983       ;;
   7984     esac
   7985 
   7986     case $cc_basename in
   7987     nvcc*) # Cuda Compiler Driver 2.2
   7988       lt_prog_compiler_wl='-Xlinker '
   7989       if test -n "$lt_prog_compiler_pic"; then
   7990         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7991       fi
   7992       ;;
   7993     esac
   7994   else
   7995     # PORTME Check for flag to pass linker flags through the system compiler.
   7996     case $host_os in
   7997     aix*)
   7998       lt_prog_compiler_wl='-Wl,'
   7999       if test "$host_cpu" = ia64; then
   8000 	# AIX 5 now supports IA64 processor
   8001 	lt_prog_compiler_static='-Bstatic'
   8002       else
   8003 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8004       fi
   8005       ;;
   8006 
   8007     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8008       # This hack is so that the source file can tell whether it is being
   8009       # built for inclusion in a dll (and should export symbols for example).
   8010       lt_prog_compiler_pic='-DDLL_EXPORT'
   8011       ;;
   8012 
   8013     hpux9* | hpux10* | hpux11*)
   8014       lt_prog_compiler_wl='-Wl,'
   8015       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8016       # not for PA HP-UX.
   8017       case $host_cpu in
   8018       hppa*64*|ia64*)
   8019 	# +Z the default
   8020 	;;
   8021       *)
   8022 	lt_prog_compiler_pic='+Z'
   8023 	;;
   8024       esac
   8025       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8026       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8027       ;;
   8028 
   8029     irix5* | irix6* | nonstopux*)
   8030       lt_prog_compiler_wl='-Wl,'
   8031       # PIC (with -KPIC) is the default.
   8032       lt_prog_compiler_static='-non_shared'
   8033       ;;
   8034 
   8035     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8036       case $cc_basename in
   8037       # old Intel for x86_64 which still supported -KPIC.
   8038       ecc*)
   8039 	lt_prog_compiler_wl='-Wl,'
   8040 	lt_prog_compiler_pic='-KPIC'
   8041 	lt_prog_compiler_static='-static'
   8042         ;;
   8043       # icc used to be incompatible with GCC.
   8044       # ICC 10 doesn't accept -KPIC any more.
   8045       icc* | ifort*)
   8046 	lt_prog_compiler_wl='-Wl,'
   8047 	lt_prog_compiler_pic='-fPIC'
   8048 	lt_prog_compiler_static='-static'
   8049         ;;
   8050       # Lahey Fortran 8.1.
   8051       lf95*)
   8052 	lt_prog_compiler_wl='-Wl,'
   8053 	lt_prog_compiler_pic='--shared'
   8054 	lt_prog_compiler_static='--static'
   8055 	;;
   8056       nagfor*)
   8057 	# NAG Fortran compiler
   8058 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8059 	lt_prog_compiler_pic='-PIC'
   8060 	lt_prog_compiler_static='-Bstatic'
   8061 	;;
   8062       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8063         # Portland Group compilers (*not* the Pentium gcc compiler,
   8064 	# which looks to be a dead project)
   8065 	lt_prog_compiler_wl='-Wl,'
   8066 	lt_prog_compiler_pic='-fpic'
   8067 	lt_prog_compiler_static='-Bstatic'
   8068         ;;
   8069       ccc*)
   8070         lt_prog_compiler_wl='-Wl,'
   8071         # All Alpha code is PIC.
   8072         lt_prog_compiler_static='-non_shared'
   8073         ;;
   8074       xl* | bgxl* | bgf* | mpixl*)
   8075 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8076 	lt_prog_compiler_wl='-Wl,'
   8077 	lt_prog_compiler_pic='-qpic'
   8078 	lt_prog_compiler_static='-qstaticlink'
   8079 	;;
   8080       *)
   8081 	case `$CC -V 2>&1 | sed 5q` in
   8082 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8083 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8084 	  lt_prog_compiler_pic='-KPIC'
   8085 	  lt_prog_compiler_static='-Bstatic'
   8086 	  lt_prog_compiler_wl=''
   8087 	  ;;
   8088 	*Sun\ F* | *Sun*Fortran*)
   8089 	  lt_prog_compiler_pic='-KPIC'
   8090 	  lt_prog_compiler_static='-Bstatic'
   8091 	  lt_prog_compiler_wl='-Qoption ld '
   8092 	  ;;
   8093 	*Sun\ C*)
   8094 	  # Sun C 5.9
   8095 	  lt_prog_compiler_pic='-KPIC'
   8096 	  lt_prog_compiler_static='-Bstatic'
   8097 	  lt_prog_compiler_wl='-Wl,'
   8098 	  ;;
   8099         *Intel*\ [CF]*Compiler*)
   8100 	  lt_prog_compiler_wl='-Wl,'
   8101 	  lt_prog_compiler_pic='-fPIC'
   8102 	  lt_prog_compiler_static='-static'
   8103 	  ;;
   8104 	*Portland\ Group*)
   8105 	  lt_prog_compiler_wl='-Wl,'
   8106 	  lt_prog_compiler_pic='-fpic'
   8107 	  lt_prog_compiler_static='-Bstatic'
   8108 	  ;;
   8109 	esac
   8110 	;;
   8111       esac
   8112       ;;
   8113 
   8114     newsos6)
   8115       lt_prog_compiler_pic='-KPIC'
   8116       lt_prog_compiler_static='-Bstatic'
   8117       ;;
   8118 
   8119     *nto* | *qnx*)
   8120       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8121       # it will coredump.
   8122       lt_prog_compiler_pic='-fPIC -shared'
   8123       ;;
   8124 
   8125     osf3* | osf4* | osf5*)
   8126       lt_prog_compiler_wl='-Wl,'
   8127       # All OSF/1 code is PIC.
   8128       lt_prog_compiler_static='-non_shared'
   8129       ;;
   8130 
   8131     rdos*)
   8132       lt_prog_compiler_static='-non_shared'
   8133       ;;
   8134 
   8135     solaris*)
   8136       lt_prog_compiler_pic='-KPIC'
   8137       lt_prog_compiler_static='-Bstatic'
   8138       case $cc_basename in
   8139       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8140 	lt_prog_compiler_wl='-Qoption ld ';;
   8141       *)
   8142 	lt_prog_compiler_wl='-Wl,';;
   8143       esac
   8144       ;;
   8145 
   8146     sunos4*)
   8147       lt_prog_compiler_wl='-Qoption ld '
   8148       lt_prog_compiler_pic='-PIC'
   8149       lt_prog_compiler_static='-Bstatic'
   8150       ;;
   8151 
   8152     sysv4 | sysv4.2uw2* | sysv4.3*)
   8153       lt_prog_compiler_wl='-Wl,'
   8154       lt_prog_compiler_pic='-KPIC'
   8155       lt_prog_compiler_static='-Bstatic'
   8156       ;;
   8157 
   8158     sysv4*MP*)
   8159       if test -d /usr/nec ;then
   8160 	lt_prog_compiler_pic='-Kconform_pic'
   8161 	lt_prog_compiler_static='-Bstatic'
   8162       fi
   8163       ;;
   8164 
   8165     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8166       lt_prog_compiler_wl='-Wl,'
   8167       lt_prog_compiler_pic='-KPIC'
   8168       lt_prog_compiler_static='-Bstatic'
   8169       ;;
   8170 
   8171     unicos*)
   8172       lt_prog_compiler_wl='-Wl,'
   8173       lt_prog_compiler_can_build_shared=no
   8174       ;;
   8175 
   8176     uts4*)
   8177       lt_prog_compiler_pic='-pic'
   8178       lt_prog_compiler_static='-Bstatic'
   8179       ;;
   8180 
   8181     *)
   8182       lt_prog_compiler_can_build_shared=no
   8183       ;;
   8184     esac
   8185   fi
   8186 
   8187 case $host_os in
   8188   # For platforms which do not support PIC, -DPIC is meaningless:
   8189   *djgpp*)
   8190     lt_prog_compiler_pic=
   8191     ;;
   8192   *)
   8193     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8194     ;;
   8195 esac
   8196 
   8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8198 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8199 if ${lt_cv_prog_compiler_pic+:} false; then :
   8200   $as_echo_n "(cached) " >&6
   8201 else
   8202   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8203 fi
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8205 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8206 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8207 
   8208 #
   8209 # Check to make sure the PIC flag actually works.
   8210 #
   8211 if test -n "$lt_prog_compiler_pic"; then
   8212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8213 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8214 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8215   $as_echo_n "(cached) " >&6
   8216 else
   8217   lt_cv_prog_compiler_pic_works=no
   8218    ac_outfile=conftest.$ac_objext
   8219    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8220    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8221    # Insert the option either (1) after the last *FLAGS variable, or
   8222    # (2) before a word containing "conftest.", or (3) at the end.
   8223    # Note that $ac_compile itself does not contain backslashes and begins
   8224    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8225    # The option is referenced via a variable to avoid confusing sed.
   8226    lt_compile=`echo "$ac_compile" | $SED \
   8227    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8228    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8229    -e 's:$: $lt_compiler_flag:'`
   8230    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8231    (eval "$lt_compile" 2>conftest.err)
   8232    ac_status=$?
   8233    cat conftest.err >&5
   8234    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8235    if (exit $ac_status) && test -s "$ac_outfile"; then
   8236      # The compiler can only warn and ignore the option if not recognized
   8237      # So say no if there are warnings other than the usual output.
   8238      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8239      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8240      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8241        lt_cv_prog_compiler_pic_works=yes
   8242      fi
   8243    fi
   8244    $RM conftest*
   8245 
   8246 fi
   8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8248 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8249 
   8250 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8251     case $lt_prog_compiler_pic in
   8252      "" | " "*) ;;
   8253      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8254      esac
   8255 else
   8256     lt_prog_compiler_pic=
   8257      lt_prog_compiler_can_build_shared=no
   8258 fi
   8259 
   8260 fi
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 #
   8273 # Check to make sure the static flag actually works.
   8274 #
   8275 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8277 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8278 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8279   $as_echo_n "(cached) " >&6
   8280 else
   8281   lt_cv_prog_compiler_static_works=no
   8282    save_LDFLAGS="$LDFLAGS"
   8283    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8284    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8285    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8286      # The linker can only warn and ignore the option if not recognized
   8287      # So say no if there are warnings
   8288      if test -s conftest.err; then
   8289        # Append any errors to the config.log.
   8290        cat conftest.err 1>&5
   8291        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8292        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8293        if diff conftest.exp conftest.er2 >/dev/null; then
   8294          lt_cv_prog_compiler_static_works=yes
   8295        fi
   8296      else
   8297        lt_cv_prog_compiler_static_works=yes
   8298      fi
   8299    fi
   8300    $RM -r conftest*
   8301    LDFLAGS="$save_LDFLAGS"
   8302 
   8303 fi
   8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8305 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8306 
   8307 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8308     :
   8309 else
   8310     lt_prog_compiler_static=
   8311 fi
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8320 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8321 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8322   $as_echo_n "(cached) " >&6
   8323 else
   8324   lt_cv_prog_compiler_c_o=no
   8325    $RM -r conftest 2>/dev/null
   8326    mkdir conftest
   8327    cd conftest
   8328    mkdir out
   8329    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8330 
   8331    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8332    # Insert the option either (1) after the last *FLAGS variable, or
   8333    # (2) before a word containing "conftest.", or (3) at the end.
   8334    # Note that $ac_compile itself does not contain backslashes and begins
   8335    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8336    lt_compile=`echo "$ac_compile" | $SED \
   8337    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8338    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8339    -e 's:$: $lt_compiler_flag:'`
   8340    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8341    (eval "$lt_compile" 2>out/conftest.err)
   8342    ac_status=$?
   8343    cat out/conftest.err >&5
   8344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8345    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8346    then
   8347      # The compiler can only warn and ignore the option if not recognized
   8348      # So say no if there are warnings
   8349      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8350      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8351      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8352        lt_cv_prog_compiler_c_o=yes
   8353      fi
   8354    fi
   8355    chmod u+w . 2>&5
   8356    $RM conftest*
   8357    # SGI C++ compiler will create directory out/ii_files/ for
   8358    # template instantiation
   8359    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8360    $RM out/* && rmdir out
   8361    cd ..
   8362    $RM -r conftest
   8363    $RM conftest*
   8364 
   8365 fi
   8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8367 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8375 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8376 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   lt_cv_prog_compiler_c_o=no
   8380    $RM -r conftest 2>/dev/null
   8381    mkdir conftest
   8382    cd conftest
   8383    mkdir out
   8384    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8385 
   8386    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8387    # Insert the option either (1) after the last *FLAGS variable, or
   8388    # (2) before a word containing "conftest.", or (3) at the end.
   8389    # Note that $ac_compile itself does not contain backslashes and begins
   8390    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8391    lt_compile=`echo "$ac_compile" | $SED \
   8392    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8393    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8394    -e 's:$: $lt_compiler_flag:'`
   8395    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8396    (eval "$lt_compile" 2>out/conftest.err)
   8397    ac_status=$?
   8398    cat out/conftest.err >&5
   8399    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8400    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8401    then
   8402      # The compiler can only warn and ignore the option if not recognized
   8403      # So say no if there are warnings
   8404      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8405      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8406      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8407        lt_cv_prog_compiler_c_o=yes
   8408      fi
   8409    fi
   8410    chmod u+w . 2>&5
   8411    $RM conftest*
   8412    # SGI C++ compiler will create directory out/ii_files/ for
   8413    # template instantiation
   8414    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8415    $RM out/* && rmdir out
   8416    cd ..
   8417    $RM -r conftest
   8418    $RM conftest*
   8419 
   8420 fi
   8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8422 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8423 
   8424 
   8425 
   8426 
   8427 hard_links="nottested"
   8428 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8429   # do not overwrite the value of need_locks provided by the user
   8430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8431 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8432   hard_links=yes
   8433   $RM conftest*
   8434   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8435   touch conftest.a
   8436   ln conftest.a conftest.b 2>&5 || hard_links=no
   8437   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8439 $as_echo "$hard_links" >&6; }
   8440   if test "$hard_links" = no; then
   8441     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8442 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8443     need_locks=warn
   8444   fi
   8445 else
   8446   need_locks=no
   8447 fi
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8455 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8456 
   8457   runpath_var=
   8458   allow_undefined_flag=
   8459   always_export_symbols=no
   8460   archive_cmds=
   8461   archive_expsym_cmds=
   8462   compiler_needs_object=no
   8463   enable_shared_with_static_runtimes=no
   8464   export_dynamic_flag_spec=
   8465   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8466   hardcode_automatic=no
   8467   hardcode_direct=no
   8468   hardcode_direct_absolute=no
   8469   hardcode_libdir_flag_spec=
   8470   hardcode_libdir_separator=
   8471   hardcode_minus_L=no
   8472   hardcode_shlibpath_var=unsupported
   8473   inherit_rpath=no
   8474   link_all_deplibs=unknown
   8475   module_cmds=
   8476   module_expsym_cmds=
   8477   old_archive_from_new_cmds=
   8478   old_archive_from_expsyms_cmds=
   8479   thread_safe_flag_spec=
   8480   whole_archive_flag_spec=
   8481   # include_expsyms should be a list of space-separated symbols to be *always*
   8482   # included in the symbol list
   8483   include_expsyms=
   8484   # exclude_expsyms can be an extended regexp of symbols to exclude
   8485   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8486   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8487   # as well as any symbol that contains `d'.
   8488   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8489   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8490   # platforms (ab)use it in PIC code, but their linkers get confused if
   8491   # the symbol is explicitly referenced.  Since portable code cannot
   8492   # rely on this symbol name, it's probably fine to never include it in
   8493   # preloaded symbol tables.
   8494   # Exclude shared library initialization/finalization symbols.
   8495   extract_expsyms_cmds=
   8496 
   8497   case $host_os in
   8498   cygwin* | mingw* | pw32* | cegcc*)
   8499     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8500     # When not using gcc, we currently assume that we are using
   8501     # Microsoft Visual C++.
   8502     if test "$GCC" != yes; then
   8503       with_gnu_ld=no
   8504     fi
   8505     ;;
   8506   interix*)
   8507     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8508     with_gnu_ld=yes
   8509     ;;
   8510   openbsd*)
   8511     with_gnu_ld=no
   8512     ;;
   8513   esac
   8514 
   8515   ld_shlibs=yes
   8516 
   8517   # On some targets, GNU ld is compatible enough with the native linker
   8518   # that we're better off using the native interface for both.
   8519   lt_use_gnu_ld_interface=no
   8520   if test "$with_gnu_ld" = yes; then
   8521     case $host_os in
   8522       aix*)
   8523 	# The AIX port of GNU ld has always aspired to compatibility
   8524 	# with the native linker.  However, as the warning in the GNU ld
   8525 	# block says, versions before 2.19.5* couldn't really create working
   8526 	# shared libraries, regardless of the interface used.
   8527 	case `$LD -v 2>&1` in
   8528 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8529 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8530 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8531 	  *)
   8532 	    lt_use_gnu_ld_interface=yes
   8533 	    ;;
   8534 	esac
   8535 	;;
   8536       *)
   8537 	lt_use_gnu_ld_interface=yes
   8538 	;;
   8539     esac
   8540   fi
   8541 
   8542   if test "$lt_use_gnu_ld_interface" = yes; then
   8543     # If archive_cmds runs LD, not CC, wlarc should be empty
   8544     wlarc='${wl}'
   8545 
   8546     # Set some defaults for GNU ld with shared library support. These
   8547     # are reset later if shared libraries are not supported. Putting them
   8548     # here allows them to be overridden if necessary.
   8549     runpath_var=LD_RUN_PATH
   8550     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8551     export_dynamic_flag_spec='${wl}--export-dynamic'
   8552     # ancient GNU ld didn't support --whole-archive et. al.
   8553     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8554       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8555     else
   8556       whole_archive_flag_spec=
   8557     fi
   8558     supports_anon_versioning=no
   8559     case `$LD -v 2>&1` in
   8560       *GNU\ gold*) supports_anon_versioning=yes ;;
   8561       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8562       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8563       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8564       *\ 2.11.*) ;; # other 2.11 versions
   8565       *) supports_anon_versioning=yes ;;
   8566     esac
   8567 
   8568     # See if GNU ld supports shared libraries.
   8569     case $host_os in
   8570     aix[3-9]*)
   8571       # On AIX/PPC, the GNU linker is very broken
   8572       if test "$host_cpu" != ia64; then
   8573 	ld_shlibs=no
   8574 	cat <<_LT_EOF 1>&2
   8575 
   8576 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8577 *** to be unable to reliably create shared libraries on AIX.
   8578 *** Therefore, libtool is disabling shared libraries support.  If you
   8579 *** really care for shared libraries, you may want to install binutils
   8580 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8581 *** You will then need to restart the configuration process.
   8582 
   8583 _LT_EOF
   8584       fi
   8585       ;;
   8586 
   8587     amigaos*)
   8588       case $host_cpu in
   8589       powerpc)
   8590             # see comment about AmigaOS4 .so support
   8591             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8592             archive_expsym_cmds=''
   8593         ;;
   8594       m68k)
   8595             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)'
   8596             hardcode_libdir_flag_spec='-L$libdir'
   8597             hardcode_minus_L=yes
   8598         ;;
   8599       esac
   8600       ;;
   8601 
   8602     beos*)
   8603       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8604 	allow_undefined_flag=unsupported
   8605 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8606 	# support --undefined.  This deserves some investigation.  FIXME
   8607 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8608       else
   8609 	ld_shlibs=no
   8610       fi
   8611       ;;
   8612 
   8613     cygwin* | mingw* | pw32* | cegcc*)
   8614       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8615       # as there is no search path for DLLs.
   8616       hardcode_libdir_flag_spec='-L$libdir'
   8617       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8618       allow_undefined_flag=unsupported
   8619       always_export_symbols=no
   8620       enable_shared_with_static_runtimes=yes
   8621       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'
   8622       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8623 
   8624       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8625         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8626 	# If the export-symbols file already is a .def file (1st line
   8627 	# is EXPORTS), use it as is; otherwise, prepend...
   8628 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8629 	  cp $export_symbols $output_objdir/$soname.def;
   8630 	else
   8631 	  echo EXPORTS > $output_objdir/$soname.def;
   8632 	  cat $export_symbols >> $output_objdir/$soname.def;
   8633 	fi~
   8634 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8635       else
   8636 	ld_shlibs=no
   8637       fi
   8638       ;;
   8639 
   8640     haiku*)
   8641       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8642       link_all_deplibs=yes
   8643       ;;
   8644 
   8645     interix[3-9]*)
   8646       hardcode_direct=no
   8647       hardcode_shlibpath_var=no
   8648       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8649       export_dynamic_flag_spec='${wl}-E'
   8650       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8651       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8652       # default) and relocated if they conflict, which is a slow very memory
   8653       # consuming and fragmenting process.  To avoid this, we pick a random,
   8654       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8655       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8656       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8657       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'
   8658       ;;
   8659 
   8660     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8661       tmp_diet=no
   8662       if test "$host_os" = linux-dietlibc; then
   8663 	case $cc_basename in
   8664 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8665 	esac
   8666       fi
   8667       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8668 	 && test "$tmp_diet" = no
   8669       then
   8670 	tmp_addflag=' $pic_flag'
   8671 	tmp_sharedflag='-shared'
   8672 	case $cc_basename,$host_cpu in
   8673         pgcc*)				# Portland Group C compiler
   8674 	  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'
   8675 	  tmp_addflag=' $pic_flag'
   8676 	  ;;
   8677 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8678 					# Portland Group f77 and f90 compilers
   8679 	  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'
   8680 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8681 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8682 	  tmp_addflag=' -i_dynamic' ;;
   8683 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8684 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8685 	ifc* | ifort*)			# Intel Fortran compiler
   8686 	  tmp_addflag=' -nofor_main' ;;
   8687 	lf95*)				# Lahey Fortran 8.1
   8688 	  whole_archive_flag_spec=
   8689 	  tmp_sharedflag='--shared' ;;
   8690 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8691 	  tmp_sharedflag='-qmkshrobj'
   8692 	  tmp_addflag= ;;
   8693 	nvcc*)	# Cuda Compiler Driver 2.2
   8694 	  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'
   8695 	  compiler_needs_object=yes
   8696 	  ;;
   8697 	esac
   8698 	case `$CC -V 2>&1 | sed 5q` in
   8699 	*Sun\ C*)			# Sun C 5.9
   8700 	  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'
   8701 	  compiler_needs_object=yes
   8702 	  tmp_sharedflag='-G' ;;
   8703 	*Sun\ F*)			# Sun Fortran 8.3
   8704 	  tmp_sharedflag='-G' ;;
   8705 	esac
   8706 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8707 
   8708         if test "x$supports_anon_versioning" = xyes; then
   8709           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8710 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8711 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8712 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8713         fi
   8714 
   8715 	case $cc_basename in
   8716 	xlf* | bgf* | bgxlf* | mpixlf*)
   8717 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8718 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8719 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8720 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8721 	  if test "x$supports_anon_versioning" = xyes; then
   8722 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8723 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8724 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8725 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8726 	  fi
   8727 	  ;;
   8728 	esac
   8729       else
   8730         ld_shlibs=no
   8731       fi
   8732       ;;
   8733 
   8734     netbsd*)
   8735       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8736 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8737 	wlarc=
   8738       else
   8739 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8740 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8741       fi
   8742       ;;
   8743 
   8744     solaris*)
   8745       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8746 	ld_shlibs=no
   8747 	cat <<_LT_EOF 1>&2
   8748 
   8749 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8750 *** create shared libraries on Solaris systems.  Therefore, libtool
   8751 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8752 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8753 *** your PATH or compiler configuration so that the native linker is
   8754 *** used, and then restart.
   8755 
   8756 _LT_EOF
   8757       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8758 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8759 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8760       else
   8761 	ld_shlibs=no
   8762       fi
   8763       ;;
   8764 
   8765     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8766       case `$LD -v 2>&1` in
   8767         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8768 	ld_shlibs=no
   8769 	cat <<_LT_EOF 1>&2
   8770 
   8771 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8772 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8773 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8774 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8775 *** your PATH or compiler configuration so that the native linker is
   8776 *** used, and then restart.
   8777 
   8778 _LT_EOF
   8779 	;;
   8780 	*)
   8781 	  # For security reasons, it is highly recommended that you always
   8782 	  # use absolute paths for naming shared libraries, and exclude the
   8783 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8784 	  # requires that you compile everything twice, which is a pain.
   8785 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8786 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8787 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8788 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8789 	  else
   8790 	    ld_shlibs=no
   8791 	  fi
   8792 	;;
   8793       esac
   8794       ;;
   8795 
   8796     sunos4*)
   8797       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8798       wlarc=
   8799       hardcode_direct=yes
   8800       hardcode_shlibpath_var=no
   8801       ;;
   8802 
   8803     *)
   8804       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8805 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8806 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8807       else
   8808 	ld_shlibs=no
   8809       fi
   8810       ;;
   8811     esac
   8812 
   8813     if test "$ld_shlibs" = no; then
   8814       runpath_var=
   8815       hardcode_libdir_flag_spec=
   8816       export_dynamic_flag_spec=
   8817       whole_archive_flag_spec=
   8818     fi
   8819   else
   8820     # PORTME fill in a description of your system's linker (not GNU ld)
   8821     case $host_os in
   8822     aix3*)
   8823       allow_undefined_flag=unsupported
   8824       always_export_symbols=yes
   8825       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'
   8826       # Note: this linker hardcodes the directories in LIBPATH if there
   8827       # are no directories specified by -L.
   8828       hardcode_minus_L=yes
   8829       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8830 	# Neither direct hardcoding nor static linking is supported with a
   8831 	# broken collect2.
   8832 	hardcode_direct=unsupported
   8833       fi
   8834       ;;
   8835 
   8836     aix[4-9]*)
   8837       if test "$host_cpu" = ia64; then
   8838 	# On IA64, the linker does run time linking by default, so we don't
   8839 	# have to do anything special.
   8840 	aix_use_runtimelinking=no
   8841 	exp_sym_flag='-Bexport'
   8842 	no_entry_flag=""
   8843       else
   8844 	# If we're using GNU nm, then we don't want the "-C" option.
   8845 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8846 	# Also, AIX nm treats weak defined symbols like other global
   8847 	# defined symbols, whereas GNU nm marks them as "W".
   8848 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8849 	  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'
   8850 	else
   8851 	  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'
   8852 	fi
   8853 	aix_use_runtimelinking=no
   8854 
   8855 	# Test if we are trying to use run time linking or normal
   8856 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8857 	# need to do runtime linking.
   8858 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8859 	  for ld_flag in $LDFLAGS; do
   8860 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8861 	    aix_use_runtimelinking=yes
   8862 	    break
   8863 	  fi
   8864 	  done
   8865 	  ;;
   8866 	esac
   8867 
   8868 	exp_sym_flag='-bexport'
   8869 	no_entry_flag='-bnoentry'
   8870       fi
   8871 
   8872       # When large executables or shared objects are built, AIX ld can
   8873       # have problems creating the table of contents.  If linking a library
   8874       # or program results in "error TOC overflow" add -mminimal-toc to
   8875       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8876       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8877 
   8878       archive_cmds=''
   8879       hardcode_direct=yes
   8880       hardcode_direct_absolute=yes
   8881       hardcode_libdir_separator=':'
   8882       link_all_deplibs=yes
   8883       file_list_spec='${wl}-f,'
   8884 
   8885       if test "$GCC" = yes; then
   8886 	case $host_os in aix4.[012]|aix4.[012].*)
   8887 	# We only want to do this on AIX 4.2 and lower, the check
   8888 	# below for broken collect2 doesn't work under 4.3+
   8889 	  collect2name=`${CC} -print-prog-name=collect2`
   8890 	  if test -f "$collect2name" &&
   8891 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8892 	  then
   8893 	  # We have reworked collect2
   8894 	  :
   8895 	  else
   8896 	  # We have old collect2
   8897 	  hardcode_direct=unsupported
   8898 	  # It fails to find uninstalled libraries when the uninstalled
   8899 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8900 	  # to unsupported forces relinking
   8901 	  hardcode_minus_L=yes
   8902 	  hardcode_libdir_flag_spec='-L$libdir'
   8903 	  hardcode_libdir_separator=
   8904 	  fi
   8905 	  ;;
   8906 	esac
   8907 	shared_flag='-shared'
   8908 	if test "$aix_use_runtimelinking" = yes; then
   8909 	  shared_flag="$shared_flag "'${wl}-G'
   8910 	fi
   8911       else
   8912 	# not using gcc
   8913 	if test "$host_cpu" = ia64; then
   8914 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8915 	# chokes on -Wl,-G. The following line is correct:
   8916 	  shared_flag='-G'
   8917 	else
   8918 	  if test "$aix_use_runtimelinking" = yes; then
   8919 	    shared_flag='${wl}-G'
   8920 	  else
   8921 	    shared_flag='${wl}-bM:SRE'
   8922 	  fi
   8923 	fi
   8924       fi
   8925 
   8926       export_dynamic_flag_spec='${wl}-bexpall'
   8927       # It seems that -bexpall does not export symbols beginning with
   8928       # underscore (_), so it is better to generate a list of symbols to export.
   8929       always_export_symbols=yes
   8930       if test "$aix_use_runtimelinking" = yes; then
   8931 	# Warning - without using the other runtime loading flags (-brtl),
   8932 	# -berok will link without error, but may produce a broken library.
   8933 	allow_undefined_flag='-berok'
   8934         # Determine the default libpath from the value encoded in an
   8935         # empty executable.
   8936         if test "${lt_cv_aix_libpath+set}" = set; then
   8937   aix_libpath=$lt_cv_aix_libpath
   8938 else
   8939   if ${lt_cv_aix_libpath_+:} false; then :
   8940   $as_echo_n "(cached) " >&6
   8941 else
   8942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8943 /* end confdefs.h.  */
   8944 
   8945 int
   8946 main ()
   8947 {
   8948 
   8949   ;
   8950   return 0;
   8951 }
   8952 _ACEOF
   8953 if ac_fn_c_try_link "$LINENO"; then :
   8954 
   8955   lt_aix_libpath_sed='
   8956       /Import File Strings/,/^$/ {
   8957 	  /^0/ {
   8958 	      s/^0  *\([^ ]*\) *$/\1/
   8959 	      p
   8960 	  }
   8961       }'
   8962   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8963   # Check for a 64-bit object if we didn't find anything.
   8964   if test -z "$lt_cv_aix_libpath_"; then
   8965     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8966   fi
   8967 fi
   8968 rm -f core conftest.err conftest.$ac_objext \
   8969     conftest$ac_exeext conftest.$ac_ext
   8970   if test -z "$lt_cv_aix_libpath_"; then
   8971     lt_cv_aix_libpath_="/usr/lib:/lib"
   8972   fi
   8973 
   8974 fi
   8975 
   8976   aix_libpath=$lt_cv_aix_libpath_
   8977 fi
   8978 
   8979         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8980         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"
   8981       else
   8982 	if test "$host_cpu" = ia64; then
   8983 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8984 	  allow_undefined_flag="-z nodefs"
   8985 	  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"
   8986 	else
   8987 	 # Determine the default libpath from the value encoded in an
   8988 	 # empty executable.
   8989 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8990   aix_libpath=$lt_cv_aix_libpath
   8991 else
   8992   if ${lt_cv_aix_libpath_+:} false; then :
   8993   $as_echo_n "(cached) " >&6
   8994 else
   8995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8996 /* end confdefs.h.  */
   8997 
   8998 int
   8999 main ()
   9000 {
   9001 
   9002   ;
   9003   return 0;
   9004 }
   9005 _ACEOF
   9006 if ac_fn_c_try_link "$LINENO"; then :
   9007 
   9008   lt_aix_libpath_sed='
   9009       /Import File Strings/,/^$/ {
   9010 	  /^0/ {
   9011 	      s/^0  *\([^ ]*\) *$/\1/
   9012 	      p
   9013 	  }
   9014       }'
   9015   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9016   # Check for a 64-bit object if we didn't find anything.
   9017   if test -z "$lt_cv_aix_libpath_"; then
   9018     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9019   fi
   9020 fi
   9021 rm -f core conftest.err conftest.$ac_objext \
   9022     conftest$ac_exeext conftest.$ac_ext
   9023   if test -z "$lt_cv_aix_libpath_"; then
   9024     lt_cv_aix_libpath_="/usr/lib:/lib"
   9025   fi
   9026 
   9027 fi
   9028 
   9029   aix_libpath=$lt_cv_aix_libpath_
   9030 fi
   9031 
   9032 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9033 	  # Warning - without using the other run time loading flags,
   9034 	  # -berok will link without error, but may produce a broken library.
   9035 	  no_undefined_flag=' ${wl}-bernotok'
   9036 	  allow_undefined_flag=' ${wl}-berok'
   9037 	  if test "$with_gnu_ld" = yes; then
   9038 	    # We only use this code for GNU lds that support --whole-archive.
   9039 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9040 	  else
   9041 	    # Exported symbols can be pulled into shared objects from archives
   9042 	    whole_archive_flag_spec='$convenience'
   9043 	  fi
   9044 	  archive_cmds_need_lc=yes
   9045 	  # This is similar to how AIX traditionally builds its shared libraries.
   9046 	  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'
   9047 	fi
   9048       fi
   9049       ;;
   9050 
   9051     amigaos*)
   9052       case $host_cpu in
   9053       powerpc)
   9054             # see comment about AmigaOS4 .so support
   9055             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9056             archive_expsym_cmds=''
   9057         ;;
   9058       m68k)
   9059             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)'
   9060             hardcode_libdir_flag_spec='-L$libdir'
   9061             hardcode_minus_L=yes
   9062         ;;
   9063       esac
   9064       ;;
   9065 
   9066     bsdi[45]*)
   9067       export_dynamic_flag_spec=-rdynamic
   9068       ;;
   9069 
   9070     cygwin* | mingw* | pw32* | cegcc*)
   9071       # When not using gcc, we currently assume that we are using
   9072       # Microsoft Visual C++.
   9073       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9074       # no search path for DLLs.
   9075       case $cc_basename in
   9076       cl*)
   9077 	# Native MSVC
   9078 	hardcode_libdir_flag_spec=' '
   9079 	allow_undefined_flag=unsupported
   9080 	always_export_symbols=yes
   9081 	file_list_spec='@'
   9082 	# Tell ltmain to make .lib files, not .a files.
   9083 	libext=lib
   9084 	# Tell ltmain to make .dll files, not .so files.
   9085 	shrext_cmds=".dll"
   9086 	# FIXME: Setting linknames here is a bad hack.
   9087 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9088 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9089 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9090 	  else
   9091 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9092 	  fi~
   9093 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9094 	  linknames='
   9095 	# The linker will not automatically build a static lib if we build a DLL.
   9096 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9097 	enable_shared_with_static_runtimes=yes
   9098 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9099 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9100 	# Don't use ranlib
   9101 	old_postinstall_cmds='chmod 644 $oldlib'
   9102 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9103 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9104 	  case $lt_outputfile in
   9105 	    *.exe|*.EXE) ;;
   9106 	    *)
   9107 	      lt_outputfile="$lt_outputfile.exe"
   9108 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9109 	      ;;
   9110 	  esac~
   9111 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9112 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9113 	    $RM "$lt_outputfile.manifest";
   9114 	  fi'
   9115 	;;
   9116       *)
   9117 	# Assume MSVC wrapper
   9118 	hardcode_libdir_flag_spec=' '
   9119 	allow_undefined_flag=unsupported
   9120 	# Tell ltmain to make .lib files, not .a files.
   9121 	libext=lib
   9122 	# Tell ltmain to make .dll files, not .so files.
   9123 	shrext_cmds=".dll"
   9124 	# FIXME: Setting linknames here is a bad hack.
   9125 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9126 	# The linker will automatically build a .lib file if we build a DLL.
   9127 	old_archive_from_new_cmds='true'
   9128 	# FIXME: Should let the user specify the lib program.
   9129 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9130 	enable_shared_with_static_runtimes=yes
   9131 	;;
   9132       esac
   9133       ;;
   9134 
   9135     darwin* | rhapsody*)
   9136 
   9137 
   9138   archive_cmds_need_lc=no
   9139   hardcode_direct=no
   9140   hardcode_automatic=yes
   9141   hardcode_shlibpath_var=unsupported
   9142   if test "$lt_cv_ld_force_load" = "yes"; then
   9143     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\"`'
   9144 
   9145   else
   9146     whole_archive_flag_spec=''
   9147   fi
   9148   link_all_deplibs=yes
   9149   allow_undefined_flag="$_lt_dar_allow_undefined"
   9150   case $cc_basename in
   9151      ifort*) _lt_dar_can_shared=yes ;;
   9152      *) _lt_dar_can_shared=$GCC ;;
   9153   esac
   9154   if test "$_lt_dar_can_shared" = "yes"; then
   9155     output_verbose_link_cmd=func_echo_all
   9156     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9157     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9158     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}"
   9159     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}"
   9160 
   9161   else
   9162   ld_shlibs=no
   9163   fi
   9164 
   9165       ;;
   9166 
   9167     dgux*)
   9168       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9169       hardcode_libdir_flag_spec='-L$libdir'
   9170       hardcode_shlibpath_var=no
   9171       ;;
   9172 
   9173     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9174     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9175     # does not break anything, and helps significantly (at the cost of a little
   9176     # extra space).
   9177     freebsd2.2*)
   9178       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9179       hardcode_libdir_flag_spec='-R$libdir'
   9180       hardcode_direct=yes
   9181       hardcode_shlibpath_var=no
   9182       ;;
   9183 
   9184     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9185     freebsd2.*)
   9186       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9187       hardcode_direct=yes
   9188       hardcode_minus_L=yes
   9189       hardcode_shlibpath_var=no
   9190       ;;
   9191 
   9192     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9193     freebsd* | dragonfly*)
   9194       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9195       hardcode_libdir_flag_spec='-R$libdir'
   9196       hardcode_direct=yes
   9197       hardcode_shlibpath_var=no
   9198       ;;
   9199 
   9200     hpux9*)
   9201       if test "$GCC" = yes; then
   9202 	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'
   9203       else
   9204 	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'
   9205       fi
   9206       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9207       hardcode_libdir_separator=:
   9208       hardcode_direct=yes
   9209 
   9210       # hardcode_minus_L: Not really in the search PATH,
   9211       # but as the default location of the library.
   9212       hardcode_minus_L=yes
   9213       export_dynamic_flag_spec='${wl}-E'
   9214       ;;
   9215 
   9216     hpux10*)
   9217       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9218 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9219       else
   9220 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9221       fi
   9222       if test "$with_gnu_ld" = no; then
   9223 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9224 	hardcode_libdir_separator=:
   9225 	hardcode_direct=yes
   9226 	hardcode_direct_absolute=yes
   9227 	export_dynamic_flag_spec='${wl}-E'
   9228 	# hardcode_minus_L: Not really in the search PATH,
   9229 	# but as the default location of the library.
   9230 	hardcode_minus_L=yes
   9231       fi
   9232       ;;
   9233 
   9234     hpux11*)
   9235       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9236 	case $host_cpu in
   9237 	hppa*64*)
   9238 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9239 	  ;;
   9240 	ia64*)
   9241 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9242 	  ;;
   9243 	*)
   9244 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9245 	  ;;
   9246 	esac
   9247       else
   9248 	case $host_cpu in
   9249 	hppa*64*)
   9250 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9251 	  ;;
   9252 	ia64*)
   9253 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9254 	  ;;
   9255 	*)
   9256 
   9257 	  # Older versions of the 11.00 compiler do not understand -b yet
   9258 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9259 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9260 $as_echo_n "checking if $CC understands -b... " >&6; }
   9261 if ${lt_cv_prog_compiler__b+:} false; then :
   9262   $as_echo_n "(cached) " >&6
   9263 else
   9264   lt_cv_prog_compiler__b=no
   9265    save_LDFLAGS="$LDFLAGS"
   9266    LDFLAGS="$LDFLAGS -b"
   9267    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9268    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9269      # The linker can only warn and ignore the option if not recognized
   9270      # So say no if there are warnings
   9271      if test -s conftest.err; then
   9272        # Append any errors to the config.log.
   9273        cat conftest.err 1>&5
   9274        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9275        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9276        if diff conftest.exp conftest.er2 >/dev/null; then
   9277          lt_cv_prog_compiler__b=yes
   9278        fi
   9279      else
   9280        lt_cv_prog_compiler__b=yes
   9281      fi
   9282    fi
   9283    $RM -r conftest*
   9284    LDFLAGS="$save_LDFLAGS"
   9285 
   9286 fi
   9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9288 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9289 
   9290 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9291     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9292 else
   9293     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9294 fi
   9295 
   9296 	  ;;
   9297 	esac
   9298       fi
   9299       if test "$with_gnu_ld" = no; then
   9300 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9301 	hardcode_libdir_separator=:
   9302 
   9303 	case $host_cpu in
   9304 	hppa*64*|ia64*)
   9305 	  hardcode_direct=no
   9306 	  hardcode_shlibpath_var=no
   9307 	  ;;
   9308 	*)
   9309 	  hardcode_direct=yes
   9310 	  hardcode_direct_absolute=yes
   9311 	  export_dynamic_flag_spec='${wl}-E'
   9312 
   9313 	  # hardcode_minus_L: Not really in the search PATH,
   9314 	  # but as the default location of the library.
   9315 	  hardcode_minus_L=yes
   9316 	  ;;
   9317 	esac
   9318       fi
   9319       ;;
   9320 
   9321     irix5* | irix6* | nonstopux*)
   9322       if test "$GCC" = yes; then
   9323 	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'
   9324 	# Try to use the -exported_symbol ld option, if it does not
   9325 	# work, assume that -exports_file does not work either and
   9326 	# implicitly export all symbols.
   9327 	# This should be the same for all languages, so no per-tag cache variable.
   9328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9329 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9330 if ${lt_cv_irix_exported_symbol+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   save_LDFLAGS="$LDFLAGS"
   9334 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9335 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9336 /* end confdefs.h.  */
   9337 int foo (void) { return 0; }
   9338 _ACEOF
   9339 if ac_fn_c_try_link "$LINENO"; then :
   9340   lt_cv_irix_exported_symbol=yes
   9341 else
   9342   lt_cv_irix_exported_symbol=no
   9343 fi
   9344 rm -f core conftest.err conftest.$ac_objext \
   9345     conftest$ac_exeext conftest.$ac_ext
   9346            LDFLAGS="$save_LDFLAGS"
   9347 fi
   9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9349 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9350 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9351           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'
   9352 	fi
   9353       else
   9354 	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'
   9355 	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'
   9356       fi
   9357       archive_cmds_need_lc='no'
   9358       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9359       hardcode_libdir_separator=:
   9360       inherit_rpath=yes
   9361       link_all_deplibs=yes
   9362       ;;
   9363 
   9364     netbsd*)
   9365       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9366 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9367       else
   9368 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9369       fi
   9370       hardcode_libdir_flag_spec='-R$libdir'
   9371       hardcode_direct=yes
   9372       hardcode_shlibpath_var=no
   9373       ;;
   9374 
   9375     newsos6)
   9376       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9377       hardcode_direct=yes
   9378       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9379       hardcode_libdir_separator=:
   9380       hardcode_shlibpath_var=no
   9381       ;;
   9382 
   9383     *nto* | *qnx*)
   9384       ;;
   9385 
   9386     openbsd*)
   9387       if test -f /usr/libexec/ld.so; then
   9388 	hardcode_direct=yes
   9389 	hardcode_shlibpath_var=no
   9390 	hardcode_direct_absolute=yes
   9391 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9392 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9393 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9394 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9395 	  export_dynamic_flag_spec='${wl}-E'
   9396 	else
   9397 	  case $host_os in
   9398 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9399 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9400 	     hardcode_libdir_flag_spec='-R$libdir'
   9401 	     ;;
   9402 	   *)
   9403 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9404 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9405 	     ;;
   9406 	  esac
   9407 	fi
   9408       else
   9409 	ld_shlibs=no
   9410       fi
   9411       ;;
   9412 
   9413     os2*)
   9414       hardcode_libdir_flag_spec='-L$libdir'
   9415       hardcode_minus_L=yes
   9416       allow_undefined_flag=unsupported
   9417       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'
   9418       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9419       ;;
   9420 
   9421     osf3*)
   9422       if test "$GCC" = yes; then
   9423 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9424 	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'
   9425       else
   9426 	allow_undefined_flag=' -expect_unresolved \*'
   9427 	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'
   9428       fi
   9429       archive_cmds_need_lc='no'
   9430       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9431       hardcode_libdir_separator=:
   9432       ;;
   9433 
   9434     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9435       if test "$GCC" = yes; then
   9436 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9437 	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'
   9438 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9439       else
   9440 	allow_undefined_flag=' -expect_unresolved \*'
   9441 	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'
   9442 	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~
   9443 	$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'
   9444 
   9445 	# Both c and cxx compiler support -rpath directly
   9446 	hardcode_libdir_flag_spec='-rpath $libdir'
   9447       fi
   9448       archive_cmds_need_lc='no'
   9449       hardcode_libdir_separator=:
   9450       ;;
   9451 
   9452     solaris*)
   9453       no_undefined_flag=' -z defs'
   9454       if test "$GCC" = yes; then
   9455 	wlarc='${wl}'
   9456 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9457 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9458 	  $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'
   9459       else
   9460 	case `$CC -V 2>&1` in
   9461 	*"Compilers 5.0"*)
   9462 	  wlarc=''
   9463 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9464 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9465 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9466 	  ;;
   9467 	*)
   9468 	  wlarc='${wl}'
   9469 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9470 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9471 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9472 	  ;;
   9473 	esac
   9474       fi
   9475       hardcode_libdir_flag_spec='-R$libdir'
   9476       hardcode_shlibpath_var=no
   9477       case $host_os in
   9478       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9479       *)
   9480 	# The compiler driver will combine and reorder linker options,
   9481 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9482 	# but is careful enough not to reorder.
   9483 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9484 	if test "$GCC" = yes; then
   9485 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9486 	else
   9487 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9488 	fi
   9489 	;;
   9490       esac
   9491       link_all_deplibs=yes
   9492       ;;
   9493 
   9494     sunos4*)
   9495       if test "x$host_vendor" = xsequent; then
   9496 	# Use $CC to link under sequent, because it throws in some extra .o
   9497 	# files that make .init and .fini sections work.
   9498 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9499       else
   9500 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9501       fi
   9502       hardcode_libdir_flag_spec='-L$libdir'
   9503       hardcode_direct=yes
   9504       hardcode_minus_L=yes
   9505       hardcode_shlibpath_var=no
   9506       ;;
   9507 
   9508     sysv4)
   9509       case $host_vendor in
   9510 	sni)
   9511 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9512 	  hardcode_direct=yes # is this really true???
   9513 	;;
   9514 	siemens)
   9515 	  ## LD is ld it makes a PLAMLIB
   9516 	  ## CC just makes a GrossModule.
   9517 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9518 	  reload_cmds='$CC -r -o $output$reload_objs'
   9519 	  hardcode_direct=no
   9520         ;;
   9521 	motorola)
   9522 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9523 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9524 	;;
   9525       esac
   9526       runpath_var='LD_RUN_PATH'
   9527       hardcode_shlibpath_var=no
   9528       ;;
   9529 
   9530     sysv4.3*)
   9531       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9532       hardcode_shlibpath_var=no
   9533       export_dynamic_flag_spec='-Bexport'
   9534       ;;
   9535 
   9536     sysv4*MP*)
   9537       if test -d /usr/nec; then
   9538 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9539 	hardcode_shlibpath_var=no
   9540 	runpath_var=LD_RUN_PATH
   9541 	hardcode_runpath_var=yes
   9542 	ld_shlibs=yes
   9543       fi
   9544       ;;
   9545 
   9546     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9547       no_undefined_flag='${wl}-z,text'
   9548       archive_cmds_need_lc=no
   9549       hardcode_shlibpath_var=no
   9550       runpath_var='LD_RUN_PATH'
   9551 
   9552       if test "$GCC" = yes; then
   9553 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9554 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9555       else
   9556 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9557 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9558       fi
   9559       ;;
   9560 
   9561     sysv5* | sco3.2v5* | sco5v6*)
   9562       # Note: We can NOT use -z defs as we might desire, because we do not
   9563       # link with -lc, and that would cause any symbols used from libc to
   9564       # always be unresolved, which means just about no library would
   9565       # ever link correctly.  If we're not using GNU ld we use -z text
   9566       # though, which does catch some bad symbols but isn't as heavy-handed
   9567       # as -z defs.
   9568       no_undefined_flag='${wl}-z,text'
   9569       allow_undefined_flag='${wl}-z,nodefs'
   9570       archive_cmds_need_lc=no
   9571       hardcode_shlibpath_var=no
   9572       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9573       hardcode_libdir_separator=':'
   9574       link_all_deplibs=yes
   9575       export_dynamic_flag_spec='${wl}-Bexport'
   9576       runpath_var='LD_RUN_PATH'
   9577 
   9578       if test "$GCC" = yes; then
   9579 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9580 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9581       else
   9582 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9583 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9584       fi
   9585       ;;
   9586 
   9587     uts4*)
   9588       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9589       hardcode_libdir_flag_spec='-L$libdir'
   9590       hardcode_shlibpath_var=no
   9591       ;;
   9592 
   9593     *)
   9594       ld_shlibs=no
   9595       ;;
   9596     esac
   9597 
   9598     if test x$host_vendor = xsni; then
   9599       case $host in
   9600       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9601 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9602 	;;
   9603       esac
   9604     fi
   9605   fi
   9606 
   9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9608 $as_echo "$ld_shlibs" >&6; }
   9609 test "$ld_shlibs" = no && can_build_shared=no
   9610 
   9611 with_gnu_ld=$with_gnu_ld
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 #
   9628 # Do we need to explicitly link libc?
   9629 #
   9630 case "x$archive_cmds_need_lc" in
   9631 x|xyes)
   9632   # Assume -lc should be added
   9633   archive_cmds_need_lc=yes
   9634 
   9635   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9636     case $archive_cmds in
   9637     *'~'*)
   9638       # FIXME: we may have to deal with multi-command sequences.
   9639       ;;
   9640     '$CC '*)
   9641       # Test whether the compiler implicitly links with -lc since on some
   9642       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9643       # to ld, don't add -lc before -lgcc.
   9644       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9645 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9646 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9647   $as_echo_n "(cached) " >&6
   9648 else
   9649   $RM conftest*
   9650 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9651 
   9652 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9653   (eval $ac_compile) 2>&5
   9654   ac_status=$?
   9655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9656   test $ac_status = 0; } 2>conftest.err; then
   9657 	  soname=conftest
   9658 	  lib=conftest
   9659 	  libobjs=conftest.$ac_objext
   9660 	  deplibs=
   9661 	  wl=$lt_prog_compiler_wl
   9662 	  pic_flag=$lt_prog_compiler_pic
   9663 	  compiler_flags=-v
   9664 	  linker_flags=-v
   9665 	  verstring=
   9666 	  output_objdir=.
   9667 	  libname=conftest
   9668 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9669 	  allow_undefined_flag=
   9670 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9671   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9672   ac_status=$?
   9673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9674   test $ac_status = 0; }
   9675 	  then
   9676 	    lt_cv_archive_cmds_need_lc=no
   9677 	  else
   9678 	    lt_cv_archive_cmds_need_lc=yes
   9679 	  fi
   9680 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9681 	else
   9682 	  cat conftest.err 1>&5
   9683 	fi
   9684 	$RM conftest*
   9685 
   9686 fi
   9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9688 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9689       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9690       ;;
   9691     esac
   9692   fi
   9693   ;;
   9694 esac
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9848 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9849 
   9850 if test "$GCC" = yes; then
   9851   case $host_os in
   9852     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9853     *) lt_awk_arg="/^libraries:/" ;;
   9854   esac
   9855   case $host_os in
   9856     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9857     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9858   esac
   9859   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9860   case $lt_search_path_spec in
   9861   *\;*)
   9862     # if the path contains ";" then we assume it to be the separator
   9863     # otherwise default to the standard path separator (i.e. ":") - it is
   9864     # assumed that no part of a normal pathname contains ";" but that should
   9865     # okay in the real world where ";" in dirpaths is itself problematic.
   9866     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9867     ;;
   9868   *)
   9869     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9870     ;;
   9871   esac
   9872   # Ok, now we have the path, separated by spaces, we can step through it
   9873   # and add multilib dir if necessary.
   9874   lt_tmp_lt_search_path_spec=
   9875   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9876   for lt_sys_path in $lt_search_path_spec; do
   9877     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9878       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9879     else
   9880       test -d "$lt_sys_path" && \
   9881 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9882     fi
   9883   done
   9884   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9885 BEGIN {RS=" "; FS="/|\n";} {
   9886   lt_foo="";
   9887   lt_count=0;
   9888   for (lt_i = NF; lt_i > 0; lt_i--) {
   9889     if ($lt_i != "" && $lt_i != ".") {
   9890       if ($lt_i == "..") {
   9891         lt_count++;
   9892       } else {
   9893         if (lt_count == 0) {
   9894           lt_foo="/" $lt_i lt_foo;
   9895         } else {
   9896           lt_count--;
   9897         }
   9898       }
   9899     }
   9900   }
   9901   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9902   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9903 }'`
   9904   # AWK program above erroneously prepends '/' to C:/dos/paths
   9905   # for these hosts.
   9906   case $host_os in
   9907     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9908       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9909   esac
   9910   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9911 else
   9912   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9913 fi
   9914 library_names_spec=
   9915 libname_spec='lib$name'
   9916 soname_spec=
   9917 shrext_cmds=".so"
   9918 postinstall_cmds=
   9919 postuninstall_cmds=
   9920 finish_cmds=
   9921 finish_eval=
   9922 shlibpath_var=
   9923 shlibpath_overrides_runpath=unknown
   9924 version_type=none
   9925 dynamic_linker="$host_os ld.so"
   9926 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9927 need_lib_prefix=unknown
   9928 hardcode_into_libs=no
   9929 
   9930 # when you set need_version to no, make sure it does not cause -set_version
   9931 # flags to be left without arguments
   9932 need_version=unknown
   9933 
   9934 case $host_os in
   9935 aix3*)
   9936   version_type=linux # correct to gnu/linux during the next big refactor
   9937   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9938   shlibpath_var=LIBPATH
   9939 
   9940   # AIX 3 has no versioning support, so we append a major version to the name.
   9941   soname_spec='${libname}${release}${shared_ext}$major'
   9942   ;;
   9943 
   9944 aix[4-9]*)
   9945   version_type=linux # correct to gnu/linux during the next big refactor
   9946   need_lib_prefix=no
   9947   need_version=no
   9948   hardcode_into_libs=yes
   9949   if test "$host_cpu" = ia64; then
   9950     # AIX 5 supports IA64
   9951     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9952     shlibpath_var=LD_LIBRARY_PATH
   9953   else
   9954     # With GCC up to 2.95.x, collect2 would create an import file
   9955     # for dependence libraries.  The import file would start with
   9956     # the line `#! .'.  This would cause the generated library to
   9957     # depend on `.', always an invalid library.  This was fixed in
   9958     # development snapshots of GCC prior to 3.0.
   9959     case $host_os in
   9960       aix4 | aix4.[01] | aix4.[01].*)
   9961       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9962 	   echo ' yes '
   9963 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9964 	:
   9965       else
   9966 	can_build_shared=no
   9967       fi
   9968       ;;
   9969     esac
   9970     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9971     # soname into executable. Probably we can add versioning support to
   9972     # collect2, so additional links can be useful in future.
   9973     if test "$aix_use_runtimelinking" = yes; then
   9974       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9975       # instead of lib<name>.a to let people know that these are not
   9976       # typical AIX shared libraries.
   9977       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9978     else
   9979       # We preserve .a as extension for shared libraries through AIX4.2
   9980       # and later when we are not doing run time linking.
   9981       library_names_spec='${libname}${release}.a $libname.a'
   9982       soname_spec='${libname}${release}${shared_ext}$major'
   9983     fi
   9984     shlibpath_var=LIBPATH
   9985   fi
   9986   ;;
   9987 
   9988 amigaos*)
   9989   case $host_cpu in
   9990   powerpc)
   9991     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9992     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9993     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9994     ;;
   9995   m68k)
   9996     library_names_spec='$libname.ixlibrary $libname.a'
   9997     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9998     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'
   9999     ;;
   10000   esac
   10001   ;;
   10002 
   10003 beos*)
   10004   library_names_spec='${libname}${shared_ext}'
   10005   dynamic_linker="$host_os ld.so"
   10006   shlibpath_var=LIBRARY_PATH
   10007   ;;
   10008 
   10009 bsdi[45]*)
   10010   version_type=linux # correct to gnu/linux during the next big refactor
   10011   need_version=no
   10012   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10013   soname_spec='${libname}${release}${shared_ext}$major'
   10014   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10015   shlibpath_var=LD_LIBRARY_PATH
   10016   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10017   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10018   # the default ld.so.conf also contains /usr/contrib/lib and
   10019   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10020   # libtool to hard-code these into programs
   10021   ;;
   10022 
   10023 cygwin* | mingw* | pw32* | cegcc*)
   10024   version_type=windows
   10025   shrext_cmds=".dll"
   10026   need_version=no
   10027   need_lib_prefix=no
   10028 
   10029   case $GCC,$cc_basename in
   10030   yes,*)
   10031     # gcc
   10032     library_names_spec='$libname.dll.a'
   10033     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10034     postinstall_cmds='base_file=`basename \${file}`~
   10035       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10036       dldir=$destdir/`dirname \$dlpath`~
   10037       test -d \$dldir || mkdir -p \$dldir~
   10038       $install_prog $dir/$dlname \$dldir/$dlname~
   10039       chmod a+x \$dldir/$dlname~
   10040       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10041         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10042       fi'
   10043     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10044       dlpath=$dir/\$dldll~
   10045        $RM \$dlpath'
   10046     shlibpath_overrides_runpath=yes
   10047 
   10048     case $host_os in
   10049     cygwin*)
   10050       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10051       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10052 
   10053       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10054       ;;
   10055     mingw* | cegcc*)
   10056       # MinGW DLLs use traditional 'lib' prefix
   10057       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10058       ;;
   10059     pw32*)
   10060       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10061       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10062       ;;
   10063     esac
   10064     dynamic_linker='Win32 ld.exe'
   10065     ;;
   10066 
   10067   *,cl*)
   10068     # Native MSVC
   10069     libname_spec='$name'
   10070     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10071     library_names_spec='${libname}.dll.lib'
   10072 
   10073     case $build_os in
   10074     mingw*)
   10075       sys_lib_search_path_spec=
   10076       lt_save_ifs=$IFS
   10077       IFS=';'
   10078       for lt_path in $LIB
   10079       do
   10080         IFS=$lt_save_ifs
   10081         # Let DOS variable expansion print the short 8.3 style file name.
   10082         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10083         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10084       done
   10085       IFS=$lt_save_ifs
   10086       # Convert to MSYS style.
   10087       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10088       ;;
   10089     cygwin*)
   10090       # Convert to unix form, then to dos form, then back to unix form
   10091       # but this time dos style (no spaces!) so that the unix form looks
   10092       # like /cygdrive/c/PROGRA~1:/cygdr...
   10093       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10094       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10095       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10096       ;;
   10097     *)
   10098       sys_lib_search_path_spec="$LIB"
   10099       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10100         # It is most probably a Windows format PATH.
   10101         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10102       else
   10103         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10104       fi
   10105       # FIXME: find the short name or the path components, as spaces are
   10106       # common. (e.g. "Program Files" -> "PROGRA~1")
   10107       ;;
   10108     esac
   10109 
   10110     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10111     postinstall_cmds='base_file=`basename \${file}`~
   10112       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10113       dldir=$destdir/`dirname \$dlpath`~
   10114       test -d \$dldir || mkdir -p \$dldir~
   10115       $install_prog $dir/$dlname \$dldir/$dlname'
   10116     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10117       dlpath=$dir/\$dldll~
   10118        $RM \$dlpath'
   10119     shlibpath_overrides_runpath=yes
   10120     dynamic_linker='Win32 link.exe'
   10121     ;;
   10122 
   10123   *)
   10124     # Assume MSVC wrapper
   10125     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10126     dynamic_linker='Win32 ld.exe'
   10127     ;;
   10128   esac
   10129   # FIXME: first we should search . and the directory the executable is in
   10130   shlibpath_var=PATH
   10131   ;;
   10132 
   10133 darwin* | rhapsody*)
   10134   dynamic_linker="$host_os dyld"
   10135   version_type=darwin
   10136   need_lib_prefix=no
   10137   need_version=no
   10138   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10139   soname_spec='${libname}${release}${major}$shared_ext'
   10140   shlibpath_overrides_runpath=yes
   10141   shlibpath_var=DYLD_LIBRARY_PATH
   10142   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10143 
   10144   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10145   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10146   ;;
   10147 
   10148 dgux*)
   10149   version_type=linux # correct to gnu/linux during the next big refactor
   10150   need_lib_prefix=no
   10151   need_version=no
   10152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10153   soname_spec='${libname}${release}${shared_ext}$major'
   10154   shlibpath_var=LD_LIBRARY_PATH
   10155   ;;
   10156 
   10157 freebsd* | dragonfly*)
   10158   # DragonFly does not have aout.  When/if they implement a new
   10159   # versioning mechanism, adjust this.
   10160   if test -x /usr/bin/objformat; then
   10161     objformat=`/usr/bin/objformat`
   10162   else
   10163     case $host_os in
   10164     freebsd[23].*) objformat=aout ;;
   10165     *) objformat=elf ;;
   10166     esac
   10167   fi
   10168   version_type=freebsd-$objformat
   10169   case $version_type in
   10170     freebsd-elf*)
   10171       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10172       need_version=no
   10173       need_lib_prefix=no
   10174       ;;
   10175     freebsd-*)
   10176       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10177       need_version=yes
   10178       ;;
   10179   esac
   10180   shlibpath_var=LD_LIBRARY_PATH
   10181   case $host_os in
   10182   freebsd2.*)
   10183     shlibpath_overrides_runpath=yes
   10184     ;;
   10185   freebsd3.[01]* | freebsdelf3.[01]*)
   10186     shlibpath_overrides_runpath=yes
   10187     hardcode_into_libs=yes
   10188     ;;
   10189   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10190   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10191     shlibpath_overrides_runpath=no
   10192     hardcode_into_libs=yes
   10193     ;;
   10194   *) # from 4.6 on, and DragonFly
   10195     shlibpath_overrides_runpath=yes
   10196     hardcode_into_libs=yes
   10197     ;;
   10198   esac
   10199   ;;
   10200 
   10201 gnu*)
   10202   version_type=linux # correct to gnu/linux during the next big refactor
   10203   need_lib_prefix=no
   10204   need_version=no
   10205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10206   soname_spec='${libname}${release}${shared_ext}$major'
   10207   shlibpath_var=LD_LIBRARY_PATH
   10208   shlibpath_overrides_runpath=no
   10209   hardcode_into_libs=yes
   10210   ;;
   10211 
   10212 haiku*)
   10213   version_type=linux # correct to gnu/linux during the next big refactor
   10214   need_lib_prefix=no
   10215   need_version=no
   10216   dynamic_linker="$host_os runtime_loader"
   10217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10218   soname_spec='${libname}${release}${shared_ext}$major'
   10219   shlibpath_var=LIBRARY_PATH
   10220   shlibpath_overrides_runpath=yes
   10221   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10222   hardcode_into_libs=yes
   10223   ;;
   10224 
   10225 hpux9* | hpux10* | hpux11*)
   10226   # Give a soname corresponding to the major version so that dld.sl refuses to
   10227   # link against other versions.
   10228   version_type=sunos
   10229   need_lib_prefix=no
   10230   need_version=no
   10231   case $host_cpu in
   10232   ia64*)
   10233     shrext_cmds='.so'
   10234     hardcode_into_libs=yes
   10235     dynamic_linker="$host_os dld.so"
   10236     shlibpath_var=LD_LIBRARY_PATH
   10237     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10238     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10239     soname_spec='${libname}${release}${shared_ext}$major'
   10240     if test "X$HPUX_IA64_MODE" = X32; then
   10241       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10242     else
   10243       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10244     fi
   10245     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10246     ;;
   10247   hppa*64*)
   10248     shrext_cmds='.sl'
   10249     hardcode_into_libs=yes
   10250     dynamic_linker="$host_os dld.sl"
   10251     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10252     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10253     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10254     soname_spec='${libname}${release}${shared_ext}$major'
   10255     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10256     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10257     ;;
   10258   *)
   10259     shrext_cmds='.sl'
   10260     dynamic_linker="$host_os dld.sl"
   10261     shlibpath_var=SHLIB_PATH
   10262     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10263     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10264     soname_spec='${libname}${release}${shared_ext}$major'
   10265     ;;
   10266   esac
   10267   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10268   postinstall_cmds='chmod 555 $lib'
   10269   # or fails outright, so override atomically:
   10270   install_override_mode=555
   10271   ;;
   10272 
   10273 interix[3-9]*)
   10274   version_type=linux # correct to gnu/linux during the next big refactor
   10275   need_lib_prefix=no
   10276   need_version=no
   10277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10278   soname_spec='${libname}${release}${shared_ext}$major'
   10279   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10280   shlibpath_var=LD_LIBRARY_PATH
   10281   shlibpath_overrides_runpath=no
   10282   hardcode_into_libs=yes
   10283   ;;
   10284 
   10285 irix5* | irix6* | nonstopux*)
   10286   case $host_os in
   10287     nonstopux*) version_type=nonstopux ;;
   10288     *)
   10289 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10290 		version_type=linux # correct to gnu/linux during the next big refactor
   10291 	else
   10292 		version_type=irix
   10293 	fi ;;
   10294   esac
   10295   need_lib_prefix=no
   10296   need_version=no
   10297   soname_spec='${libname}${release}${shared_ext}$major'
   10298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10299   case $host_os in
   10300   irix5* | nonstopux*)
   10301     libsuff= shlibsuff=
   10302     ;;
   10303   *)
   10304     case $LD in # libtool.m4 will add one of these switches to LD
   10305     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10306       libsuff= shlibsuff= libmagic=32-bit;;
   10307     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10308       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10309     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10310       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10311     *) libsuff= shlibsuff= libmagic=never-match;;
   10312     esac
   10313     ;;
   10314   esac
   10315   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10316   shlibpath_overrides_runpath=no
   10317   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10318   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10319   hardcode_into_libs=yes
   10320   ;;
   10321 
   10322 # No shared lib support for Linux oldld, aout, or coff.
   10323 linux*oldld* | linux*aout* | linux*coff*)
   10324   dynamic_linker=no
   10325   ;;
   10326 
   10327 # This must be glibc/ELF.
   10328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10329   version_type=linux # correct to gnu/linux during the next big refactor
   10330   need_lib_prefix=no
   10331   need_version=no
   10332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10333   soname_spec='${libname}${release}${shared_ext}$major'
   10334   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10335   shlibpath_var=LD_LIBRARY_PATH
   10336   shlibpath_overrides_runpath=no
   10337 
   10338   # Some binutils ld are patched to set DT_RUNPATH
   10339   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10340   $as_echo_n "(cached) " >&6
   10341 else
   10342   lt_cv_shlibpath_overrides_runpath=no
   10343     save_LDFLAGS=$LDFLAGS
   10344     save_libdir=$libdir
   10345     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10346 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10347     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10348 /* end confdefs.h.  */
   10349 
   10350 int
   10351 main ()
   10352 {
   10353 
   10354   ;
   10355   return 0;
   10356 }
   10357 _ACEOF
   10358 if ac_fn_c_try_link "$LINENO"; then :
   10359   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10360   lt_cv_shlibpath_overrides_runpath=yes
   10361 fi
   10362 fi
   10363 rm -f core conftest.err conftest.$ac_objext \
   10364     conftest$ac_exeext conftest.$ac_ext
   10365     LDFLAGS=$save_LDFLAGS
   10366     libdir=$save_libdir
   10367 
   10368 fi
   10369 
   10370   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10371 
   10372   # This implies no fast_install, which is unacceptable.
   10373   # Some rework will be needed to allow for fast_install
   10374   # before this can be enabled.
   10375   hardcode_into_libs=yes
   10376 
   10377   # Append ld.so.conf contents to the search path
   10378   if test -f /etc/ld.so.conf; then
   10379     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' ' '`
   10380     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10381   fi
   10382 
   10383   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10384   # powerpc, because MkLinux only supported shared libraries with the
   10385   # GNU dynamic linker.  Since this was broken with cross compilers,
   10386   # most powerpc-linux boxes support dynamic linking these days and
   10387   # people can always --disable-shared, the test was removed, and we
   10388   # assume the GNU/Linux dynamic linker is in use.
   10389   dynamic_linker='GNU/Linux ld.so'
   10390   ;;
   10391 
   10392 netbsd*)
   10393   version_type=sunos
   10394   need_lib_prefix=no
   10395   need_version=no
   10396   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10398     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10399     dynamic_linker='NetBSD (a.out) ld.so'
   10400   else
   10401     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10402     soname_spec='${libname}${release}${shared_ext}$major'
   10403     dynamic_linker='NetBSD ld.elf_so'
   10404   fi
   10405   shlibpath_var=LD_LIBRARY_PATH
   10406   shlibpath_overrides_runpath=yes
   10407   hardcode_into_libs=yes
   10408   ;;
   10409 
   10410 newsos6)
   10411   version_type=linux # correct to gnu/linux during the next big refactor
   10412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10413   shlibpath_var=LD_LIBRARY_PATH
   10414   shlibpath_overrides_runpath=yes
   10415   ;;
   10416 
   10417 *nto* | *qnx*)
   10418   version_type=qnx
   10419   need_lib_prefix=no
   10420   need_version=no
   10421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10422   soname_spec='${libname}${release}${shared_ext}$major'
   10423   shlibpath_var=LD_LIBRARY_PATH
   10424   shlibpath_overrides_runpath=no
   10425   hardcode_into_libs=yes
   10426   dynamic_linker='ldqnx.so'
   10427   ;;
   10428 
   10429 openbsd*)
   10430   version_type=sunos
   10431   sys_lib_dlsearch_path_spec="/usr/lib"
   10432   need_lib_prefix=no
   10433   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10434   case $host_os in
   10435     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10436     *)				need_version=no  ;;
   10437   esac
   10438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10439   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10440   shlibpath_var=LD_LIBRARY_PATH
   10441   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10442     case $host_os in
   10443       openbsd2.[89] | openbsd2.[89].*)
   10444 	shlibpath_overrides_runpath=no
   10445 	;;
   10446       *)
   10447 	shlibpath_overrides_runpath=yes
   10448 	;;
   10449       esac
   10450   else
   10451     shlibpath_overrides_runpath=yes
   10452   fi
   10453   ;;
   10454 
   10455 os2*)
   10456   libname_spec='$name'
   10457   shrext_cmds=".dll"
   10458   need_lib_prefix=no
   10459   library_names_spec='$libname${shared_ext} $libname.a'
   10460   dynamic_linker='OS/2 ld.exe'
   10461   shlibpath_var=LIBPATH
   10462   ;;
   10463 
   10464 osf3* | osf4* | osf5*)
   10465   version_type=osf
   10466   need_lib_prefix=no
   10467   need_version=no
   10468   soname_spec='${libname}${release}${shared_ext}$major'
   10469   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10470   shlibpath_var=LD_LIBRARY_PATH
   10471   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10472   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10473   ;;
   10474 
   10475 rdos*)
   10476   dynamic_linker=no
   10477   ;;
   10478 
   10479 solaris*)
   10480   version_type=linux # correct to gnu/linux during the next big refactor
   10481   need_lib_prefix=no
   10482   need_version=no
   10483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10484   soname_spec='${libname}${release}${shared_ext}$major'
   10485   shlibpath_var=LD_LIBRARY_PATH
   10486   shlibpath_overrides_runpath=yes
   10487   hardcode_into_libs=yes
   10488   # ldd complains unless libraries are executable
   10489   postinstall_cmds='chmod +x $lib'
   10490   ;;
   10491 
   10492 sunos4*)
   10493   version_type=sunos
   10494   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10495   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10496   shlibpath_var=LD_LIBRARY_PATH
   10497   shlibpath_overrides_runpath=yes
   10498   if test "$with_gnu_ld" = yes; then
   10499     need_lib_prefix=no
   10500   fi
   10501   need_version=yes
   10502   ;;
   10503 
   10504 sysv4 | sysv4.3*)
   10505   version_type=linux # correct to gnu/linux during the next big refactor
   10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10507   soname_spec='${libname}${release}${shared_ext}$major'
   10508   shlibpath_var=LD_LIBRARY_PATH
   10509   case $host_vendor in
   10510     sni)
   10511       shlibpath_overrides_runpath=no
   10512       need_lib_prefix=no
   10513       runpath_var=LD_RUN_PATH
   10514       ;;
   10515     siemens)
   10516       need_lib_prefix=no
   10517       ;;
   10518     motorola)
   10519       need_lib_prefix=no
   10520       need_version=no
   10521       shlibpath_overrides_runpath=no
   10522       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10523       ;;
   10524   esac
   10525   ;;
   10526 
   10527 sysv4*MP*)
   10528   if test -d /usr/nec ;then
   10529     version_type=linux # correct to gnu/linux during the next big refactor
   10530     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10531     soname_spec='$libname${shared_ext}.$major'
   10532     shlibpath_var=LD_LIBRARY_PATH
   10533   fi
   10534   ;;
   10535 
   10536 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10537   version_type=freebsd-elf
   10538   need_lib_prefix=no
   10539   need_version=no
   10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10541   soname_spec='${libname}${release}${shared_ext}$major'
   10542   shlibpath_var=LD_LIBRARY_PATH
   10543   shlibpath_overrides_runpath=yes
   10544   hardcode_into_libs=yes
   10545   if test "$with_gnu_ld" = yes; then
   10546     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10547   else
   10548     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10549     case $host_os in
   10550       sco3.2v5*)
   10551         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10552 	;;
   10553     esac
   10554   fi
   10555   sys_lib_dlsearch_path_spec='/usr/lib'
   10556   ;;
   10557 
   10558 tpf*)
   10559   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10560   version_type=linux # correct to gnu/linux during the next big refactor
   10561   need_lib_prefix=no
   10562   need_version=no
   10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10564   shlibpath_var=LD_LIBRARY_PATH
   10565   shlibpath_overrides_runpath=no
   10566   hardcode_into_libs=yes
   10567   ;;
   10568 
   10569 uts4*)
   10570   version_type=linux # correct to gnu/linux during the next big refactor
   10571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10572   soname_spec='${libname}${release}${shared_ext}$major'
   10573   shlibpath_var=LD_LIBRARY_PATH
   10574   ;;
   10575 
   10576 *)
   10577   dynamic_linker=no
   10578   ;;
   10579 esac
   10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10581 $as_echo "$dynamic_linker" >&6; }
   10582 test "$dynamic_linker" = no && can_build_shared=no
   10583 
   10584 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10585 if test "$GCC" = yes; then
   10586   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10587 fi
   10588 
   10589 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10590   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10591 fi
   10592 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10593   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10594 fi
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10688 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10689 hardcode_action=
   10690 if test -n "$hardcode_libdir_flag_spec" ||
   10691    test -n "$runpath_var" ||
   10692    test "X$hardcode_automatic" = "Xyes" ; then
   10693 
   10694   # We can hardcode non-existent directories.
   10695   if test "$hardcode_direct" != no &&
   10696      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10697      # have to relink, otherwise we might link with an installed library
   10698      # when we should be linking with a yet-to-be-installed one
   10699      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10700      test "$hardcode_minus_L" != no; then
   10701     # Linking always hardcodes the temporary library directory.
   10702     hardcode_action=relink
   10703   else
   10704     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10705     hardcode_action=immediate
   10706   fi
   10707 else
   10708   # We cannot hardcode anything, or else we can only hardcode existing
   10709   # directories.
   10710   hardcode_action=unsupported
   10711 fi
   10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10713 $as_echo "$hardcode_action" >&6; }
   10714 
   10715 if test "$hardcode_action" = relink ||
   10716    test "$inherit_rpath" = yes; then
   10717   # Fast installation is not supported
   10718   enable_fast_install=no
   10719 elif test "$shlibpath_overrides_runpath" = yes ||
   10720      test "$enable_shared" = no; then
   10721   # Fast installation is not necessary
   10722   enable_fast_install=needless
   10723 fi
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730   if test "x$enable_dlopen" != xyes; then
   10731   enable_dlopen=unknown
   10732   enable_dlopen_self=unknown
   10733   enable_dlopen_self_static=unknown
   10734 else
   10735   lt_cv_dlopen=no
   10736   lt_cv_dlopen_libs=
   10737 
   10738   case $host_os in
   10739   beos*)
   10740     lt_cv_dlopen="load_add_on"
   10741     lt_cv_dlopen_libs=
   10742     lt_cv_dlopen_self=yes
   10743     ;;
   10744 
   10745   mingw* | pw32* | cegcc*)
   10746     lt_cv_dlopen="LoadLibrary"
   10747     lt_cv_dlopen_libs=
   10748     ;;
   10749 
   10750   cygwin*)
   10751     lt_cv_dlopen="dlopen"
   10752     lt_cv_dlopen_libs=
   10753     ;;
   10754 
   10755   darwin*)
   10756   # if libdl is installed we need to link against it
   10757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10758 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10759 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10760   $as_echo_n "(cached) " >&6
   10761 else
   10762   ac_check_lib_save_LIBS=$LIBS
   10763 LIBS="-ldl  $LIBS"
   10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10765 /* end confdefs.h.  */
   10766 
   10767 /* Override any GCC internal prototype to avoid an error.
   10768    Use char because int might match the return type of a GCC
   10769    builtin and then its argument prototype would still apply.  */
   10770 #ifdef __cplusplus
   10771 extern "C"
   10772 #endif
   10773 char dlopen ();
   10774 int
   10775 main ()
   10776 {
   10777 return dlopen ();
   10778   ;
   10779   return 0;
   10780 }
   10781 _ACEOF
   10782 if ac_fn_c_try_link "$LINENO"; then :
   10783   ac_cv_lib_dl_dlopen=yes
   10784 else
   10785   ac_cv_lib_dl_dlopen=no
   10786 fi
   10787 rm -f core conftest.err conftest.$ac_objext \
   10788     conftest$ac_exeext conftest.$ac_ext
   10789 LIBS=$ac_check_lib_save_LIBS
   10790 fi
   10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10792 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10793 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10794   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10795 else
   10796 
   10797     lt_cv_dlopen="dyld"
   10798     lt_cv_dlopen_libs=
   10799     lt_cv_dlopen_self=yes
   10800 
   10801 fi
   10802 
   10803     ;;
   10804 
   10805   *)
   10806     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10807 if test "x$ac_cv_func_shl_load" = xyes; then :
   10808   lt_cv_dlopen="shl_load"
   10809 else
   10810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10811 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10812 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10813   $as_echo_n "(cached) " >&6
   10814 else
   10815   ac_check_lib_save_LIBS=$LIBS
   10816 LIBS="-ldld  $LIBS"
   10817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10818 /* end confdefs.h.  */
   10819 
   10820 /* Override any GCC internal prototype to avoid an error.
   10821    Use char because int might match the return type of a GCC
   10822    builtin and then its argument prototype would still apply.  */
   10823 #ifdef __cplusplus
   10824 extern "C"
   10825 #endif
   10826 char shl_load ();
   10827 int
   10828 main ()
   10829 {
   10830 return shl_load ();
   10831   ;
   10832   return 0;
   10833 }
   10834 _ACEOF
   10835 if ac_fn_c_try_link "$LINENO"; then :
   10836   ac_cv_lib_dld_shl_load=yes
   10837 else
   10838   ac_cv_lib_dld_shl_load=no
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext \
   10841     conftest$ac_exeext conftest.$ac_ext
   10842 LIBS=$ac_check_lib_save_LIBS
   10843 fi
   10844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10845 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10846 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10847   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10848 else
   10849   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10850 if test "x$ac_cv_func_dlopen" = xyes; then :
   10851   lt_cv_dlopen="dlopen"
   10852 else
   10853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10855 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10856   $as_echo_n "(cached) " >&6
   10857 else
   10858   ac_check_lib_save_LIBS=$LIBS
   10859 LIBS="-ldl  $LIBS"
   10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10861 /* end confdefs.h.  */
   10862 
   10863 /* Override any GCC internal prototype to avoid an error.
   10864    Use char because int might match the return type of a GCC
   10865    builtin and then its argument prototype would still apply.  */
   10866 #ifdef __cplusplus
   10867 extern "C"
   10868 #endif
   10869 char dlopen ();
   10870 int
   10871 main ()
   10872 {
   10873 return dlopen ();
   10874   ;
   10875   return 0;
   10876 }
   10877 _ACEOF
   10878 if ac_fn_c_try_link "$LINENO"; then :
   10879   ac_cv_lib_dl_dlopen=yes
   10880 else
   10881   ac_cv_lib_dl_dlopen=no
   10882 fi
   10883 rm -f core conftest.err conftest.$ac_objext \
   10884     conftest$ac_exeext conftest.$ac_ext
   10885 LIBS=$ac_check_lib_save_LIBS
   10886 fi
   10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10889 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10890   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10891 else
   10892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10893 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10894 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10895   $as_echo_n "(cached) " >&6
   10896 else
   10897   ac_check_lib_save_LIBS=$LIBS
   10898 LIBS="-lsvld  $LIBS"
   10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10900 /* end confdefs.h.  */
   10901 
   10902 /* Override any GCC internal prototype to avoid an error.
   10903    Use char because int might match the return type of a GCC
   10904    builtin and then its argument prototype would still apply.  */
   10905 #ifdef __cplusplus
   10906 extern "C"
   10907 #endif
   10908 char dlopen ();
   10909 int
   10910 main ()
   10911 {
   10912 return dlopen ();
   10913   ;
   10914   return 0;
   10915 }
   10916 _ACEOF
   10917 if ac_fn_c_try_link "$LINENO"; then :
   10918   ac_cv_lib_svld_dlopen=yes
   10919 else
   10920   ac_cv_lib_svld_dlopen=no
   10921 fi
   10922 rm -f core conftest.err conftest.$ac_objext \
   10923     conftest$ac_exeext conftest.$ac_ext
   10924 LIBS=$ac_check_lib_save_LIBS
   10925 fi
   10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10927 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10928 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10929   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10930 else
   10931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10932 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10933 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10934   $as_echo_n "(cached) " >&6
   10935 else
   10936   ac_check_lib_save_LIBS=$LIBS
   10937 LIBS="-ldld  $LIBS"
   10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10939 /* end confdefs.h.  */
   10940 
   10941 /* Override any GCC internal prototype to avoid an error.
   10942    Use char because int might match the return type of a GCC
   10943    builtin and then its argument prototype would still apply.  */
   10944 #ifdef __cplusplus
   10945 extern "C"
   10946 #endif
   10947 char dld_link ();
   10948 int
   10949 main ()
   10950 {
   10951 return dld_link ();
   10952   ;
   10953   return 0;
   10954 }
   10955 _ACEOF
   10956 if ac_fn_c_try_link "$LINENO"; then :
   10957   ac_cv_lib_dld_dld_link=yes
   10958 else
   10959   ac_cv_lib_dld_dld_link=no
   10960 fi
   10961 rm -f core conftest.err conftest.$ac_objext \
   10962     conftest$ac_exeext conftest.$ac_ext
   10963 LIBS=$ac_check_lib_save_LIBS
   10964 fi
   10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10966 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10967 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10968   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10969 fi
   10970 
   10971 
   10972 fi
   10973 
   10974 
   10975 fi
   10976 
   10977 
   10978 fi
   10979 
   10980 
   10981 fi
   10982 
   10983 
   10984 fi
   10985 
   10986     ;;
   10987   esac
   10988 
   10989   if test "x$lt_cv_dlopen" != xno; then
   10990     enable_dlopen=yes
   10991   else
   10992     enable_dlopen=no
   10993   fi
   10994 
   10995   case $lt_cv_dlopen in
   10996   dlopen)
   10997     save_CPPFLAGS="$CPPFLAGS"
   10998     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10999 
   11000     save_LDFLAGS="$LDFLAGS"
   11001     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11002 
   11003     save_LIBS="$LIBS"
   11004     LIBS="$lt_cv_dlopen_libs $LIBS"
   11005 
   11006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11007 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11008 if ${lt_cv_dlopen_self+:} false; then :
   11009   $as_echo_n "(cached) " >&6
   11010 else
   11011   	  if test "$cross_compiling" = yes; then :
   11012   lt_cv_dlopen_self=cross
   11013 else
   11014   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11015   lt_status=$lt_dlunknown
   11016   cat > conftest.$ac_ext <<_LT_EOF
   11017 #line $LINENO "configure"
   11018 #include "confdefs.h"
   11019 
   11020 #if HAVE_DLFCN_H
   11021 #include <dlfcn.h>
   11022 #endif
   11023 
   11024 #include <stdio.h>
   11025 
   11026 #ifdef RTLD_GLOBAL
   11027 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11028 #else
   11029 #  ifdef DL_GLOBAL
   11030 #    define LT_DLGLOBAL		DL_GLOBAL
   11031 #  else
   11032 #    define LT_DLGLOBAL		0
   11033 #  endif
   11034 #endif
   11035 
   11036 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11037    find out it does not work in some platform. */
   11038 #ifndef LT_DLLAZY_OR_NOW
   11039 #  ifdef RTLD_LAZY
   11040 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11041 #  else
   11042 #    ifdef DL_LAZY
   11043 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11044 #    else
   11045 #      ifdef RTLD_NOW
   11046 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11047 #      else
   11048 #        ifdef DL_NOW
   11049 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11050 #        else
   11051 #          define LT_DLLAZY_OR_NOW	0
   11052 #        endif
   11053 #      endif
   11054 #    endif
   11055 #  endif
   11056 #endif
   11057 
   11058 /* When -fvisbility=hidden is used, assume the code has been annotated
   11059    correspondingly for the symbols needed.  */
   11060 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11061 int fnord () __attribute__((visibility("default")));
   11062 #endif
   11063 
   11064 int fnord () { return 42; }
   11065 int main ()
   11066 {
   11067   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11068   int status = $lt_dlunknown;
   11069 
   11070   if (self)
   11071     {
   11072       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11073       else
   11074         {
   11075 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11076           else puts (dlerror ());
   11077 	}
   11078       /* dlclose (self); */
   11079     }
   11080   else
   11081     puts (dlerror ());
   11082 
   11083   return status;
   11084 }
   11085 _LT_EOF
   11086   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11087   (eval $ac_link) 2>&5
   11088   ac_status=$?
   11089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11090   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11091     (./conftest; exit; ) >&5 2>/dev/null
   11092     lt_status=$?
   11093     case x$lt_status in
   11094       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11095       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11096       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11097     esac
   11098   else :
   11099     # compilation failed
   11100     lt_cv_dlopen_self=no
   11101   fi
   11102 fi
   11103 rm -fr conftest*
   11104 
   11105 
   11106 fi
   11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11108 $as_echo "$lt_cv_dlopen_self" >&6; }
   11109 
   11110     if test "x$lt_cv_dlopen_self" = xyes; then
   11111       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11112       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11113 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11114 if ${lt_cv_dlopen_self_static+:} false; then :
   11115   $as_echo_n "(cached) " >&6
   11116 else
   11117   	  if test "$cross_compiling" = yes; then :
   11118   lt_cv_dlopen_self_static=cross
   11119 else
   11120   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11121   lt_status=$lt_dlunknown
   11122   cat > conftest.$ac_ext <<_LT_EOF
   11123 #line $LINENO "configure"
   11124 #include "confdefs.h"
   11125 
   11126 #if HAVE_DLFCN_H
   11127 #include <dlfcn.h>
   11128 #endif
   11129 
   11130 #include <stdio.h>
   11131 
   11132 #ifdef RTLD_GLOBAL
   11133 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11134 #else
   11135 #  ifdef DL_GLOBAL
   11136 #    define LT_DLGLOBAL		DL_GLOBAL
   11137 #  else
   11138 #    define LT_DLGLOBAL		0
   11139 #  endif
   11140 #endif
   11141 
   11142 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11143    find out it does not work in some platform. */
   11144 #ifndef LT_DLLAZY_OR_NOW
   11145 #  ifdef RTLD_LAZY
   11146 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11147 #  else
   11148 #    ifdef DL_LAZY
   11149 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11150 #    else
   11151 #      ifdef RTLD_NOW
   11152 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11153 #      else
   11154 #        ifdef DL_NOW
   11155 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11156 #        else
   11157 #          define LT_DLLAZY_OR_NOW	0
   11158 #        endif
   11159 #      endif
   11160 #    endif
   11161 #  endif
   11162 #endif
   11163 
   11164 /* When -fvisbility=hidden is used, assume the code has been annotated
   11165    correspondingly for the symbols needed.  */
   11166 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11167 int fnord () __attribute__((visibility("default")));
   11168 #endif
   11169 
   11170 int fnord () { return 42; }
   11171 int main ()
   11172 {
   11173   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11174   int status = $lt_dlunknown;
   11175 
   11176   if (self)
   11177     {
   11178       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11179       else
   11180         {
   11181 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11182           else puts (dlerror ());
   11183 	}
   11184       /* dlclose (self); */
   11185     }
   11186   else
   11187     puts (dlerror ());
   11188 
   11189   return status;
   11190 }
   11191 _LT_EOF
   11192   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11193   (eval $ac_link) 2>&5
   11194   ac_status=$?
   11195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11196   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11197     (./conftest; exit; ) >&5 2>/dev/null
   11198     lt_status=$?
   11199     case x$lt_status in
   11200       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11201       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11202       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11203     esac
   11204   else :
   11205     # compilation failed
   11206     lt_cv_dlopen_self_static=no
   11207   fi
   11208 fi
   11209 rm -fr conftest*
   11210 
   11211 
   11212 fi
   11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11214 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11215     fi
   11216 
   11217     CPPFLAGS="$save_CPPFLAGS"
   11218     LDFLAGS="$save_LDFLAGS"
   11219     LIBS="$save_LIBS"
   11220     ;;
   11221   esac
   11222 
   11223   case $lt_cv_dlopen_self in
   11224   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11225   *) enable_dlopen_self=unknown ;;
   11226   esac
   11227 
   11228   case $lt_cv_dlopen_self_static in
   11229   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11230   *) enable_dlopen_self_static=unknown ;;
   11231   esac
   11232 fi
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 striplib=
   11251 old_striplib=
   11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11253 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11254 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11255   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11256   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11258 $as_echo "yes" >&6; }
   11259 else
   11260 # FIXME - insert some real tests, host_os isn't really good enough
   11261   case $host_os in
   11262   darwin*)
   11263     if test -n "$STRIP" ; then
   11264       striplib="$STRIP -x"
   11265       old_striplib="$STRIP -S"
   11266       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11267 $as_echo "yes" >&6; }
   11268     else
   11269       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11270 $as_echo "no" >&6; }
   11271     fi
   11272     ;;
   11273   *)
   11274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11275 $as_echo "no" >&6; }
   11276     ;;
   11277   esac
   11278 fi
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291   # Report which library types will actually be built
   11292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11293 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11295 $as_echo "$can_build_shared" >&6; }
   11296 
   11297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11298 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11299   test "$can_build_shared" = "no" && enable_shared=no
   11300 
   11301   # On AIX, shared libraries and static libraries use the same namespace, and
   11302   # are all built from PIC.
   11303   case $host_os in
   11304   aix3*)
   11305     test "$enable_shared" = yes && enable_static=no
   11306     if test -n "$RANLIB"; then
   11307       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11308       postinstall_cmds='$RANLIB $lib'
   11309     fi
   11310     ;;
   11311 
   11312   aix[4-9]*)
   11313     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11314       test "$enable_shared" = yes && enable_static=no
   11315     fi
   11316     ;;
   11317   esac
   11318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11319 $as_echo "$enable_shared" >&6; }
   11320 
   11321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11322 $as_echo_n "checking whether to build static libraries... " >&6; }
   11323   # Make sure either enable_shared or enable_static is yes.
   11324   test "$enable_shared" = yes || enable_static=yes
   11325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11326 $as_echo "$enable_static" >&6; }
   11327 
   11328 
   11329 
   11330 
   11331 fi
   11332 ac_ext=c
   11333 ac_cpp='$CPP $CPPFLAGS'
   11334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11337 
   11338 CC="$lt_save_CC"
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354         ac_config_commands="$ac_config_commands libtool"
   11355 
   11356 
   11357 
   11358 
   11359 # Only expand once:
   11360 
   11361 
   11362 
   11363 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11376 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11377 if ${ac_cv_prog_cc_c99+:} false; then :
   11378   $as_echo_n "(cached) " >&6
   11379 else
   11380   ac_cv_prog_cc_c99=no
   11381 ac_save_CC=$CC
   11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11383 /* end confdefs.h.  */
   11384 #include <stdarg.h>
   11385 #include <stdbool.h>
   11386 #include <stdlib.h>
   11387 #include <wchar.h>
   11388 #include <stdio.h>
   11389 
   11390 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11391 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11392 #define showlist(...) puts (#__VA_ARGS__)
   11393 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11394 static void
   11395 test_varargs_macros (void)
   11396 {
   11397   int x = 1234;
   11398   int y = 5678;
   11399   debug ("Flag");
   11400   debug ("X = %d\n", x);
   11401   showlist (The first, second, and third items.);
   11402   report (x>y, "x is %d but y is %d", x, y);
   11403 }
   11404 
   11405 // Check long long types.
   11406 #define BIG64 18446744073709551615ull
   11407 #define BIG32 4294967295ul
   11408 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11409 #if !BIG_OK
   11410   your preprocessor is broken;
   11411 #endif
   11412 #if BIG_OK
   11413 #else
   11414   your preprocessor is broken;
   11415 #endif
   11416 static long long int bignum = -9223372036854775807LL;
   11417 static unsigned long long int ubignum = BIG64;
   11418 
   11419 struct incomplete_array
   11420 {
   11421   int datasize;
   11422   double data[];
   11423 };
   11424 
   11425 struct named_init {
   11426   int number;
   11427   const wchar_t *name;
   11428   double average;
   11429 };
   11430 
   11431 typedef const char *ccp;
   11432 
   11433 static inline int
   11434 test_restrict (ccp restrict text)
   11435 {
   11436   // See if C++-style comments work.
   11437   // Iterate through items via the restricted pointer.
   11438   // Also check for declarations in for loops.
   11439   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11440     continue;
   11441   return 0;
   11442 }
   11443 
   11444 // Check varargs and va_copy.
   11445 static void
   11446 test_varargs (const char *format, ...)
   11447 {
   11448   va_list args;
   11449   va_start (args, format);
   11450   va_list args_copy;
   11451   va_copy (args_copy, args);
   11452 
   11453   const char *str;
   11454   int number;
   11455   float fnumber;
   11456 
   11457   while (*format)
   11458     {
   11459       switch (*format++)
   11460 	{
   11461 	case 's': // string
   11462 	  str = va_arg (args_copy, const char *);
   11463 	  break;
   11464 	case 'd': // int
   11465 	  number = va_arg (args_copy, int);
   11466 	  break;
   11467 	case 'f': // float
   11468 	  fnumber = va_arg (args_copy, double);
   11469 	  break;
   11470 	default:
   11471 	  break;
   11472 	}
   11473     }
   11474   va_end (args_copy);
   11475   va_end (args);
   11476 }
   11477 
   11478 int
   11479 main ()
   11480 {
   11481 
   11482   // Check bool.
   11483   _Bool success = false;
   11484 
   11485   // Check restrict.
   11486   if (test_restrict ("String literal") == 0)
   11487     success = true;
   11488   char *restrict newvar = "Another string";
   11489 
   11490   // Check varargs.
   11491   test_varargs ("s, d' f .", "string", 65, 34.234);
   11492   test_varargs_macros ();
   11493 
   11494   // Check flexible array members.
   11495   struct incomplete_array *ia =
   11496     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11497   ia->datasize = 10;
   11498   for (int i = 0; i < ia->datasize; ++i)
   11499     ia->data[i] = i * 1.234;
   11500 
   11501   // Check named initializers.
   11502   struct named_init ni = {
   11503     .number = 34,
   11504     .name = L"Test wide string",
   11505     .average = 543.34343,
   11506   };
   11507 
   11508   ni.number = 58;
   11509 
   11510   int dynamic_array[ni.number];
   11511   dynamic_array[ni.number - 1] = 543;
   11512 
   11513   // work around unused variable warnings
   11514   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11515 	  || dynamic_array[ni.number - 1] != 543);
   11516 
   11517   ;
   11518   return 0;
   11519 }
   11520 _ACEOF
   11521 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11522 do
   11523   CC="$ac_save_CC $ac_arg"
   11524   if ac_fn_c_try_compile "$LINENO"; then :
   11525   ac_cv_prog_cc_c99=$ac_arg
   11526 fi
   11527 rm -f core conftest.err conftest.$ac_objext
   11528   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11529 done
   11530 rm -f conftest.$ac_ext
   11531 CC=$ac_save_CC
   11532 
   11533 fi
   11534 # AC_CACHE_VAL
   11535 case "x$ac_cv_prog_cc_c99" in
   11536   x)
   11537     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11538 $as_echo "none needed" >&6; } ;;
   11539   xno)
   11540     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11541 $as_echo "unsupported" >&6; } ;;
   11542   *)
   11543     CC="$CC $ac_cv_prog_cc_c99"
   11544     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11545 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11546 esac
   11547 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11548 
   11549 fi
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11557 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11558   CLANGCC="yes"
   11559 else
   11560   CLANGCC="no"
   11561 fi
   11562 
   11563 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11564 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11565   INTELCC="yes"
   11566 else
   11567   INTELCC="no"
   11568 fi
   11569 
   11570 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11571 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11572   SUNCC="yes"
   11573 else
   11574   SUNCC="no"
   11575 fi
   11576 
   11577 
   11578 
   11579 
   11580 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11581 	if test -n "$ac_tool_prefix"; then
   11582   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11583 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11585 $as_echo_n "checking for $ac_word... " >&6; }
   11586 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11587   $as_echo_n "(cached) " >&6
   11588 else
   11589   case $PKG_CONFIG in
   11590   [\\/]* | ?:[\\/]*)
   11591   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11592   ;;
   11593   *)
   11594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11595 for as_dir in $PATH
   11596 do
   11597   IFS=$as_save_IFS
   11598   test -z "$as_dir" && as_dir=.
   11599     for ac_exec_ext in '' $ac_executable_extensions; do
   11600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11601     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11603     break 2
   11604   fi
   11605 done
   11606   done
   11607 IFS=$as_save_IFS
   11608 
   11609   ;;
   11610 esac
   11611 fi
   11612 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11613 if test -n "$PKG_CONFIG"; then
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11615 $as_echo "$PKG_CONFIG" >&6; }
   11616 else
   11617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11618 $as_echo "no" >&6; }
   11619 fi
   11620 
   11621 
   11622 fi
   11623 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11624   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11625   # Extract the first word of "pkg-config", so it can be a program name with args.
   11626 set dummy pkg-config; ac_word=$2
   11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11628 $as_echo_n "checking for $ac_word... " >&6; }
   11629 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11630   $as_echo_n "(cached) " >&6
   11631 else
   11632   case $ac_pt_PKG_CONFIG in
   11633   [\\/]* | ?:[\\/]*)
   11634   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11635   ;;
   11636   *)
   11637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11638 for as_dir in $PATH
   11639 do
   11640   IFS=$as_save_IFS
   11641   test -z "$as_dir" && as_dir=.
   11642     for ac_exec_ext in '' $ac_executable_extensions; do
   11643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11644     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11646     break 2
   11647   fi
   11648 done
   11649   done
   11650 IFS=$as_save_IFS
   11651 
   11652   ;;
   11653 esac
   11654 fi
   11655 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11656 if test -n "$ac_pt_PKG_CONFIG"; then
   11657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11658 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11659 else
   11660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11661 $as_echo "no" >&6; }
   11662 fi
   11663 
   11664   if test "x$ac_pt_PKG_CONFIG" = x; then
   11665     PKG_CONFIG=""
   11666   else
   11667     case $cross_compiling:$ac_tool_warned in
   11668 yes:)
   11669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11671 ac_tool_warned=yes ;;
   11672 esac
   11673     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11674   fi
   11675 else
   11676   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11677 fi
   11678 
   11679 fi
   11680 if test -n "$PKG_CONFIG"; then
   11681 	_pkg_min_version=0.9.0
   11682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11683 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11684 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11686 $as_echo "yes" >&6; }
   11687 	else
   11688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11689 $as_echo "no" >&6; }
   11690 		PKG_CONFIG=""
   11691 	fi
   11692 
   11693 fi
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 # Check whether --enable-selective-werror was given.
   11700 if test "${enable_selective_werror+set}" = set; then :
   11701   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11702 else
   11703   SELECTIVE_WERROR=yes
   11704 fi
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11711 if test "x$SUNCC" = "xyes"; then
   11712     BASE_CFLAGS="-v"
   11713 else
   11714     BASE_CFLAGS=""
   11715 fi
   11716 
   11717 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 xorg_testset_save_CFLAGS="$CFLAGS"
   11732 
   11733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11738   $as_echo_n "(cached) " >&6
   11739 else
   11740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11741 /* end confdefs.h.  */
   11742 int i;
   11743 _ACEOF
   11744 if ac_fn_c_try_compile "$LINENO"; then :
   11745   xorg_cv_cc_flag_unknown_warning_option=yes
   11746 else
   11747   xorg_cv_cc_flag_unknown_warning_option=no
   11748 fi
   11749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11750 fi
   11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11754 	CFLAGS="$xorg_testset_save_CFLAGS"
   11755 fi
   11756 
   11757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11760 	fi
   11761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11765   $as_echo_n "(cached) " >&6
   11766 else
   11767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11768 /* end confdefs.h.  */
   11769 int i;
   11770 _ACEOF
   11771 if ac_fn_c_try_compile "$LINENO"; then :
   11772   xorg_cv_cc_flag_unused_command_line_argument=yes
   11773 else
   11774   xorg_cv_cc_flag_unused_command_line_argument=no
   11775 fi
   11776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11777 fi
   11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11781 	CFLAGS="$xorg_testset_save_CFLAGS"
   11782 fi
   11783 
   11784 found="no"
   11785 
   11786 	if test $found = "no" ; then
   11787 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11789 		fi
   11790 
   11791 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11793 		fi
   11794 
   11795 		CFLAGS="$CFLAGS -Wall"
   11796 
   11797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11798 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11799 		cacheid=xorg_cv_cc_flag__Wall
   11800 		if eval \${$cacheid+:} false; then :
   11801   $as_echo_n "(cached) " >&6
   11802 else
   11803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11804 /* end confdefs.h.  */
   11805 int i;
   11806 int
   11807 main ()
   11808 {
   11809 
   11810   ;
   11811   return 0;
   11812 }
   11813 _ACEOF
   11814 if ac_fn_c_try_link "$LINENO"; then :
   11815   eval $cacheid=yes
   11816 else
   11817   eval $cacheid=no
   11818 fi
   11819 rm -f core conftest.err conftest.$ac_objext \
   11820     conftest$ac_exeext conftest.$ac_ext
   11821 fi
   11822 
   11823 
   11824 		CFLAGS="$xorg_testset_save_CFLAGS"
   11825 
   11826 		eval supported=\$$cacheid
   11827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11828 $as_echo "$supported" >&6; }
   11829 		if test "$supported" = "yes" ; then
   11830 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11831 			found="yes"
   11832 		fi
   11833 	fi
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 xorg_testset_save_CFLAGS="$CFLAGS"
   11850 
   11851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11854 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11855 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11856   $as_echo_n "(cached) " >&6
   11857 else
   11858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11859 /* end confdefs.h.  */
   11860 int i;
   11861 _ACEOF
   11862 if ac_fn_c_try_compile "$LINENO"; then :
   11863   xorg_cv_cc_flag_unknown_warning_option=yes
   11864 else
   11865   xorg_cv_cc_flag_unknown_warning_option=no
   11866 fi
   11867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11868 fi
   11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11870 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11872 	CFLAGS="$xorg_testset_save_CFLAGS"
   11873 fi
   11874 
   11875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11878 	fi
   11879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11881 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11882 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11883   $as_echo_n "(cached) " >&6
   11884 else
   11885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11886 /* end confdefs.h.  */
   11887 int i;
   11888 _ACEOF
   11889 if ac_fn_c_try_compile "$LINENO"; then :
   11890   xorg_cv_cc_flag_unused_command_line_argument=yes
   11891 else
   11892   xorg_cv_cc_flag_unused_command_line_argument=no
   11893 fi
   11894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11895 fi
   11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11897 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11899 	CFLAGS="$xorg_testset_save_CFLAGS"
   11900 fi
   11901 
   11902 found="no"
   11903 
   11904 	if test $found = "no" ; then
   11905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11907 		fi
   11908 
   11909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11911 		fi
   11912 
   11913 		CFLAGS="$CFLAGS -Wpointer-arith"
   11914 
   11915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11916 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11917 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11918 		if eval \${$cacheid+:} false; then :
   11919   $as_echo_n "(cached) " >&6
   11920 else
   11921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11922 /* end confdefs.h.  */
   11923 int i;
   11924 int
   11925 main ()
   11926 {
   11927 
   11928   ;
   11929   return 0;
   11930 }
   11931 _ACEOF
   11932 if ac_fn_c_try_link "$LINENO"; then :
   11933   eval $cacheid=yes
   11934 else
   11935   eval $cacheid=no
   11936 fi
   11937 rm -f core conftest.err conftest.$ac_objext \
   11938     conftest$ac_exeext conftest.$ac_ext
   11939 fi
   11940 
   11941 
   11942 		CFLAGS="$xorg_testset_save_CFLAGS"
   11943 
   11944 		eval supported=\$$cacheid
   11945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11946 $as_echo "$supported" >&6; }
   11947 		if test "$supported" = "yes" ; then
   11948 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11949 			found="yes"
   11950 		fi
   11951 	fi
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 xorg_testset_save_CFLAGS="$CFLAGS"
   11968 
   11969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11974   $as_echo_n "(cached) " >&6
   11975 else
   11976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11977 /* end confdefs.h.  */
   11978 int i;
   11979 _ACEOF
   11980 if ac_fn_c_try_compile "$LINENO"; then :
   11981   xorg_cv_cc_flag_unknown_warning_option=yes
   11982 else
   11983   xorg_cv_cc_flag_unknown_warning_option=no
   11984 fi
   11985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11986 fi
   11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11990 	CFLAGS="$xorg_testset_save_CFLAGS"
   11991 fi
   11992 
   11993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11996 	fi
   11997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12001   $as_echo_n "(cached) " >&6
   12002 else
   12003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12004 /* end confdefs.h.  */
   12005 int i;
   12006 _ACEOF
   12007 if ac_fn_c_try_compile "$LINENO"; then :
   12008   xorg_cv_cc_flag_unused_command_line_argument=yes
   12009 else
   12010   xorg_cv_cc_flag_unused_command_line_argument=no
   12011 fi
   12012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12013 fi
   12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12017 	CFLAGS="$xorg_testset_save_CFLAGS"
   12018 fi
   12019 
   12020 found="no"
   12021 
   12022 	if test $found = "no" ; then
   12023 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12025 		fi
   12026 
   12027 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12029 		fi
   12030 
   12031 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12032 
   12033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12034 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12035 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12036 		if eval \${$cacheid+:} false; then :
   12037   $as_echo_n "(cached) " >&6
   12038 else
   12039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12040 /* end confdefs.h.  */
   12041 int i;
   12042 int
   12043 main ()
   12044 {
   12045 
   12046   ;
   12047   return 0;
   12048 }
   12049 _ACEOF
   12050 if ac_fn_c_try_link "$LINENO"; then :
   12051   eval $cacheid=yes
   12052 else
   12053   eval $cacheid=no
   12054 fi
   12055 rm -f core conftest.err conftest.$ac_objext \
   12056     conftest$ac_exeext conftest.$ac_ext
   12057 fi
   12058 
   12059 
   12060 		CFLAGS="$xorg_testset_save_CFLAGS"
   12061 
   12062 		eval supported=\$$cacheid
   12063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12064 $as_echo "$supported" >&6; }
   12065 		if test "$supported" = "yes" ; then
   12066 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12067 			found="yes"
   12068 		fi
   12069 	fi
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 xorg_testset_save_CFLAGS="$CFLAGS"
   12086 
   12087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12092   $as_echo_n "(cached) " >&6
   12093 else
   12094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12095 /* end confdefs.h.  */
   12096 int i;
   12097 _ACEOF
   12098 if ac_fn_c_try_compile "$LINENO"; then :
   12099   xorg_cv_cc_flag_unknown_warning_option=yes
   12100 else
   12101   xorg_cv_cc_flag_unknown_warning_option=no
   12102 fi
   12103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12104 fi
   12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12108 	CFLAGS="$xorg_testset_save_CFLAGS"
   12109 fi
   12110 
   12111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12114 	fi
   12115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12119   $as_echo_n "(cached) " >&6
   12120 else
   12121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12122 /* end confdefs.h.  */
   12123 int i;
   12124 _ACEOF
   12125 if ac_fn_c_try_compile "$LINENO"; then :
   12126   xorg_cv_cc_flag_unused_command_line_argument=yes
   12127 else
   12128   xorg_cv_cc_flag_unused_command_line_argument=no
   12129 fi
   12130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12131 fi
   12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12135 	CFLAGS="$xorg_testset_save_CFLAGS"
   12136 fi
   12137 
   12138 found="no"
   12139 
   12140 	if test $found = "no" ; then
   12141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12143 		fi
   12144 
   12145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12147 		fi
   12148 
   12149 		CFLAGS="$CFLAGS -Wformat=2"
   12150 
   12151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12152 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12153 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12154 		if eval \${$cacheid+:} false; then :
   12155   $as_echo_n "(cached) " >&6
   12156 else
   12157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12158 /* end confdefs.h.  */
   12159 int i;
   12160 int
   12161 main ()
   12162 {
   12163 
   12164   ;
   12165   return 0;
   12166 }
   12167 _ACEOF
   12168 if ac_fn_c_try_link "$LINENO"; then :
   12169   eval $cacheid=yes
   12170 else
   12171   eval $cacheid=no
   12172 fi
   12173 rm -f core conftest.err conftest.$ac_objext \
   12174     conftest$ac_exeext conftest.$ac_ext
   12175 fi
   12176 
   12177 
   12178 		CFLAGS="$xorg_testset_save_CFLAGS"
   12179 
   12180 		eval supported=\$$cacheid
   12181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12182 $as_echo "$supported" >&6; }
   12183 		if test "$supported" = "yes" ; then
   12184 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12185 			found="yes"
   12186 		fi
   12187 	fi
   12188 
   12189 	if test $found = "no" ; then
   12190 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12192 		fi
   12193 
   12194 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12196 		fi
   12197 
   12198 		CFLAGS="$CFLAGS -Wformat"
   12199 
   12200 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12201 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12202 		cacheid=xorg_cv_cc_flag__Wformat
   12203 		if eval \${$cacheid+:} false; then :
   12204   $as_echo_n "(cached) " >&6
   12205 else
   12206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12207 /* end confdefs.h.  */
   12208 int i;
   12209 int
   12210 main ()
   12211 {
   12212 
   12213   ;
   12214   return 0;
   12215 }
   12216 _ACEOF
   12217 if ac_fn_c_try_link "$LINENO"; then :
   12218   eval $cacheid=yes
   12219 else
   12220   eval $cacheid=no
   12221 fi
   12222 rm -f core conftest.err conftest.$ac_objext \
   12223     conftest$ac_exeext conftest.$ac_ext
   12224 fi
   12225 
   12226 
   12227 		CFLAGS="$xorg_testset_save_CFLAGS"
   12228 
   12229 		eval supported=\$$cacheid
   12230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12231 $as_echo "$supported" >&6; }
   12232 		if test "$supported" = "yes" ; then
   12233 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12234 			found="yes"
   12235 		fi
   12236 	fi
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 xorg_testset_save_CFLAGS="$CFLAGS"
   12255 
   12256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12259 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12260 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12261   $as_echo_n "(cached) " >&6
   12262 else
   12263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12264 /* end confdefs.h.  */
   12265 int i;
   12266 _ACEOF
   12267 if ac_fn_c_try_compile "$LINENO"; then :
   12268   xorg_cv_cc_flag_unknown_warning_option=yes
   12269 else
   12270   xorg_cv_cc_flag_unknown_warning_option=no
   12271 fi
   12272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12273 fi
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12275 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12276 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12277 	CFLAGS="$xorg_testset_save_CFLAGS"
   12278 fi
   12279 
   12280 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12281 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12282 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12283 	fi
   12284 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12286 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12287 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12288   $as_echo_n "(cached) " >&6
   12289 else
   12290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12291 /* end confdefs.h.  */
   12292 int i;
   12293 _ACEOF
   12294 if ac_fn_c_try_compile "$LINENO"; then :
   12295   xorg_cv_cc_flag_unused_command_line_argument=yes
   12296 else
   12297   xorg_cv_cc_flag_unused_command_line_argument=no
   12298 fi
   12299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12300 fi
   12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12302 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12303 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12304 	CFLAGS="$xorg_testset_save_CFLAGS"
   12305 fi
   12306 
   12307 found="no"
   12308 
   12309 	if test $found = "no" ; then
   12310 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12311 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12312 		fi
   12313 
   12314 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12315 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12316 		fi
   12317 
   12318 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12319 
   12320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12321 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12322 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12323 		if eval \${$cacheid+:} false; then :
   12324   $as_echo_n "(cached) " >&6
   12325 else
   12326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12327 /* end confdefs.h.  */
   12328 int i;
   12329 int
   12330 main ()
   12331 {
   12332 
   12333   ;
   12334   return 0;
   12335 }
   12336 _ACEOF
   12337 if ac_fn_c_try_link "$LINENO"; then :
   12338   eval $cacheid=yes
   12339 else
   12340   eval $cacheid=no
   12341 fi
   12342 rm -f core conftest.err conftest.$ac_objext \
   12343     conftest$ac_exeext conftest.$ac_ext
   12344 fi
   12345 
   12346 
   12347 		CFLAGS="$xorg_testset_save_CFLAGS"
   12348 
   12349 		eval supported=\$$cacheid
   12350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12351 $as_echo "$supported" >&6; }
   12352 		if test "$supported" = "yes" ; then
   12353 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12354 			found="yes"
   12355 		fi
   12356 	fi
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 xorg_testset_save_CFLAGS="$CFLAGS"
   12373 
   12374 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12375 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12377 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12378 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12379   $as_echo_n "(cached) " >&6
   12380 else
   12381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12382 /* end confdefs.h.  */
   12383 int i;
   12384 _ACEOF
   12385 if ac_fn_c_try_compile "$LINENO"; then :
   12386   xorg_cv_cc_flag_unknown_warning_option=yes
   12387 else
   12388   xorg_cv_cc_flag_unknown_warning_option=no
   12389 fi
   12390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12391 fi
   12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12393 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12395 	CFLAGS="$xorg_testset_save_CFLAGS"
   12396 fi
   12397 
   12398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12401 	fi
   12402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12404 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12405 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12406   $as_echo_n "(cached) " >&6
   12407 else
   12408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12409 /* end confdefs.h.  */
   12410 int i;
   12411 _ACEOF
   12412 if ac_fn_c_try_compile "$LINENO"; then :
   12413   xorg_cv_cc_flag_unused_command_line_argument=yes
   12414 else
   12415   xorg_cv_cc_flag_unused_command_line_argument=no
   12416 fi
   12417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12418 fi
   12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12420 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12422 	CFLAGS="$xorg_testset_save_CFLAGS"
   12423 fi
   12424 
   12425 found="no"
   12426 
   12427 	if test $found = "no" ; then
   12428 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12430 		fi
   12431 
   12432 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12434 		fi
   12435 
   12436 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12437 
   12438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12439 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12440 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12441 		if eval \${$cacheid+:} false; then :
   12442   $as_echo_n "(cached) " >&6
   12443 else
   12444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12445 /* end confdefs.h.  */
   12446 int i;
   12447 int
   12448 main ()
   12449 {
   12450 
   12451   ;
   12452   return 0;
   12453 }
   12454 _ACEOF
   12455 if ac_fn_c_try_link "$LINENO"; then :
   12456   eval $cacheid=yes
   12457 else
   12458   eval $cacheid=no
   12459 fi
   12460 rm -f core conftest.err conftest.$ac_objext \
   12461     conftest$ac_exeext conftest.$ac_ext
   12462 fi
   12463 
   12464 
   12465 		CFLAGS="$xorg_testset_save_CFLAGS"
   12466 
   12467 		eval supported=\$$cacheid
   12468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12469 $as_echo "$supported" >&6; }
   12470 		if test "$supported" = "yes" ; then
   12471 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12472 			found="yes"
   12473 		fi
   12474 	fi
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 xorg_testset_save_CFLAGS="$CFLAGS"
   12491 
   12492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12494 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12495 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12496 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12497   $as_echo_n "(cached) " >&6
   12498 else
   12499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12500 /* end confdefs.h.  */
   12501 int i;
   12502 _ACEOF
   12503 if ac_fn_c_try_compile "$LINENO"; then :
   12504   xorg_cv_cc_flag_unknown_warning_option=yes
   12505 else
   12506   xorg_cv_cc_flag_unknown_warning_option=no
   12507 fi
   12508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12509 fi
   12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12511 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12512 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12513 	CFLAGS="$xorg_testset_save_CFLAGS"
   12514 fi
   12515 
   12516 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12517 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12518 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12519 	fi
   12520 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12522 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12523 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12524   $as_echo_n "(cached) " >&6
   12525 else
   12526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12527 /* end confdefs.h.  */
   12528 int i;
   12529 _ACEOF
   12530 if ac_fn_c_try_compile "$LINENO"; then :
   12531   xorg_cv_cc_flag_unused_command_line_argument=yes
   12532 else
   12533   xorg_cv_cc_flag_unused_command_line_argument=no
   12534 fi
   12535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12536 fi
   12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12538 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12540 	CFLAGS="$xorg_testset_save_CFLAGS"
   12541 fi
   12542 
   12543 found="no"
   12544 
   12545 	if test $found = "no" ; then
   12546 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12548 		fi
   12549 
   12550 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12552 		fi
   12553 
   12554 		CFLAGS="$CFLAGS -Wnested-externs"
   12555 
   12556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12557 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12558 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12559 		if eval \${$cacheid+:} false; then :
   12560   $as_echo_n "(cached) " >&6
   12561 else
   12562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12563 /* end confdefs.h.  */
   12564 int i;
   12565 int
   12566 main ()
   12567 {
   12568 
   12569   ;
   12570   return 0;
   12571 }
   12572 _ACEOF
   12573 if ac_fn_c_try_link "$LINENO"; then :
   12574   eval $cacheid=yes
   12575 else
   12576   eval $cacheid=no
   12577 fi
   12578 rm -f core conftest.err conftest.$ac_objext \
   12579     conftest$ac_exeext conftest.$ac_ext
   12580 fi
   12581 
   12582 
   12583 		CFLAGS="$xorg_testset_save_CFLAGS"
   12584 
   12585 		eval supported=\$$cacheid
   12586 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12587 $as_echo "$supported" >&6; }
   12588 		if test "$supported" = "yes" ; then
   12589 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12590 			found="yes"
   12591 		fi
   12592 	fi
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 xorg_testset_save_CFLAGS="$CFLAGS"
   12609 
   12610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12615   $as_echo_n "(cached) " >&6
   12616 else
   12617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12618 /* end confdefs.h.  */
   12619 int i;
   12620 _ACEOF
   12621 if ac_fn_c_try_compile "$LINENO"; then :
   12622   xorg_cv_cc_flag_unknown_warning_option=yes
   12623 else
   12624   xorg_cv_cc_flag_unknown_warning_option=no
   12625 fi
   12626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12627 fi
   12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12630 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12631 	CFLAGS="$xorg_testset_save_CFLAGS"
   12632 fi
   12633 
   12634 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12635 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12637 	fi
   12638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12642   $as_echo_n "(cached) " >&6
   12643 else
   12644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12645 /* end confdefs.h.  */
   12646 int i;
   12647 _ACEOF
   12648 if ac_fn_c_try_compile "$LINENO"; then :
   12649   xorg_cv_cc_flag_unused_command_line_argument=yes
   12650 else
   12651   xorg_cv_cc_flag_unused_command_line_argument=no
   12652 fi
   12653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12654 fi
   12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12657 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12658 	CFLAGS="$xorg_testset_save_CFLAGS"
   12659 fi
   12660 
   12661 found="no"
   12662 
   12663 	if test $found = "no" ; then
   12664 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12666 		fi
   12667 
   12668 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12670 		fi
   12671 
   12672 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12673 
   12674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12675 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12676 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12677 		if eval \${$cacheid+:} false; then :
   12678   $as_echo_n "(cached) " >&6
   12679 else
   12680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12681 /* end confdefs.h.  */
   12682 int i;
   12683 int
   12684 main ()
   12685 {
   12686 
   12687   ;
   12688   return 0;
   12689 }
   12690 _ACEOF
   12691 if ac_fn_c_try_link "$LINENO"; then :
   12692   eval $cacheid=yes
   12693 else
   12694   eval $cacheid=no
   12695 fi
   12696 rm -f core conftest.err conftest.$ac_objext \
   12697     conftest$ac_exeext conftest.$ac_ext
   12698 fi
   12699 
   12700 
   12701 		CFLAGS="$xorg_testset_save_CFLAGS"
   12702 
   12703 		eval supported=\$$cacheid
   12704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12705 $as_echo "$supported" >&6; }
   12706 		if test "$supported" = "yes" ; then
   12707 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12708 			found="yes"
   12709 		fi
   12710 	fi
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 xorg_testset_save_CFLAGS="$CFLAGS"
   12727 
   12728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12733   $as_echo_n "(cached) " >&6
   12734 else
   12735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12736 /* end confdefs.h.  */
   12737 int i;
   12738 _ACEOF
   12739 if ac_fn_c_try_compile "$LINENO"; then :
   12740   xorg_cv_cc_flag_unknown_warning_option=yes
   12741 else
   12742   xorg_cv_cc_flag_unknown_warning_option=no
   12743 fi
   12744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12745 fi
   12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12749 	CFLAGS="$xorg_testset_save_CFLAGS"
   12750 fi
   12751 
   12752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12755 	fi
   12756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12760   $as_echo_n "(cached) " >&6
   12761 else
   12762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12763 /* end confdefs.h.  */
   12764 int i;
   12765 _ACEOF
   12766 if ac_fn_c_try_compile "$LINENO"; then :
   12767   xorg_cv_cc_flag_unused_command_line_argument=yes
   12768 else
   12769   xorg_cv_cc_flag_unused_command_line_argument=no
   12770 fi
   12771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12772 fi
   12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12776 	CFLAGS="$xorg_testset_save_CFLAGS"
   12777 fi
   12778 
   12779 found="no"
   12780 
   12781 	if test $found = "no" ; then
   12782 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12784 		fi
   12785 
   12786 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12788 		fi
   12789 
   12790 		CFLAGS="$CFLAGS -Wold-style-definition"
   12791 
   12792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12793 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12794 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12795 		if eval \${$cacheid+:} false; then :
   12796   $as_echo_n "(cached) " >&6
   12797 else
   12798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12799 /* end confdefs.h.  */
   12800 int i;
   12801 int
   12802 main ()
   12803 {
   12804 
   12805   ;
   12806   return 0;
   12807 }
   12808 _ACEOF
   12809 if ac_fn_c_try_link "$LINENO"; then :
   12810   eval $cacheid=yes
   12811 else
   12812   eval $cacheid=no
   12813 fi
   12814 rm -f core conftest.err conftest.$ac_objext \
   12815     conftest$ac_exeext conftest.$ac_ext
   12816 fi
   12817 
   12818 
   12819 		CFLAGS="$xorg_testset_save_CFLAGS"
   12820 
   12821 		eval supported=\$$cacheid
   12822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12823 $as_echo "$supported" >&6; }
   12824 		if test "$supported" = "yes" ; then
   12825 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12826 			found="yes"
   12827 		fi
   12828 	fi
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 xorg_testset_save_CFLAGS="$CFLAGS"
   12845 
   12846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12851   $as_echo_n "(cached) " >&6
   12852 else
   12853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12854 /* end confdefs.h.  */
   12855 int i;
   12856 _ACEOF
   12857 if ac_fn_c_try_compile "$LINENO"; then :
   12858   xorg_cv_cc_flag_unknown_warning_option=yes
   12859 else
   12860   xorg_cv_cc_flag_unknown_warning_option=no
   12861 fi
   12862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12863 fi
   12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12867 	CFLAGS="$xorg_testset_save_CFLAGS"
   12868 fi
   12869 
   12870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12873 	fi
   12874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12878   $as_echo_n "(cached) " >&6
   12879 else
   12880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12881 /* end confdefs.h.  */
   12882 int i;
   12883 _ACEOF
   12884 if ac_fn_c_try_compile "$LINENO"; then :
   12885   xorg_cv_cc_flag_unused_command_line_argument=yes
   12886 else
   12887   xorg_cv_cc_flag_unused_command_line_argument=no
   12888 fi
   12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12890 fi
   12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12894 	CFLAGS="$xorg_testset_save_CFLAGS"
   12895 fi
   12896 
   12897 found="no"
   12898 
   12899 	if test $found = "no" ; then
   12900 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12902 		fi
   12903 
   12904 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12906 		fi
   12907 
   12908 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12909 
   12910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12911 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12912 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12913 		if eval \${$cacheid+:} false; then :
   12914   $as_echo_n "(cached) " >&6
   12915 else
   12916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12917 /* end confdefs.h.  */
   12918 int i;
   12919 int
   12920 main ()
   12921 {
   12922 
   12923   ;
   12924   return 0;
   12925 }
   12926 _ACEOF
   12927 if ac_fn_c_try_link "$LINENO"; then :
   12928   eval $cacheid=yes
   12929 else
   12930   eval $cacheid=no
   12931 fi
   12932 rm -f core conftest.err conftest.$ac_objext \
   12933     conftest$ac_exeext conftest.$ac_ext
   12934 fi
   12935 
   12936 
   12937 		CFLAGS="$xorg_testset_save_CFLAGS"
   12938 
   12939 		eval supported=\$$cacheid
   12940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12941 $as_echo "$supported" >&6; }
   12942 		if test "$supported" = "yes" ; then
   12943 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12944 			found="yes"
   12945 		fi
   12946 	fi
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 # This chunk adds additional warnings that could catch undesired effects.
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 xorg_testset_save_CFLAGS="$CFLAGS"
   12967 
   12968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12973   $as_echo_n "(cached) " >&6
   12974 else
   12975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12976 /* end confdefs.h.  */
   12977 int i;
   12978 _ACEOF
   12979 if ac_fn_c_try_compile "$LINENO"; then :
   12980   xorg_cv_cc_flag_unknown_warning_option=yes
   12981 else
   12982   xorg_cv_cc_flag_unknown_warning_option=no
   12983 fi
   12984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12985 fi
   12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12989 	CFLAGS="$xorg_testset_save_CFLAGS"
   12990 fi
   12991 
   12992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12995 	fi
   12996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13000   $as_echo_n "(cached) " >&6
   13001 else
   13002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13003 /* end confdefs.h.  */
   13004 int i;
   13005 _ACEOF
   13006 if ac_fn_c_try_compile "$LINENO"; then :
   13007   xorg_cv_cc_flag_unused_command_line_argument=yes
   13008 else
   13009   xorg_cv_cc_flag_unused_command_line_argument=no
   13010 fi
   13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13012 fi
   13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13016 	CFLAGS="$xorg_testset_save_CFLAGS"
   13017 fi
   13018 
   13019 found="no"
   13020 
   13021 	if test $found = "no" ; then
   13022 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13024 		fi
   13025 
   13026 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13028 		fi
   13029 
   13030 		CFLAGS="$CFLAGS -Wunused"
   13031 
   13032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13033 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13034 		cacheid=xorg_cv_cc_flag__Wunused
   13035 		if eval \${$cacheid+:} false; then :
   13036   $as_echo_n "(cached) " >&6
   13037 else
   13038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13039 /* end confdefs.h.  */
   13040 int i;
   13041 int
   13042 main ()
   13043 {
   13044 
   13045   ;
   13046   return 0;
   13047 }
   13048 _ACEOF
   13049 if ac_fn_c_try_link "$LINENO"; then :
   13050   eval $cacheid=yes
   13051 else
   13052   eval $cacheid=no
   13053 fi
   13054 rm -f core conftest.err conftest.$ac_objext \
   13055     conftest$ac_exeext conftest.$ac_ext
   13056 fi
   13057 
   13058 
   13059 		CFLAGS="$xorg_testset_save_CFLAGS"
   13060 
   13061 		eval supported=\$$cacheid
   13062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13063 $as_echo "$supported" >&6; }
   13064 		if test "$supported" = "yes" ; then
   13065 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13066 			found="yes"
   13067 		fi
   13068 	fi
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 xorg_testset_save_CFLAGS="$CFLAGS"
   13085 
   13086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13091   $as_echo_n "(cached) " >&6
   13092 else
   13093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13094 /* end confdefs.h.  */
   13095 int i;
   13096 _ACEOF
   13097 if ac_fn_c_try_compile "$LINENO"; then :
   13098   xorg_cv_cc_flag_unknown_warning_option=yes
   13099 else
   13100   xorg_cv_cc_flag_unknown_warning_option=no
   13101 fi
   13102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13103 fi
   13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13107 	CFLAGS="$xorg_testset_save_CFLAGS"
   13108 fi
   13109 
   13110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13113 	fi
   13114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13118   $as_echo_n "(cached) " >&6
   13119 else
   13120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13121 /* end confdefs.h.  */
   13122 int i;
   13123 _ACEOF
   13124 if ac_fn_c_try_compile "$LINENO"; then :
   13125   xorg_cv_cc_flag_unused_command_line_argument=yes
   13126 else
   13127   xorg_cv_cc_flag_unused_command_line_argument=no
   13128 fi
   13129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13130 fi
   13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13134 	CFLAGS="$xorg_testset_save_CFLAGS"
   13135 fi
   13136 
   13137 found="no"
   13138 
   13139 	if test $found = "no" ; then
   13140 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13142 		fi
   13143 
   13144 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13146 		fi
   13147 
   13148 		CFLAGS="$CFLAGS -Wuninitialized"
   13149 
   13150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13151 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13152 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13153 		if eval \${$cacheid+:} false; then :
   13154   $as_echo_n "(cached) " >&6
   13155 else
   13156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13157 /* end confdefs.h.  */
   13158 int i;
   13159 int
   13160 main ()
   13161 {
   13162 
   13163   ;
   13164   return 0;
   13165 }
   13166 _ACEOF
   13167 if ac_fn_c_try_link "$LINENO"; then :
   13168   eval $cacheid=yes
   13169 else
   13170   eval $cacheid=no
   13171 fi
   13172 rm -f core conftest.err conftest.$ac_objext \
   13173     conftest$ac_exeext conftest.$ac_ext
   13174 fi
   13175 
   13176 
   13177 		CFLAGS="$xorg_testset_save_CFLAGS"
   13178 
   13179 		eval supported=\$$cacheid
   13180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13181 $as_echo "$supported" >&6; }
   13182 		if test "$supported" = "yes" ; then
   13183 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13184 			found="yes"
   13185 		fi
   13186 	fi
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 xorg_testset_save_CFLAGS="$CFLAGS"
   13203 
   13204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13209   $as_echo_n "(cached) " >&6
   13210 else
   13211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13212 /* end confdefs.h.  */
   13213 int i;
   13214 _ACEOF
   13215 if ac_fn_c_try_compile "$LINENO"; then :
   13216   xorg_cv_cc_flag_unknown_warning_option=yes
   13217 else
   13218   xorg_cv_cc_flag_unknown_warning_option=no
   13219 fi
   13220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13221 fi
   13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13225 	CFLAGS="$xorg_testset_save_CFLAGS"
   13226 fi
   13227 
   13228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 	fi
   13232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13236   $as_echo_n "(cached) " >&6
   13237 else
   13238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13239 /* end confdefs.h.  */
   13240 int i;
   13241 _ACEOF
   13242 if ac_fn_c_try_compile "$LINENO"; then :
   13243   xorg_cv_cc_flag_unused_command_line_argument=yes
   13244 else
   13245   xorg_cv_cc_flag_unused_command_line_argument=no
   13246 fi
   13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13248 fi
   13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13252 	CFLAGS="$xorg_testset_save_CFLAGS"
   13253 fi
   13254 
   13255 found="no"
   13256 
   13257 	if test $found = "no" ; then
   13258 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13260 		fi
   13261 
   13262 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13264 		fi
   13265 
   13266 		CFLAGS="$CFLAGS -Wshadow"
   13267 
   13268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13269 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13270 		cacheid=xorg_cv_cc_flag__Wshadow
   13271 		if eval \${$cacheid+:} false; then :
   13272   $as_echo_n "(cached) " >&6
   13273 else
   13274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13275 /* end confdefs.h.  */
   13276 int i;
   13277 int
   13278 main ()
   13279 {
   13280 
   13281   ;
   13282   return 0;
   13283 }
   13284 _ACEOF
   13285 if ac_fn_c_try_link "$LINENO"; then :
   13286   eval $cacheid=yes
   13287 else
   13288   eval $cacheid=no
   13289 fi
   13290 rm -f core conftest.err conftest.$ac_objext \
   13291     conftest$ac_exeext conftest.$ac_ext
   13292 fi
   13293 
   13294 
   13295 		CFLAGS="$xorg_testset_save_CFLAGS"
   13296 
   13297 		eval supported=\$$cacheid
   13298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13299 $as_echo "$supported" >&6; }
   13300 		if test "$supported" = "yes" ; then
   13301 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13302 			found="yes"
   13303 		fi
   13304 	fi
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 xorg_testset_save_CFLAGS="$CFLAGS"
   13321 
   13322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13325 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13326 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13327   $as_echo_n "(cached) " >&6
   13328 else
   13329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13330 /* end confdefs.h.  */
   13331 int i;
   13332 _ACEOF
   13333 if ac_fn_c_try_compile "$LINENO"; then :
   13334   xorg_cv_cc_flag_unknown_warning_option=yes
   13335 else
   13336   xorg_cv_cc_flag_unknown_warning_option=no
   13337 fi
   13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13339 fi
   13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13341 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13343 	CFLAGS="$xorg_testset_save_CFLAGS"
   13344 fi
   13345 
   13346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13349 	fi
   13350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13352 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13353 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13354   $as_echo_n "(cached) " >&6
   13355 else
   13356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13357 /* end confdefs.h.  */
   13358 int i;
   13359 _ACEOF
   13360 if ac_fn_c_try_compile "$LINENO"; then :
   13361   xorg_cv_cc_flag_unused_command_line_argument=yes
   13362 else
   13363   xorg_cv_cc_flag_unused_command_line_argument=no
   13364 fi
   13365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13366 fi
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13368 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13370 	CFLAGS="$xorg_testset_save_CFLAGS"
   13371 fi
   13372 
   13373 found="no"
   13374 
   13375 	if test $found = "no" ; then
   13376 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13378 		fi
   13379 
   13380 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13382 		fi
   13383 
   13384 		CFLAGS="$CFLAGS -Wcast-qual"
   13385 
   13386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13387 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13388 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13389 		if eval \${$cacheid+:} false; then :
   13390   $as_echo_n "(cached) " >&6
   13391 else
   13392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13393 /* end confdefs.h.  */
   13394 int i;
   13395 int
   13396 main ()
   13397 {
   13398 
   13399   ;
   13400   return 0;
   13401 }
   13402 _ACEOF
   13403 if ac_fn_c_try_link "$LINENO"; then :
   13404   eval $cacheid=yes
   13405 else
   13406   eval $cacheid=no
   13407 fi
   13408 rm -f core conftest.err conftest.$ac_objext \
   13409     conftest$ac_exeext conftest.$ac_ext
   13410 fi
   13411 
   13412 
   13413 		CFLAGS="$xorg_testset_save_CFLAGS"
   13414 
   13415 		eval supported=\$$cacheid
   13416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13417 $as_echo "$supported" >&6; }
   13418 		if test "$supported" = "yes" ; then
   13419 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13420 			found="yes"
   13421 		fi
   13422 	fi
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 xorg_testset_save_CFLAGS="$CFLAGS"
   13439 
   13440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13443 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13444 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13445   $as_echo_n "(cached) " >&6
   13446 else
   13447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13448 /* end confdefs.h.  */
   13449 int i;
   13450 _ACEOF
   13451 if ac_fn_c_try_compile "$LINENO"; then :
   13452   xorg_cv_cc_flag_unknown_warning_option=yes
   13453 else
   13454   xorg_cv_cc_flag_unknown_warning_option=no
   13455 fi
   13456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13457 fi
   13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13459 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13461 	CFLAGS="$xorg_testset_save_CFLAGS"
   13462 fi
   13463 
   13464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13467 	fi
   13468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13470 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13471 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13472   $as_echo_n "(cached) " >&6
   13473 else
   13474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13475 /* end confdefs.h.  */
   13476 int i;
   13477 _ACEOF
   13478 if ac_fn_c_try_compile "$LINENO"; then :
   13479   xorg_cv_cc_flag_unused_command_line_argument=yes
   13480 else
   13481   xorg_cv_cc_flag_unused_command_line_argument=no
   13482 fi
   13483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13484 fi
   13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13486 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13488 	CFLAGS="$xorg_testset_save_CFLAGS"
   13489 fi
   13490 
   13491 found="no"
   13492 
   13493 	if test $found = "no" ; then
   13494 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13496 		fi
   13497 
   13498 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13500 		fi
   13501 
   13502 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13503 
   13504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13505 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13506 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13507 		if eval \${$cacheid+:} false; then :
   13508   $as_echo_n "(cached) " >&6
   13509 else
   13510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13511 /* end confdefs.h.  */
   13512 int i;
   13513 int
   13514 main ()
   13515 {
   13516 
   13517   ;
   13518   return 0;
   13519 }
   13520 _ACEOF
   13521 if ac_fn_c_try_link "$LINENO"; then :
   13522   eval $cacheid=yes
   13523 else
   13524   eval $cacheid=no
   13525 fi
   13526 rm -f core conftest.err conftest.$ac_objext \
   13527     conftest$ac_exeext conftest.$ac_ext
   13528 fi
   13529 
   13530 
   13531 		CFLAGS="$xorg_testset_save_CFLAGS"
   13532 
   13533 		eval supported=\$$cacheid
   13534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13535 $as_echo "$supported" >&6; }
   13536 		if test "$supported" = "yes" ; then
   13537 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13538 			found="yes"
   13539 		fi
   13540 	fi
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 xorg_testset_save_CFLAGS="$CFLAGS"
   13557 
   13558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13561 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13562 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13563   $as_echo_n "(cached) " >&6
   13564 else
   13565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13566 /* end confdefs.h.  */
   13567 int i;
   13568 _ACEOF
   13569 if ac_fn_c_try_compile "$LINENO"; then :
   13570   xorg_cv_cc_flag_unknown_warning_option=yes
   13571 else
   13572   xorg_cv_cc_flag_unknown_warning_option=no
   13573 fi
   13574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13575 fi
   13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13577 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13579 	CFLAGS="$xorg_testset_save_CFLAGS"
   13580 fi
   13581 
   13582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13585 	fi
   13586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13588 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13589 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13590   $as_echo_n "(cached) " >&6
   13591 else
   13592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13593 /* end confdefs.h.  */
   13594 int i;
   13595 _ACEOF
   13596 if ac_fn_c_try_compile "$LINENO"; then :
   13597   xorg_cv_cc_flag_unused_command_line_argument=yes
   13598 else
   13599   xorg_cv_cc_flag_unused_command_line_argument=no
   13600 fi
   13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13602 fi
   13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13604 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13606 	CFLAGS="$xorg_testset_save_CFLAGS"
   13607 fi
   13608 
   13609 found="no"
   13610 
   13611 	if test $found = "no" ; then
   13612 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13614 		fi
   13615 
   13616 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13618 		fi
   13619 
   13620 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13621 
   13622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13623 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13624 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13625 		if eval \${$cacheid+:} false; then :
   13626   $as_echo_n "(cached) " >&6
   13627 else
   13628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13629 /* end confdefs.h.  */
   13630 int i;
   13631 int
   13632 main ()
   13633 {
   13634 
   13635   ;
   13636   return 0;
   13637 }
   13638 _ACEOF
   13639 if ac_fn_c_try_link "$LINENO"; then :
   13640   eval $cacheid=yes
   13641 else
   13642   eval $cacheid=no
   13643 fi
   13644 rm -f core conftest.err conftest.$ac_objext \
   13645     conftest$ac_exeext conftest.$ac_ext
   13646 fi
   13647 
   13648 
   13649 		CFLAGS="$xorg_testset_save_CFLAGS"
   13650 
   13651 		eval supported=\$$cacheid
   13652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13653 $as_echo "$supported" >&6; }
   13654 		if test "$supported" = "yes" ; then
   13655 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13656 			found="yes"
   13657 		fi
   13658 	fi
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 xorg_testset_save_CFLAGS="$CFLAGS"
   13675 
   13676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13681   $as_echo_n "(cached) " >&6
   13682 else
   13683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13684 /* end confdefs.h.  */
   13685 int i;
   13686 _ACEOF
   13687 if ac_fn_c_try_compile "$LINENO"; then :
   13688   xorg_cv_cc_flag_unknown_warning_option=yes
   13689 else
   13690   xorg_cv_cc_flag_unknown_warning_option=no
   13691 fi
   13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13693 fi
   13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13697 	CFLAGS="$xorg_testset_save_CFLAGS"
   13698 fi
   13699 
   13700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13703 	fi
   13704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13708   $as_echo_n "(cached) " >&6
   13709 else
   13710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13711 /* end confdefs.h.  */
   13712 int i;
   13713 _ACEOF
   13714 if ac_fn_c_try_compile "$LINENO"; then :
   13715   xorg_cv_cc_flag_unused_command_line_argument=yes
   13716 else
   13717   xorg_cv_cc_flag_unused_command_line_argument=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13720 fi
   13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13724 	CFLAGS="$xorg_testset_save_CFLAGS"
   13725 fi
   13726 
   13727 found="no"
   13728 
   13729 	if test $found = "no" ; then
   13730 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13732 		fi
   13733 
   13734 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13736 		fi
   13737 
   13738 		CFLAGS="$CFLAGS -Wredundant-decls"
   13739 
   13740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13741 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13742 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13743 		if eval \${$cacheid+:} false; then :
   13744   $as_echo_n "(cached) " >&6
   13745 else
   13746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13747 /* end confdefs.h.  */
   13748 int i;
   13749 int
   13750 main ()
   13751 {
   13752 
   13753   ;
   13754   return 0;
   13755 }
   13756 _ACEOF
   13757 if ac_fn_c_try_link "$LINENO"; then :
   13758   eval $cacheid=yes
   13759 else
   13760   eval $cacheid=no
   13761 fi
   13762 rm -f core conftest.err conftest.$ac_objext \
   13763     conftest$ac_exeext conftest.$ac_ext
   13764 fi
   13765 
   13766 
   13767 		CFLAGS="$xorg_testset_save_CFLAGS"
   13768 
   13769 		eval supported=\$$cacheid
   13770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13771 $as_echo "$supported" >&6; }
   13772 		if test "$supported" = "yes" ; then
   13773 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13774 			found="yes"
   13775 		fi
   13776 	fi
   13777 
   13778 
   13779 
   13780 # These are currently disabled because they are noisy.  They will be enabled
   13781 # in the future once the codebase is sufficiently modernized to silence
   13782 # them.  For now, I don't want them to drown out the other warnings.
   13783 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13784 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13785 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13786 
   13787 # Turn some warnings into errors, so we don't accidently get successful builds
   13788 # when there are problems that should be fixed.
   13789 
   13790 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 xorg_testset_save_CFLAGS="$CFLAGS"
   13805 
   13806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13809 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13810 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13811   $as_echo_n "(cached) " >&6
   13812 else
   13813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13814 /* end confdefs.h.  */
   13815 int i;
   13816 _ACEOF
   13817 if ac_fn_c_try_compile "$LINENO"; then :
   13818   xorg_cv_cc_flag_unknown_warning_option=yes
   13819 else
   13820   xorg_cv_cc_flag_unknown_warning_option=no
   13821 fi
   13822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13823 fi
   13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13825 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13827 	CFLAGS="$xorg_testset_save_CFLAGS"
   13828 fi
   13829 
   13830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13833 	fi
   13834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13836 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13837 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13838   $as_echo_n "(cached) " >&6
   13839 else
   13840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13841 /* end confdefs.h.  */
   13842 int i;
   13843 _ACEOF
   13844 if ac_fn_c_try_compile "$LINENO"; then :
   13845   xorg_cv_cc_flag_unused_command_line_argument=yes
   13846 else
   13847   xorg_cv_cc_flag_unused_command_line_argument=no
   13848 fi
   13849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13850 fi
   13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13852 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13854 	CFLAGS="$xorg_testset_save_CFLAGS"
   13855 fi
   13856 
   13857 found="no"
   13858 
   13859 	if test $found = "no" ; then
   13860 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13862 		fi
   13863 
   13864 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13866 		fi
   13867 
   13868 		CFLAGS="$CFLAGS -Werror=implicit"
   13869 
   13870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13871 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13872 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13873 		if eval \${$cacheid+:} false; then :
   13874   $as_echo_n "(cached) " >&6
   13875 else
   13876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13877 /* end confdefs.h.  */
   13878 int i;
   13879 int
   13880 main ()
   13881 {
   13882 
   13883   ;
   13884   return 0;
   13885 }
   13886 _ACEOF
   13887 if ac_fn_c_try_link "$LINENO"; then :
   13888   eval $cacheid=yes
   13889 else
   13890   eval $cacheid=no
   13891 fi
   13892 rm -f core conftest.err conftest.$ac_objext \
   13893     conftest$ac_exeext conftest.$ac_ext
   13894 fi
   13895 
   13896 
   13897 		CFLAGS="$xorg_testset_save_CFLAGS"
   13898 
   13899 		eval supported=\$$cacheid
   13900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13901 $as_echo "$supported" >&6; }
   13902 		if test "$supported" = "yes" ; then
   13903 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13904 			found="yes"
   13905 		fi
   13906 	fi
   13907 
   13908 	if test $found = "no" ; then
   13909 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13911 		fi
   13912 
   13913 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13915 		fi
   13916 
   13917 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13918 
   13919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13920 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13921 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13922 		if eval \${$cacheid+:} false; then :
   13923   $as_echo_n "(cached) " >&6
   13924 else
   13925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13926 /* end confdefs.h.  */
   13927 int i;
   13928 int
   13929 main ()
   13930 {
   13931 
   13932   ;
   13933   return 0;
   13934 }
   13935 _ACEOF
   13936 if ac_fn_c_try_link "$LINENO"; then :
   13937   eval $cacheid=yes
   13938 else
   13939   eval $cacheid=no
   13940 fi
   13941 rm -f core conftest.err conftest.$ac_objext \
   13942     conftest$ac_exeext conftest.$ac_ext
   13943 fi
   13944 
   13945 
   13946 		CFLAGS="$xorg_testset_save_CFLAGS"
   13947 
   13948 		eval supported=\$$cacheid
   13949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13950 $as_echo "$supported" >&6; }
   13951 		if test "$supported" = "yes" ; then
   13952 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13953 			found="yes"
   13954 		fi
   13955 	fi
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 xorg_testset_save_CFLAGS="$CFLAGS"
   13972 
   13973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13978   $as_echo_n "(cached) " >&6
   13979 else
   13980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13981 /* end confdefs.h.  */
   13982 int i;
   13983 _ACEOF
   13984 if ac_fn_c_try_compile "$LINENO"; then :
   13985   xorg_cv_cc_flag_unknown_warning_option=yes
   13986 else
   13987   xorg_cv_cc_flag_unknown_warning_option=no
   13988 fi
   13989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13990 fi
   13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13994 	CFLAGS="$xorg_testset_save_CFLAGS"
   13995 fi
   13996 
   13997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14000 	fi
   14001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14005   $as_echo_n "(cached) " >&6
   14006 else
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 int i;
   14010 _ACEOF
   14011 if ac_fn_c_try_compile "$LINENO"; then :
   14012   xorg_cv_cc_flag_unused_command_line_argument=yes
   14013 else
   14014   xorg_cv_cc_flag_unused_command_line_argument=no
   14015 fi
   14016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14017 fi
   14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14021 	CFLAGS="$xorg_testset_save_CFLAGS"
   14022 fi
   14023 
   14024 found="no"
   14025 
   14026 	if test $found = "no" ; then
   14027 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14029 		fi
   14030 
   14031 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14033 		fi
   14034 
   14035 		CFLAGS="$CFLAGS -Werror=nonnull"
   14036 
   14037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14038 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14039 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14040 		if eval \${$cacheid+:} false; then :
   14041   $as_echo_n "(cached) " >&6
   14042 else
   14043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14044 /* end confdefs.h.  */
   14045 int i;
   14046 int
   14047 main ()
   14048 {
   14049 
   14050   ;
   14051   return 0;
   14052 }
   14053 _ACEOF
   14054 if ac_fn_c_try_link "$LINENO"; then :
   14055   eval $cacheid=yes
   14056 else
   14057   eval $cacheid=no
   14058 fi
   14059 rm -f core conftest.err conftest.$ac_objext \
   14060     conftest$ac_exeext conftest.$ac_ext
   14061 fi
   14062 
   14063 
   14064 		CFLAGS="$xorg_testset_save_CFLAGS"
   14065 
   14066 		eval supported=\$$cacheid
   14067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14068 $as_echo "$supported" >&6; }
   14069 		if test "$supported" = "yes" ; then
   14070 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14071 			found="yes"
   14072 		fi
   14073 	fi
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 xorg_testset_save_CFLAGS="$CFLAGS"
   14090 
   14091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14094 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14095 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14096   $as_echo_n "(cached) " >&6
   14097 else
   14098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14099 /* end confdefs.h.  */
   14100 int i;
   14101 _ACEOF
   14102 if ac_fn_c_try_compile "$LINENO"; then :
   14103   xorg_cv_cc_flag_unknown_warning_option=yes
   14104 else
   14105   xorg_cv_cc_flag_unknown_warning_option=no
   14106 fi
   14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14108 fi
   14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14110 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14112 	CFLAGS="$xorg_testset_save_CFLAGS"
   14113 fi
   14114 
   14115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14118 	fi
   14119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14121 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14122 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14123   $as_echo_n "(cached) " >&6
   14124 else
   14125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14126 /* end confdefs.h.  */
   14127 int i;
   14128 _ACEOF
   14129 if ac_fn_c_try_compile "$LINENO"; then :
   14130   xorg_cv_cc_flag_unused_command_line_argument=yes
   14131 else
   14132   xorg_cv_cc_flag_unused_command_line_argument=no
   14133 fi
   14134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14135 fi
   14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14137 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14139 	CFLAGS="$xorg_testset_save_CFLAGS"
   14140 fi
   14141 
   14142 found="no"
   14143 
   14144 	if test $found = "no" ; then
   14145 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14147 		fi
   14148 
   14149 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14151 		fi
   14152 
   14153 		CFLAGS="$CFLAGS -Werror=init-self"
   14154 
   14155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14156 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14157 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14158 		if eval \${$cacheid+:} false; then :
   14159   $as_echo_n "(cached) " >&6
   14160 else
   14161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14162 /* end confdefs.h.  */
   14163 int i;
   14164 int
   14165 main ()
   14166 {
   14167 
   14168   ;
   14169   return 0;
   14170 }
   14171 _ACEOF
   14172 if ac_fn_c_try_link "$LINENO"; then :
   14173   eval $cacheid=yes
   14174 else
   14175   eval $cacheid=no
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext \
   14178     conftest$ac_exeext conftest.$ac_ext
   14179 fi
   14180 
   14181 
   14182 		CFLAGS="$xorg_testset_save_CFLAGS"
   14183 
   14184 		eval supported=\$$cacheid
   14185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14186 $as_echo "$supported" >&6; }
   14187 		if test "$supported" = "yes" ; then
   14188 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14189 			found="yes"
   14190 		fi
   14191 	fi
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 xorg_testset_save_CFLAGS="$CFLAGS"
   14208 
   14209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14214   $as_echo_n "(cached) " >&6
   14215 else
   14216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14217 /* end confdefs.h.  */
   14218 int i;
   14219 _ACEOF
   14220 if ac_fn_c_try_compile "$LINENO"; then :
   14221   xorg_cv_cc_flag_unknown_warning_option=yes
   14222 else
   14223   xorg_cv_cc_flag_unknown_warning_option=no
   14224 fi
   14225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14226 fi
   14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14230 	CFLAGS="$xorg_testset_save_CFLAGS"
   14231 fi
   14232 
   14233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14236 	fi
   14237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14241   $as_echo_n "(cached) " >&6
   14242 else
   14243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14244 /* end confdefs.h.  */
   14245 int i;
   14246 _ACEOF
   14247 if ac_fn_c_try_compile "$LINENO"; then :
   14248   xorg_cv_cc_flag_unused_command_line_argument=yes
   14249 else
   14250   xorg_cv_cc_flag_unused_command_line_argument=no
   14251 fi
   14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14253 fi
   14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14257 	CFLAGS="$xorg_testset_save_CFLAGS"
   14258 fi
   14259 
   14260 found="no"
   14261 
   14262 	if test $found = "no" ; then
   14263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14265 		fi
   14266 
   14267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14269 		fi
   14270 
   14271 		CFLAGS="$CFLAGS -Werror=main"
   14272 
   14273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14274 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14275 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14276 		if eval \${$cacheid+:} false; then :
   14277   $as_echo_n "(cached) " >&6
   14278 else
   14279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14280 /* end confdefs.h.  */
   14281 int i;
   14282 int
   14283 main ()
   14284 {
   14285 
   14286   ;
   14287   return 0;
   14288 }
   14289 _ACEOF
   14290 if ac_fn_c_try_link "$LINENO"; then :
   14291   eval $cacheid=yes
   14292 else
   14293   eval $cacheid=no
   14294 fi
   14295 rm -f core conftest.err conftest.$ac_objext \
   14296     conftest$ac_exeext conftest.$ac_ext
   14297 fi
   14298 
   14299 
   14300 		CFLAGS="$xorg_testset_save_CFLAGS"
   14301 
   14302 		eval supported=\$$cacheid
   14303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14304 $as_echo "$supported" >&6; }
   14305 		if test "$supported" = "yes" ; then
   14306 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14307 			found="yes"
   14308 		fi
   14309 	fi
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 xorg_testset_save_CFLAGS="$CFLAGS"
   14326 
   14327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14330 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14331 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14332   $as_echo_n "(cached) " >&6
   14333 else
   14334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14335 /* end confdefs.h.  */
   14336 int i;
   14337 _ACEOF
   14338 if ac_fn_c_try_compile "$LINENO"; then :
   14339   xorg_cv_cc_flag_unknown_warning_option=yes
   14340 else
   14341   xorg_cv_cc_flag_unknown_warning_option=no
   14342 fi
   14343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14344 fi
   14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14346 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14347 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14348 	CFLAGS="$xorg_testset_save_CFLAGS"
   14349 fi
   14350 
   14351 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14352 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14353 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14354 	fi
   14355 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14357 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14358 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14359   $as_echo_n "(cached) " >&6
   14360 else
   14361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14362 /* end confdefs.h.  */
   14363 int i;
   14364 _ACEOF
   14365 if ac_fn_c_try_compile "$LINENO"; then :
   14366   xorg_cv_cc_flag_unused_command_line_argument=yes
   14367 else
   14368   xorg_cv_cc_flag_unused_command_line_argument=no
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14371 fi
   14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14373 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14375 	CFLAGS="$xorg_testset_save_CFLAGS"
   14376 fi
   14377 
   14378 found="no"
   14379 
   14380 	if test $found = "no" ; then
   14381 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14383 		fi
   14384 
   14385 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14387 		fi
   14388 
   14389 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14390 
   14391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14392 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14393 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14394 		if eval \${$cacheid+:} false; then :
   14395   $as_echo_n "(cached) " >&6
   14396 else
   14397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 int i;
   14400 int
   14401 main ()
   14402 {
   14403 
   14404   ;
   14405   return 0;
   14406 }
   14407 _ACEOF
   14408 if ac_fn_c_try_link "$LINENO"; then :
   14409   eval $cacheid=yes
   14410 else
   14411   eval $cacheid=no
   14412 fi
   14413 rm -f core conftest.err conftest.$ac_objext \
   14414     conftest$ac_exeext conftest.$ac_ext
   14415 fi
   14416 
   14417 
   14418 		CFLAGS="$xorg_testset_save_CFLAGS"
   14419 
   14420 		eval supported=\$$cacheid
   14421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14422 $as_echo "$supported" >&6; }
   14423 		if test "$supported" = "yes" ; then
   14424 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14425 			found="yes"
   14426 		fi
   14427 	fi
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 xorg_testset_save_CFLAGS="$CFLAGS"
   14444 
   14445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14448 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14449 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14450   $as_echo_n "(cached) " >&6
   14451 else
   14452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14453 /* end confdefs.h.  */
   14454 int i;
   14455 _ACEOF
   14456 if ac_fn_c_try_compile "$LINENO"; then :
   14457   xorg_cv_cc_flag_unknown_warning_option=yes
   14458 else
   14459   xorg_cv_cc_flag_unknown_warning_option=no
   14460 fi
   14461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14462 fi
   14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14464 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14466 	CFLAGS="$xorg_testset_save_CFLAGS"
   14467 fi
   14468 
   14469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14472 	fi
   14473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14475 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14476 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14477   $as_echo_n "(cached) " >&6
   14478 else
   14479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 int i;
   14482 _ACEOF
   14483 if ac_fn_c_try_compile "$LINENO"; then :
   14484   xorg_cv_cc_flag_unused_command_line_argument=yes
   14485 else
   14486   xorg_cv_cc_flag_unused_command_line_argument=no
   14487 fi
   14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14489 fi
   14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14491 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14493 	CFLAGS="$xorg_testset_save_CFLAGS"
   14494 fi
   14495 
   14496 found="no"
   14497 
   14498 	if test $found = "no" ; then
   14499 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14501 		fi
   14502 
   14503 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14505 		fi
   14506 
   14507 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14508 
   14509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14510 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14511 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14512 		if eval \${$cacheid+:} false; then :
   14513   $as_echo_n "(cached) " >&6
   14514 else
   14515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14516 /* end confdefs.h.  */
   14517 int i;
   14518 int
   14519 main ()
   14520 {
   14521 
   14522   ;
   14523   return 0;
   14524 }
   14525 _ACEOF
   14526 if ac_fn_c_try_link "$LINENO"; then :
   14527   eval $cacheid=yes
   14528 else
   14529   eval $cacheid=no
   14530 fi
   14531 rm -f core conftest.err conftest.$ac_objext \
   14532     conftest$ac_exeext conftest.$ac_ext
   14533 fi
   14534 
   14535 
   14536 		CFLAGS="$xorg_testset_save_CFLAGS"
   14537 
   14538 		eval supported=\$$cacheid
   14539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14540 $as_echo "$supported" >&6; }
   14541 		if test "$supported" = "yes" ; then
   14542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14543 			found="yes"
   14544 		fi
   14545 	fi
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 xorg_testset_save_CFLAGS="$CFLAGS"
   14562 
   14563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14566 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14567 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14568   $as_echo_n "(cached) " >&6
   14569 else
   14570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14571 /* end confdefs.h.  */
   14572 int i;
   14573 _ACEOF
   14574 if ac_fn_c_try_compile "$LINENO"; then :
   14575   xorg_cv_cc_flag_unknown_warning_option=yes
   14576 else
   14577   xorg_cv_cc_flag_unknown_warning_option=no
   14578 fi
   14579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14580 fi
   14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14582 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14583 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14584 	CFLAGS="$xorg_testset_save_CFLAGS"
   14585 fi
   14586 
   14587 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14588 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14589 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14590 	fi
   14591 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14593 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14594 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14595   $as_echo_n "(cached) " >&6
   14596 else
   14597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14598 /* end confdefs.h.  */
   14599 int i;
   14600 _ACEOF
   14601 if ac_fn_c_try_compile "$LINENO"; then :
   14602   xorg_cv_cc_flag_unused_command_line_argument=yes
   14603 else
   14604   xorg_cv_cc_flag_unused_command_line_argument=no
   14605 fi
   14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14607 fi
   14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14609 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14610 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14611 	CFLAGS="$xorg_testset_save_CFLAGS"
   14612 fi
   14613 
   14614 found="no"
   14615 
   14616 	if test $found = "no" ; then
   14617 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14618 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14619 		fi
   14620 
   14621 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14622 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14623 		fi
   14624 
   14625 		CFLAGS="$CFLAGS -Werror=return-type"
   14626 
   14627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14628 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14629 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14630 		if eval \${$cacheid+:} false; then :
   14631   $as_echo_n "(cached) " >&6
   14632 else
   14633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14634 /* end confdefs.h.  */
   14635 int i;
   14636 int
   14637 main ()
   14638 {
   14639 
   14640   ;
   14641   return 0;
   14642 }
   14643 _ACEOF
   14644 if ac_fn_c_try_link "$LINENO"; then :
   14645   eval $cacheid=yes
   14646 else
   14647   eval $cacheid=no
   14648 fi
   14649 rm -f core conftest.err conftest.$ac_objext \
   14650     conftest$ac_exeext conftest.$ac_ext
   14651 fi
   14652 
   14653 
   14654 		CFLAGS="$xorg_testset_save_CFLAGS"
   14655 
   14656 		eval supported=\$$cacheid
   14657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14658 $as_echo "$supported" >&6; }
   14659 		if test "$supported" = "yes" ; then
   14660 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14661 			found="yes"
   14662 		fi
   14663 	fi
   14664 
   14665 	if test $found = "no" ; then
   14666 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14668 		fi
   14669 
   14670 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14672 		fi
   14673 
   14674 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14675 
   14676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14677 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14678 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14679 		if eval \${$cacheid+:} false; then :
   14680   $as_echo_n "(cached) " >&6
   14681 else
   14682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14683 /* end confdefs.h.  */
   14684 int i;
   14685 int
   14686 main ()
   14687 {
   14688 
   14689   ;
   14690   return 0;
   14691 }
   14692 _ACEOF
   14693 if ac_fn_c_try_link "$LINENO"; then :
   14694   eval $cacheid=yes
   14695 else
   14696   eval $cacheid=no
   14697 fi
   14698 rm -f core conftest.err conftest.$ac_objext \
   14699     conftest$ac_exeext conftest.$ac_ext
   14700 fi
   14701 
   14702 
   14703 		CFLAGS="$xorg_testset_save_CFLAGS"
   14704 
   14705 		eval supported=\$$cacheid
   14706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14707 $as_echo "$supported" >&6; }
   14708 		if test "$supported" = "yes" ; then
   14709 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14710 			found="yes"
   14711 		fi
   14712 	fi
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 xorg_testset_save_CFLAGS="$CFLAGS"
   14729 
   14730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14733 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14734 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14735   $as_echo_n "(cached) " >&6
   14736 else
   14737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14738 /* end confdefs.h.  */
   14739 int i;
   14740 _ACEOF
   14741 if ac_fn_c_try_compile "$LINENO"; then :
   14742   xorg_cv_cc_flag_unknown_warning_option=yes
   14743 else
   14744   xorg_cv_cc_flag_unknown_warning_option=no
   14745 fi
   14746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14747 fi
   14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14749 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14750 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14751 	CFLAGS="$xorg_testset_save_CFLAGS"
   14752 fi
   14753 
   14754 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14755 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14756 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14757 	fi
   14758 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14760 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14761 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14762   $as_echo_n "(cached) " >&6
   14763 else
   14764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14765 /* end confdefs.h.  */
   14766 int i;
   14767 _ACEOF
   14768 if ac_fn_c_try_compile "$LINENO"; then :
   14769   xorg_cv_cc_flag_unused_command_line_argument=yes
   14770 else
   14771   xorg_cv_cc_flag_unused_command_line_argument=no
   14772 fi
   14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14774 fi
   14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14776 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14778 	CFLAGS="$xorg_testset_save_CFLAGS"
   14779 fi
   14780 
   14781 found="no"
   14782 
   14783 	if test $found = "no" ; then
   14784 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14786 		fi
   14787 
   14788 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14790 		fi
   14791 
   14792 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14793 
   14794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14795 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14796 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14797 		if eval \${$cacheid+:} false; then :
   14798   $as_echo_n "(cached) " >&6
   14799 else
   14800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14801 /* end confdefs.h.  */
   14802 int i;
   14803 int
   14804 main ()
   14805 {
   14806 
   14807   ;
   14808   return 0;
   14809 }
   14810 _ACEOF
   14811 if ac_fn_c_try_link "$LINENO"; then :
   14812   eval $cacheid=yes
   14813 else
   14814   eval $cacheid=no
   14815 fi
   14816 rm -f core conftest.err conftest.$ac_objext \
   14817     conftest$ac_exeext conftest.$ac_ext
   14818 fi
   14819 
   14820 
   14821 		CFLAGS="$xorg_testset_save_CFLAGS"
   14822 
   14823 		eval supported=\$$cacheid
   14824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14825 $as_echo "$supported" >&6; }
   14826 		if test "$supported" = "yes" ; then
   14827 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14828 			found="yes"
   14829 		fi
   14830 	fi
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 xorg_testset_save_CFLAGS="$CFLAGS"
   14847 
   14848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14853   $as_echo_n "(cached) " >&6
   14854 else
   14855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14856 /* end confdefs.h.  */
   14857 int i;
   14858 _ACEOF
   14859 if ac_fn_c_try_compile "$LINENO"; then :
   14860   xorg_cv_cc_flag_unknown_warning_option=yes
   14861 else
   14862   xorg_cv_cc_flag_unknown_warning_option=no
   14863 fi
   14864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14865 fi
   14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14869 	CFLAGS="$xorg_testset_save_CFLAGS"
   14870 fi
   14871 
   14872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14875 	fi
   14876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14880   $as_echo_n "(cached) " >&6
   14881 else
   14882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14883 /* end confdefs.h.  */
   14884 int i;
   14885 _ACEOF
   14886 if ac_fn_c_try_compile "$LINENO"; then :
   14887   xorg_cv_cc_flag_unused_command_line_argument=yes
   14888 else
   14889   xorg_cv_cc_flag_unused_command_line_argument=no
   14890 fi
   14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14892 fi
   14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14896 	CFLAGS="$xorg_testset_save_CFLAGS"
   14897 fi
   14898 
   14899 found="no"
   14900 
   14901 	if test $found = "no" ; then
   14902 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14904 		fi
   14905 
   14906 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14908 		fi
   14909 
   14910 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14911 
   14912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14913 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14914 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14915 		if eval \${$cacheid+:} false; then :
   14916   $as_echo_n "(cached) " >&6
   14917 else
   14918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14919 /* end confdefs.h.  */
   14920 int i;
   14921 int
   14922 main ()
   14923 {
   14924 
   14925   ;
   14926   return 0;
   14927 }
   14928 _ACEOF
   14929 if ac_fn_c_try_link "$LINENO"; then :
   14930   eval $cacheid=yes
   14931 else
   14932   eval $cacheid=no
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext \
   14935     conftest$ac_exeext conftest.$ac_ext
   14936 fi
   14937 
   14938 
   14939 		CFLAGS="$xorg_testset_save_CFLAGS"
   14940 
   14941 		eval supported=\$$cacheid
   14942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14943 $as_echo "$supported" >&6; }
   14944 		if test "$supported" = "yes" ; then
   14945 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14946 			found="yes"
   14947 		fi
   14948 	fi
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 xorg_testset_save_CFLAGS="$CFLAGS"
   14965 
   14966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14971   $as_echo_n "(cached) " >&6
   14972 else
   14973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14974 /* end confdefs.h.  */
   14975 int i;
   14976 _ACEOF
   14977 if ac_fn_c_try_compile "$LINENO"; then :
   14978   xorg_cv_cc_flag_unknown_warning_option=yes
   14979 else
   14980   xorg_cv_cc_flag_unknown_warning_option=no
   14981 fi
   14982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14983 fi
   14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14987 	CFLAGS="$xorg_testset_save_CFLAGS"
   14988 fi
   14989 
   14990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14993 	fi
   14994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14998   $as_echo_n "(cached) " >&6
   14999 else
   15000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15001 /* end confdefs.h.  */
   15002 int i;
   15003 _ACEOF
   15004 if ac_fn_c_try_compile "$LINENO"; then :
   15005   xorg_cv_cc_flag_unused_command_line_argument=yes
   15006 else
   15007   xorg_cv_cc_flag_unused_command_line_argument=no
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15010 fi
   15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15014 	CFLAGS="$xorg_testset_save_CFLAGS"
   15015 fi
   15016 
   15017 found="no"
   15018 
   15019 	if test $found = "no" ; then
   15020 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15022 		fi
   15023 
   15024 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15026 		fi
   15027 
   15028 		CFLAGS="$CFLAGS -Werror=write-strings"
   15029 
   15030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15031 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15032 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15033 		if eval \${$cacheid+:} false; then :
   15034   $as_echo_n "(cached) " >&6
   15035 else
   15036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15037 /* end confdefs.h.  */
   15038 int i;
   15039 int
   15040 main ()
   15041 {
   15042 
   15043   ;
   15044   return 0;
   15045 }
   15046 _ACEOF
   15047 if ac_fn_c_try_link "$LINENO"; then :
   15048   eval $cacheid=yes
   15049 else
   15050   eval $cacheid=no
   15051 fi
   15052 rm -f core conftest.err conftest.$ac_objext \
   15053     conftest$ac_exeext conftest.$ac_ext
   15054 fi
   15055 
   15056 
   15057 		CFLAGS="$xorg_testset_save_CFLAGS"
   15058 
   15059 		eval supported=\$$cacheid
   15060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15061 $as_echo "$supported" >&6; }
   15062 		if test "$supported" = "yes" ; then
   15063 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15064 			found="yes"
   15065 		fi
   15066 	fi
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 xorg_testset_save_CFLAGS="$CFLAGS"
   15083 
   15084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15089   $as_echo_n "(cached) " >&6
   15090 else
   15091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15092 /* end confdefs.h.  */
   15093 int i;
   15094 _ACEOF
   15095 if ac_fn_c_try_compile "$LINENO"; then :
   15096   xorg_cv_cc_flag_unknown_warning_option=yes
   15097 else
   15098   xorg_cv_cc_flag_unknown_warning_option=no
   15099 fi
   15100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15101 fi
   15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15105 	CFLAGS="$xorg_testset_save_CFLAGS"
   15106 fi
   15107 
   15108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15111 	fi
   15112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15116   $as_echo_n "(cached) " >&6
   15117 else
   15118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15119 /* end confdefs.h.  */
   15120 int i;
   15121 _ACEOF
   15122 if ac_fn_c_try_compile "$LINENO"; then :
   15123   xorg_cv_cc_flag_unused_command_line_argument=yes
   15124 else
   15125   xorg_cv_cc_flag_unused_command_line_argument=no
   15126 fi
   15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15128 fi
   15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15132 	CFLAGS="$xorg_testset_save_CFLAGS"
   15133 fi
   15134 
   15135 found="no"
   15136 
   15137 	if test $found = "no" ; then
   15138 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15140 		fi
   15141 
   15142 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15144 		fi
   15145 
   15146 		CFLAGS="$CFLAGS -Werror=address"
   15147 
   15148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15149 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15150 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15151 		if eval \${$cacheid+:} false; then :
   15152   $as_echo_n "(cached) " >&6
   15153 else
   15154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15155 /* end confdefs.h.  */
   15156 int i;
   15157 int
   15158 main ()
   15159 {
   15160 
   15161   ;
   15162   return 0;
   15163 }
   15164 _ACEOF
   15165 if ac_fn_c_try_link "$LINENO"; then :
   15166   eval $cacheid=yes
   15167 else
   15168   eval $cacheid=no
   15169 fi
   15170 rm -f core conftest.err conftest.$ac_objext \
   15171     conftest$ac_exeext conftest.$ac_ext
   15172 fi
   15173 
   15174 
   15175 		CFLAGS="$xorg_testset_save_CFLAGS"
   15176 
   15177 		eval supported=\$$cacheid
   15178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15179 $as_echo "$supported" >&6; }
   15180 		if test "$supported" = "yes" ; then
   15181 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15182 			found="yes"
   15183 		fi
   15184 	fi
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 xorg_testset_save_CFLAGS="$CFLAGS"
   15201 
   15202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15207   $as_echo_n "(cached) " >&6
   15208 else
   15209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15210 /* end confdefs.h.  */
   15211 int i;
   15212 _ACEOF
   15213 if ac_fn_c_try_compile "$LINENO"; then :
   15214   xorg_cv_cc_flag_unknown_warning_option=yes
   15215 else
   15216   xorg_cv_cc_flag_unknown_warning_option=no
   15217 fi
   15218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15219 fi
   15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15223 	CFLAGS="$xorg_testset_save_CFLAGS"
   15224 fi
   15225 
   15226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15229 	fi
   15230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15234   $as_echo_n "(cached) " >&6
   15235 else
   15236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15237 /* end confdefs.h.  */
   15238 int i;
   15239 _ACEOF
   15240 if ac_fn_c_try_compile "$LINENO"; then :
   15241   xorg_cv_cc_flag_unused_command_line_argument=yes
   15242 else
   15243   xorg_cv_cc_flag_unused_command_line_argument=no
   15244 fi
   15245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15246 fi
   15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15250 	CFLAGS="$xorg_testset_save_CFLAGS"
   15251 fi
   15252 
   15253 found="no"
   15254 
   15255 	if test $found = "no" ; then
   15256 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15258 		fi
   15259 
   15260 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15262 		fi
   15263 
   15264 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15265 
   15266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15267 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15268 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15269 		if eval \${$cacheid+:} false; then :
   15270   $as_echo_n "(cached) " >&6
   15271 else
   15272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15273 /* end confdefs.h.  */
   15274 int i;
   15275 int
   15276 main ()
   15277 {
   15278 
   15279   ;
   15280   return 0;
   15281 }
   15282 _ACEOF
   15283 if ac_fn_c_try_link "$LINENO"; then :
   15284   eval $cacheid=yes
   15285 else
   15286   eval $cacheid=no
   15287 fi
   15288 rm -f core conftest.err conftest.$ac_objext \
   15289     conftest$ac_exeext conftest.$ac_ext
   15290 fi
   15291 
   15292 
   15293 		CFLAGS="$xorg_testset_save_CFLAGS"
   15294 
   15295 		eval supported=\$$cacheid
   15296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15297 $as_echo "$supported" >&6; }
   15298 		if test "$supported" = "yes" ; then
   15299 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15300 			found="yes"
   15301 		fi
   15302 	fi
   15303 
   15304 	if test $found = "no" ; then
   15305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15307 		fi
   15308 
   15309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15311 		fi
   15312 
   15313 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15314 
   15315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15316 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15317 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15318 		if eval \${$cacheid+:} false; then :
   15319   $as_echo_n "(cached) " >&6
   15320 else
   15321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15322 /* end confdefs.h.  */
   15323 int i;
   15324 int
   15325 main ()
   15326 {
   15327 
   15328   ;
   15329   return 0;
   15330 }
   15331 _ACEOF
   15332 if ac_fn_c_try_link "$LINENO"; then :
   15333   eval $cacheid=yes
   15334 else
   15335   eval $cacheid=no
   15336 fi
   15337 rm -f core conftest.err conftest.$ac_objext \
   15338     conftest$ac_exeext conftest.$ac_ext
   15339 fi
   15340 
   15341 
   15342 		CFLAGS="$xorg_testset_save_CFLAGS"
   15343 
   15344 		eval supported=\$$cacheid
   15345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15346 $as_echo "$supported" >&6; }
   15347 		if test "$supported" = "yes" ; then
   15348 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15349 			found="yes"
   15350 		fi
   15351 	fi
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 xorg_testset_save_CFLAGS="$CFLAGS"
   15368 
   15369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15374   $as_echo_n "(cached) " >&6
   15375 else
   15376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15377 /* end confdefs.h.  */
   15378 int i;
   15379 _ACEOF
   15380 if ac_fn_c_try_compile "$LINENO"; then :
   15381   xorg_cv_cc_flag_unknown_warning_option=yes
   15382 else
   15383   xorg_cv_cc_flag_unknown_warning_option=no
   15384 fi
   15385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15386 fi
   15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15390 	CFLAGS="$xorg_testset_save_CFLAGS"
   15391 fi
   15392 
   15393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15396 	fi
   15397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15401   $as_echo_n "(cached) " >&6
   15402 else
   15403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15404 /* end confdefs.h.  */
   15405 int i;
   15406 _ACEOF
   15407 if ac_fn_c_try_compile "$LINENO"; then :
   15408   xorg_cv_cc_flag_unused_command_line_argument=yes
   15409 else
   15410   xorg_cv_cc_flag_unused_command_line_argument=no
   15411 fi
   15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15413 fi
   15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15417 	CFLAGS="$xorg_testset_save_CFLAGS"
   15418 fi
   15419 
   15420 found="no"
   15421 
   15422 	if test $found = "no" ; then
   15423 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15425 		fi
   15426 
   15427 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15429 		fi
   15430 
   15431 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15432 
   15433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15434 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15435 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15436 		if eval \${$cacheid+:} false; then :
   15437   $as_echo_n "(cached) " >&6
   15438 else
   15439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15440 /* end confdefs.h.  */
   15441 int i;
   15442 int
   15443 main ()
   15444 {
   15445 
   15446   ;
   15447   return 0;
   15448 }
   15449 _ACEOF
   15450 if ac_fn_c_try_link "$LINENO"; then :
   15451   eval $cacheid=yes
   15452 else
   15453   eval $cacheid=no
   15454 fi
   15455 rm -f core conftest.err conftest.$ac_objext \
   15456     conftest$ac_exeext conftest.$ac_ext
   15457 fi
   15458 
   15459 
   15460 		CFLAGS="$xorg_testset_save_CFLAGS"
   15461 
   15462 		eval supported=\$$cacheid
   15463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15464 $as_echo "$supported" >&6; }
   15465 		if test "$supported" = "yes" ; then
   15466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15467 			found="yes"
   15468 		fi
   15469 	fi
   15470 
   15471  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15472 else
   15473 { $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
   15474 $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;}
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 xorg_testset_save_CFLAGS="$CFLAGS"
   15489 
   15490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15495   $as_echo_n "(cached) " >&6
   15496 else
   15497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15498 /* end confdefs.h.  */
   15499 int i;
   15500 _ACEOF
   15501 if ac_fn_c_try_compile "$LINENO"; then :
   15502   xorg_cv_cc_flag_unknown_warning_option=yes
   15503 else
   15504   xorg_cv_cc_flag_unknown_warning_option=no
   15505 fi
   15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15507 fi
   15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15511 	CFLAGS="$xorg_testset_save_CFLAGS"
   15512 fi
   15513 
   15514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15517 	fi
   15518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15522   $as_echo_n "(cached) " >&6
   15523 else
   15524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15525 /* end confdefs.h.  */
   15526 int i;
   15527 _ACEOF
   15528 if ac_fn_c_try_compile "$LINENO"; then :
   15529   xorg_cv_cc_flag_unused_command_line_argument=yes
   15530 else
   15531   xorg_cv_cc_flag_unused_command_line_argument=no
   15532 fi
   15533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15534 fi
   15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15538 	CFLAGS="$xorg_testset_save_CFLAGS"
   15539 fi
   15540 
   15541 found="no"
   15542 
   15543 	if test $found = "no" ; then
   15544 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15546 		fi
   15547 
   15548 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15550 		fi
   15551 
   15552 		CFLAGS="$CFLAGS -Wimplicit"
   15553 
   15554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15555 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15556 		cacheid=xorg_cv_cc_flag__Wimplicit
   15557 		if eval \${$cacheid+:} false; then :
   15558   $as_echo_n "(cached) " >&6
   15559 else
   15560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15561 /* end confdefs.h.  */
   15562 int i;
   15563 int
   15564 main ()
   15565 {
   15566 
   15567   ;
   15568   return 0;
   15569 }
   15570 _ACEOF
   15571 if ac_fn_c_try_link "$LINENO"; then :
   15572   eval $cacheid=yes
   15573 else
   15574   eval $cacheid=no
   15575 fi
   15576 rm -f core conftest.err conftest.$ac_objext \
   15577     conftest$ac_exeext conftest.$ac_ext
   15578 fi
   15579 
   15580 
   15581 		CFLAGS="$xorg_testset_save_CFLAGS"
   15582 
   15583 		eval supported=\$$cacheid
   15584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15585 $as_echo "$supported" >&6; }
   15586 		if test "$supported" = "yes" ; then
   15587 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15588 			found="yes"
   15589 		fi
   15590 	fi
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 xorg_testset_save_CFLAGS="$CFLAGS"
   15607 
   15608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15613   $as_echo_n "(cached) " >&6
   15614 else
   15615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15616 /* end confdefs.h.  */
   15617 int i;
   15618 _ACEOF
   15619 if ac_fn_c_try_compile "$LINENO"; then :
   15620   xorg_cv_cc_flag_unknown_warning_option=yes
   15621 else
   15622   xorg_cv_cc_flag_unknown_warning_option=no
   15623 fi
   15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15625 fi
   15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15629 	CFLAGS="$xorg_testset_save_CFLAGS"
   15630 fi
   15631 
   15632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15635 	fi
   15636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15640   $as_echo_n "(cached) " >&6
   15641 else
   15642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15643 /* end confdefs.h.  */
   15644 int i;
   15645 _ACEOF
   15646 if ac_fn_c_try_compile "$LINENO"; then :
   15647   xorg_cv_cc_flag_unused_command_line_argument=yes
   15648 else
   15649   xorg_cv_cc_flag_unused_command_line_argument=no
   15650 fi
   15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15652 fi
   15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15656 	CFLAGS="$xorg_testset_save_CFLAGS"
   15657 fi
   15658 
   15659 found="no"
   15660 
   15661 	if test $found = "no" ; then
   15662 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15664 		fi
   15665 
   15666 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15668 		fi
   15669 
   15670 		CFLAGS="$CFLAGS -Wnonnull"
   15671 
   15672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15673 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15674 		cacheid=xorg_cv_cc_flag__Wnonnull
   15675 		if eval \${$cacheid+:} false; then :
   15676   $as_echo_n "(cached) " >&6
   15677 else
   15678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15679 /* end confdefs.h.  */
   15680 int i;
   15681 int
   15682 main ()
   15683 {
   15684 
   15685   ;
   15686   return 0;
   15687 }
   15688 _ACEOF
   15689 if ac_fn_c_try_link "$LINENO"; then :
   15690   eval $cacheid=yes
   15691 else
   15692   eval $cacheid=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext \
   15695     conftest$ac_exeext conftest.$ac_ext
   15696 fi
   15697 
   15698 
   15699 		CFLAGS="$xorg_testset_save_CFLAGS"
   15700 
   15701 		eval supported=\$$cacheid
   15702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15703 $as_echo "$supported" >&6; }
   15704 		if test "$supported" = "yes" ; then
   15705 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15706 			found="yes"
   15707 		fi
   15708 	fi
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 xorg_testset_save_CFLAGS="$CFLAGS"
   15725 
   15726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15729 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15730 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15731   $as_echo_n "(cached) " >&6
   15732 else
   15733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15734 /* end confdefs.h.  */
   15735 int i;
   15736 _ACEOF
   15737 if ac_fn_c_try_compile "$LINENO"; then :
   15738   xorg_cv_cc_flag_unknown_warning_option=yes
   15739 else
   15740   xorg_cv_cc_flag_unknown_warning_option=no
   15741 fi
   15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15743 fi
   15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15745 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15747 	CFLAGS="$xorg_testset_save_CFLAGS"
   15748 fi
   15749 
   15750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 	fi
   15754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15756 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15757 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15758   $as_echo_n "(cached) " >&6
   15759 else
   15760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15761 /* end confdefs.h.  */
   15762 int i;
   15763 _ACEOF
   15764 if ac_fn_c_try_compile "$LINENO"; then :
   15765   xorg_cv_cc_flag_unused_command_line_argument=yes
   15766 else
   15767   xorg_cv_cc_flag_unused_command_line_argument=no
   15768 fi
   15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15770 fi
   15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15772 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15774 	CFLAGS="$xorg_testset_save_CFLAGS"
   15775 fi
   15776 
   15777 found="no"
   15778 
   15779 	if test $found = "no" ; then
   15780 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15782 		fi
   15783 
   15784 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15786 		fi
   15787 
   15788 		CFLAGS="$CFLAGS -Winit-self"
   15789 
   15790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15791 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15792 		cacheid=xorg_cv_cc_flag__Winit_self
   15793 		if eval \${$cacheid+:} false; then :
   15794   $as_echo_n "(cached) " >&6
   15795 else
   15796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15797 /* end confdefs.h.  */
   15798 int i;
   15799 int
   15800 main ()
   15801 {
   15802 
   15803   ;
   15804   return 0;
   15805 }
   15806 _ACEOF
   15807 if ac_fn_c_try_link "$LINENO"; then :
   15808   eval $cacheid=yes
   15809 else
   15810   eval $cacheid=no
   15811 fi
   15812 rm -f core conftest.err conftest.$ac_objext \
   15813     conftest$ac_exeext conftest.$ac_ext
   15814 fi
   15815 
   15816 
   15817 		CFLAGS="$xorg_testset_save_CFLAGS"
   15818 
   15819 		eval supported=\$$cacheid
   15820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15821 $as_echo "$supported" >&6; }
   15822 		if test "$supported" = "yes" ; then
   15823 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15824 			found="yes"
   15825 		fi
   15826 	fi
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 xorg_testset_save_CFLAGS="$CFLAGS"
   15843 
   15844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15847 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15848 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15849   $as_echo_n "(cached) " >&6
   15850 else
   15851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15852 /* end confdefs.h.  */
   15853 int i;
   15854 _ACEOF
   15855 if ac_fn_c_try_compile "$LINENO"; then :
   15856   xorg_cv_cc_flag_unknown_warning_option=yes
   15857 else
   15858   xorg_cv_cc_flag_unknown_warning_option=no
   15859 fi
   15860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15861 fi
   15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15863 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15864 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15865 	CFLAGS="$xorg_testset_save_CFLAGS"
   15866 fi
   15867 
   15868 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15869 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15870 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15871 	fi
   15872 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15874 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15875 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15876   $as_echo_n "(cached) " >&6
   15877 else
   15878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15879 /* end confdefs.h.  */
   15880 int i;
   15881 _ACEOF
   15882 if ac_fn_c_try_compile "$LINENO"; then :
   15883   xorg_cv_cc_flag_unused_command_line_argument=yes
   15884 else
   15885   xorg_cv_cc_flag_unused_command_line_argument=no
   15886 fi
   15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15888 fi
   15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15890 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15892 	CFLAGS="$xorg_testset_save_CFLAGS"
   15893 fi
   15894 
   15895 found="no"
   15896 
   15897 	if test $found = "no" ; then
   15898 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15900 		fi
   15901 
   15902 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15904 		fi
   15905 
   15906 		CFLAGS="$CFLAGS -Wmain"
   15907 
   15908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15909 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15910 		cacheid=xorg_cv_cc_flag__Wmain
   15911 		if eval \${$cacheid+:} false; then :
   15912   $as_echo_n "(cached) " >&6
   15913 else
   15914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15915 /* end confdefs.h.  */
   15916 int i;
   15917 int
   15918 main ()
   15919 {
   15920 
   15921   ;
   15922   return 0;
   15923 }
   15924 _ACEOF
   15925 if ac_fn_c_try_link "$LINENO"; then :
   15926   eval $cacheid=yes
   15927 else
   15928   eval $cacheid=no
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext \
   15931     conftest$ac_exeext conftest.$ac_ext
   15932 fi
   15933 
   15934 
   15935 		CFLAGS="$xorg_testset_save_CFLAGS"
   15936 
   15937 		eval supported=\$$cacheid
   15938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15939 $as_echo "$supported" >&6; }
   15940 		if test "$supported" = "yes" ; then
   15941 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15942 			found="yes"
   15943 		fi
   15944 	fi
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 xorg_testset_save_CFLAGS="$CFLAGS"
   15961 
   15962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15965 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15966 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15967   $as_echo_n "(cached) " >&6
   15968 else
   15969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15970 /* end confdefs.h.  */
   15971 int i;
   15972 _ACEOF
   15973 if ac_fn_c_try_compile "$LINENO"; then :
   15974   xorg_cv_cc_flag_unknown_warning_option=yes
   15975 else
   15976   xorg_cv_cc_flag_unknown_warning_option=no
   15977 fi
   15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15979 fi
   15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15981 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15983 	CFLAGS="$xorg_testset_save_CFLAGS"
   15984 fi
   15985 
   15986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15989 	fi
   15990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15992 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15993 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15994   $as_echo_n "(cached) " >&6
   15995 else
   15996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15997 /* end confdefs.h.  */
   15998 int i;
   15999 _ACEOF
   16000 if ac_fn_c_try_compile "$LINENO"; then :
   16001   xorg_cv_cc_flag_unused_command_line_argument=yes
   16002 else
   16003   xorg_cv_cc_flag_unused_command_line_argument=no
   16004 fi
   16005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16006 fi
   16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16008 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16009 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16010 	CFLAGS="$xorg_testset_save_CFLAGS"
   16011 fi
   16012 
   16013 found="no"
   16014 
   16015 	if test $found = "no" ; then
   16016 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16017 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16018 		fi
   16019 
   16020 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16021 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16022 		fi
   16023 
   16024 		CFLAGS="$CFLAGS -Wmissing-braces"
   16025 
   16026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16027 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16028 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16029 		if eval \${$cacheid+:} false; then :
   16030   $as_echo_n "(cached) " >&6
   16031 else
   16032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16033 /* end confdefs.h.  */
   16034 int i;
   16035 int
   16036 main ()
   16037 {
   16038 
   16039   ;
   16040   return 0;
   16041 }
   16042 _ACEOF
   16043 if ac_fn_c_try_link "$LINENO"; then :
   16044   eval $cacheid=yes
   16045 else
   16046   eval $cacheid=no
   16047 fi
   16048 rm -f core conftest.err conftest.$ac_objext \
   16049     conftest$ac_exeext conftest.$ac_ext
   16050 fi
   16051 
   16052 
   16053 		CFLAGS="$xorg_testset_save_CFLAGS"
   16054 
   16055 		eval supported=\$$cacheid
   16056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16057 $as_echo "$supported" >&6; }
   16058 		if test "$supported" = "yes" ; then
   16059 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16060 			found="yes"
   16061 		fi
   16062 	fi
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 xorg_testset_save_CFLAGS="$CFLAGS"
   16079 
   16080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16083 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16084 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16085   $as_echo_n "(cached) " >&6
   16086 else
   16087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16088 /* end confdefs.h.  */
   16089 int i;
   16090 _ACEOF
   16091 if ac_fn_c_try_compile "$LINENO"; then :
   16092   xorg_cv_cc_flag_unknown_warning_option=yes
   16093 else
   16094   xorg_cv_cc_flag_unknown_warning_option=no
   16095 fi
   16096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16097 fi
   16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16099 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16101 	CFLAGS="$xorg_testset_save_CFLAGS"
   16102 fi
   16103 
   16104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16107 	fi
   16108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16110 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16111 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16112   $as_echo_n "(cached) " >&6
   16113 else
   16114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16115 /* end confdefs.h.  */
   16116 int i;
   16117 _ACEOF
   16118 if ac_fn_c_try_compile "$LINENO"; then :
   16119   xorg_cv_cc_flag_unused_command_line_argument=yes
   16120 else
   16121   xorg_cv_cc_flag_unused_command_line_argument=no
   16122 fi
   16123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16124 fi
   16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16126 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16128 	CFLAGS="$xorg_testset_save_CFLAGS"
   16129 fi
   16130 
   16131 found="no"
   16132 
   16133 	if test $found = "no" ; then
   16134 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16136 		fi
   16137 
   16138 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16140 		fi
   16141 
   16142 		CFLAGS="$CFLAGS -Wsequence-point"
   16143 
   16144 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16145 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16146 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16147 		if eval \${$cacheid+:} false; then :
   16148   $as_echo_n "(cached) " >&6
   16149 else
   16150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16151 /* end confdefs.h.  */
   16152 int i;
   16153 int
   16154 main ()
   16155 {
   16156 
   16157   ;
   16158   return 0;
   16159 }
   16160 _ACEOF
   16161 if ac_fn_c_try_link "$LINENO"; then :
   16162   eval $cacheid=yes
   16163 else
   16164   eval $cacheid=no
   16165 fi
   16166 rm -f core conftest.err conftest.$ac_objext \
   16167     conftest$ac_exeext conftest.$ac_ext
   16168 fi
   16169 
   16170 
   16171 		CFLAGS="$xorg_testset_save_CFLAGS"
   16172 
   16173 		eval supported=\$$cacheid
   16174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16175 $as_echo "$supported" >&6; }
   16176 		if test "$supported" = "yes" ; then
   16177 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16178 			found="yes"
   16179 		fi
   16180 	fi
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 xorg_testset_save_CFLAGS="$CFLAGS"
   16197 
   16198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16201 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16202 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16203   $as_echo_n "(cached) " >&6
   16204 else
   16205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16206 /* end confdefs.h.  */
   16207 int i;
   16208 _ACEOF
   16209 if ac_fn_c_try_compile "$LINENO"; then :
   16210   xorg_cv_cc_flag_unknown_warning_option=yes
   16211 else
   16212   xorg_cv_cc_flag_unknown_warning_option=no
   16213 fi
   16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16215 fi
   16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16217 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16219 	CFLAGS="$xorg_testset_save_CFLAGS"
   16220 fi
   16221 
   16222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16225 	fi
   16226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16228 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16229 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16230   $as_echo_n "(cached) " >&6
   16231 else
   16232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16233 /* end confdefs.h.  */
   16234 int i;
   16235 _ACEOF
   16236 if ac_fn_c_try_compile "$LINENO"; then :
   16237   xorg_cv_cc_flag_unused_command_line_argument=yes
   16238 else
   16239   xorg_cv_cc_flag_unused_command_line_argument=no
   16240 fi
   16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16242 fi
   16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16244 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16246 	CFLAGS="$xorg_testset_save_CFLAGS"
   16247 fi
   16248 
   16249 found="no"
   16250 
   16251 	if test $found = "no" ; then
   16252 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16254 		fi
   16255 
   16256 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16258 		fi
   16259 
   16260 		CFLAGS="$CFLAGS -Wreturn-type"
   16261 
   16262 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16263 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16264 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16265 		if eval \${$cacheid+:} false; then :
   16266   $as_echo_n "(cached) " >&6
   16267 else
   16268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16269 /* end confdefs.h.  */
   16270 int i;
   16271 int
   16272 main ()
   16273 {
   16274 
   16275   ;
   16276   return 0;
   16277 }
   16278 _ACEOF
   16279 if ac_fn_c_try_link "$LINENO"; then :
   16280   eval $cacheid=yes
   16281 else
   16282   eval $cacheid=no
   16283 fi
   16284 rm -f core conftest.err conftest.$ac_objext \
   16285     conftest$ac_exeext conftest.$ac_ext
   16286 fi
   16287 
   16288 
   16289 		CFLAGS="$xorg_testset_save_CFLAGS"
   16290 
   16291 		eval supported=\$$cacheid
   16292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16293 $as_echo "$supported" >&6; }
   16294 		if test "$supported" = "yes" ; then
   16295 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16296 			found="yes"
   16297 		fi
   16298 	fi
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 xorg_testset_save_CFLAGS="$CFLAGS"
   16315 
   16316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16319 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16320 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16321   $as_echo_n "(cached) " >&6
   16322 else
   16323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16324 /* end confdefs.h.  */
   16325 int i;
   16326 _ACEOF
   16327 if ac_fn_c_try_compile "$LINENO"; then :
   16328   xorg_cv_cc_flag_unknown_warning_option=yes
   16329 else
   16330   xorg_cv_cc_flag_unknown_warning_option=no
   16331 fi
   16332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16333 fi
   16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16335 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16337 	CFLAGS="$xorg_testset_save_CFLAGS"
   16338 fi
   16339 
   16340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16343 	fi
   16344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16346 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16347 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16348   $as_echo_n "(cached) " >&6
   16349 else
   16350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16351 /* end confdefs.h.  */
   16352 int i;
   16353 _ACEOF
   16354 if ac_fn_c_try_compile "$LINENO"; then :
   16355   xorg_cv_cc_flag_unused_command_line_argument=yes
   16356 else
   16357   xorg_cv_cc_flag_unused_command_line_argument=no
   16358 fi
   16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16360 fi
   16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16362 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16363 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16364 	CFLAGS="$xorg_testset_save_CFLAGS"
   16365 fi
   16366 
   16367 found="no"
   16368 
   16369 	if test $found = "no" ; then
   16370 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16372 		fi
   16373 
   16374 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16376 		fi
   16377 
   16378 		CFLAGS="$CFLAGS -Wtrigraphs"
   16379 
   16380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16381 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16382 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16383 		if eval \${$cacheid+:} false; then :
   16384   $as_echo_n "(cached) " >&6
   16385 else
   16386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16387 /* end confdefs.h.  */
   16388 int i;
   16389 int
   16390 main ()
   16391 {
   16392 
   16393   ;
   16394   return 0;
   16395 }
   16396 _ACEOF
   16397 if ac_fn_c_try_link "$LINENO"; then :
   16398   eval $cacheid=yes
   16399 else
   16400   eval $cacheid=no
   16401 fi
   16402 rm -f core conftest.err conftest.$ac_objext \
   16403     conftest$ac_exeext conftest.$ac_ext
   16404 fi
   16405 
   16406 
   16407 		CFLAGS="$xorg_testset_save_CFLAGS"
   16408 
   16409 		eval supported=\$$cacheid
   16410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16411 $as_echo "$supported" >&6; }
   16412 		if test "$supported" = "yes" ; then
   16413 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16414 			found="yes"
   16415 		fi
   16416 	fi
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 xorg_testset_save_CFLAGS="$CFLAGS"
   16433 
   16434 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16435 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16437 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16438 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16439   $as_echo_n "(cached) " >&6
   16440 else
   16441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16442 /* end confdefs.h.  */
   16443 int i;
   16444 _ACEOF
   16445 if ac_fn_c_try_compile "$LINENO"; then :
   16446   xorg_cv_cc_flag_unknown_warning_option=yes
   16447 else
   16448   xorg_cv_cc_flag_unknown_warning_option=no
   16449 fi
   16450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16451 fi
   16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16453 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16455 	CFLAGS="$xorg_testset_save_CFLAGS"
   16456 fi
   16457 
   16458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16461 	fi
   16462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16464 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16465 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16466   $as_echo_n "(cached) " >&6
   16467 else
   16468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16469 /* end confdefs.h.  */
   16470 int i;
   16471 _ACEOF
   16472 if ac_fn_c_try_compile "$LINENO"; then :
   16473   xorg_cv_cc_flag_unused_command_line_argument=yes
   16474 else
   16475   xorg_cv_cc_flag_unused_command_line_argument=no
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16478 fi
   16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16480 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16482 	CFLAGS="$xorg_testset_save_CFLAGS"
   16483 fi
   16484 
   16485 found="no"
   16486 
   16487 	if test $found = "no" ; then
   16488 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16490 		fi
   16491 
   16492 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16494 		fi
   16495 
   16496 		CFLAGS="$CFLAGS -Warray-bounds"
   16497 
   16498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16499 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16500 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16501 		if eval \${$cacheid+:} false; then :
   16502   $as_echo_n "(cached) " >&6
   16503 else
   16504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16505 /* end confdefs.h.  */
   16506 int i;
   16507 int
   16508 main ()
   16509 {
   16510 
   16511   ;
   16512   return 0;
   16513 }
   16514 _ACEOF
   16515 if ac_fn_c_try_link "$LINENO"; then :
   16516   eval $cacheid=yes
   16517 else
   16518   eval $cacheid=no
   16519 fi
   16520 rm -f core conftest.err conftest.$ac_objext \
   16521     conftest$ac_exeext conftest.$ac_ext
   16522 fi
   16523 
   16524 
   16525 		CFLAGS="$xorg_testset_save_CFLAGS"
   16526 
   16527 		eval supported=\$$cacheid
   16528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16529 $as_echo "$supported" >&6; }
   16530 		if test "$supported" = "yes" ; then
   16531 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16532 			found="yes"
   16533 		fi
   16534 	fi
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 xorg_testset_save_CFLAGS="$CFLAGS"
   16551 
   16552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16555 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16556 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16557   $as_echo_n "(cached) " >&6
   16558 else
   16559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16560 /* end confdefs.h.  */
   16561 int i;
   16562 _ACEOF
   16563 if ac_fn_c_try_compile "$LINENO"; then :
   16564   xorg_cv_cc_flag_unknown_warning_option=yes
   16565 else
   16566   xorg_cv_cc_flag_unknown_warning_option=no
   16567 fi
   16568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16569 fi
   16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16571 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16573 	CFLAGS="$xorg_testset_save_CFLAGS"
   16574 fi
   16575 
   16576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16579 	fi
   16580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16582 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16583 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16584   $as_echo_n "(cached) " >&6
   16585 else
   16586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16587 /* end confdefs.h.  */
   16588 int i;
   16589 _ACEOF
   16590 if ac_fn_c_try_compile "$LINENO"; then :
   16591   xorg_cv_cc_flag_unused_command_line_argument=yes
   16592 else
   16593   xorg_cv_cc_flag_unused_command_line_argument=no
   16594 fi
   16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16596 fi
   16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16598 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16599 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16600 	CFLAGS="$xorg_testset_save_CFLAGS"
   16601 fi
   16602 
   16603 found="no"
   16604 
   16605 	if test $found = "no" ; then
   16606 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16608 		fi
   16609 
   16610 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16612 		fi
   16613 
   16614 		CFLAGS="$CFLAGS -Wwrite-strings"
   16615 
   16616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16617 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16618 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16619 		if eval \${$cacheid+:} false; then :
   16620   $as_echo_n "(cached) " >&6
   16621 else
   16622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16623 /* end confdefs.h.  */
   16624 int i;
   16625 int
   16626 main ()
   16627 {
   16628 
   16629   ;
   16630   return 0;
   16631 }
   16632 _ACEOF
   16633 if ac_fn_c_try_link "$LINENO"; then :
   16634   eval $cacheid=yes
   16635 else
   16636   eval $cacheid=no
   16637 fi
   16638 rm -f core conftest.err conftest.$ac_objext \
   16639     conftest$ac_exeext conftest.$ac_ext
   16640 fi
   16641 
   16642 
   16643 		CFLAGS="$xorg_testset_save_CFLAGS"
   16644 
   16645 		eval supported=\$$cacheid
   16646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16647 $as_echo "$supported" >&6; }
   16648 		if test "$supported" = "yes" ; then
   16649 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16650 			found="yes"
   16651 		fi
   16652 	fi
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 xorg_testset_save_CFLAGS="$CFLAGS"
   16669 
   16670 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16671 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16673 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16674 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16675   $as_echo_n "(cached) " >&6
   16676 else
   16677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16678 /* end confdefs.h.  */
   16679 int i;
   16680 _ACEOF
   16681 if ac_fn_c_try_compile "$LINENO"; then :
   16682   xorg_cv_cc_flag_unknown_warning_option=yes
   16683 else
   16684   xorg_cv_cc_flag_unknown_warning_option=no
   16685 fi
   16686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16687 fi
   16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16689 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16690 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16691 	CFLAGS="$xorg_testset_save_CFLAGS"
   16692 fi
   16693 
   16694 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16695 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16696 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16697 	fi
   16698 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16700 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16701 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16702   $as_echo_n "(cached) " >&6
   16703 else
   16704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16705 /* end confdefs.h.  */
   16706 int i;
   16707 _ACEOF
   16708 if ac_fn_c_try_compile "$LINENO"; then :
   16709   xorg_cv_cc_flag_unused_command_line_argument=yes
   16710 else
   16711   xorg_cv_cc_flag_unused_command_line_argument=no
   16712 fi
   16713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16714 fi
   16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16716 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16717 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16718 	CFLAGS="$xorg_testset_save_CFLAGS"
   16719 fi
   16720 
   16721 found="no"
   16722 
   16723 	if test $found = "no" ; then
   16724 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16725 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16726 		fi
   16727 
   16728 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16729 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16730 		fi
   16731 
   16732 		CFLAGS="$CFLAGS -Waddress"
   16733 
   16734 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16735 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16736 		cacheid=xorg_cv_cc_flag__Waddress
   16737 		if eval \${$cacheid+:} false; then :
   16738   $as_echo_n "(cached) " >&6
   16739 else
   16740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16741 /* end confdefs.h.  */
   16742 int i;
   16743 int
   16744 main ()
   16745 {
   16746 
   16747   ;
   16748   return 0;
   16749 }
   16750 _ACEOF
   16751 if ac_fn_c_try_link "$LINENO"; then :
   16752   eval $cacheid=yes
   16753 else
   16754   eval $cacheid=no
   16755 fi
   16756 rm -f core conftest.err conftest.$ac_objext \
   16757     conftest$ac_exeext conftest.$ac_ext
   16758 fi
   16759 
   16760 
   16761 		CFLAGS="$xorg_testset_save_CFLAGS"
   16762 
   16763 		eval supported=\$$cacheid
   16764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16765 $as_echo "$supported" >&6; }
   16766 		if test "$supported" = "yes" ; then
   16767 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16768 			found="yes"
   16769 		fi
   16770 	fi
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 xorg_testset_save_CFLAGS="$CFLAGS"
   16787 
   16788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16791 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16792 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16793   $as_echo_n "(cached) " >&6
   16794 else
   16795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16796 /* end confdefs.h.  */
   16797 int i;
   16798 _ACEOF
   16799 if ac_fn_c_try_compile "$LINENO"; then :
   16800   xorg_cv_cc_flag_unknown_warning_option=yes
   16801 else
   16802   xorg_cv_cc_flag_unknown_warning_option=no
   16803 fi
   16804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16805 fi
   16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16807 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16808 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16809 	CFLAGS="$xorg_testset_save_CFLAGS"
   16810 fi
   16811 
   16812 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16813 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16814 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16815 	fi
   16816 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16818 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16819 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16820   $as_echo_n "(cached) " >&6
   16821 else
   16822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16823 /* end confdefs.h.  */
   16824 int i;
   16825 _ACEOF
   16826 if ac_fn_c_try_compile "$LINENO"; then :
   16827   xorg_cv_cc_flag_unused_command_line_argument=yes
   16828 else
   16829   xorg_cv_cc_flag_unused_command_line_argument=no
   16830 fi
   16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16832 fi
   16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16834 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16836 	CFLAGS="$xorg_testset_save_CFLAGS"
   16837 fi
   16838 
   16839 found="no"
   16840 
   16841 	if test $found = "no" ; then
   16842 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16844 		fi
   16845 
   16846 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16848 		fi
   16849 
   16850 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16851 
   16852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16853 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16854 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16855 		if eval \${$cacheid+:} false; then :
   16856   $as_echo_n "(cached) " >&6
   16857 else
   16858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16859 /* end confdefs.h.  */
   16860 int i;
   16861 int
   16862 main ()
   16863 {
   16864 
   16865   ;
   16866   return 0;
   16867 }
   16868 _ACEOF
   16869 if ac_fn_c_try_link "$LINENO"; then :
   16870   eval $cacheid=yes
   16871 else
   16872   eval $cacheid=no
   16873 fi
   16874 rm -f core conftest.err conftest.$ac_objext \
   16875     conftest$ac_exeext conftest.$ac_ext
   16876 fi
   16877 
   16878 
   16879 		CFLAGS="$xorg_testset_save_CFLAGS"
   16880 
   16881 		eval supported=\$$cacheid
   16882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16883 $as_echo "$supported" >&6; }
   16884 		if test "$supported" = "yes" ; then
   16885 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16886 			found="yes"
   16887 		fi
   16888 	fi
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 xorg_testset_save_CFLAGS="$CFLAGS"
   16905 
   16906 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16907 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16909 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16910 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16911   $as_echo_n "(cached) " >&6
   16912 else
   16913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16914 /* end confdefs.h.  */
   16915 int i;
   16916 _ACEOF
   16917 if ac_fn_c_try_compile "$LINENO"; then :
   16918   xorg_cv_cc_flag_unknown_warning_option=yes
   16919 else
   16920   xorg_cv_cc_flag_unknown_warning_option=no
   16921 fi
   16922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16923 fi
   16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16925 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16927 	CFLAGS="$xorg_testset_save_CFLAGS"
   16928 fi
   16929 
   16930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16933 	fi
   16934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16936 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16937 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16938   $as_echo_n "(cached) " >&6
   16939 else
   16940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16941 /* end confdefs.h.  */
   16942 int i;
   16943 _ACEOF
   16944 if ac_fn_c_try_compile "$LINENO"; then :
   16945   xorg_cv_cc_flag_unused_command_line_argument=yes
   16946 else
   16947   xorg_cv_cc_flag_unused_command_line_argument=no
   16948 fi
   16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16950 fi
   16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16952 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16954 	CFLAGS="$xorg_testset_save_CFLAGS"
   16955 fi
   16956 
   16957 found="no"
   16958 
   16959 	if test $found = "no" ; then
   16960 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16962 		fi
   16963 
   16964 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16966 		fi
   16967 
   16968 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16969 
   16970 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16971 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16972 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16973 		if eval \${$cacheid+:} false; then :
   16974   $as_echo_n "(cached) " >&6
   16975 else
   16976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16977 /* end confdefs.h.  */
   16978 int i;
   16979 int
   16980 main ()
   16981 {
   16982 
   16983   ;
   16984   return 0;
   16985 }
   16986 _ACEOF
   16987 if ac_fn_c_try_link "$LINENO"; then :
   16988   eval $cacheid=yes
   16989 else
   16990   eval $cacheid=no
   16991 fi
   16992 rm -f core conftest.err conftest.$ac_objext \
   16993     conftest$ac_exeext conftest.$ac_ext
   16994 fi
   16995 
   16996 
   16997 		CFLAGS="$xorg_testset_save_CFLAGS"
   16998 
   16999 		eval supported=\$$cacheid
   17000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17001 $as_echo "$supported" >&6; }
   17002 		if test "$supported" = "yes" ; then
   17003 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17004 			found="yes"
   17005 		fi
   17006 	fi
   17007 
   17008 
   17009 fi
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 		CWARNFLAGS="$BASE_CFLAGS"
   17018 		if  test "x$GCC" = xyes ; then
   17019 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17020 		fi
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 # Check whether --enable-strict-compilation was given.
   17030 if test "${enable_strict_compilation+set}" = set; then :
   17031   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17032 else
   17033   STRICT_COMPILE=no
   17034 fi
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 STRICT_CFLAGS=""
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 xorg_testset_save_CFLAGS="$CFLAGS"
   17056 
   17057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17061 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17062   $as_echo_n "(cached) " >&6
   17063 else
   17064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17065 /* end confdefs.h.  */
   17066 int i;
   17067 _ACEOF
   17068 if ac_fn_c_try_compile "$LINENO"; then :
   17069   xorg_cv_cc_flag_unknown_warning_option=yes
   17070 else
   17071   xorg_cv_cc_flag_unknown_warning_option=no
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17074 fi
   17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17076 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17078 	CFLAGS="$xorg_testset_save_CFLAGS"
   17079 fi
   17080 
   17081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17084 	fi
   17085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17087 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17088 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17089   $as_echo_n "(cached) " >&6
   17090 else
   17091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17092 /* end confdefs.h.  */
   17093 int i;
   17094 _ACEOF
   17095 if ac_fn_c_try_compile "$LINENO"; then :
   17096   xorg_cv_cc_flag_unused_command_line_argument=yes
   17097 else
   17098   xorg_cv_cc_flag_unused_command_line_argument=no
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17101 fi
   17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17103 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17105 	CFLAGS="$xorg_testset_save_CFLAGS"
   17106 fi
   17107 
   17108 found="no"
   17109 
   17110 	if test $found = "no" ; then
   17111 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17113 		fi
   17114 
   17115 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17117 		fi
   17118 
   17119 		CFLAGS="$CFLAGS -pedantic"
   17120 
   17121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17122 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17123 		cacheid=xorg_cv_cc_flag__pedantic
   17124 		if eval \${$cacheid+:} false; then :
   17125   $as_echo_n "(cached) " >&6
   17126 else
   17127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17128 /* end confdefs.h.  */
   17129 int i;
   17130 int
   17131 main ()
   17132 {
   17133 
   17134   ;
   17135   return 0;
   17136 }
   17137 _ACEOF
   17138 if ac_fn_c_try_link "$LINENO"; then :
   17139   eval $cacheid=yes
   17140 else
   17141   eval $cacheid=no
   17142 fi
   17143 rm -f core conftest.err conftest.$ac_objext \
   17144     conftest$ac_exeext conftest.$ac_ext
   17145 fi
   17146 
   17147 
   17148 		CFLAGS="$xorg_testset_save_CFLAGS"
   17149 
   17150 		eval supported=\$$cacheid
   17151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17152 $as_echo "$supported" >&6; }
   17153 		if test "$supported" = "yes" ; then
   17154 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17155 			found="yes"
   17156 		fi
   17157 	fi
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 xorg_testset_save_CFLAGS="$CFLAGS"
   17174 
   17175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17180   $as_echo_n "(cached) " >&6
   17181 else
   17182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17183 /* end confdefs.h.  */
   17184 int i;
   17185 _ACEOF
   17186 if ac_fn_c_try_compile "$LINENO"; then :
   17187   xorg_cv_cc_flag_unknown_warning_option=yes
   17188 else
   17189   xorg_cv_cc_flag_unknown_warning_option=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17192 fi
   17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17196 	CFLAGS="$xorg_testset_save_CFLAGS"
   17197 fi
   17198 
   17199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17202 	fi
   17203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17207   $as_echo_n "(cached) " >&6
   17208 else
   17209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17210 /* end confdefs.h.  */
   17211 int i;
   17212 _ACEOF
   17213 if ac_fn_c_try_compile "$LINENO"; then :
   17214   xorg_cv_cc_flag_unused_command_line_argument=yes
   17215 else
   17216   xorg_cv_cc_flag_unused_command_line_argument=no
   17217 fi
   17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17219 fi
   17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17223 	CFLAGS="$xorg_testset_save_CFLAGS"
   17224 fi
   17225 
   17226 found="no"
   17227 
   17228 	if test $found = "no" ; then
   17229 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17231 		fi
   17232 
   17233 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17235 		fi
   17236 
   17237 		CFLAGS="$CFLAGS -Werror"
   17238 
   17239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17240 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17241 		cacheid=xorg_cv_cc_flag__Werror
   17242 		if eval \${$cacheid+:} false; then :
   17243   $as_echo_n "(cached) " >&6
   17244 else
   17245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17246 /* end confdefs.h.  */
   17247 int i;
   17248 int
   17249 main ()
   17250 {
   17251 
   17252   ;
   17253   return 0;
   17254 }
   17255 _ACEOF
   17256 if ac_fn_c_try_link "$LINENO"; then :
   17257   eval $cacheid=yes
   17258 else
   17259   eval $cacheid=no
   17260 fi
   17261 rm -f core conftest.err conftest.$ac_objext \
   17262     conftest$ac_exeext conftest.$ac_ext
   17263 fi
   17264 
   17265 
   17266 		CFLAGS="$xorg_testset_save_CFLAGS"
   17267 
   17268 		eval supported=\$$cacheid
   17269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17270 $as_echo "$supported" >&6; }
   17271 		if test "$supported" = "yes" ; then
   17272 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17273 			found="yes"
   17274 		fi
   17275 	fi
   17276 
   17277 	if test $found = "no" ; then
   17278 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17280 		fi
   17281 
   17282 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17284 		fi
   17285 
   17286 		CFLAGS="$CFLAGS -errwarn"
   17287 
   17288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17289 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17290 		cacheid=xorg_cv_cc_flag__errwarn
   17291 		if eval \${$cacheid+:} false; then :
   17292   $as_echo_n "(cached) " >&6
   17293 else
   17294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17295 /* end confdefs.h.  */
   17296 int i;
   17297 int
   17298 main ()
   17299 {
   17300 
   17301   ;
   17302   return 0;
   17303 }
   17304 _ACEOF
   17305 if ac_fn_c_try_link "$LINENO"; then :
   17306   eval $cacheid=yes
   17307 else
   17308   eval $cacheid=no
   17309 fi
   17310 rm -f core conftest.err conftest.$ac_objext \
   17311     conftest$ac_exeext conftest.$ac_ext
   17312 fi
   17313 
   17314 
   17315 		CFLAGS="$xorg_testset_save_CFLAGS"
   17316 
   17317 		eval supported=\$$cacheid
   17318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17319 $as_echo "$supported" >&6; }
   17320 		if test "$supported" = "yes" ; then
   17321 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17322 			found="yes"
   17323 		fi
   17324 	fi
   17325 
   17326 
   17327 
   17328 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17329 # activate it with -Werror, so we add it here explicitly.
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 xorg_testset_save_CFLAGS="$CFLAGS"
   17344 
   17345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17347 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17348 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17349 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17350   $as_echo_n "(cached) " >&6
   17351 else
   17352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17353 /* end confdefs.h.  */
   17354 int i;
   17355 _ACEOF
   17356 if ac_fn_c_try_compile "$LINENO"; then :
   17357   xorg_cv_cc_flag_unknown_warning_option=yes
   17358 else
   17359   xorg_cv_cc_flag_unknown_warning_option=no
   17360 fi
   17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17362 fi
   17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17364 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17366 	CFLAGS="$xorg_testset_save_CFLAGS"
   17367 fi
   17368 
   17369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17372 	fi
   17373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17374 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17375 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17376 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17377   $as_echo_n "(cached) " >&6
   17378 else
   17379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17380 /* end confdefs.h.  */
   17381 int i;
   17382 _ACEOF
   17383 if ac_fn_c_try_compile "$LINENO"; then :
   17384   xorg_cv_cc_flag_unused_command_line_argument=yes
   17385 else
   17386   xorg_cv_cc_flag_unused_command_line_argument=no
   17387 fi
   17388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17389 fi
   17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17391 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17393 	CFLAGS="$xorg_testset_save_CFLAGS"
   17394 fi
   17395 
   17396 found="no"
   17397 
   17398 	if test $found = "no" ; then
   17399 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17401 		fi
   17402 
   17403 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17405 		fi
   17406 
   17407 		CFLAGS="$CFLAGS -Werror=attributes"
   17408 
   17409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17410 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17411 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17412 		if eval \${$cacheid+:} false; then :
   17413   $as_echo_n "(cached) " >&6
   17414 else
   17415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17416 /* end confdefs.h.  */
   17417 int i;
   17418 int
   17419 main ()
   17420 {
   17421 
   17422   ;
   17423   return 0;
   17424 }
   17425 _ACEOF
   17426 if ac_fn_c_try_link "$LINENO"; then :
   17427   eval $cacheid=yes
   17428 else
   17429   eval $cacheid=no
   17430 fi
   17431 rm -f core conftest.err conftest.$ac_objext \
   17432     conftest$ac_exeext conftest.$ac_ext
   17433 fi
   17434 
   17435 
   17436 		CFLAGS="$xorg_testset_save_CFLAGS"
   17437 
   17438 		eval supported=\$$cacheid
   17439 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17440 $as_echo "$supported" >&6; }
   17441 		if test "$supported" = "yes" ; then
   17442 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17443 			found="yes"
   17444 		fi
   17445 	fi
   17446 
   17447 
   17448 
   17449 if test "x$STRICT_COMPILE" = "xyes"; then
   17450     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17451     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17452 fi
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 cat >>confdefs.h <<_ACEOF
   17460 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17461 _ACEOF
   17462 
   17463 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17464 	if test "x$PVM" = "x"; then
   17465 		PVM="0"
   17466 	fi
   17467 
   17468 cat >>confdefs.h <<_ACEOF
   17469 #define PACKAGE_VERSION_MINOR $PVM
   17470 _ACEOF
   17471 
   17472 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17473 	if test "x$PVP" = "x"; then
   17474 		PVP="0"
   17475 	fi
   17476 
   17477 cat >>confdefs.h <<_ACEOF
   17478 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17479 _ACEOF
   17480 
   17481 
   17482 
   17483 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17484 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17485 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17486 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17487 
   17488 
   17489 
   17490 
   17491 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17492 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17493 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17494 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17495 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 if test x$APP_MAN_SUFFIX = x    ; then
   17503     APP_MAN_SUFFIX=1
   17504 fi
   17505 if test x$APP_MAN_DIR = x    ; then
   17506     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17507 fi
   17508 
   17509 if test x$LIB_MAN_SUFFIX = x    ; then
   17510     LIB_MAN_SUFFIX=3
   17511 fi
   17512 if test x$LIB_MAN_DIR = x    ; then
   17513     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17514 fi
   17515 
   17516 if test x$FILE_MAN_SUFFIX = x    ; then
   17517     case $host_os in
   17518 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17519 	*)		FILE_MAN_SUFFIX=5  ;;
   17520     esac
   17521 fi
   17522 if test x$FILE_MAN_DIR = x    ; then
   17523     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17524 fi
   17525 
   17526 if test x$MISC_MAN_SUFFIX = x    ; then
   17527     case $host_os in
   17528 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17529 	*)		MISC_MAN_SUFFIX=7  ;;
   17530     esac
   17531 fi
   17532 if test x$MISC_MAN_DIR = x    ; then
   17533     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17534 fi
   17535 
   17536 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17537     case $host_os in
   17538 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17539 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17540     esac
   17541 fi
   17542 if test x$DRIVER_MAN_DIR = x    ; then
   17543     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17544 fi
   17545 
   17546 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17547     case $host_os in
   17548 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17549 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17550     esac
   17551 fi
   17552 if test x$ADMIN_MAN_DIR = x    ; then
   17553     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17554 fi
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 XORG_MAN_PAGE="X Version 11"
   17571 
   17572 MAN_SUBSTS="\
   17573 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17574 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17575 	-e 's|__xservername__|Xorg|g' \
   17576 	-e 's|__xconfigfile__|xorg.conf|g' \
   17577 	-e 's|__projectroot__|\$(prefix)|g' \
   17578 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17579 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17580 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17581 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17582 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17583 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17584 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17585 
   17586 
   17587 
   17588 # Check whether --enable-silent-rules was given.
   17589 if test "${enable_silent_rules+set}" = set; then :
   17590   enableval=$enable_silent_rules;
   17591 fi
   17592 
   17593 case $enable_silent_rules in # (((
   17594   yes) AM_DEFAULT_VERBOSITY=0;;
   17595    no) AM_DEFAULT_VERBOSITY=1;;
   17596     *) AM_DEFAULT_VERBOSITY=0;;
   17597 esac
   17598 am_make=${MAKE-make}
   17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17600 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17601 if ${am_cv_make_support_nested_variables+:} false; then :
   17602   $as_echo_n "(cached) " >&6
   17603 else
   17604   if $as_echo 'TRUE=$(BAR$(V))
   17605 BAR0=false
   17606 BAR1=true
   17607 V=1
   17608 am__doit:
   17609 	@$(TRUE)
   17610 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17611   am_cv_make_support_nested_variables=yes
   17612 else
   17613   am_cv_make_support_nested_variables=no
   17614 fi
   17615 fi
   17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17617 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17618 if test $am_cv_make_support_nested_variables = yes; then
   17619     AM_V='$(V)'
   17620   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17621 else
   17622   AM_V=$AM_DEFAULT_VERBOSITY
   17623   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17624 fi
   17625 AM_BACKSLASH='\'
   17626 
   17627 
   17628 
   17629 # Set library version for Xcursor.h from package version set in AC_INIT
   17630 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   17631 
   17632 cat >>confdefs.h <<_ACEOF
   17633 #define XCURSOR_LIB_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17634 _ACEOF
   17635 
   17636 
   17637 cat >>confdefs.h <<_ACEOF
   17638 #define XCURSOR_LIB_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17639 _ACEOF
   17640 
   17641 
   17642 cat >>confdefs.h <<_ACEOF
   17643 #define XCURSOR_LIB_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17644 _ACEOF
   17645 
   17646 
   17647 
   17648 
   17649 # Check whether --with-icondir was given.
   17650 if test "${with_icondir+set}" = set; then :
   17651   withval=$with_icondir; ICONDIR="$withval"
   17652 else
   17653   ICONDIR=${datadir}/icons
   17654 fi
   17655 
   17656 
   17657 
   17658 DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps"
   17659 if test "x${ICONDIR}" != "x${datadir}/icons"; then
   17660 	DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}"
   17661 fi
   17662 
   17663 # Check whether --with-cursorpath was given.
   17664 if test "${with_cursorpath+set}" = set; then :
   17665   withval=$with_cursorpath; XCURSORPATH="$withval"
   17666 else
   17667   XCURSORPATH=$DEF_CURSORPATH
   17668 fi
   17669 
   17670 
   17671 
   17672 # Obtain compiler/linker options for depedencies
   17673 
   17674 pkg_failed=no
   17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCURSOR" >&5
   17676 $as_echo_n "checking for XCURSOR... " >&6; }
   17677 
   17678 if test -n "$XCURSOR_CFLAGS"; then
   17679     pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS"
   17680  elif test -n "$PKG_CONFIG"; then
   17681     if test -n "$PKG_CONFIG" && \
   17682     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   17683   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   17684   ac_status=$?
   17685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17686   test $ac_status = 0; }; then
   17687   pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   17688 else
   17689   pkg_failed=yes
   17690 fi
   17691  else
   17692     pkg_failed=untried
   17693 fi
   17694 if test -n "$XCURSOR_LIBS"; then
   17695     pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS"
   17696  elif test -n "$PKG_CONFIG"; then
   17697     if test -n "$PKG_CONFIG" && \
   17698     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\""; } >&5
   17699   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5
   17700   ac_status=$?
   17701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17702   test $ac_status = 0; }; then
   17703   pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null`
   17704 else
   17705   pkg_failed=yes
   17706 fi
   17707  else
   17708     pkg_failed=untried
   17709 fi
   17710 
   17711 
   17712 
   17713 if test $pkg_failed = yes; then
   17714 
   17715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17716         _pkg_short_errors_supported=yes
   17717 else
   17718         _pkg_short_errors_supported=no
   17719 fi
   17720         if test $_pkg_short_errors_supported = yes; then
   17721 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   17722         else
   17723 	        XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1`
   17724         fi
   17725 	# Put the nasty error message in config.log where it belongs
   17726 	echo "$XCURSOR_PKG_ERRORS" >&5
   17727 
   17728 	as_fn_error $? "Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met:
   17729 
   17730 $XCURSOR_PKG_ERRORS
   17731 
   17732 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17733 installed software in a non-standard prefix.
   17734 
   17735 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   17736 and XCURSOR_LIBS to avoid the need to call pkg-config.
   17737 See the pkg-config man page for more details.
   17738 " "$LINENO" 5
   17739 elif test $pkg_failed = untried; then
   17740 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17742 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17743 is in your PATH or set the PKG_CONFIG environment variable to the full
   17744 path to pkg-config.
   17745 
   17746 Alternatively, you may set the environment variables XCURSOR_CFLAGS
   17747 and XCURSOR_LIBS to avoid the need to call pkg-config.
   17748 See the pkg-config man page for more details.
   17749 
   17750 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17751 See \`config.log' for more details" "$LINENO" 5; }
   17752 else
   17753 	XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS
   17754 	XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS
   17755         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17756 $as_echo "yes" >&6; }
   17757 	:
   17758 fi
   17759 
   17760 $as_echo "#define HAVE_XFIXES 1" >>confdefs.h
   17761 
   17762 
   17763 # Allow checking code with lint, sparse, etc.
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 # Check whether --with-lint was given.
   17770 if test "${with_lint+set}" = set; then :
   17771   withval=$with_lint; use_lint=$withval
   17772 else
   17773   use_lint=no
   17774 fi
   17775 
   17776 
   17777 # Obtain platform specific info like program name and options
   17778 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   17779 case $host_os in
   17780   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   17781 	lint_name=splint
   17782 	lint_options="-badflag"
   17783 	;;
   17784   *freebsd* | *netbsd*)
   17785 	lint_name=lint
   17786 	lint_options="-u -b"
   17787 	;;
   17788   *solaris*)
   17789 	lint_name=lint
   17790 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   17791 	;;
   17792 esac
   17793 
   17794 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   17795 if test "x$use_lint" = x"yes" ; then
   17796    # Extract the first word of "$lint_name", so it can be a program name with args.
   17797 set dummy $lint_name; ac_word=$2
   17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17799 $as_echo_n "checking for $ac_word... " >&6; }
   17800 if ${ac_cv_path_LINT+:} false; then :
   17801   $as_echo_n "(cached) " >&6
   17802 else
   17803   case $LINT in
   17804   [\\/]* | ?:[\\/]*)
   17805   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   17806   ;;
   17807   *)
   17808   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17809 for as_dir in $PATH
   17810 do
   17811   IFS=$as_save_IFS
   17812   test -z "$as_dir" && as_dir=.
   17813     for ac_exec_ext in '' $ac_executable_extensions; do
   17814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17815     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   17816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17817     break 2
   17818   fi
   17819 done
   17820   done
   17821 IFS=$as_save_IFS
   17822 
   17823   ;;
   17824 esac
   17825 fi
   17826 LINT=$ac_cv_path_LINT
   17827 if test -n "$LINT"; then
   17828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   17829 $as_echo "$LINT" >&6; }
   17830 else
   17831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17832 $as_echo "no" >&6; }
   17833 fi
   17834 
   17835 
   17836    if test "x$LINT" = "x"; then
   17837         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   17838    fi
   17839 elif test "x$use_lint" = x"no" ; then
   17840    if test "x$LINT" != "x"; then
   17841       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   17842 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   17843    fi
   17844 else
   17845    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   17846 fi
   17847 
   17848 # User supplied flags override default flags
   17849 if test "x$LINT_FLAGS" != "x"; then
   17850    lint_options=$LINT_FLAGS
   17851 fi
   17852 
   17853 LINT_FLAGS=$lint_options
   17854 
   17855  if test "x$LINT" != x; then
   17856   LINT_TRUE=
   17857   LINT_FALSE='#'
   17858 else
   17859   LINT_TRUE='#'
   17860   LINT_FALSE=
   17861 fi
   17862 
   17863 
   17864 
   17865 
   17866 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc"
   17867 
   17868 cat >confcache <<\_ACEOF
   17869 # This file is a shell script that caches the results of configure
   17870 # tests run on this system so they can be shared between configure
   17871 # scripts and configure runs, see configure's option --config-cache.
   17872 # It is not useful on other systems.  If it contains results you don't
   17873 # want to keep, you may remove or edit it.
   17874 #
   17875 # config.status only pays attention to the cache file if you give it
   17876 # the --recheck option to rerun configure.
   17877 #
   17878 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17879 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17880 # following values.
   17881 
   17882 _ACEOF
   17883 
   17884 # The following way of writing the cache mishandles newlines in values,
   17885 # but we know of no workaround that is simple, portable, and efficient.
   17886 # So, we kill variables containing newlines.
   17887 # Ultrix sh set writes to stderr and can't be redirected directly,
   17888 # and sets the high bit in the cache file unless we assign to the vars.
   17889 (
   17890   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17891     eval ac_val=\$$ac_var
   17892     case $ac_val in #(
   17893     *${as_nl}*)
   17894       case $ac_var in #(
   17895       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17896 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17897       esac
   17898       case $ac_var in #(
   17899       _ | IFS | as_nl) ;; #(
   17900       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17901       *) { eval $ac_var=; unset $ac_var;} ;;
   17902       esac ;;
   17903     esac
   17904   done
   17905 
   17906   (set) 2>&1 |
   17907     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17908     *${as_nl}ac_space=\ *)
   17909       # `set' does not quote correctly, so add quotes: double-quote
   17910       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17911       sed -n \
   17912 	"s/'/'\\\\''/g;
   17913 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17914       ;; #(
   17915     *)
   17916       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17917       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17918       ;;
   17919     esac |
   17920     sort
   17921 ) |
   17922   sed '
   17923      /^ac_cv_env_/b end
   17924      t clear
   17925      :clear
   17926      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17927      t end
   17928      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17929      :end' >>confcache
   17930 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17931   if test -w "$cache_file"; then
   17932     if test "x$cache_file" != "x/dev/null"; then
   17933       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17934 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17935       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17936 	cat confcache >"$cache_file"
   17937       else
   17938         case $cache_file in #(
   17939         */* | ?:*)
   17940 	  mv -f confcache "$cache_file"$$ &&
   17941 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17942         *)
   17943 	  mv -f confcache "$cache_file" ;;
   17944 	esac
   17945       fi
   17946     fi
   17947   else
   17948     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17949 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17950   fi
   17951 fi
   17952 rm -f confcache
   17953 
   17954 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17955 # Let make expand exec_prefix.
   17956 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17957 
   17958 DEFS=-DHAVE_CONFIG_H
   17959 
   17960 ac_libobjs=
   17961 ac_ltlibobjs=
   17962 U=
   17963 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17964   # 1. Remove the extension, and $U if already installed.
   17965   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17966   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17967   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17968   #    will be set to the directory where LIBOBJS objects are built.
   17969   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17970   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17971 done
   17972 LIBOBJS=$ac_libobjs
   17973 
   17974 LTLIBOBJS=$ac_ltlibobjs
   17975 
   17976 
   17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17978 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17979    if test -n "$am_sleep_pid"; then
   17980      # Hide warnings about reused PIDs.
   17981      wait $am_sleep_pid 2>/dev/null
   17982    fi
   17983    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17984 $as_echo "done" >&6; }
   17985  if test -n "$EXEEXT"; then
   17986   am__EXEEXT_TRUE=
   17987   am__EXEEXT_FALSE='#'
   17988 else
   17989   am__EXEEXT_TRUE='#'
   17990   am__EXEEXT_FALSE=
   17991 fi
   17992 
   17993 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17994   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17996 fi
   17997 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17998   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18000 fi
   18001 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18002   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18004 fi
   18005 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18006   as_fn_error $? "conditional \"LINT\" was never defined.
   18007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18008 fi
   18009 
   18010 : "${CONFIG_STATUS=./config.status}"
   18011 ac_write_fail=0
   18012 ac_clean_files_save=$ac_clean_files
   18013 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18015 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18016 as_write_fail=0
   18017 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18018 #! $SHELL
   18019 # Generated by $as_me.
   18020 # Run this file to recreate the current configuration.
   18021 # Compiler output produced by configure, useful for debugging
   18022 # configure, is in config.log if it exists.
   18023 
   18024 debug=false
   18025 ac_cs_recheck=false
   18026 ac_cs_silent=false
   18027 
   18028 SHELL=\${CONFIG_SHELL-$SHELL}
   18029 export SHELL
   18030 _ASEOF
   18031 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18032 ## -------------------- ##
   18033 ## M4sh Initialization. ##
   18034 ## -------------------- ##
   18035 
   18036 # Be more Bourne compatible
   18037 DUALCASE=1; export DUALCASE # for MKS sh
   18038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18039   emulate sh
   18040   NULLCMD=:
   18041   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18042   # is contrary to our usage.  Disable this feature.
   18043   alias -g '${1+"$@"}'='"$@"'
   18044   setopt NO_GLOB_SUBST
   18045 else
   18046   case `(set -o) 2>/dev/null` in #(
   18047   *posix*) :
   18048     set -o posix ;; #(
   18049   *) :
   18050      ;;
   18051 esac
   18052 fi
   18053 
   18054 
   18055 as_nl='
   18056 '
   18057 export as_nl
   18058 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18059 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18062 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18063 # but without wasting forks for bash or zsh.
   18064 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18065     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18066   as_echo='print -r --'
   18067   as_echo_n='print -rn --'
   18068 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18069   as_echo='printf %s\n'
   18070   as_echo_n='printf %s'
   18071 else
   18072   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18073     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18074     as_echo_n='/usr/ucb/echo -n'
   18075   else
   18076     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18077     as_echo_n_body='eval
   18078       arg=$1;
   18079       case $arg in #(
   18080       *"$as_nl"*)
   18081 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18082 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18083       esac;
   18084       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18085     '
   18086     export as_echo_n_body
   18087     as_echo_n='sh -c $as_echo_n_body as_echo'
   18088   fi
   18089   export as_echo_body
   18090   as_echo='sh -c $as_echo_body as_echo'
   18091 fi
   18092 
   18093 # The user is always right.
   18094 if test "${PATH_SEPARATOR+set}" != set; then
   18095   PATH_SEPARATOR=:
   18096   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18097     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18098       PATH_SEPARATOR=';'
   18099   }
   18100 fi
   18101 
   18102 
   18103 # IFS
   18104 # We need space, tab and new line, in precisely that order.  Quoting is
   18105 # there to prevent editors from complaining about space-tab.
   18106 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18107 # splitting by setting IFS to empty value.)
   18108 IFS=" ""	$as_nl"
   18109 
   18110 # Find who we are.  Look in the path if we contain no directory separator.
   18111 as_myself=
   18112 case $0 in #((
   18113   *[\\/]* ) as_myself=$0 ;;
   18114   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18115 for as_dir in $PATH
   18116 do
   18117   IFS=$as_save_IFS
   18118   test -z "$as_dir" && as_dir=.
   18119     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18120   done
   18121 IFS=$as_save_IFS
   18122 
   18123      ;;
   18124 esac
   18125 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18126 # in which case we are not to be found in the path.
   18127 if test "x$as_myself" = x; then
   18128   as_myself=$0
   18129 fi
   18130 if test ! -f "$as_myself"; then
   18131   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18132   exit 1
   18133 fi
   18134 
   18135 # Unset variables that we do not need and which cause bugs (e.g. in
   18136 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18137 # suppresses any "Segmentation fault" message there.  '((' could
   18138 # trigger a bug in pdksh 5.2.14.
   18139 for as_var in BASH_ENV ENV MAIL MAILPATH
   18140 do eval test x\${$as_var+set} = xset \
   18141   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18142 done
   18143 PS1='$ '
   18144 PS2='> '
   18145 PS4='+ '
   18146 
   18147 # NLS nuisances.
   18148 LC_ALL=C
   18149 export LC_ALL
   18150 LANGUAGE=C
   18151 export LANGUAGE
   18152 
   18153 # CDPATH.
   18154 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18155 
   18156 
   18157 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18158 # ----------------------------------------
   18159 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18160 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18161 # script with STATUS, using 1 if that was 0.
   18162 as_fn_error ()
   18163 {
   18164   as_status=$1; test $as_status -eq 0 && as_status=1
   18165   if test "$4"; then
   18166     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18167     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18168   fi
   18169   $as_echo "$as_me: error: $2" >&2
   18170   as_fn_exit $as_status
   18171 } # as_fn_error
   18172 
   18173 
   18174 # as_fn_set_status STATUS
   18175 # -----------------------
   18176 # Set $? to STATUS, without forking.
   18177 as_fn_set_status ()
   18178 {
   18179   return $1
   18180 } # as_fn_set_status
   18181 
   18182 # as_fn_exit STATUS
   18183 # -----------------
   18184 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18185 as_fn_exit ()
   18186 {
   18187   set +e
   18188   as_fn_set_status $1
   18189   exit $1
   18190 } # as_fn_exit
   18191 
   18192 # as_fn_unset VAR
   18193 # ---------------
   18194 # Portably unset VAR.
   18195 as_fn_unset ()
   18196 {
   18197   { eval $1=; unset $1;}
   18198 }
   18199 as_unset=as_fn_unset
   18200 # as_fn_append VAR VALUE
   18201 # ----------------------
   18202 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18203 # advantage of any shell optimizations that allow amortized linear growth over
   18204 # repeated appends, instead of the typical quadratic growth present in naive
   18205 # implementations.
   18206 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18207   eval 'as_fn_append ()
   18208   {
   18209     eval $1+=\$2
   18210   }'
   18211 else
   18212   as_fn_append ()
   18213   {
   18214     eval $1=\$$1\$2
   18215   }
   18216 fi # as_fn_append
   18217 
   18218 # as_fn_arith ARG...
   18219 # ------------------
   18220 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18221 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18222 # must be portable across $(()) and expr.
   18223 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18224   eval 'as_fn_arith ()
   18225   {
   18226     as_val=$(( $* ))
   18227   }'
   18228 else
   18229   as_fn_arith ()
   18230   {
   18231     as_val=`expr "$@" || test $? -eq 1`
   18232   }
   18233 fi # as_fn_arith
   18234 
   18235 
   18236 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18237    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18238   as_expr=expr
   18239 else
   18240   as_expr=false
   18241 fi
   18242 
   18243 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18244   as_basename=basename
   18245 else
   18246   as_basename=false
   18247 fi
   18248 
   18249 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18250   as_dirname=dirname
   18251 else
   18252   as_dirname=false
   18253 fi
   18254 
   18255 as_me=`$as_basename -- "$0" ||
   18256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18257 	 X"$0" : 'X\(//\)$' \| \
   18258 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18259 $as_echo X/"$0" |
   18260     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18261 	    s//\1/
   18262 	    q
   18263 	  }
   18264 	  /^X\/\(\/\/\)$/{
   18265 	    s//\1/
   18266 	    q
   18267 	  }
   18268 	  /^X\/\(\/\).*/{
   18269 	    s//\1/
   18270 	    q
   18271 	  }
   18272 	  s/.*/./; q'`
   18273 
   18274 # Avoid depending upon Character Ranges.
   18275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18278 as_cr_digits='0123456789'
   18279 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18280 
   18281 ECHO_C= ECHO_N= ECHO_T=
   18282 case `echo -n x` in #(((((
   18283 -n*)
   18284   case `echo 'xy\c'` in
   18285   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18286   xy)  ECHO_C='\c';;
   18287   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18288        ECHO_T='	';;
   18289   esac;;
   18290 *)
   18291   ECHO_N='-n';;
   18292 esac
   18293 
   18294 rm -f conf$$ conf$$.exe conf$$.file
   18295 if test -d conf$$.dir; then
   18296   rm -f conf$$.dir/conf$$.file
   18297 else
   18298   rm -f conf$$.dir
   18299   mkdir conf$$.dir 2>/dev/null
   18300 fi
   18301 if (echo >conf$$.file) 2>/dev/null; then
   18302   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18303     as_ln_s='ln -s'
   18304     # ... but there are two gotchas:
   18305     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18306     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18307     # In both cases, we have to default to `cp -p'.
   18308     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18309       as_ln_s='cp -p'
   18310   elif ln conf$$.file conf$$ 2>/dev/null; then
   18311     as_ln_s=ln
   18312   else
   18313     as_ln_s='cp -p'
   18314   fi
   18315 else
   18316   as_ln_s='cp -p'
   18317 fi
   18318 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18319 rmdir conf$$.dir 2>/dev/null
   18320 
   18321 
   18322 # as_fn_mkdir_p
   18323 # -------------
   18324 # Create "$as_dir" as a directory, including parents if necessary.
   18325 as_fn_mkdir_p ()
   18326 {
   18327 
   18328   case $as_dir in #(
   18329   -*) as_dir=./$as_dir;;
   18330   esac
   18331   test -d "$as_dir" || eval $as_mkdir_p || {
   18332     as_dirs=
   18333     while :; do
   18334       case $as_dir in #(
   18335       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18336       *) as_qdir=$as_dir;;
   18337       esac
   18338       as_dirs="'$as_qdir' $as_dirs"
   18339       as_dir=`$as_dirname -- "$as_dir" ||
   18340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18342 	 X"$as_dir" : 'X\(//\)$' \| \
   18343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18344 $as_echo X"$as_dir" |
   18345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18346 	    s//\1/
   18347 	    q
   18348 	  }
   18349 	  /^X\(\/\/\)[^/].*/{
   18350 	    s//\1/
   18351 	    q
   18352 	  }
   18353 	  /^X\(\/\/\)$/{
   18354 	    s//\1/
   18355 	    q
   18356 	  }
   18357 	  /^X\(\/\).*/{
   18358 	    s//\1/
   18359 	    q
   18360 	  }
   18361 	  s/.*/./; q'`
   18362       test -d "$as_dir" && break
   18363     done
   18364     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18366 
   18367 
   18368 } # as_fn_mkdir_p
   18369 if mkdir -p . 2>/dev/null; then
   18370   as_mkdir_p='mkdir -p "$as_dir"'
   18371 else
   18372   test -d ./-p && rmdir ./-p
   18373   as_mkdir_p=false
   18374 fi
   18375 
   18376 if test -x / >/dev/null 2>&1; then
   18377   as_test_x='test -x'
   18378 else
   18379   if ls -dL / >/dev/null 2>&1; then
   18380     as_ls_L_option=L
   18381   else
   18382     as_ls_L_option=
   18383   fi
   18384   as_test_x='
   18385     eval sh -c '\''
   18386       if test -d "$1"; then
   18387 	test -d "$1/.";
   18388       else
   18389 	case $1 in #(
   18390 	-*)set "./$1";;
   18391 	esac;
   18392 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18393 	???[sx]*):;;*)false;;esac;fi
   18394     '\'' sh
   18395   '
   18396 fi
   18397 as_executable_p=$as_test_x
   18398 
   18399 # Sed expression to map a string onto a valid CPP name.
   18400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18401 
   18402 # Sed expression to map a string onto a valid variable name.
   18403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18404 
   18405 
   18406 exec 6>&1
   18407 ## ----------------------------------- ##
   18408 ## Main body of $CONFIG_STATUS script. ##
   18409 ## ----------------------------------- ##
   18410 _ASEOF
   18411 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18412 
   18413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18414 # Save the log message, to keep $0 and so on meaningful, and to
   18415 # report actual input values of CONFIG_FILES etc. instead of their
   18416 # values after options handling.
   18417 ac_log="
   18418 This file was extended by libXcursor $as_me 1.1.14, which was
   18419 generated by GNU Autoconf 2.68.  Invocation command line was
   18420 
   18421   CONFIG_FILES    = $CONFIG_FILES
   18422   CONFIG_HEADERS  = $CONFIG_HEADERS
   18423   CONFIG_LINKS    = $CONFIG_LINKS
   18424   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18425   $ $0 $@
   18426 
   18427 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18428 "
   18429 
   18430 _ACEOF
   18431 
   18432 case $ac_config_files in *"
   18433 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18434 esac
   18435 
   18436 case $ac_config_headers in *"
   18437 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18438 esac
   18439 
   18440 
   18441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18442 # Files that config.status was made for.
   18443 config_files="$ac_config_files"
   18444 config_headers="$ac_config_headers"
   18445 config_commands="$ac_config_commands"
   18446 
   18447 _ACEOF
   18448 
   18449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18450 ac_cs_usage="\
   18451 \`$as_me' instantiates files and other configuration actions
   18452 from templates according to the current configuration.  Unless the files
   18453 and actions are specified as TAGs, all are instantiated by default.
   18454 
   18455 Usage: $0 [OPTION]... [TAG]...
   18456 
   18457   -h, --help       print this help, then exit
   18458   -V, --version    print version number and configuration settings, then exit
   18459       --config     print configuration, then exit
   18460   -q, --quiet, --silent
   18461                    do not print progress messages
   18462   -d, --debug      don't remove temporary files
   18463       --recheck    update $as_me by reconfiguring in the same conditions
   18464       --file=FILE[:TEMPLATE]
   18465                    instantiate the configuration file FILE
   18466       --header=FILE[:TEMPLATE]
   18467                    instantiate the configuration header FILE
   18468 
   18469 Configuration files:
   18470 $config_files
   18471 
   18472 Configuration headers:
   18473 $config_headers
   18474 
   18475 Configuration commands:
   18476 $config_commands
   18477 
   18478 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18479 
   18480 _ACEOF
   18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18482 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18483 ac_cs_version="\\
   18484 libXcursor config.status 1.1.14
   18485 configured by $0, generated by GNU Autoconf 2.68,
   18486   with options \\"\$ac_cs_config\\"
   18487 
   18488 Copyright (C) 2010 Free Software Foundation, Inc.
   18489 This config.status script is free software; the Free Software Foundation
   18490 gives unlimited permission to copy, distribute and modify it."
   18491 
   18492 ac_pwd='$ac_pwd'
   18493 srcdir='$srcdir'
   18494 INSTALL='$INSTALL'
   18495 MKDIR_P='$MKDIR_P'
   18496 AWK='$AWK'
   18497 test -n "\$AWK" || AWK=awk
   18498 _ACEOF
   18499 
   18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18501 # The default lists apply if the user does not specify any file.
   18502 ac_need_defaults=:
   18503 while test $# != 0
   18504 do
   18505   case $1 in
   18506   --*=?*)
   18507     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18508     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18509     ac_shift=:
   18510     ;;
   18511   --*=)
   18512     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18513     ac_optarg=
   18514     ac_shift=:
   18515     ;;
   18516   *)
   18517     ac_option=$1
   18518     ac_optarg=$2
   18519     ac_shift=shift
   18520     ;;
   18521   esac
   18522 
   18523   case $ac_option in
   18524   # Handling of the options.
   18525   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18526     ac_cs_recheck=: ;;
   18527   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18528     $as_echo "$ac_cs_version"; exit ;;
   18529   --config | --confi | --conf | --con | --co | --c )
   18530     $as_echo "$ac_cs_config"; exit ;;
   18531   --debug | --debu | --deb | --de | --d | -d )
   18532     debug=: ;;
   18533   --file | --fil | --fi | --f )
   18534     $ac_shift
   18535     case $ac_optarg in
   18536     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18537     '') as_fn_error $? "missing file argument" ;;
   18538     esac
   18539     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18540     ac_need_defaults=false;;
   18541   --header | --heade | --head | --hea )
   18542     $ac_shift
   18543     case $ac_optarg in
   18544     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18545     esac
   18546     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18547     ac_need_defaults=false;;
   18548   --he | --h)
   18549     # Conflict between --help and --header
   18550     as_fn_error $? "ambiguous option: \`$1'
   18551 Try \`$0 --help' for more information.";;
   18552   --help | --hel | -h )
   18553     $as_echo "$ac_cs_usage"; exit ;;
   18554   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18555   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18556     ac_cs_silent=: ;;
   18557 
   18558   # This is an error.
   18559   -*) as_fn_error $? "unrecognized option: \`$1'
   18560 Try \`$0 --help' for more information." ;;
   18561 
   18562   *) as_fn_append ac_config_targets " $1"
   18563      ac_need_defaults=false ;;
   18564 
   18565   esac
   18566   shift
   18567 done
   18568 
   18569 ac_configure_extra_args=
   18570 
   18571 if $ac_cs_silent; then
   18572   exec 6>/dev/null
   18573   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18574 fi
   18575 
   18576 _ACEOF
   18577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18578 if \$ac_cs_recheck; then
   18579   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18580   shift
   18581   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18582   CONFIG_SHELL='$SHELL'
   18583   export CONFIG_SHELL
   18584   exec "\$@"
   18585 fi
   18586 
   18587 _ACEOF
   18588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18589 exec 5>>config.log
   18590 {
   18591   echo
   18592   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18593 ## Running $as_me. ##
   18594 _ASBOX
   18595   $as_echo "$ac_log"
   18596 } >&5
   18597 
   18598 _ACEOF
   18599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18600 #
   18601 # INIT-COMMANDS
   18602 #
   18603 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18604 
   18605 
   18606 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18607 # if CDPATH is set.
   18608 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18609 
   18610 sed_quote_subst='$sed_quote_subst'
   18611 double_quote_subst='$double_quote_subst'
   18612 delay_variable_subst='$delay_variable_subst'
   18613 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18614 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18615 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18616 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18617 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18618 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18619 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18620 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18621 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18622 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18623 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18624 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18625 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18626 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18627 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18628 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18629 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18630 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18631 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18632 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18633 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18634 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18635 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18636 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18637 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18638 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18639 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18640 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18641 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18642 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18643 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18644 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18645 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18646 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18647 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18648 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18649 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18650 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18651 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18652 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18653 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18654 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18655 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18656 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18657 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18658 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18659 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18660 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18661 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18662 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18663 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18664 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18665 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18666 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18667 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18668 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18669 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"`'
   18670 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18671 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18672 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18673 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18674 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18675 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18676 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18677 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18678 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18679 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18680 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18681 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18682 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18683 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18684 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18685 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18686 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18687 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18688 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18689 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18690 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18691 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18692 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18693 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18694 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18695 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18696 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18697 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18698 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18699 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18700 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18701 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18702 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18703 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18704 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18705 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18706 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18707 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18708 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18709 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18710 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18711 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18712 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18713 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18714 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18715 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18716 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18717 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18718 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18719 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18720 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18721 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18722 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18723 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18724 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18725 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18726 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18727 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18728 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18729 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18730 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18731 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18732 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18733 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18734 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18735 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18736 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18737 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18738 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18739 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18740 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18741 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18742 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18743 
   18744 LTCC='$LTCC'
   18745 LTCFLAGS='$LTCFLAGS'
   18746 compiler='$compiler_DEFAULT'
   18747 
   18748 # A function that is used when there is no print builtin or printf.
   18749 func_fallback_echo ()
   18750 {
   18751   eval 'cat <<_LTECHO_EOF
   18752 \$1
   18753 _LTECHO_EOF'
   18754 }
   18755 
   18756 # Quote evaled strings.
   18757 for var in SHELL \
   18758 ECHO \
   18759 PATH_SEPARATOR \
   18760 SED \
   18761 GREP \
   18762 EGREP \
   18763 FGREP \
   18764 LD \
   18765 NM \
   18766 LN_S \
   18767 lt_SP2NL \
   18768 lt_NL2SP \
   18769 reload_flag \
   18770 OBJDUMP \
   18771 deplibs_check_method \
   18772 file_magic_cmd \
   18773 file_magic_glob \
   18774 want_nocaseglob \
   18775 DLLTOOL \
   18776 sharedlib_from_linklib_cmd \
   18777 AR \
   18778 AR_FLAGS \
   18779 archiver_list_spec \
   18780 STRIP \
   18781 RANLIB \
   18782 CC \
   18783 CFLAGS \
   18784 compiler \
   18785 lt_cv_sys_global_symbol_pipe \
   18786 lt_cv_sys_global_symbol_to_cdecl \
   18787 lt_cv_sys_global_symbol_to_c_name_address \
   18788 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18789 nm_file_list_spec \
   18790 lt_prog_compiler_no_builtin_flag \
   18791 lt_prog_compiler_pic \
   18792 lt_prog_compiler_wl \
   18793 lt_prog_compiler_static \
   18794 lt_cv_prog_compiler_c_o \
   18795 need_locks \
   18796 MANIFEST_TOOL \
   18797 DSYMUTIL \
   18798 NMEDIT \
   18799 LIPO \
   18800 OTOOL \
   18801 OTOOL64 \
   18802 shrext_cmds \
   18803 export_dynamic_flag_spec \
   18804 whole_archive_flag_spec \
   18805 compiler_needs_object \
   18806 with_gnu_ld \
   18807 allow_undefined_flag \
   18808 no_undefined_flag \
   18809 hardcode_libdir_flag_spec \
   18810 hardcode_libdir_separator \
   18811 exclude_expsyms \
   18812 include_expsyms \
   18813 file_list_spec \
   18814 variables_saved_for_relink \
   18815 libname_spec \
   18816 library_names_spec \
   18817 soname_spec \
   18818 install_override_mode \
   18819 finish_eval \
   18820 old_striplib \
   18821 striplib; do
   18822     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18823     *[\\\\\\\`\\"\\\$]*)
   18824       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18825       ;;
   18826     *)
   18827       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18828       ;;
   18829     esac
   18830 done
   18831 
   18832 # Double-quote double-evaled strings.
   18833 for var in reload_cmds \
   18834 old_postinstall_cmds \
   18835 old_postuninstall_cmds \
   18836 old_archive_cmds \
   18837 extract_expsyms_cmds \
   18838 old_archive_from_new_cmds \
   18839 old_archive_from_expsyms_cmds \
   18840 archive_cmds \
   18841 archive_expsym_cmds \
   18842 module_cmds \
   18843 module_expsym_cmds \
   18844 export_symbols_cmds \
   18845 prelink_cmds \
   18846 postlink_cmds \
   18847 postinstall_cmds \
   18848 postuninstall_cmds \
   18849 finish_cmds \
   18850 sys_lib_search_path_spec \
   18851 sys_lib_dlsearch_path_spec; do
   18852     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18853     *[\\\\\\\`\\"\\\$]*)
   18854       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18855       ;;
   18856     *)
   18857       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18858       ;;
   18859     esac
   18860 done
   18861 
   18862 ac_aux_dir='$ac_aux_dir'
   18863 xsi_shell='$xsi_shell'
   18864 lt_shell_append='$lt_shell_append'
   18865 
   18866 # See if we are running on zsh, and set the options which allow our
   18867 # commands through without removal of \ escapes INIT.
   18868 if test -n "\${ZSH_VERSION+set}" ; then
   18869    setopt NO_GLOB_SUBST
   18870 fi
   18871 
   18872 
   18873     PACKAGE='$PACKAGE'
   18874     VERSION='$VERSION'
   18875     TIMESTAMP='$TIMESTAMP'
   18876     RM='$RM'
   18877     ofile='$ofile'
   18878 
   18879 
   18880 
   18881 
   18882 _ACEOF
   18883 
   18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18885 
   18886 # Handling of arguments.
   18887 for ac_config_target in $ac_config_targets
   18888 do
   18889   case $ac_config_target in
   18890     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18891     "include/X11/Xcursor/Xcursor.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xcursor/Xcursor.h" ;;
   18892     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18893     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18894     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18895     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18896     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18897     "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;;
   18898 
   18899   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18900   esac
   18901 done
   18902 
   18903 
   18904 # If the user did not use the arguments to specify the items to instantiate,
   18905 # then the envvar interface is used.  Set only those that are not.
   18906 # We use the long form for the default assignment because of an extremely
   18907 # bizarre bug on SunOS 4.1.3.
   18908 if $ac_need_defaults; then
   18909   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18910   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18911   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18912 fi
   18913 
   18914 # Have a temporary directory for convenience.  Make it in the build tree
   18915 # simply because there is no reason against having it here, and in addition,
   18916 # creating and moving files from /tmp can sometimes cause problems.
   18917 # Hook for its removal unless debugging.
   18918 # Note that there is a small window in which the directory will not be cleaned:
   18919 # after its creation but before its name has been assigned to `$tmp'.
   18920 $debug ||
   18921 {
   18922   tmp= ac_tmp=
   18923   trap 'exit_status=$?
   18924   : "${ac_tmp:=$tmp}"
   18925   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18926 ' 0
   18927   trap 'as_fn_exit 1' 1 2 13 15
   18928 }
   18929 # Create a (secure) tmp directory for tmp files.
   18930 
   18931 {
   18932   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18933   test -d "$tmp"
   18934 }  ||
   18935 {
   18936   tmp=./conf$$-$RANDOM
   18937   (umask 077 && mkdir "$tmp")
   18938 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18939 ac_tmp=$tmp
   18940 
   18941 # Set up the scripts for CONFIG_FILES section.
   18942 # No need to generate them if there are no CONFIG_FILES.
   18943 # This happens for instance with `./config.status config.h'.
   18944 if test -n "$CONFIG_FILES"; then
   18945 
   18946 
   18947 ac_cr=`echo X | tr X '\015'`
   18948 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18949 # But we know of no other shell where ac_cr would be empty at this
   18950 # point, so we can use a bashism as a fallback.
   18951 if test "x$ac_cr" = x; then
   18952   eval ac_cr=\$\'\\r\'
   18953 fi
   18954 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18955 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18956   ac_cs_awk_cr='\\r'
   18957 else
   18958   ac_cs_awk_cr=$ac_cr
   18959 fi
   18960 
   18961 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18962 _ACEOF
   18963 
   18964 
   18965 {
   18966   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18967   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18968   echo "_ACEOF"
   18969 } >conf$$subs.sh ||
   18970   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18971 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18972 ac_delim='%!_!# '
   18973 for ac_last_try in false false false false false :; do
   18974   . ./conf$$subs.sh ||
   18975     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18976 
   18977   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18978   if test $ac_delim_n = $ac_delim_num; then
   18979     break
   18980   elif $ac_last_try; then
   18981     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18982   else
   18983     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18984   fi
   18985 done
   18986 rm -f conf$$subs.sh
   18987 
   18988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18989 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18990 _ACEOF
   18991 sed -n '
   18992 h
   18993 s/^/S["/; s/!.*/"]=/
   18994 p
   18995 g
   18996 s/^[^!]*!//
   18997 :repl
   18998 t repl
   18999 s/'"$ac_delim"'$//
   19000 t delim
   19001 :nl
   19002 h
   19003 s/\(.\{148\}\)..*/\1/
   19004 t more1
   19005 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19006 p
   19007 n
   19008 b repl
   19009 :more1
   19010 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19011 p
   19012 g
   19013 s/.\{148\}//
   19014 t nl
   19015 :delim
   19016 h
   19017 s/\(.\{148\}\)..*/\1/
   19018 t more2
   19019 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19020 p
   19021 b
   19022 :more2
   19023 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19024 p
   19025 g
   19026 s/.\{148\}//
   19027 t delim
   19028 ' <conf$$subs.awk | sed '
   19029 /^[^""]/{
   19030   N
   19031   s/\n//
   19032 }
   19033 ' >>$CONFIG_STATUS || ac_write_fail=1
   19034 rm -f conf$$subs.awk
   19035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19036 _ACAWK
   19037 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19038   for (key in S) S_is_set[key] = 1
   19039   FS = ""
   19040 
   19041 }
   19042 {
   19043   line = $ 0
   19044   nfields = split(line, field, "@")
   19045   substed = 0
   19046   len = length(field[1])
   19047   for (i = 2; i < nfields; i++) {
   19048     key = field[i]
   19049     keylen = length(key)
   19050     if (S_is_set[key]) {
   19051       value = S[key]
   19052       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19053       len += length(value) + length(field[++i])
   19054       substed = 1
   19055     } else
   19056       len += 1 + keylen
   19057   }
   19058 
   19059   print line
   19060 }
   19061 
   19062 _ACAWK
   19063 _ACEOF
   19064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19065 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19066   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19067 else
   19068   cat
   19069 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19070   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19071 _ACEOF
   19072 
   19073 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19074 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19075 # trailing colons and then remove the whole line if VPATH becomes empty
   19076 # (actually we leave an empty line to preserve line numbers).
   19077 if test "x$srcdir" = x.; then
   19078   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19079 h
   19080 s///
   19081 s/^/:/
   19082 s/[	 ]*$/:/
   19083 s/:\$(srcdir):/:/g
   19084 s/:\${srcdir}:/:/g
   19085 s/:@srcdir@:/:/g
   19086 s/^:*//
   19087 s/:*$//
   19088 x
   19089 s/\(=[	 ]*\).*/\1/
   19090 G
   19091 s/\n//
   19092 s/^[^=]*=[	 ]*$//
   19093 }'
   19094 fi
   19095 
   19096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19097 fi # test -n "$CONFIG_FILES"
   19098 
   19099 # Set up the scripts for CONFIG_HEADERS section.
   19100 # No need to generate them if there are no CONFIG_HEADERS.
   19101 # This happens for instance with `./config.status Makefile'.
   19102 if test -n "$CONFIG_HEADERS"; then
   19103 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19104 BEGIN {
   19105 _ACEOF
   19106 
   19107 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19108 # here-document in config.status, that substitutes the proper values into
   19109 # config.h.in to produce config.h.
   19110 
   19111 # Create a delimiter string that does not exist in confdefs.h, to ease
   19112 # handling of long lines.
   19113 ac_delim='%!_!# '
   19114 for ac_last_try in false false :; do
   19115   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19116   if test -z "$ac_tt"; then
   19117     break
   19118   elif $ac_last_try; then
   19119     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19120   else
   19121     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19122   fi
   19123 done
   19124 
   19125 # For the awk script, D is an array of macro values keyed by name,
   19126 # likewise P contains macro parameters if any.  Preserve backslash
   19127 # newline sequences.
   19128 
   19129 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19130 sed -n '
   19131 s/.\{148\}/&'"$ac_delim"'/g
   19132 t rset
   19133 :rset
   19134 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19135 t def
   19136 d
   19137 :def
   19138 s/\\$//
   19139 t bsnl
   19140 s/["\\]/\\&/g
   19141 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19142 D["\1"]=" \3"/p
   19143 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19144 d
   19145 :bsnl
   19146 s/["\\]/\\&/g
   19147 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19148 D["\1"]=" \3\\\\\\n"\\/p
   19149 t cont
   19150 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19151 t cont
   19152 d
   19153 :cont
   19154 n
   19155 s/.\{148\}/&'"$ac_delim"'/g
   19156 t clear
   19157 :clear
   19158 s/\\$//
   19159 t bsnlc
   19160 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19161 d
   19162 :bsnlc
   19163 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19164 b cont
   19165 ' <confdefs.h | sed '
   19166 s/'"$ac_delim"'/"\\\
   19167 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19168 
   19169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19170   for (key in D) D_is_set[key] = 1
   19171   FS = ""
   19172 }
   19173 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19174   line = \$ 0
   19175   split(line, arg, " ")
   19176   if (arg[1] == "#") {
   19177     defundef = arg[2]
   19178     mac1 = arg[3]
   19179   } else {
   19180     defundef = substr(arg[1], 2)
   19181     mac1 = arg[2]
   19182   }
   19183   split(mac1, mac2, "(") #)
   19184   macro = mac2[1]
   19185   prefix = substr(line, 1, index(line, defundef) - 1)
   19186   if (D_is_set[macro]) {
   19187     # Preserve the white space surrounding the "#".
   19188     print prefix "define", macro P[macro] D[macro]
   19189     next
   19190   } else {
   19191     # Replace #undef with comments.  This is necessary, for example,
   19192     # in the case of _POSIX_SOURCE, which is predefined and required
   19193     # on some systems where configure will not decide to define it.
   19194     if (defundef == "undef") {
   19195       print "/*", prefix defundef, macro, "*/"
   19196       next
   19197     }
   19198   }
   19199 }
   19200 { print }
   19201 _ACAWK
   19202 _ACEOF
   19203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19204   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19205 fi # test -n "$CONFIG_HEADERS"
   19206 
   19207 
   19208 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19209 shift
   19210 for ac_tag
   19211 do
   19212   case $ac_tag in
   19213   :[FHLC]) ac_mode=$ac_tag; continue;;
   19214   esac
   19215   case $ac_mode$ac_tag in
   19216   :[FHL]*:*);;
   19217   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19218   :[FH]-) ac_tag=-:-;;
   19219   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19220   esac
   19221   ac_save_IFS=$IFS
   19222   IFS=:
   19223   set x $ac_tag
   19224   IFS=$ac_save_IFS
   19225   shift
   19226   ac_file=$1
   19227   shift
   19228 
   19229   case $ac_mode in
   19230   :L) ac_source=$1;;
   19231   :[FH])
   19232     ac_file_inputs=
   19233     for ac_f
   19234     do
   19235       case $ac_f in
   19236       -) ac_f="$ac_tmp/stdin";;
   19237       *) # Look for the file first in the build tree, then in the source tree
   19238 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19239 	 # because $ac_f cannot contain `:'.
   19240 	 test -f "$ac_f" ||
   19241 	   case $ac_f in
   19242 	   [\\/$]*) false;;
   19243 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19244 	   esac ||
   19245 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19246       esac
   19247       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19248       as_fn_append ac_file_inputs " '$ac_f'"
   19249     done
   19250 
   19251     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19252     # use $as_me), people would be surprised to read:
   19253     #    /* config.h.  Generated by config.status.  */
   19254     configure_input='Generated from '`
   19255 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19256 	`' by configure.'
   19257     if test x"$ac_file" != x-; then
   19258       configure_input="$ac_file.  $configure_input"
   19259       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19260 $as_echo "$as_me: creating $ac_file" >&6;}
   19261     fi
   19262     # Neutralize special characters interpreted by sed in replacement strings.
   19263     case $configure_input in #(
   19264     *\&* | *\|* | *\\* )
   19265        ac_sed_conf_input=`$as_echo "$configure_input" |
   19266        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19267     *) ac_sed_conf_input=$configure_input;;
   19268     esac
   19269 
   19270     case $ac_tag in
   19271     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19272       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19273     esac
   19274     ;;
   19275   esac
   19276 
   19277   ac_dir=`$as_dirname -- "$ac_file" ||
   19278 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19279 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19280 	 X"$ac_file" : 'X\(//\)$' \| \
   19281 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19282 $as_echo X"$ac_file" |
   19283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19284 	    s//\1/
   19285 	    q
   19286 	  }
   19287 	  /^X\(\/\/\)[^/].*/{
   19288 	    s//\1/
   19289 	    q
   19290 	  }
   19291 	  /^X\(\/\/\)$/{
   19292 	    s//\1/
   19293 	    q
   19294 	  }
   19295 	  /^X\(\/\).*/{
   19296 	    s//\1/
   19297 	    q
   19298 	  }
   19299 	  s/.*/./; q'`
   19300   as_dir="$ac_dir"; as_fn_mkdir_p
   19301   ac_builddir=.
   19302 
   19303 case "$ac_dir" in
   19304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19305 *)
   19306   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19307   # A ".." for each directory in $ac_dir_suffix.
   19308   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19309   case $ac_top_builddir_sub in
   19310   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19311   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19312   esac ;;
   19313 esac
   19314 ac_abs_top_builddir=$ac_pwd
   19315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19316 # for backward compatibility:
   19317 ac_top_builddir=$ac_top_build_prefix
   19318 
   19319 case $srcdir in
   19320   .)  # We are building in place.
   19321     ac_srcdir=.
   19322     ac_top_srcdir=$ac_top_builddir_sub
   19323     ac_abs_top_srcdir=$ac_pwd ;;
   19324   [\\/]* | ?:[\\/]* )  # Absolute name.
   19325     ac_srcdir=$srcdir$ac_dir_suffix;
   19326     ac_top_srcdir=$srcdir
   19327     ac_abs_top_srcdir=$srcdir ;;
   19328   *) # Relative name.
   19329     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19330     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19331     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19332 esac
   19333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19334 
   19335 
   19336   case $ac_mode in
   19337   :F)
   19338   #
   19339   # CONFIG_FILE
   19340   #
   19341 
   19342   case $INSTALL in
   19343   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19344   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19345   esac
   19346   ac_MKDIR_P=$MKDIR_P
   19347   case $MKDIR_P in
   19348   [\\/$]* | ?:[\\/]* ) ;;
   19349   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19350   esac
   19351 _ACEOF
   19352 
   19353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19354 # If the template does not know about datarootdir, expand it.
   19355 # FIXME: This hack should be removed a few years after 2.60.
   19356 ac_datarootdir_hack=; ac_datarootdir_seen=
   19357 ac_sed_dataroot='
   19358 /datarootdir/ {
   19359   p
   19360   q
   19361 }
   19362 /@datadir@/p
   19363 /@docdir@/p
   19364 /@infodir@/p
   19365 /@localedir@/p
   19366 /@mandir@/p'
   19367 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19368 *datarootdir*) ac_datarootdir_seen=yes;;
   19369 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19370   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19371 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19372 _ACEOF
   19373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19374   ac_datarootdir_hack='
   19375   s&@datadir@&$datadir&g
   19376   s&@docdir@&$docdir&g
   19377   s&@infodir@&$infodir&g
   19378   s&@localedir@&$localedir&g
   19379   s&@mandir@&$mandir&g
   19380   s&\\\${datarootdir}&$datarootdir&g' ;;
   19381 esac
   19382 _ACEOF
   19383 
   19384 # Neutralize VPATH when `$srcdir' = `.'.
   19385 # Shell code in configure.ac might set extrasub.
   19386 # FIXME: do we really want to maintain this feature?
   19387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19388 ac_sed_extra="$ac_vpsub
   19389 $extrasub
   19390 _ACEOF
   19391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19392 :t
   19393 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19394 s|@configure_input@|$ac_sed_conf_input|;t t
   19395 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19396 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19397 s&@srcdir@&$ac_srcdir&;t t
   19398 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19399 s&@top_srcdir@&$ac_top_srcdir&;t t
   19400 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19401 s&@builddir@&$ac_builddir&;t t
   19402 s&@abs_builddir@&$ac_abs_builddir&;t t
   19403 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19404 s&@INSTALL@&$ac_INSTALL&;t t
   19405 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19406 $ac_datarootdir_hack
   19407 "
   19408 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19409   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19410 
   19411 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19412   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19413   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19414       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19415   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19416 which seems to be undefined.  Please make sure it is defined" >&5
   19417 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19418 which seems to be undefined.  Please make sure it is defined" >&2;}
   19419 
   19420   rm -f "$ac_tmp/stdin"
   19421   case $ac_file in
   19422   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19423   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19424   esac \
   19425   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19426  ;;
   19427   :H)
   19428   #
   19429   # CONFIG_HEADER
   19430   #
   19431   if test x"$ac_file" != x-; then
   19432     {
   19433       $as_echo "/* $configure_input  */" \
   19434       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19435     } >"$ac_tmp/config.h" \
   19436       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19437     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19438       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19439 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19440     else
   19441       rm -f "$ac_file"
   19442       mv "$ac_tmp/config.h" "$ac_file" \
   19443 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19444     fi
   19445   else
   19446     $as_echo "/* $configure_input  */" \
   19447       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19448       || as_fn_error $? "could not create -" "$LINENO" 5
   19449   fi
   19450 # Compute "$ac_file"'s index in $config_headers.
   19451 _am_arg="$ac_file"
   19452 _am_stamp_count=1
   19453 for _am_header in $config_headers :; do
   19454   case $_am_header in
   19455     $_am_arg | $_am_arg:* )
   19456       break ;;
   19457     * )
   19458       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19459   esac
   19460 done
   19461 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19462 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19463 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19464 	 X"$_am_arg" : 'X\(//\)$' \| \
   19465 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19466 $as_echo X"$_am_arg" |
   19467     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19468 	    s//\1/
   19469 	    q
   19470 	  }
   19471 	  /^X\(\/\/\)[^/].*/{
   19472 	    s//\1/
   19473 	    q
   19474 	  }
   19475 	  /^X\(\/\/\)$/{
   19476 	    s//\1/
   19477 	    q
   19478 	  }
   19479 	  /^X\(\/\).*/{
   19480 	    s//\1/
   19481 	    q
   19482 	  }
   19483 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19484  ;;
   19485 
   19486   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19487 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19488  ;;
   19489   esac
   19490 
   19491 
   19492   case $ac_file$ac_mode in
   19493     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19494   # Older Autoconf quotes --file arguments for eval, but not when files
   19495   # are listed without --file.  Let's play safe and only enable the eval
   19496   # if we detect the quoting.
   19497   case $CONFIG_FILES in
   19498   *\'*) eval set x "$CONFIG_FILES" ;;
   19499   *)   set x $CONFIG_FILES ;;
   19500   esac
   19501   shift
   19502   for mf
   19503   do
   19504     # Strip MF so we end up with the name of the file.
   19505     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19506     # Check whether this is an Automake generated Makefile or not.
   19507     # We used to match only the files named 'Makefile.in', but
   19508     # some people rename them; so instead we look at the file content.
   19509     # Grep'ing the first line is not enough: some people post-process
   19510     # each Makefile.in and add a new line on top of each file to say so.
   19511     # Grep'ing the whole file is not good either: AIX grep has a line
   19512     # limit of 2048, but all sed's we know have understand at least 4000.
   19513     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19514       dirpart=`$as_dirname -- "$mf" ||
   19515 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19516 	 X"$mf" : 'X\(//\)[^/]' \| \
   19517 	 X"$mf" : 'X\(//\)$' \| \
   19518 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19519 $as_echo X"$mf" |
   19520     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19521 	    s//\1/
   19522 	    q
   19523 	  }
   19524 	  /^X\(\/\/\)[^/].*/{
   19525 	    s//\1/
   19526 	    q
   19527 	  }
   19528 	  /^X\(\/\/\)$/{
   19529 	    s//\1/
   19530 	    q
   19531 	  }
   19532 	  /^X\(\/\).*/{
   19533 	    s//\1/
   19534 	    q
   19535 	  }
   19536 	  s/.*/./; q'`
   19537     else
   19538       continue
   19539     fi
   19540     # Extract the definition of DEPDIR, am__include, and am__quote
   19541     # from the Makefile without running 'make'.
   19542     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19543     test -z "$DEPDIR" && continue
   19544     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19545     test -z "$am__include" && continue
   19546     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19547     # Find all dependency output files, they are included files with
   19548     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19549     # simplest approach to changing $(DEPDIR) to its actual value in the
   19550     # expansion.
   19551     for file in `sed -n "
   19552       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19553 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19554       # Make sure the directory exists.
   19555       test -f "$dirpart/$file" && continue
   19556       fdir=`$as_dirname -- "$file" ||
   19557 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19558 	 X"$file" : 'X\(//\)[^/]' \| \
   19559 	 X"$file" : 'X\(//\)$' \| \
   19560 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19561 $as_echo X"$file" |
   19562     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19563 	    s//\1/
   19564 	    q
   19565 	  }
   19566 	  /^X\(\/\/\)[^/].*/{
   19567 	    s//\1/
   19568 	    q
   19569 	  }
   19570 	  /^X\(\/\/\)$/{
   19571 	    s//\1/
   19572 	    q
   19573 	  }
   19574 	  /^X\(\/\).*/{
   19575 	    s//\1/
   19576 	    q
   19577 	  }
   19578 	  s/.*/./; q'`
   19579       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19580       # echo "creating $dirpart/$file"
   19581       echo '# dummy' > "$dirpart/$file"
   19582     done
   19583   done
   19584 }
   19585  ;;
   19586     "libtool":C)
   19587 
   19588     # See if we are running on zsh, and set the options which allow our
   19589     # commands through without removal of \ escapes.
   19590     if test -n "${ZSH_VERSION+set}" ; then
   19591       setopt NO_GLOB_SUBST
   19592     fi
   19593 
   19594     cfgfile="${ofile}T"
   19595     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19596     $RM "$cfgfile"
   19597 
   19598     cat <<_LT_EOF >> "$cfgfile"
   19599 #! $SHELL
   19600 
   19601 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19602 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19603 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19604 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19605 #
   19606 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19607 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19608 #                 Foundation, Inc.
   19609 #   Written by Gordon Matzigkeit, 1996
   19610 #
   19611 #   This file is part of GNU Libtool.
   19612 #
   19613 # GNU Libtool is free software; you can redistribute it and/or
   19614 # modify it under the terms of the GNU General Public License as
   19615 # published by the Free Software Foundation; either version 2 of
   19616 # the License, or (at your option) any later version.
   19617 #
   19618 # As a special exception to the GNU General Public License,
   19619 # if you distribute this file as part of a program or library that
   19620 # is built using GNU Libtool, you may include this file under the
   19621 # same distribution terms that you use for the rest of that program.
   19622 #
   19623 # GNU Libtool is distributed in the hope that it will be useful,
   19624 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19625 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19626 # GNU General Public License for more details.
   19627 #
   19628 # You should have received a copy of the GNU General Public License
   19629 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19630 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19631 # obtained by writing to the Free Software Foundation, Inc.,
   19632 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19633 
   19634 
   19635 # The names of the tagged configurations supported by this script.
   19636 available_tags=""
   19637 
   19638 # ### BEGIN LIBTOOL CONFIG
   19639 
   19640 # Which release of libtool.m4 was used?
   19641 macro_version=$macro_version
   19642 macro_revision=$macro_revision
   19643 
   19644 # Whether or not to build shared libraries.
   19645 build_libtool_libs=$enable_shared
   19646 
   19647 # Whether or not to build static libraries.
   19648 build_old_libs=$enable_static
   19649 
   19650 # What type of objects to build.
   19651 pic_mode=$pic_mode
   19652 
   19653 # Whether or not to optimize for fast installation.
   19654 fast_install=$enable_fast_install
   19655 
   19656 # Shell to use when invoking shell scripts.
   19657 SHELL=$lt_SHELL
   19658 
   19659 # An echo program that protects backslashes.
   19660 ECHO=$lt_ECHO
   19661 
   19662 # The PATH separator for the build system.
   19663 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19664 
   19665 # The host system.
   19666 host_alias=$host_alias
   19667 host=$host
   19668 host_os=$host_os
   19669 
   19670 # The build system.
   19671 build_alias=$build_alias
   19672 build=$build
   19673 build_os=$build_os
   19674 
   19675 # A sed program that does not truncate output.
   19676 SED=$lt_SED
   19677 
   19678 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19679 Xsed="\$SED -e 1s/^X//"
   19680 
   19681 # A grep program that handles long lines.
   19682 GREP=$lt_GREP
   19683 
   19684 # An ERE matcher.
   19685 EGREP=$lt_EGREP
   19686 
   19687 # A literal string matcher.
   19688 FGREP=$lt_FGREP
   19689 
   19690 # A BSD- or MS-compatible name lister.
   19691 NM=$lt_NM
   19692 
   19693 # Whether we need soft or hard links.
   19694 LN_S=$lt_LN_S
   19695 
   19696 # What is the maximum length of a command?
   19697 max_cmd_len=$max_cmd_len
   19698 
   19699 # Object file suffix (normally "o").
   19700 objext=$ac_objext
   19701 
   19702 # Executable file suffix (normally "").
   19703 exeext=$exeext
   19704 
   19705 # whether the shell understands "unset".
   19706 lt_unset=$lt_unset
   19707 
   19708 # turn spaces into newlines.
   19709 SP2NL=$lt_lt_SP2NL
   19710 
   19711 # turn newlines into spaces.
   19712 NL2SP=$lt_lt_NL2SP
   19713 
   19714 # convert \$build file names to \$host format.
   19715 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19716 
   19717 # convert \$build files to toolchain format.
   19718 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19719 
   19720 # An object symbol dumper.
   19721 OBJDUMP=$lt_OBJDUMP
   19722 
   19723 # Method to check whether dependent libraries are shared objects.
   19724 deplibs_check_method=$lt_deplibs_check_method
   19725 
   19726 # Command to use when deplibs_check_method = "file_magic".
   19727 file_magic_cmd=$lt_file_magic_cmd
   19728 
   19729 # How to find potential files when deplibs_check_method = "file_magic".
   19730 file_magic_glob=$lt_file_magic_glob
   19731 
   19732 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19733 want_nocaseglob=$lt_want_nocaseglob
   19734 
   19735 # DLL creation program.
   19736 DLLTOOL=$lt_DLLTOOL
   19737 
   19738 # Command to associate shared and link libraries.
   19739 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19740 
   19741 # The archiver.
   19742 AR=$lt_AR
   19743 
   19744 # Flags to create an archive.
   19745 AR_FLAGS=$lt_AR_FLAGS
   19746 
   19747 # How to feed a file listing to the archiver.
   19748 archiver_list_spec=$lt_archiver_list_spec
   19749 
   19750 # A symbol stripping program.
   19751 STRIP=$lt_STRIP
   19752 
   19753 # Commands used to install an old-style archive.
   19754 RANLIB=$lt_RANLIB
   19755 old_postinstall_cmds=$lt_old_postinstall_cmds
   19756 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19757 
   19758 # Whether to use a lock for old archive extraction.
   19759 lock_old_archive_extraction=$lock_old_archive_extraction
   19760 
   19761 # A C compiler.
   19762 LTCC=$lt_CC
   19763 
   19764 # LTCC compiler flags.
   19765 LTCFLAGS=$lt_CFLAGS
   19766 
   19767 # Take the output of nm and produce a listing of raw symbols and C names.
   19768 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19769 
   19770 # Transform the output of nm in a proper C declaration.
   19771 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19772 
   19773 # Transform the output of nm in a C name address pair.
   19774 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19775 
   19776 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19777 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19778 
   19779 # Specify filename containing input files for \$NM.
   19780 nm_file_list_spec=$lt_nm_file_list_spec
   19781 
   19782 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19783 lt_sysroot=$lt_sysroot
   19784 
   19785 # The name of the directory that contains temporary libtool files.
   19786 objdir=$objdir
   19787 
   19788 # Used to examine libraries when file_magic_cmd begins with "file".
   19789 MAGIC_CMD=$MAGIC_CMD
   19790 
   19791 # Must we lock files when doing compilation?
   19792 need_locks=$lt_need_locks
   19793 
   19794 # Manifest tool.
   19795 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19796 
   19797 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19798 DSYMUTIL=$lt_DSYMUTIL
   19799 
   19800 # Tool to change global to local symbols on Mac OS X.
   19801 NMEDIT=$lt_NMEDIT
   19802 
   19803 # Tool to manipulate fat objects and archives on Mac OS X.
   19804 LIPO=$lt_LIPO
   19805 
   19806 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19807 OTOOL=$lt_OTOOL
   19808 
   19809 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19810 OTOOL64=$lt_OTOOL64
   19811 
   19812 # Old archive suffix (normally "a").
   19813 libext=$libext
   19814 
   19815 # Shared library suffix (normally ".so").
   19816 shrext_cmds=$lt_shrext_cmds
   19817 
   19818 # The commands to extract the exported symbol list from a shared archive.
   19819 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19820 
   19821 # Variables whose values should be saved in libtool wrapper scripts and
   19822 # restored at link time.
   19823 variables_saved_for_relink=$lt_variables_saved_for_relink
   19824 
   19825 # Do we need the "lib" prefix for modules?
   19826 need_lib_prefix=$need_lib_prefix
   19827 
   19828 # Do we need a version for libraries?
   19829 need_version=$need_version
   19830 
   19831 # Library versioning type.
   19832 version_type=$version_type
   19833 
   19834 # Shared library runtime path variable.
   19835 runpath_var=$runpath_var
   19836 
   19837 # Shared library path variable.
   19838 shlibpath_var=$shlibpath_var
   19839 
   19840 # Is shlibpath searched before the hard-coded library search path?
   19841 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19842 
   19843 # Format of library name prefix.
   19844 libname_spec=$lt_libname_spec
   19845 
   19846 # List of archive names.  First name is the real one, the rest are links.
   19847 # The last name is the one that the linker finds with -lNAME
   19848 library_names_spec=$lt_library_names_spec
   19849 
   19850 # The coded name of the library, if different from the real name.
   19851 soname_spec=$lt_soname_spec
   19852 
   19853 # Permission mode override for installation of shared libraries.
   19854 install_override_mode=$lt_install_override_mode
   19855 
   19856 # Command to use after installation of a shared archive.
   19857 postinstall_cmds=$lt_postinstall_cmds
   19858 
   19859 # Command to use after uninstallation of a shared archive.
   19860 postuninstall_cmds=$lt_postuninstall_cmds
   19861 
   19862 # Commands used to finish a libtool library installation in a directory.
   19863 finish_cmds=$lt_finish_cmds
   19864 
   19865 # As "finish_cmds", except a single script fragment to be evaled but
   19866 # not shown.
   19867 finish_eval=$lt_finish_eval
   19868 
   19869 # Whether we should hardcode library paths into libraries.
   19870 hardcode_into_libs=$hardcode_into_libs
   19871 
   19872 # Compile-time system search path for libraries.
   19873 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19874 
   19875 # Run-time system search path for libraries.
   19876 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19877 
   19878 # Whether dlopen is supported.
   19879 dlopen_support=$enable_dlopen
   19880 
   19881 # Whether dlopen of programs is supported.
   19882 dlopen_self=$enable_dlopen_self
   19883 
   19884 # Whether dlopen of statically linked programs is supported.
   19885 dlopen_self_static=$enable_dlopen_self_static
   19886 
   19887 # Commands to strip libraries.
   19888 old_striplib=$lt_old_striplib
   19889 striplib=$lt_striplib
   19890 
   19891 
   19892 # The linker used to build libraries.
   19893 LD=$lt_LD
   19894 
   19895 # How to create reloadable object files.
   19896 reload_flag=$lt_reload_flag
   19897 reload_cmds=$lt_reload_cmds
   19898 
   19899 # Commands used to build an old-style archive.
   19900 old_archive_cmds=$lt_old_archive_cmds
   19901 
   19902 # A language specific compiler.
   19903 CC=$lt_compiler
   19904 
   19905 # Is the compiler the GNU compiler?
   19906 with_gcc=$GCC
   19907 
   19908 # Compiler flag to turn off builtin functions.
   19909 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19910 
   19911 # Additional compiler flags for building library objects.
   19912 pic_flag=$lt_lt_prog_compiler_pic
   19913 
   19914 # How to pass a linker flag through the compiler.
   19915 wl=$lt_lt_prog_compiler_wl
   19916 
   19917 # Compiler flag to prevent dynamic linking.
   19918 link_static_flag=$lt_lt_prog_compiler_static
   19919 
   19920 # Does compiler simultaneously support -c and -o options?
   19921 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19922 
   19923 # Whether or not to add -lc for building shared libraries.
   19924 build_libtool_need_lc=$archive_cmds_need_lc
   19925 
   19926 # Whether or not to disallow shared libs when runtime libs are static.
   19927 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19928 
   19929 # Compiler flag to allow reflexive dlopens.
   19930 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19931 
   19932 # Compiler flag to generate shared objects directly from archives.
   19933 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19934 
   19935 # Whether the compiler copes with passing no objects directly.
   19936 compiler_needs_object=$lt_compiler_needs_object
   19937 
   19938 # Create an old-style archive from a shared archive.
   19939 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19940 
   19941 # Create a temporary old-style archive to link instead of a shared archive.
   19942 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19943 
   19944 # Commands used to build a shared archive.
   19945 archive_cmds=$lt_archive_cmds
   19946 archive_expsym_cmds=$lt_archive_expsym_cmds
   19947 
   19948 # Commands used to build a loadable module if different from building
   19949 # a shared archive.
   19950 module_cmds=$lt_module_cmds
   19951 module_expsym_cmds=$lt_module_expsym_cmds
   19952 
   19953 # Whether we are building with GNU ld or not.
   19954 with_gnu_ld=$lt_with_gnu_ld
   19955 
   19956 # Flag that allows shared libraries with undefined symbols to be built.
   19957 allow_undefined_flag=$lt_allow_undefined_flag
   19958 
   19959 # Flag that enforces no undefined symbols.
   19960 no_undefined_flag=$lt_no_undefined_flag
   19961 
   19962 # Flag to hardcode \$libdir into a binary during linking.
   19963 # This must work even if \$libdir does not exist
   19964 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19965 
   19966 # Whether we need a single "-rpath" flag with a separated argument.
   19967 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19968 
   19969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19970 # DIR into the resulting binary.
   19971 hardcode_direct=$hardcode_direct
   19972 
   19973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19974 # DIR into the resulting binary and the resulting library dependency is
   19975 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19976 # library is relocated.
   19977 hardcode_direct_absolute=$hardcode_direct_absolute
   19978 
   19979 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19980 # into the resulting binary.
   19981 hardcode_minus_L=$hardcode_minus_L
   19982 
   19983 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19984 # into the resulting binary.
   19985 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19986 
   19987 # Set to "yes" if building a shared library automatically hardcodes DIR
   19988 # into the library and all subsequent libraries and executables linked
   19989 # against it.
   19990 hardcode_automatic=$hardcode_automatic
   19991 
   19992 # Set to yes if linker adds runtime paths of dependent libraries
   19993 # to runtime path list.
   19994 inherit_rpath=$inherit_rpath
   19995 
   19996 # Whether libtool must link a program against all its dependency libraries.
   19997 link_all_deplibs=$link_all_deplibs
   19998 
   19999 # Set to "yes" if exported symbols are required.
   20000 always_export_symbols=$always_export_symbols
   20001 
   20002 # The commands to list exported symbols.
   20003 export_symbols_cmds=$lt_export_symbols_cmds
   20004 
   20005 # Symbols that should not be listed in the preloaded symbols.
   20006 exclude_expsyms=$lt_exclude_expsyms
   20007 
   20008 # Symbols that must always be exported.
   20009 include_expsyms=$lt_include_expsyms
   20010 
   20011 # Commands necessary for linking programs (against libraries) with templates.
   20012 prelink_cmds=$lt_prelink_cmds
   20013 
   20014 # Commands necessary for finishing linking programs.
   20015 postlink_cmds=$lt_postlink_cmds
   20016 
   20017 # Specify filename containing input files.
   20018 file_list_spec=$lt_file_list_spec
   20019 
   20020 # How to hardcode a shared library path into an executable.
   20021 hardcode_action=$hardcode_action
   20022 
   20023 # ### END LIBTOOL CONFIG
   20024 
   20025 _LT_EOF
   20026 
   20027   case $host_os in
   20028   aix3*)
   20029     cat <<\_LT_EOF >> "$cfgfile"
   20030 # AIX sometimes has problems with the GCC collect2 program.  For some
   20031 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20032 # vanish in a puff of smoke.
   20033 if test "X${COLLECT_NAMES+set}" != Xset; then
   20034   COLLECT_NAMES=
   20035   export COLLECT_NAMES
   20036 fi
   20037 _LT_EOF
   20038     ;;
   20039   esac
   20040 
   20041 
   20042 ltmain="$ac_aux_dir/ltmain.sh"
   20043 
   20044 
   20045   # We use sed instead of cat because bash on DJGPP gets confused if
   20046   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20047   # text mode, it properly converts lines to CR/LF.  This bash problem
   20048   # is reportedly fixed, but why not run on old versions too?
   20049   sed '$q' "$ltmain" >> "$cfgfile" \
   20050      || (rm -f "$cfgfile"; exit 1)
   20051 
   20052   if test x"$xsi_shell" = xyes; then
   20053   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20054 func_dirname ()\
   20055 {\
   20056 \    case ${1} in\
   20057 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20058 \      *  ) func_dirname_result="${3}" ;;\
   20059 \    esac\
   20060 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20061   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20062     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20063 test 0 -eq $? || _lt_function_replace_fail=:
   20064 
   20065 
   20066   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20067 func_basename ()\
   20068 {\
   20069 \    func_basename_result="${1##*/}"\
   20070 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20071   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20072     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20073 test 0 -eq $? || _lt_function_replace_fail=:
   20074 
   20075 
   20076   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20077 func_dirname_and_basename ()\
   20078 {\
   20079 \    case ${1} in\
   20080 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20081 \      *  ) func_dirname_result="${3}" ;;\
   20082 \    esac\
   20083 \    func_basename_result="${1##*/}"\
   20084 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20085   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20086     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20087 test 0 -eq $? || _lt_function_replace_fail=:
   20088 
   20089 
   20090   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20091 func_stripname ()\
   20092 {\
   20093 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20094 \    # positional parameters, so assign one to ordinary parameter first.\
   20095 \    func_stripname_result=${3}\
   20096 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20097 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20098 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20099   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20100     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20101 test 0 -eq $? || _lt_function_replace_fail=:
   20102 
   20103 
   20104   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20105 func_split_long_opt ()\
   20106 {\
   20107 \    func_split_long_opt_name=${1%%=*}\
   20108 \    func_split_long_opt_arg=${1#*=}\
   20109 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20110   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20111     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20112 test 0 -eq $? || _lt_function_replace_fail=:
   20113 
   20114 
   20115   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20116 func_split_short_opt ()\
   20117 {\
   20118 \    func_split_short_opt_arg=${1#??}\
   20119 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20120 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20121   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20122     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20123 test 0 -eq $? || _lt_function_replace_fail=:
   20124 
   20125 
   20126   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20127 func_lo2o ()\
   20128 {\
   20129 \    case ${1} in\
   20130 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20131 \      *)    func_lo2o_result=${1} ;;\
   20132 \    esac\
   20133 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20134   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20135     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20136 test 0 -eq $? || _lt_function_replace_fail=:
   20137 
   20138 
   20139   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20140 func_xform ()\
   20141 {\
   20142     func_xform_result=${1%.*}.lo\
   20143 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20144   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20145     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20146 test 0 -eq $? || _lt_function_replace_fail=:
   20147 
   20148 
   20149   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20150 func_arith ()\
   20151 {\
   20152     func_arith_result=$(( $* ))\
   20153 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20154   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20156 test 0 -eq $? || _lt_function_replace_fail=:
   20157 
   20158 
   20159   sed -e '/^func_len ()$/,/^} # func_len /c\
   20160 func_len ()\
   20161 {\
   20162     func_len_result=${#1}\
   20163 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20164   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20165     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20166 test 0 -eq $? || _lt_function_replace_fail=:
   20167 
   20168 fi
   20169 
   20170 if test x"$lt_shell_append" = xyes; then
   20171   sed -e '/^func_append ()$/,/^} # func_append /c\
   20172 func_append ()\
   20173 {\
   20174     eval "${1}+=\\${2}"\
   20175 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20176   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20177     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20178 test 0 -eq $? || _lt_function_replace_fail=:
   20179 
   20180 
   20181   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20182 func_append_quoted ()\
   20183 {\
   20184 \    func_quote_for_eval "${2}"\
   20185 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20186 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20187   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20188     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20189 test 0 -eq $? || _lt_function_replace_fail=:
   20190 
   20191 
   20192   # Save a `func_append' function call where possible by direct use of '+='
   20193   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20194     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20195       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20196   test 0 -eq $? || _lt_function_replace_fail=:
   20197 else
   20198   # Save a `func_append' function call even when '+=' is not available
   20199   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20200     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20201       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20202   test 0 -eq $? || _lt_function_replace_fail=:
   20203 fi
   20204 
   20205 if test x"$_lt_function_replace_fail" = x":"; then
   20206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20207 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20208 fi
   20209 
   20210 
   20211    mv -f "$cfgfile" "$ofile" ||
   20212     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20213   chmod +x "$ofile"
   20214 
   20215  ;;
   20216 
   20217   esac
   20218 done # for ac_tag
   20219 
   20220 
   20221 as_fn_exit 0
   20222 _ACEOF
   20223 ac_clean_files=$ac_clean_files_save
   20224 
   20225 test $ac_write_fail = 0 ||
   20226   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20227 
   20228 
   20229 # configure is writing to config.log, and then calls config.status.
   20230 # config.status does its own redirection, appending to config.log.
   20231 # Unfortunately, on DOS this fails, as config.log is still kept open
   20232 # by configure, so config.status won't be able to write to it; its
   20233 # output is simply discarded.  So we exec the FD to /dev/null,
   20234 # effectively closing config.log, so it can be properly (re)opened and
   20235 # appended to by config.status.  When coming back to configure, we
   20236 # need to make the FD available again.
   20237 if test "$no_create" != yes; then
   20238   ac_cs_success=:
   20239   ac_config_status_args=
   20240   test "$silent" = yes &&
   20241     ac_config_status_args="$ac_config_status_args --quiet"
   20242   exec 5>/dev/null
   20243   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20244   exec 5>>config.log
   20245   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20246   # would make configure fail if this is the last instruction.
   20247   $ac_cs_success || as_fn_exit 1
   20248 fi
   20249 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20250   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20251 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20252 fi
   20253 
   20254