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 libXinerama 1.1.3.
      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='libXinerama'
    573 PACKAGE_TARNAME='libXinerama'
    574 PACKAGE_VERSION='1.1.3'
    575 PACKAGE_STRING='libXinerama 1.1.3'
    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 XINERAMA_LIBS
    625 XINERAMA_CFLAGS
    626 XTMALLOC_ZERO_CFLAGS
    627 XMALLOC_ZERO_CFLAGS
    628 MALLOC_ZERO_CFLAGS
    629 MAN_SUBSTS
    630 XORG_MAN_PAGE
    631 ADMIN_MAN_DIR
    632 DRIVER_MAN_DIR
    633 MISC_MAN_DIR
    634 FILE_MAN_DIR
    635 LIB_MAN_DIR
    636 APP_MAN_DIR
    637 ADMIN_MAN_SUFFIX
    638 DRIVER_MAN_SUFFIX
    639 MISC_MAN_SUFFIX
    640 FILE_MAN_SUFFIX
    641 LIB_MAN_SUFFIX
    642 APP_MAN_SUFFIX
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 CPP
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 LD
    666 FGREP
    667 EGREP
    668 GREP
    669 SED
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 host_os
    688 host_vendor
    689 host_cpu
    690 host
    691 build_os
    692 build_vendor
    693 build_cpu
    694 build
    695 LIBTOOL
    696 AM_BACKSLASH
    697 AM_DEFAULT_VERBOSITY
    698 AM_DEFAULT_V
    699 AM_V
    700 am__untar
    701 am__tar
    702 AMTAR
    703 am__leading_dot
    704 SET_MAKE
    705 AWK
    706 mkdir_p
    707 MKDIR_P
    708 INSTALL_STRIP_PROGRAM
    709 STRIP
    710 install_sh
    711 MAKEINFO
    712 AUTOHEADER
    713 AUTOMAKE
    714 AUTOCONF
    715 ACLOCAL
    716 VERSION
    717 PACKAGE
    718 CYGPATH_W
    719 am__isrc
    720 INSTALL_DATA
    721 INSTALL_SCRIPT
    722 INSTALL_PROGRAM
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL'
    761 ac_subst_files=''
    762 ac_user_opts='
    763 enable_option_checking
    764 enable_silent_rules
    765 enable_shared
    766 enable_static
    767 with_pic
    768 enable_fast_install
    769 enable_dependency_tracking
    770 with_gnu_ld
    771 with_sysroot
    772 enable_libtool_lock
    773 enable_selective_werror
    774 enable_strict_compilation
    775 enable_malloc0returnsnull
    776 with_lint
    777 '
    778       ac_precious_vars='build_alias
    779 host_alias
    780 target_alias
    781 CC
    782 CFLAGS
    783 LDFLAGS
    784 LIBS
    785 CPPFLAGS
    786 CPP
    787 PKG_CONFIG
    788 XINERAMA_CFLAGS
    789 XINERAMA_LIBS
    790 LINT
    791 LINT_FLAGS'
    792 
    793 
    794 # Initialize some variables set by options.
    795 ac_init_help=
    796 ac_init_version=false
    797 ac_unrecognized_opts=
    798 ac_unrecognized_sep=
    799 # The variables have the same names as the options, with
    800 # dashes changed to underlines.
    801 cache_file=/dev/null
    802 exec_prefix=NONE
    803 no_create=
    804 no_recursion=
    805 prefix=NONE
    806 program_prefix=NONE
    807 program_suffix=NONE
    808 program_transform_name=s,x,x,
    809 silent=
    810 site=
    811 srcdir=
    812 verbose=
    813 x_includes=NONE
    814 x_libraries=NONE
    815 
    816 # Installation directory options.
    817 # These are left unexpanded so users can "make install exec_prefix=/foo"
    818 # and all the variables that are supposed to be based on exec_prefix
    819 # by default will actually change.
    820 # Use braces instead of parens because sh, perl, etc. also accept them.
    821 # (The list follows the same order as the GNU Coding Standards.)
    822 bindir='${exec_prefix}/bin'
    823 sbindir='${exec_prefix}/sbin'
    824 libexecdir='${exec_prefix}/libexec'
    825 datarootdir='${prefix}/share'
    826 datadir='${datarootdir}'
    827 sysconfdir='${prefix}/etc'
    828 sharedstatedir='${prefix}/com'
    829 localstatedir='${prefix}/var'
    830 includedir='${prefix}/include'
    831 oldincludedir='/usr/include'
    832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    833 infodir='${datarootdir}/info'
    834 htmldir='${docdir}'
    835 dvidir='${docdir}'
    836 pdfdir='${docdir}'
    837 psdir='${docdir}'
    838 libdir='${exec_prefix}/lib'
    839 localedir='${datarootdir}/locale'
    840 mandir='${datarootdir}/man'
    841 
    842 ac_prev=
    843 ac_dashdash=
    844 for ac_option
    845 do
    846   # If the previous option needs an argument, assign it.
    847   if test -n "$ac_prev"; then
    848     eval $ac_prev=\$ac_option
    849     ac_prev=
    850     continue
    851   fi
    852 
    853   case $ac_option in
    854   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    855   *=)   ac_optarg= ;;
    856   *)    ac_optarg=yes ;;
    857   esac
    858 
    859   # Accept the important Cygnus configure options, so we can diagnose typos.
    860 
    861   case $ac_dashdash$ac_option in
    862   --)
    863     ac_dashdash=yes ;;
    864 
    865   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    866     ac_prev=bindir ;;
    867   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    868     bindir=$ac_optarg ;;
    869 
    870   -build | --build | --buil | --bui | --bu)
    871     ac_prev=build_alias ;;
    872   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    873     build_alias=$ac_optarg ;;
    874 
    875   -cache-file | --cache-file | --cache-fil | --cache-fi \
    876   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    877     ac_prev=cache_file ;;
    878   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    879   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    880     cache_file=$ac_optarg ;;
    881 
    882   --config-cache | -C)
    883     cache_file=config.cache ;;
    884 
    885   -datadir | --datadir | --datadi | --datad)
    886     ac_prev=datadir ;;
    887   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    888     datadir=$ac_optarg ;;
    889 
    890   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    891   | --dataroo | --dataro | --datar)
    892     ac_prev=datarootdir ;;
    893   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    894   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    895     datarootdir=$ac_optarg ;;
    896 
    897   -disable-* | --disable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=no ;;
    912 
    913   -docdir | --docdir | --docdi | --doc | --do)
    914     ac_prev=docdir ;;
    915   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    916     docdir=$ac_optarg ;;
    917 
    918   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    919     ac_prev=dvidir ;;
    920   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    921     dvidir=$ac_optarg ;;
    922 
    923   -enable-* | --enable-*)
    924     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    927       as_fn_error $? "invalid feature name: $ac_useropt"
    928     ac_useropt_orig=$ac_useropt
    929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    930     case $ac_user_opts in
    931       *"
    932 "enable_$ac_useropt"
    933 "*) ;;
    934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    935 	 ac_unrecognized_sep=', ';;
    936     esac
    937     eval enable_$ac_useropt=\$ac_optarg ;;
    938 
    939   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    940   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    941   | --exec | --exe | --ex)
    942     ac_prev=exec_prefix ;;
    943   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    944   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    945   | --exec=* | --exe=* | --ex=*)
    946     exec_prefix=$ac_optarg ;;
    947 
    948   -gas | --gas | --ga | --g)
    949     # Obsolete; use --with-gas.
    950     with_gas=yes ;;
    951 
    952   -help | --help | --hel | --he | -h)
    953     ac_init_help=long ;;
    954   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    955     ac_init_help=recursive ;;
    956   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    957     ac_init_help=short ;;
    958 
    959   -host | --host | --hos | --ho)
    960     ac_prev=host_alias ;;
    961   -host=* | --host=* | --hos=* | --ho=*)
    962     host_alias=$ac_optarg ;;
    963 
    964   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    965     ac_prev=htmldir ;;
    966   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    967   | --ht=*)
    968     htmldir=$ac_optarg ;;
    969 
    970   -includedir | --includedir | --includedi | --included | --include \
    971   | --includ | --inclu | --incl | --inc)
    972     ac_prev=includedir ;;
    973   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    974   | --includ=* | --inclu=* | --incl=* | --inc=*)
    975     includedir=$ac_optarg ;;
    976 
    977   -infodir | --infodir | --infodi | --infod | --info | --inf)
    978     ac_prev=infodir ;;
    979   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    980     infodir=$ac_optarg ;;
    981 
    982   -libdir | --libdir | --libdi | --libd)
    983     ac_prev=libdir ;;
    984   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    985     libdir=$ac_optarg ;;
    986 
    987   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    988   | --libexe | --libex | --libe)
    989     ac_prev=libexecdir ;;
    990   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    991   | --libexe=* | --libex=* | --libe=*)
    992     libexecdir=$ac_optarg ;;
    993 
    994   -localedir | --localedir | --localedi | --localed | --locale)
    995     ac_prev=localedir ;;
    996   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    997     localedir=$ac_optarg ;;
    998 
    999   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1000   | --localstate | --localstat | --localsta | --localst | --locals)
   1001     ac_prev=localstatedir ;;
   1002   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1003   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1004     localstatedir=$ac_optarg ;;
   1005 
   1006   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1007     ac_prev=mandir ;;
   1008   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1009     mandir=$ac_optarg ;;
   1010 
   1011   -nfp | --nfp | --nf)
   1012     # Obsolete; use --without-fp.
   1013     with_fp=no ;;
   1014 
   1015   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1016   | --no-cr | --no-c | -n)
   1017     no_create=yes ;;
   1018 
   1019   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1020   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1021     no_recursion=yes ;;
   1022 
   1023   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1024   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1025   | --oldin | --oldi | --old | --ol | --o)
   1026     ac_prev=oldincludedir ;;
   1027   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1028   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1029   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1030     oldincludedir=$ac_optarg ;;
   1031 
   1032   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1033     ac_prev=prefix ;;
   1034   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1035     prefix=$ac_optarg ;;
   1036 
   1037   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1038   | --program-pre | --program-pr | --program-p)
   1039     ac_prev=program_prefix ;;
   1040   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1041   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1042     program_prefix=$ac_optarg ;;
   1043 
   1044   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1045   | --program-suf | --program-su | --program-s)
   1046     ac_prev=program_suffix ;;
   1047   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1048   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1049     program_suffix=$ac_optarg ;;
   1050 
   1051   -program-transform-name | --program-transform-name \
   1052   | --program-transform-nam | --program-transform-na \
   1053   | --program-transform-n | --program-transform- \
   1054   | --program-transform | --program-transfor \
   1055   | --program-transfo | --program-transf \
   1056   | --program-trans | --program-tran \
   1057   | --progr-tra | --program-tr | --program-t)
   1058     ac_prev=program_transform_name ;;
   1059   -program-transform-name=* | --program-transform-name=* \
   1060   | --program-transform-nam=* | --program-transform-na=* \
   1061   | --program-transform-n=* | --program-transform-=* \
   1062   | --program-transform=* | --program-transfor=* \
   1063   | --program-transfo=* | --program-transf=* \
   1064   | --program-trans=* | --program-tran=* \
   1065   | --progr-tra=* | --program-tr=* | --program-t=*)
   1066     program_transform_name=$ac_optarg ;;
   1067 
   1068   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1069     ac_prev=pdfdir ;;
   1070   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1071     pdfdir=$ac_optarg ;;
   1072 
   1073   -psdir | --psdir | --psdi | --psd | --ps)
   1074     ac_prev=psdir ;;
   1075   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1076     psdir=$ac_optarg ;;
   1077 
   1078   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1079   | -silent | --silent | --silen | --sile | --sil)
   1080     silent=yes ;;
   1081 
   1082   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1083     ac_prev=sbindir ;;
   1084   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1085   | --sbi=* | --sb=*)
   1086     sbindir=$ac_optarg ;;
   1087 
   1088   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1089   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1090   | --sharedst | --shareds | --shared | --share | --shar \
   1091   | --sha | --sh)
   1092     ac_prev=sharedstatedir ;;
   1093   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1094   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1095   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1096   | --sha=* | --sh=*)
   1097     sharedstatedir=$ac_optarg ;;
   1098 
   1099   -site | --site | --sit)
   1100     ac_prev=site ;;
   1101   -site=* | --site=* | --sit=*)
   1102     site=$ac_optarg ;;
   1103 
   1104   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1105     ac_prev=srcdir ;;
   1106   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1107     srcdir=$ac_optarg ;;
   1108 
   1109   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1110   | --syscon | --sysco | --sysc | --sys | --sy)
   1111     ac_prev=sysconfdir ;;
   1112   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1113   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1114     sysconfdir=$ac_optarg ;;
   1115 
   1116   -target | --target | --targe | --targ | --tar | --ta | --t)
   1117     ac_prev=target_alias ;;
   1118   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1119     target_alias=$ac_optarg ;;
   1120 
   1121   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1122     verbose=yes ;;
   1123 
   1124   -version | --version | --versio | --versi | --vers | -V)
   1125     ac_init_version=: ;;
   1126 
   1127   -with-* | --with-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=\$ac_optarg ;;
   1142 
   1143   -without-* | --without-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: $ac_useropt"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=no ;;
   1158 
   1159   --x)
   1160     # Obsolete; use --with-x.
   1161     with_x=yes ;;
   1162 
   1163   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1164   | --x-incl | --x-inc | --x-in | --x-i)
   1165     ac_prev=x_includes ;;
   1166   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1167   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1168     x_includes=$ac_optarg ;;
   1169 
   1170   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1171   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1172     ac_prev=x_libraries ;;
   1173   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1174   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1175     x_libraries=$ac_optarg ;;
   1176 
   1177   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1178 Try \`$0 --help' for more information"
   1179     ;;
   1180 
   1181   *=*)
   1182     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1183     # Reject names that are not valid shell variable names.
   1184     case $ac_envvar in #(
   1185       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1186       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1187     esac
   1188     eval $ac_envvar=\$ac_optarg
   1189     export $ac_envvar ;;
   1190 
   1191   *)
   1192     # FIXME: should be removed in autoconf 3.0.
   1193     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1194     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1195       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1196     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1197     ;;
   1198 
   1199   esac
   1200 done
   1201 
   1202 if test -n "$ac_prev"; then
   1203   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1204   as_fn_error $? "missing argument to $ac_option"
   1205 fi
   1206 
   1207 if test -n "$ac_unrecognized_opts"; then
   1208   case $enable_option_checking in
   1209     no) ;;
   1210     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1211     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1212   esac
   1213 fi
   1214 
   1215 # Check all directory arguments for consistency.
   1216 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1217 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1218 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1219 		libdir localedir mandir
   1220 do
   1221   eval ac_val=\$$ac_var
   1222   # Remove trailing slashes.
   1223   case $ac_val in
   1224     */ )
   1225       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1226       eval $ac_var=\$ac_val;;
   1227   esac
   1228   # Be sure to have absolute directory names.
   1229   case $ac_val in
   1230     [\\/$]* | ?:[\\/]* )  continue;;
   1231     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1232   esac
   1233   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1234 done
   1235 
   1236 # There might be people who depend on the old broken behavior: `$host'
   1237 # used to hold the argument of --host etc.
   1238 # FIXME: To remove some day.
   1239 build=$build_alias
   1240 host=$host_alias
   1241 target=$target_alias
   1242 
   1243 # FIXME: To remove some day.
   1244 if test "x$host_alias" != x; then
   1245   if test "x$build_alias" = x; then
   1246     cross_compiling=maybe
   1247     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1248     If a cross compiler is detected then cross compile mode will be used" >&2
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 $as_echo X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 \`configure' configures libXinerama 1.1.3 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print \`checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for \`--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, \`make install' will install all the files in
   1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1363 for instance \`--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --libdir=DIR            object code libraries [EPREFIX/lib]
   1375   --includedir=DIR        C header files [PREFIX/include]
   1376   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1377   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1378   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1379   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1380   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1381   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1382   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXinerama]
   1383   --htmldir=DIR           html documentation [DOCDIR]
   1384   --dvidir=DIR            dvi documentation [DOCDIR]
   1385   --pdfdir=DIR            pdf documentation [DOCDIR]
   1386   --psdir=DIR             ps documentation [DOCDIR]
   1387 _ACEOF
   1388 
   1389   cat <<\_ACEOF
   1390 
   1391 Program names:
   1392   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1393   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1394   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1395 
   1396 System types:
   1397   --build=BUILD     configure for building on BUILD [guessed]
   1398   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1399 _ACEOF
   1400 fi
   1401 
   1402 if test -n "$ac_init_help"; then
   1403   case $ac_init_help in
   1404      short | recursive ) echo "Configuration of libXinerama 1.1.3:";;
   1405    esac
   1406   cat <<\_ACEOF
   1407 
   1408 Optional Features:
   1409   --disable-option-checking  ignore unrecognized --enable/--with options
   1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1412   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1413   --disable-silent-rules  verbose build output (undo: "make V=0")
   1414   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1415   --enable-static[=PKGS]  build static libraries [default=yes]
   1416   --enable-fast-install[=PKGS]
   1417                           optimize for fast installation [default=yes]
   1418   --enable-dependency-tracking
   1419                           do not reject slow dependency extractors
   1420   --disable-dependency-tracking
   1421                           speeds up one-time build
   1422   --disable-libtool-lock  avoid locking (might break parallel builds)
   1423   --disable-selective-werror
   1424                           Turn off selective compiler errors. (default:
   1425                           enabled)
   1426   --enable-strict-compilation
   1427                           Enable all warnings from compiler and make them
   1428                           errors (default: disabled)
   1429   --enable-malloc0returnsnull
   1430                           malloc(0) returns NULL (default: auto)
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1436                           both]
   1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1438   --with-sysroot=DIR Search for dependent libraries within DIR
   1439                         (or the compiler's sysroot if not specified).
   1440   --with-lint             Use a lint-style source code checker (default:
   1441                           disabled)
   1442 
   1443 Some influential environment variables:
   1444   CC          C compiler command
   1445   CFLAGS      C compiler flags
   1446   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1447               nonstandard directory <lib dir>
   1448   LIBS        libraries to pass to the linker, e.g. -l<library>
   1449   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1450               you have headers in a nonstandard directory <include dir>
   1451   CPP         C preprocessor
   1452   PKG_CONFIG  path to pkg-config utility
   1453   XINERAMA_CFLAGS
   1454               C compiler flags for XINERAMA, overriding pkg-config
   1455   XINERAMA_LIBS
   1456               linker flags for XINERAMA, overriding pkg-config
   1457   LINT        Path to a lint-style command
   1458   LINT_FLAGS  Flags for the lint-style command
   1459 
   1460 Use these variables to override the choices made by `configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for guested configure.
   1510     if test -f "$ac_srcdir/configure.gnu"; then
   1511       echo &&
   1512       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1513     elif test -f "$ac_srcdir/configure"; then
   1514       echo &&
   1515       $SHELL "$ac_srcdir/configure" --help=recursive
   1516     else
   1517       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1518     fi || ac_status=$?
   1519     cd "$ac_pwd" || { ac_status=$?; break; }
   1520   done
   1521 fi
   1522 
   1523 test -n "$ac_init_help" && exit $ac_status
   1524 if $ac_init_version; then
   1525   cat <<\_ACEOF
   1526 libXinerama configure 1.1.3
   1527 generated by GNU Autoconf 2.68
   1528 
   1529 Copyright (C) 2010 Free Software Foundation, Inc.
   1530 This configure script is free software; the Free Software Foundation
   1531 gives unlimited permission to copy, distribute and modify it.
   1532 _ACEOF
   1533   exit
   1534 fi
   1535 
   1536 ## ------------------------ ##
   1537 ## Autoconf initialization. ##
   1538 ## ------------------------ ##
   1539 
   1540 # ac_fn_c_try_compile LINENO
   1541 # --------------------------
   1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1543 ac_fn_c_try_compile ()
   1544 {
   1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1546   rm -f conftest.$ac_objext
   1547   if { { ac_try="$ac_compile"
   1548 case "(($ac_try" in
   1549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1550   *) ac_try_echo=$ac_try;;
   1551 esac
   1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1553 $as_echo "$ac_try_echo"; } >&5
   1554   (eval "$ac_compile") 2>conftest.err
   1555   ac_status=$?
   1556   if test -s conftest.err; then
   1557     grep -v '^ *+' conftest.err >conftest.er1
   1558     cat conftest.er1 >&5
   1559     mv -f conftest.er1 conftest.err
   1560   fi
   1561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1562   test $ac_status = 0; } && {
   1563 	 test -z "$ac_c_werror_flag" ||
   1564 	 test ! -s conftest.err
   1565        } && test -s conftest.$ac_objext; then :
   1566   ac_retval=0
   1567 else
   1568   $as_echo "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1
   1572 fi
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574   as_fn_set_status $ac_retval
   1575 
   1576 } # ac_fn_c_try_compile
   1577 
   1578 # ac_fn_c_try_link LINENO
   1579 # -----------------------
   1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_link ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   rm -f conftest.$ac_objext conftest$ac_exeext
   1585   if { { ac_try="$ac_link"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_link") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } && {
   1601 	 test -z "$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        } && test -s conftest$ac_exeext && {
   1604 	 test "$cross_compiling" = yes ||
   1605 	 $as_test_x conftest$ac_exeext
   1606        }; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612 	ac_retval=1
   1613 fi
   1614   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1615   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1616   # interfere with the next link command; also delete a directory that is
   1617   # left behind by Apple's compiler.  We do this before executing the actions.
   1618   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_link
   1623 
   1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1625 # -------------------------------------------------------
   1626 # Tests whether HEADER exists and can be compiled using the include files in
   1627 # INCLUDES, setting the cache variable VAR accordingly.
   1628 ac_fn_c_check_header_compile ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1632 $as_echo_n "checking for $2... " >&6; }
   1633 if eval \${$3+:} false; then :
   1634   $as_echo_n "(cached) " >&6
   1635 else
   1636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 $4
   1639 #include <$2>
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"; then :
   1642   eval "$3=yes"
   1643 else
   1644   eval "$3=no"
   1645 fi
   1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1647 fi
   1648 eval ac_res=\$$3
   1649 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1650 $as_echo "$ac_res" >&6; }
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652 
   1653 } # ac_fn_c_check_header_compile
   1654 
   1655 # ac_fn_c_try_cpp LINENO
   1656 # ----------------------
   1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_cpp ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1662 case "(($ac_try" in
   1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1664   *) ac_try_echo=$ac_try;;
   1665 esac
   1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1667 $as_echo "$ac_try_echo"; } >&5
   1668   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1669   ac_status=$?
   1670   if test -s conftest.err; then
   1671     grep -v '^ *+' conftest.err >conftest.er1
   1672     cat conftest.er1 >&5
   1673     mv -f conftest.er1 conftest.err
   1674   fi
   1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1676   test $ac_status = 0; } > conftest.i && {
   1677 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1678 	 test ! -s conftest.err
   1679        }; then :
   1680   ac_retval=0
   1681 else
   1682   $as_echo "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685     ac_retval=1
   1686 fi
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688   as_fn_set_status $ac_retval
   1689 
   1690 } # ac_fn_c_try_cpp
   1691 
   1692 # ac_fn_c_try_run LINENO
   1693 # ----------------------
   1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1695 # that executables *can* be run.
   1696 ac_fn_c_try_run ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   if { { ac_try="$ac_link"
   1700 case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_link") 2>&5
   1707   ac_status=$?
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1710   { { case "(($ac_try" in
   1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1712   *) ac_try_echo=$ac_try;;
   1713 esac
   1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1715 $as_echo "$ac_try_echo"; } >&5
   1716   (eval "$ac_try") 2>&5
   1717   ac_status=$?
   1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1719   test $ac_status = 0; }; }; then :
   1720   ac_retval=0
   1721 else
   1722   $as_echo "$as_me: program exited with status $ac_status" >&5
   1723        $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726        ac_retval=$ac_status
   1727 fi
   1728   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730   as_fn_set_status $ac_retval
   1731 
   1732 } # ac_fn_c_try_run
   1733 
   1734 # ac_fn_c_check_func LINENO FUNC VAR
   1735 # ----------------------------------
   1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1737 ac_fn_c_check_func ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 $as_echo_n "checking for $2... " >&6; }
   1742 if eval \${$3+:} false; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1749 #define $2 innocuous_$2
   1750 
   1751 /* System header to define __stub macros and hopefully few prototypes,
   1752     which can conflict with char $2 (); below.
   1753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1754     <limits.h> exists even on freestanding compilers.  */
   1755 
   1756 #ifdef __STDC__
   1757 # include <limits.h>
   1758 #else
   1759 # include <assert.h>
   1760 #endif
   1761 
   1762 #undef $2
   1763 
   1764 /* Override any GCC internal prototype to avoid an error.
   1765    Use char because int might match the return type of a GCC
   1766    builtin and then its argument prototype would still apply.  */
   1767 #ifdef __cplusplus
   1768 extern "C"
   1769 #endif
   1770 char $2 ();
   1771 /* The GNU C library defines this for functions which it implements
   1772     to always fail with ENOSYS.  Some functions are actually named
   1773     something starting with __ and the normal name is an alias.  */
   1774 #if defined __stub_$2 || defined __stub___$2
   1775 choke me
   1776 #endif
   1777 
   1778 int
   1779 main ()
   1780 {
   1781 return $2 ();
   1782   ;
   1783   return 0;
   1784 }
   1785 _ACEOF
   1786 if ac_fn_c_try_link "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext \
   1792     conftest$ac_exeext conftest.$ac_ext
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_func
   1800 
   1801 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1802 # ---------------------------------------------
   1803 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1804 # accordingly.
   1805 ac_fn_c_check_decl ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1809   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1811 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1812 if eval \${$3+:} false; then :
   1813   $as_echo_n "(cached) " >&6
   1814 else
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 $4
   1818 int
   1819 main ()
   1820 {
   1821 #ifndef $as_decl_name
   1822 #ifdef __cplusplus
   1823   (void) $as_decl_use;
   1824 #else
   1825   (void) $as_decl_name;
   1826 #endif
   1827 #endif
   1828 
   1829   ;
   1830   return 0;
   1831 }
   1832 _ACEOF
   1833 if ac_fn_c_try_compile "$LINENO"; then :
   1834   eval "$3=yes"
   1835 else
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1839 fi
   1840 eval ac_res=\$$3
   1841 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842 $as_echo "$ac_res" >&6; }
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844 
   1845 } # ac_fn_c_check_decl
   1846 cat >config.log <<_ACEOF
   1847 This file contains any messages produced by compilers while
   1848 running configure, to aid debugging if configure makes a mistake.
   1849 
   1850 It was created by libXinerama $as_me 1.1.3, which was
   1851 generated by GNU Autoconf 2.68.  Invocation command line was
   1852 
   1853   $ $0 $@
   1854 
   1855 _ACEOF
   1856 exec 5>>config.log
   1857 {
   1858 cat <<_ASUNAME
   1859 ## --------- ##
   1860 ## Platform. ##
   1861 ## --------- ##
   1862 
   1863 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1864 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1865 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1866 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1867 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1868 
   1869 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1870 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1871 
   1872 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1873 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1874 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1875 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1876 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1877 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1878 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1879 
   1880 _ASUNAME
   1881 
   1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1883 for as_dir in $PATH
   1884 do
   1885   IFS=$as_save_IFS
   1886   test -z "$as_dir" && as_dir=.
   1887     $as_echo "PATH: $as_dir"
   1888   done
   1889 IFS=$as_save_IFS
   1890 
   1891 } >&5
   1892 
   1893 cat >&5 <<_ACEOF
   1894 
   1895 
   1896 ## ----------- ##
   1897 ## Core tests. ##
   1898 ## ----------- ##
   1899 
   1900 _ACEOF
   1901 
   1902 
   1903 # Keep a trace of the command line.
   1904 # Strip out --no-create and --no-recursion so they do not pile up.
   1905 # Strip out --silent because we don't want to record it for future runs.
   1906 # Also quote any args containing shell meta-characters.
   1907 # Make two passes to allow for proper duplicate-argument suppression.
   1908 ac_configure_args=
   1909 ac_configure_args0=
   1910 ac_configure_args1=
   1911 ac_must_keep_next=false
   1912 for ac_pass in 1 2
   1913 do
   1914   for ac_arg
   1915   do
   1916     case $ac_arg in
   1917     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1918     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1919     | -silent | --silent | --silen | --sile | --sil)
   1920       continue ;;
   1921     *\'*)
   1922       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1923     esac
   1924     case $ac_pass in
   1925     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1926     2)
   1927       as_fn_append ac_configure_args1 " '$ac_arg'"
   1928       if test $ac_must_keep_next = true; then
   1929 	ac_must_keep_next=false # Got value, back to normal.
   1930       else
   1931 	case $ac_arg in
   1932 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1933 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1934 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1935 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1936 	    case "$ac_configure_args0 " in
   1937 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1938 	    esac
   1939 	    ;;
   1940 	  -* ) ac_must_keep_next=true ;;
   1941 	esac
   1942       fi
   1943       as_fn_append ac_configure_args " '$ac_arg'"
   1944       ;;
   1945     esac
   1946   done
   1947 done
   1948 { ac_configure_args0=; unset ac_configure_args0;}
   1949 { ac_configure_args1=; unset ac_configure_args1;}
   1950 
   1951 # When interrupted or exit'd, cleanup temporary files, and complete
   1952 # config.log.  We remove comments because anyway the quotes in there
   1953 # would cause problems or look ugly.
   1954 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1955 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1956 trap 'exit_status=$?
   1957   # Save into config.log some information that might help in debugging.
   1958   {
   1959     echo
   1960 
   1961     $as_echo "## ---------------- ##
   1962 ## Cache variables. ##
   1963 ## ---------------- ##"
   1964     echo
   1965     # The following way of writing the cache mishandles newlines in values,
   1966 (
   1967   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1968     eval ac_val=\$$ac_var
   1969     case $ac_val in #(
   1970     *${as_nl}*)
   1971       case $ac_var in #(
   1972       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1974       esac
   1975       case $ac_var in #(
   1976       _ | IFS | as_nl) ;; #(
   1977       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1978       *) { eval $ac_var=; unset $ac_var;} ;;
   1979       esac ;;
   1980     esac
   1981   done
   1982   (set) 2>&1 |
   1983     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1984     *${as_nl}ac_space=\ *)
   1985       sed -n \
   1986 	"s/'\''/'\''\\\\'\'''\''/g;
   1987 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1988       ;; #(
   1989     *)
   1990       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1991       ;;
   1992     esac |
   1993     sort
   1994 )
   1995     echo
   1996 
   1997     $as_echo "## ----------------- ##
   1998 ## Output variables. ##
   1999 ## ----------------- ##"
   2000     echo
   2001     for ac_var in $ac_subst_vars
   2002     do
   2003       eval ac_val=\$$ac_var
   2004       case $ac_val in
   2005       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2006       esac
   2007       $as_echo "$ac_var='\''$ac_val'\''"
   2008     done | sort
   2009     echo
   2010 
   2011     if test -n "$ac_subst_files"; then
   2012       $as_echo "## ------------------- ##
   2013 ## File substitutions. ##
   2014 ## ------------------- ##"
   2015       echo
   2016       for ac_var in $ac_subst_files
   2017       do
   2018 	eval ac_val=\$$ac_var
   2019 	case $ac_val in
   2020 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2021 	esac
   2022 	$as_echo "$ac_var='\''$ac_val'\''"
   2023       done | sort
   2024       echo
   2025     fi
   2026 
   2027     if test -s confdefs.h; then
   2028       $as_echo "## ----------- ##
   2029 ## confdefs.h. ##
   2030 ## ----------- ##"
   2031       echo
   2032       cat confdefs.h
   2033       echo
   2034     fi
   2035     test "$ac_signal" != 0 &&
   2036       $as_echo "$as_me: caught signal $ac_signal"
   2037     $as_echo "$as_me: exit $exit_status"
   2038   } >&5
   2039   rm -f core *.core core.conftest.* &&
   2040     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2041     exit $exit_status
   2042 ' 0
   2043 for ac_signal in 1 2 13 15; do
   2044   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2045 done
   2046 ac_signal=0
   2047 
   2048 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2049 rm -f -r conftest* confdefs.h
   2050 
   2051 $as_echo "/* confdefs.h */" > confdefs.h
   2052 
   2053 # Predefined preprocessor variables.
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_NAME "$PACKAGE_NAME"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2061 _ACEOF
   2062 
   2063 cat >>confdefs.h <<_ACEOF
   2064 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2065 _ACEOF
   2066 
   2067 cat >>confdefs.h <<_ACEOF
   2068 #define PACKAGE_STRING "$PACKAGE_STRING"
   2069 _ACEOF
   2070 
   2071 cat >>confdefs.h <<_ACEOF
   2072 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2073 _ACEOF
   2074 
   2075 cat >>confdefs.h <<_ACEOF
   2076 #define PACKAGE_URL "$PACKAGE_URL"
   2077 _ACEOF
   2078 
   2079 
   2080 # Let the site file select an alternate cache file if it wants to.
   2081 # Prefer an explicitly selected file to automatically selected ones.
   2082 ac_site_file1=NONE
   2083 ac_site_file2=NONE
   2084 if test -n "$CONFIG_SITE"; then
   2085   # We do not want a PATH search for config.site.
   2086   case $CONFIG_SITE in #((
   2087     -*)  ac_site_file1=./$CONFIG_SITE;;
   2088     */*) ac_site_file1=$CONFIG_SITE;;
   2089     *)   ac_site_file1=./$CONFIG_SITE;;
   2090   esac
   2091 elif test "x$prefix" != xNONE; then
   2092   ac_site_file1=$prefix/share/config.site
   2093   ac_site_file2=$prefix/etc/config.site
   2094 else
   2095   ac_site_file1=$ac_default_prefix/share/config.site
   2096   ac_site_file2=$ac_default_prefix/etc/config.site
   2097 fi
   2098 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2099 do
   2100   test "x$ac_site_file" = xNONE && continue
   2101   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2102     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2104     sed 's/^/| /' "$ac_site_file" >&5
   2105     . "$ac_site_file" \
   2106       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2108 as_fn_error $? "failed to load site script $ac_site_file
   2109 See \`config.log' for more details" "$LINENO" 5; }
   2110   fi
   2111 done
   2112 
   2113 if test -r "$cache_file"; then
   2114   # Some versions of bash will fail to source /dev/null (special files
   2115   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2116   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2119     case $cache_file in
   2120       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2121       *)                      . "./$cache_file";;
   2122     esac
   2123   fi
   2124 else
   2125   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2127   >$cache_file
   2128 fi
   2129 
   2130 # Check that the precious variables saved in the cache have kept the same
   2131 # value.
   2132 ac_cache_corrupted=false
   2133 for ac_var in $ac_precious_vars; do
   2134   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2135   eval ac_new_set=\$ac_env_${ac_var}_set
   2136   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2137   eval ac_new_val=\$ac_env_${ac_var}_value
   2138   case $ac_old_set,$ac_new_set in
   2139     set,)
   2140       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2142       ac_cache_corrupted=: ;;
   2143     ,set)
   2144       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2146       ac_cache_corrupted=: ;;
   2147     ,);;
   2148     *)
   2149       if test "x$ac_old_val" != "x$ac_new_val"; then
   2150 	# differences in whitespace do not lead to failure.
   2151 	ac_old_val_w=`echo x $ac_old_val`
   2152 	ac_new_val_w=`echo x $ac_new_val`
   2153 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2154 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2156 	  ac_cache_corrupted=:
   2157 	else
   2158 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2160 	  eval $ac_var=\$ac_old_val
   2161 	fi
   2162 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2163 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2164 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2165 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2166       fi;;
   2167   esac
   2168   # Pass precious variables to config.status.
   2169   if test "$ac_new_set" = set; then
   2170     case $ac_new_val in
   2171     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2172     *) ac_arg=$ac_var=$ac_new_val ;;
   2173     esac
   2174     case " $ac_configure_args " in
   2175       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2176       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2177     esac
   2178   fi
   2179 done
   2180 if $ac_cache_corrupted; then
   2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2185   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2186 fi
   2187 ## -------------------- ##
   2188 ## Main body of script. ##
   2189 ## -------------------- ##
   2190 
   2191 ac_ext=c
   2192 ac_cpp='$CPP $CPPFLAGS'
   2193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2196 
   2197 
   2198 
   2199 ac_config_headers="$ac_config_headers config.h"
   2200 
   2201 
   2202 # Initialize Automake
   2203 am__api_version='1.13'
   2204 
   2205 ac_aux_dir=
   2206 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2207   if test -f "$ac_dir/install-sh"; then
   2208     ac_aux_dir=$ac_dir
   2209     ac_install_sh="$ac_aux_dir/install-sh -c"
   2210     break
   2211   elif test -f "$ac_dir/install.sh"; then
   2212     ac_aux_dir=$ac_dir
   2213     ac_install_sh="$ac_aux_dir/install.sh -c"
   2214     break
   2215   elif test -f "$ac_dir/shtool"; then
   2216     ac_aux_dir=$ac_dir
   2217     ac_install_sh="$ac_aux_dir/shtool install -c"
   2218     break
   2219   fi
   2220 done
   2221 if test -z "$ac_aux_dir"; then
   2222   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2223 fi
   2224 
   2225 # These three variables are undocumented and unsupported,
   2226 # and are intended to be withdrawn in a future Autoconf release.
   2227 # They can cause serious problems if a builder's source tree is in a directory
   2228 # whose full name contains unusual characters.
   2229 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2230 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2231 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2232 
   2233 
   2234 # Find a good install program.  We prefer a C program (faster),
   2235 # so one script is as good as another.  But avoid the broken or
   2236 # incompatible versions:
   2237 # SysV /etc/install, /usr/sbin/install
   2238 # SunOS /usr/etc/install
   2239 # IRIX /sbin/install
   2240 # AIX /bin/install
   2241 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2242 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2243 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2244 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2245 # OS/2's system install, which has a completely different semantic
   2246 # ./install, which can be erroneously created by make from ./install.sh.
   2247 # Reject install programs that cannot install multiple files.
   2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2249 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2250 if test -z "$INSTALL"; then
   2251 if ${ac_cv_path_install+:} false; then :
   2252   $as_echo_n "(cached) " >&6
   2253 else
   2254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2255 for as_dir in $PATH
   2256 do
   2257   IFS=$as_save_IFS
   2258   test -z "$as_dir" && as_dir=.
   2259     # Account for people who put trailing slashes in PATH elements.
   2260 case $as_dir/ in #((
   2261   ./ | .// | /[cC]/* | \
   2262   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2263   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2264   /usr/ucb/* ) ;;
   2265   *)
   2266     # OSF1 and SCO ODT 3.0 have their own names for install.
   2267     # Don't use installbsd from OSF since it installs stuff as root
   2268     # by default.
   2269     for ac_prog in ginstall scoinst install; do
   2270       for ac_exec_ext in '' $ac_executable_extensions; do
   2271 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2272 	  if test $ac_prog = install &&
   2273 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2274 	    # AIX install.  It has an incompatible calling convention.
   2275 	    :
   2276 	  elif test $ac_prog = install &&
   2277 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2278 	    # program-specific install script used by HP pwplus--don't use.
   2279 	    :
   2280 	  else
   2281 	    rm -rf conftest.one conftest.two conftest.dir
   2282 	    echo one > conftest.one
   2283 	    echo two > conftest.two
   2284 	    mkdir conftest.dir
   2285 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2286 	      test -s conftest.one && test -s conftest.two &&
   2287 	      test -s conftest.dir/conftest.one &&
   2288 	      test -s conftest.dir/conftest.two
   2289 	    then
   2290 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2291 	      break 3
   2292 	    fi
   2293 	  fi
   2294 	fi
   2295       done
   2296     done
   2297     ;;
   2298 esac
   2299 
   2300   done
   2301 IFS=$as_save_IFS
   2302 
   2303 rm -rf conftest.one conftest.two conftest.dir
   2304 
   2305 fi
   2306   if test "${ac_cv_path_install+set}" = set; then
   2307     INSTALL=$ac_cv_path_install
   2308   else
   2309     # As a last resort, use the slow shell script.  Don't cache a
   2310     # value for INSTALL within a source directory, because that will
   2311     # break other packages using the cache if that directory is
   2312     # removed, or if the value is a relative name.
   2313     INSTALL=$ac_install_sh
   2314   fi
   2315 fi
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2317 $as_echo "$INSTALL" >&6; }
   2318 
   2319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2320 # It thinks the first close brace ends the variable substitution.
   2321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2322 
   2323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2324 
   2325 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2326 
   2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2328 $as_echo_n "checking whether build environment is sane... " >&6; }
   2329 # Reject unsafe characters in $srcdir or the absolute working directory
   2330 # name.  Accept space and tab only in the latter.
   2331 am_lf='
   2332 '
   2333 case `pwd` in
   2334   *[\\\"\#\$\&\'\`$am_lf]*)
   2335     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2336 esac
   2337 case $srcdir in
   2338   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2339     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2340 esac
   2341 
   2342 # Do 'set' in a subshell so we don't clobber the current shell's
   2343 # arguments.  Must try -L first in case configure is actually a
   2344 # symlink; some systems play weird games with the mod time of symlinks
   2345 # (eg FreeBSD returns the mod time of the symlink's containing
   2346 # directory).
   2347 if (
   2348    am_has_slept=no
   2349    for am_try in 1 2; do
   2350      echo "timestamp, slept: $am_has_slept" > conftest.file
   2351      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2352      if test "$*" = "X"; then
   2353 	# -L didn't work.
   2354 	set X `ls -t "$srcdir/configure" conftest.file`
   2355      fi
   2356      if test "$*" != "X $srcdir/configure conftest.file" \
   2357 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2358 
   2359 	# If neither matched, then we have a broken ls.  This can happen
   2360 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2361 	# broken ls alias from the environment.  This has actually
   2362 	# happened.  Such a system could not be considered "sane".
   2363 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2364   alias in your environment" "$LINENO" 5
   2365      fi
   2366      if test "$2" = conftest.file || test $am_try -eq 2; then
   2367        break
   2368      fi
   2369      # Just in case.
   2370      sleep 1
   2371      am_has_slept=yes
   2372    done
   2373    test "$2" = conftest.file
   2374    )
   2375 then
   2376    # Ok.
   2377    :
   2378 else
   2379    as_fn_error $? "newly created file is older than distributed files!
   2380 Check your system clock" "$LINENO" 5
   2381 fi
   2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2383 $as_echo "yes" >&6; }
   2384 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2385 # generated files are strictly newer.
   2386 am_sleep_pid=
   2387 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2388   ( sleep 1 ) &
   2389   am_sleep_pid=$!
   2390 fi
   2391 
   2392 rm -f conftest.file
   2393 
   2394 test "$program_prefix" != NONE &&
   2395   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2396 # Use a double $ so make ignores it.
   2397 test "$program_suffix" != NONE &&
   2398   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2399 # Double any \ or $.
   2400 # By default was `s,x,x', remove it if useless.
   2401 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2402 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2403 
   2404 # expand $ac_aux_dir to an absolute path
   2405 am_aux_dir=`cd $ac_aux_dir && pwd`
   2406 
   2407 if test x"${MISSING+set}" != xset; then
   2408   case $am_aux_dir in
   2409   *\ * | *\	*)
   2410     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2411   *)
   2412     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2413   esac
   2414 fi
   2415 # Use eval to expand $SHELL
   2416 if eval "$MISSING --is-lightweight"; then
   2417   am_missing_run="$MISSING "
   2418 else
   2419   am_missing_run=
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2421 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2422 fi
   2423 
   2424 if test x"${install_sh}" != xset; then
   2425   case $am_aux_dir in
   2426   *\ * | *\	*)
   2427     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2428   *)
   2429     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2430   esac
   2431 fi
   2432 
   2433 # Installed binaries are usually stripped using 'strip' when the user
   2434 # run "make install-strip".  However 'strip' might not be the right
   2435 # tool to use in cross-compilation environments, therefore Automake
   2436 # will honor the 'STRIP' environment variable to overrule this program.
   2437 if test "$cross_compiling" != no; then
   2438   if test -n "$ac_tool_prefix"; then
   2439   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2440 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2442 $as_echo_n "checking for $ac_word... " >&6; }
   2443 if ${ac_cv_prog_STRIP+:} false; then :
   2444   $as_echo_n "(cached) " >&6
   2445 else
   2446   if test -n "$STRIP"; then
   2447   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2448 else
   2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2450 for as_dir in $PATH
   2451 do
   2452   IFS=$as_save_IFS
   2453   test -z "$as_dir" && as_dir=.
   2454     for ac_exec_ext in '' $ac_executable_extensions; do
   2455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2456     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2458     break 2
   2459   fi
   2460 done
   2461   done
   2462 IFS=$as_save_IFS
   2463 
   2464 fi
   2465 fi
   2466 STRIP=$ac_cv_prog_STRIP
   2467 if test -n "$STRIP"; then
   2468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2469 $as_echo "$STRIP" >&6; }
   2470 else
   2471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2472 $as_echo "no" >&6; }
   2473 fi
   2474 
   2475 
   2476 fi
   2477 if test -z "$ac_cv_prog_STRIP"; then
   2478   ac_ct_STRIP=$STRIP
   2479   # Extract the first word of "strip", so it can be a program name with args.
   2480 set dummy strip; ac_word=$2
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2482 $as_echo_n "checking for $ac_word... " >&6; }
   2483 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2484   $as_echo_n "(cached) " >&6
   2485 else
   2486   if test -n "$ac_ct_STRIP"; then
   2487   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2488 else
   2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2490 for as_dir in $PATH
   2491 do
   2492   IFS=$as_save_IFS
   2493   test -z "$as_dir" && as_dir=.
   2494     for ac_exec_ext in '' $ac_executable_extensions; do
   2495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2496     ac_cv_prog_ac_ct_STRIP="strip"
   2497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2498     break 2
   2499   fi
   2500 done
   2501   done
   2502 IFS=$as_save_IFS
   2503 
   2504 fi
   2505 fi
   2506 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2507 if test -n "$ac_ct_STRIP"; then
   2508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2509 $as_echo "$ac_ct_STRIP" >&6; }
   2510 else
   2511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2512 $as_echo "no" >&6; }
   2513 fi
   2514 
   2515   if test "x$ac_ct_STRIP" = x; then
   2516     STRIP=":"
   2517   else
   2518     case $cross_compiling:$ac_tool_warned in
   2519 yes:)
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2522 ac_tool_warned=yes ;;
   2523 esac
   2524     STRIP=$ac_ct_STRIP
   2525   fi
   2526 else
   2527   STRIP="$ac_cv_prog_STRIP"
   2528 fi
   2529 
   2530 fi
   2531 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2532 
   2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2534 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2535 if test -z "$MKDIR_P"; then
   2536   if ${ac_cv_path_mkdir+:} false; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544     for ac_prog in mkdir gmkdir; do
   2545 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2546 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2547 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2548 	     'mkdir (GNU coreutils) '* | \
   2549 	     'mkdir (coreutils) '* | \
   2550 	     'mkdir (fileutils) '4.1*)
   2551 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2552 	       break 3;;
   2553 	   esac
   2554 	 done
   2555        done
   2556   done
   2557 IFS=$as_save_IFS
   2558 
   2559 fi
   2560 
   2561   test -d ./--version && rmdir ./--version
   2562   if test "${ac_cv_path_mkdir+set}" = set; then
   2563     MKDIR_P="$ac_cv_path_mkdir -p"
   2564   else
   2565     # As a last resort, use the slow shell script.  Don't cache a
   2566     # value for MKDIR_P within a source directory, because that will
   2567     # break other packages using the cache if that directory is
   2568     # removed, or if the value is a relative name.
   2569     MKDIR_P="$ac_install_sh -d"
   2570   fi
   2571 fi
   2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2573 $as_echo "$MKDIR_P" >&6; }
   2574 
   2575 for ac_prog in gawk mawk nawk awk
   2576 do
   2577   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2578 set dummy $ac_prog; ac_word=$2
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2580 $as_echo_n "checking for $ac_word... " >&6; }
   2581 if ${ac_cv_prog_AWK+:} false; then :
   2582   $as_echo_n "(cached) " >&6
   2583 else
   2584   if test -n "$AWK"; then
   2585   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2586 else
   2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2588 for as_dir in $PATH
   2589 do
   2590   IFS=$as_save_IFS
   2591   test -z "$as_dir" && as_dir=.
   2592     for ac_exec_ext in '' $ac_executable_extensions; do
   2593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2594     ac_cv_prog_AWK="$ac_prog"
   2595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2596     break 2
   2597   fi
   2598 done
   2599   done
   2600 IFS=$as_save_IFS
   2601 
   2602 fi
   2603 fi
   2604 AWK=$ac_cv_prog_AWK
   2605 if test -n "$AWK"; then
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2607 $as_echo "$AWK" >&6; }
   2608 else
   2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2610 $as_echo "no" >&6; }
   2611 fi
   2612 
   2613 
   2614   test -n "$AWK" && break
   2615 done
   2616 
   2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2618 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2619 set x ${MAKE-make}
   2620 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2621 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2622   $as_echo_n "(cached) " >&6
   2623 else
   2624   cat >conftest.make <<\_ACEOF
   2625 SHELL = /bin/sh
   2626 all:
   2627 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2628 _ACEOF
   2629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2631   *@@@%%%=?*=@@@%%%*)
   2632     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2633   *)
   2634     eval ac_cv_prog_make_${ac_make}_set=no;;
   2635 esac
   2636 rm -f conftest.make
   2637 fi
   2638 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2640 $as_echo "yes" >&6; }
   2641   SET_MAKE=
   2642 else
   2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2644 $as_echo "no" >&6; }
   2645   SET_MAKE="MAKE=${MAKE-make}"
   2646 fi
   2647 
   2648 rm -rf .tst 2>/dev/null
   2649 mkdir .tst 2>/dev/null
   2650 if test -d .tst; then
   2651   am__leading_dot=.
   2652 else
   2653   am__leading_dot=_
   2654 fi
   2655 rmdir .tst 2>/dev/null
   2656 
   2657 # Check whether --enable-silent-rules was given.
   2658 if test "${enable_silent_rules+set}" = set; then :
   2659   enableval=$enable_silent_rules;
   2660 fi
   2661 
   2662 case $enable_silent_rules in # (((
   2663   yes) AM_DEFAULT_VERBOSITY=0;;
   2664    no) AM_DEFAULT_VERBOSITY=1;;
   2665     *) AM_DEFAULT_VERBOSITY=1;;
   2666 esac
   2667 am_make=${MAKE-make}
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2669 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2670 if ${am_cv_make_support_nested_variables+:} false; then :
   2671   $as_echo_n "(cached) " >&6
   2672 else
   2673   if $as_echo 'TRUE=$(BAR$(V))
   2674 BAR0=false
   2675 BAR1=true
   2676 V=1
   2677 am__doit:
   2678 	@$(TRUE)
   2679 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2680   am_cv_make_support_nested_variables=yes
   2681 else
   2682   am_cv_make_support_nested_variables=no
   2683 fi
   2684 fi
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2686 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2687 if test $am_cv_make_support_nested_variables = yes; then
   2688     AM_V='$(V)'
   2689   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2690 else
   2691   AM_V=$AM_DEFAULT_VERBOSITY
   2692   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2693 fi
   2694 AM_BACKSLASH='\'
   2695 
   2696 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2697   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2698   # is not polluted with repeated "-I."
   2699   am__isrc=' -I$(srcdir)'
   2700   # test to see if srcdir already configured
   2701   if test -f $srcdir/config.status; then
   2702     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2703   fi
   2704 fi
   2705 
   2706 # test whether we have cygpath
   2707 if test -z "$CYGPATH_W"; then
   2708   if (cygpath --version) >/dev/null 2>/dev/null; then
   2709     CYGPATH_W='cygpath -w'
   2710   else
   2711     CYGPATH_W=echo
   2712   fi
   2713 fi
   2714 
   2715 
   2716 # Define the identity of the package.
   2717  PACKAGE='libXinerama'
   2718  VERSION='1.1.3'
   2719 
   2720 
   2721 cat >>confdefs.h <<_ACEOF
   2722 #define PACKAGE "$PACKAGE"
   2723 _ACEOF
   2724 
   2725 
   2726 cat >>confdefs.h <<_ACEOF
   2727 #define VERSION "$VERSION"
   2728 _ACEOF
   2729 
   2730 # Some tools Automake needs.
   2731 
   2732 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2733 
   2734 
   2735 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2736 
   2737 
   2738 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2739 
   2740 
   2741 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2742 
   2743 
   2744 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2745 
   2746 # For better backward compatibility.  To be removed once Automake 1.9.x
   2747 # dies out for good.  For more background, see:
   2748 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2749 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2750 mkdir_p='$(MKDIR_P)'
   2751 
   2752 # We need awk for the "check" target.  The system "awk" is bad on
   2753 # some platforms.
   2754 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2755 # in the wild :-(  We should find a proper way to deprecate it ...
   2756 AMTAR='$${TAR-tar}'
   2757 
   2758 
   2759 # We'll loop over all known methods to create a tar archive until one works.
   2760 _am_tools='gnutar  pax cpio none'
   2761 
   2762 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 
   2769 
   2770 # Initialize libtool
   2771 case `pwd` in
   2772   *\ * | *\	*)
   2773     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2774 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2775 esac
   2776 
   2777 
   2778 
   2779 macro_version='2.4.2'
   2780 macro_revision='1.3337'
   2781 
   2782 
   2783 
   2784 
   2785 
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 ltmain="$ac_aux_dir/ltmain.sh"
   2795 
   2796 # Make sure we can run config.sub.
   2797 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2798   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2799 
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2801 $as_echo_n "checking build system type... " >&6; }
   2802 if ${ac_cv_build+:} false; then :
   2803   $as_echo_n "(cached) " >&6
   2804 else
   2805   ac_build_alias=$build_alias
   2806 test "x$ac_build_alias" = x &&
   2807   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2808 test "x$ac_build_alias" = x &&
   2809   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2810 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2811   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2812 
   2813 fi
   2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2815 $as_echo "$ac_cv_build" >&6; }
   2816 case $ac_cv_build in
   2817 *-*-*) ;;
   2818 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2819 esac
   2820 build=$ac_cv_build
   2821 ac_save_IFS=$IFS; IFS='-'
   2822 set x $ac_cv_build
   2823 shift
   2824 build_cpu=$1
   2825 build_vendor=$2
   2826 shift; shift
   2827 # Remember, the first character of IFS is used to create $*,
   2828 # except with old shells:
   2829 build_os=$*
   2830 IFS=$ac_save_IFS
   2831 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2832 
   2833 
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2835 $as_echo_n "checking host system type... " >&6; }
   2836 if ${ac_cv_host+:} false; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   if test "x$host_alias" = x; then
   2840   ac_cv_host=$ac_cv_build
   2841 else
   2842   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2843     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2844 fi
   2845 
   2846 fi
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2848 $as_echo "$ac_cv_host" >&6; }
   2849 case $ac_cv_host in
   2850 *-*-*) ;;
   2851 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2852 esac
   2853 host=$ac_cv_host
   2854 ac_save_IFS=$IFS; IFS='-'
   2855 set x $ac_cv_host
   2856 shift
   2857 host_cpu=$1
   2858 host_vendor=$2
   2859 shift; shift
   2860 # Remember, the first character of IFS is used to create $*,
   2861 # except with old shells:
   2862 host_os=$*
   2863 IFS=$ac_save_IFS
   2864 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2865 
   2866 
   2867 # Backslashify metacharacters that are still active within
   2868 # double-quoted strings.
   2869 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2870 
   2871 # Same as above, but do not quote variable references.
   2872 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2873 
   2874 # Sed substitution to delay expansion of an escaped shell variable in a
   2875 # double_quote_subst'ed string.
   2876 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2877 
   2878 # Sed substitution to delay expansion of an escaped single quote.
   2879 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2880 
   2881 # Sed substitution to avoid accidental globbing in evaled expressions
   2882 no_glob_subst='s/\*/\\\*/g'
   2883 
   2884 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2885 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2886 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2887 
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2889 $as_echo_n "checking how to print strings... " >&6; }
   2890 # Test print first, because it will be a builtin if present.
   2891 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2892    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2893   ECHO='print -r --'
   2894 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2895   ECHO='printf %s\n'
   2896 else
   2897   # Use this function as a fallback that always works.
   2898   func_fallback_echo ()
   2899   {
   2900     eval 'cat <<_LTECHO_EOF
   2901 $1
   2902 _LTECHO_EOF'
   2903   }
   2904   ECHO='func_fallback_echo'
   2905 fi
   2906 
   2907 # func_echo_all arg...
   2908 # Invoke $ECHO with all args, space-separated.
   2909 func_echo_all ()
   2910 {
   2911     $ECHO ""
   2912 }
   2913 
   2914 case "$ECHO" in
   2915   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2916 $as_echo "printf" >&6; } ;;
   2917   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2918 $as_echo "print -r" >&6; } ;;
   2919   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2920 $as_echo "cat" >&6; } ;;
   2921 esac
   2922 
   2923 
   2924 
   2925 
   2926 
   2927 
   2928 
   2929 
   2930 
   2931 
   2932 
   2933 
   2934 
   2935 
   2936 DEPDIR="${am__leading_dot}deps"
   2937 
   2938 ac_config_commands="$ac_config_commands depfiles"
   2939 
   2940 
   2941 am_make=${MAKE-make}
   2942 cat > confinc << 'END'
   2943 am__doit:
   2944 	@echo this is the am__doit target
   2945 .PHONY: am__doit
   2946 END
   2947 # If we don't find an include directive, just comment out the code.
   2948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2949 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2950 am__include="#"
   2951 am__quote=
   2952 _am_result=none
   2953 # First try GNU make style include.
   2954 echo "include confinc" > confmf
   2955 # Ignore all kinds of additional output from 'make'.
   2956 case `$am_make -s -f confmf 2> /dev/null` in #(
   2957 *the\ am__doit\ target*)
   2958   am__include=include
   2959   am__quote=
   2960   _am_result=GNU
   2961   ;;
   2962 esac
   2963 # Now try BSD make style include.
   2964 if test "$am__include" = "#"; then
   2965    echo '.include "confinc"' > confmf
   2966    case `$am_make -s -f confmf 2> /dev/null` in #(
   2967    *the\ am__doit\ target*)
   2968      am__include=.include
   2969      am__quote="\""
   2970      _am_result=BSD
   2971      ;;
   2972    esac
   2973 fi
   2974 
   2975 
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2977 $as_echo "$_am_result" >&6; }
   2978 rm -f confinc confmf
   2979 
   2980 # Check whether --enable-dependency-tracking was given.
   2981 if test "${enable_dependency_tracking+set}" = set; then :
   2982   enableval=$enable_dependency_tracking;
   2983 fi
   2984 
   2985 if test "x$enable_dependency_tracking" != xno; then
   2986   am_depcomp="$ac_aux_dir/depcomp"
   2987   AMDEPBACKSLASH='\'
   2988   am__nodep='_no'
   2989 fi
   2990  if test "x$enable_dependency_tracking" != xno; then
   2991   AMDEP_TRUE=
   2992   AMDEP_FALSE='#'
   2993 else
   2994   AMDEP_TRUE='#'
   2995   AMDEP_FALSE=
   2996 fi
   2997 
   2998 
   2999 ac_ext=c
   3000 ac_cpp='$CPP $CPPFLAGS'
   3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3004 if test -n "$ac_tool_prefix"; then
   3005   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3006 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3008 $as_echo_n "checking for $ac_word... " >&6; }
   3009 if ${ac_cv_prog_CC+:} false; then :
   3010   $as_echo_n "(cached) " >&6
   3011 else
   3012   if test -n "$CC"; then
   3013   ac_cv_prog_CC="$CC" # Let the user override the test.
   3014 else
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   test -z "$as_dir" && as_dir=.
   3020     for ac_exec_ext in '' $ac_executable_extensions; do
   3021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3022     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3024     break 2
   3025   fi
   3026 done
   3027   done
   3028 IFS=$as_save_IFS
   3029 
   3030 fi
   3031 fi
   3032 CC=$ac_cv_prog_CC
   3033 if test -n "$CC"; then
   3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3035 $as_echo "$CC" >&6; }
   3036 else
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 $as_echo "no" >&6; }
   3039 fi
   3040 
   3041 
   3042 fi
   3043 if test -z "$ac_cv_prog_CC"; then
   3044   ac_ct_CC=$CC
   3045   # Extract the first word of "gcc", so it can be a program name with args.
   3046 set dummy gcc; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$ac_ct_CC"; then
   3053   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   test -z "$as_dir" && as_dir=.
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3062     ac_cv_prog_ac_ct_CC="gcc"
   3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3073 if test -n "$ac_ct_CC"; then
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3075 $as_echo "$ac_ct_CC" >&6; }
   3076 else
   3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 $as_echo "no" >&6; }
   3079 fi
   3080 
   3081   if test "x$ac_ct_CC" = x; then
   3082     CC=""
   3083   else
   3084     case $cross_compiling:$ac_tool_warned in
   3085 yes:)
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3088 ac_tool_warned=yes ;;
   3089 esac
   3090     CC=$ac_ct_CC
   3091   fi
   3092 else
   3093   CC="$ac_cv_prog_CC"
   3094 fi
   3095 
   3096 if test -z "$CC"; then
   3097           if test -n "$ac_tool_prefix"; then
   3098     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3099 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if ${ac_cv_prog_CC+:} false; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$CC"; then
   3106   ac_cv_prog_CC="$CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3115     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 CC=$ac_cv_prog_CC
   3126 if test -n "$CC"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3128 $as_echo "$CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135   fi
   3136 fi
   3137 if test -z "$CC"; then
   3138   # Extract the first word of "cc", so it can be a program name with args.
   3139 set dummy cc; ac_word=$2
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if ${ac_cv_prog_CC+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$CC"; then
   3146   ac_cv_prog_CC="$CC" # Let the user override the test.
   3147 else
   3148   ac_prog_rejected=no
   3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3150 for as_dir in $PATH
   3151 do
   3152   IFS=$as_save_IFS
   3153   test -z "$as_dir" && as_dir=.
   3154     for ac_exec_ext in '' $ac_executable_extensions; do
   3155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3156     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3157        ac_prog_rejected=yes
   3158        continue
   3159      fi
   3160     ac_cv_prog_CC="cc"
   3161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3162     break 2
   3163   fi
   3164 done
   3165   done
   3166 IFS=$as_save_IFS
   3167 
   3168 if test $ac_prog_rejected = yes; then
   3169   # We found a bogon in the path, so make sure we never use it.
   3170   set dummy $ac_cv_prog_CC
   3171   shift
   3172   if test $# != 0; then
   3173     # We chose a different compiler from the bogus one.
   3174     # However, it has the same basename, so the bogon will be chosen
   3175     # first if we set CC to just the basename; use the full file name.
   3176     shift
   3177     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3178   fi
   3179 fi
   3180 fi
   3181 fi
   3182 CC=$ac_cv_prog_CC
   3183 if test -n "$CC"; then
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3185 $as_echo "$CC" >&6; }
   3186 else
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3188 $as_echo "no" >&6; }
   3189 fi
   3190 
   3191 
   3192 fi
   3193 if test -z "$CC"; then
   3194   if test -n "$ac_tool_prefix"; then
   3195   for ac_prog in cl.exe
   3196   do
   3197     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3200 $as_echo_n "checking for $ac_word... " >&6; }
   3201 if ${ac_cv_prog_CC+:} false; then :
   3202   $as_echo_n "(cached) " >&6
   3203 else
   3204   if test -n "$CC"; then
   3205   ac_cv_prog_CC="$CC" # Let the user override the test.
   3206 else
   3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3208 for as_dir in $PATH
   3209 do
   3210   IFS=$as_save_IFS
   3211   test -z "$as_dir" && as_dir=.
   3212     for ac_exec_ext in '' $ac_executable_extensions; do
   3213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3214     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3216     break 2
   3217   fi
   3218 done
   3219   done
   3220 IFS=$as_save_IFS
   3221 
   3222 fi
   3223 fi
   3224 CC=$ac_cv_prog_CC
   3225 if test -n "$CC"; then
   3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3227 $as_echo "$CC" >&6; }
   3228 else
   3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3230 $as_echo "no" >&6; }
   3231 fi
   3232 
   3233 
   3234     test -n "$CC" && break
   3235   done
   3236 fi
   3237 if test -z "$CC"; then
   3238   ac_ct_CC=$CC
   3239   for ac_prog in cl.exe
   3240 do
   3241   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3242 set dummy $ac_prog; ac_word=$2
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3244 $as_echo_n "checking for $ac_word... " >&6; }
   3245 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3246   $as_echo_n "(cached) " >&6
   3247 else
   3248   if test -n "$ac_ct_CC"; then
   3249   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3250 else
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   test -z "$as_dir" && as_dir=.
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3258     ac_cv_prog_ac_ct_CC="$ac_prog"
   3259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi
   3267 fi
   3268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3269 if test -n "$ac_ct_CC"; then
   3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3271 $as_echo "$ac_ct_CC" >&6; }
   3272 else
   3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275 fi
   3276 
   3277 
   3278   test -n "$ac_ct_CC" && break
   3279 done
   3280 
   3281   if test "x$ac_ct_CC" = x; then
   3282     CC=""
   3283   else
   3284     case $cross_compiling:$ac_tool_warned in
   3285 yes:)
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3288 ac_tool_warned=yes ;;
   3289 esac
   3290     CC=$ac_ct_CC
   3291   fi
   3292 fi
   3293 
   3294 fi
   3295 
   3296 
   3297 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3299 as_fn_error $? "no acceptable C compiler found in \$PATH
   3300 See \`config.log' for more details" "$LINENO" 5; }
   3301 
   3302 # Provide some information about the compiler.
   3303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3304 set X $ac_compile
   3305 ac_compiler=$2
   3306 for ac_option in --version -v -V -qversion; do
   3307   { { ac_try="$ac_compiler $ac_option >&5"
   3308 case "(($ac_try" in
   3309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3310   *) ac_try_echo=$ac_try;;
   3311 esac
   3312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3313 $as_echo "$ac_try_echo"; } >&5
   3314   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3315   ac_status=$?
   3316   if test -s conftest.err; then
   3317     sed '10a\
   3318 ... rest of stderr output deleted ...
   3319          10q' conftest.err >conftest.er1
   3320     cat conftest.er1 >&5
   3321   fi
   3322   rm -f conftest.er1 conftest.err
   3323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3324   test $ac_status = 0; }
   3325 done
   3326 
   3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 ac_clean_files_save=$ac_clean_files
   3339 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3340 # Try to create an executable without -o first, disregard a.out.
   3341 # It will help us diagnose broken compilers, and finding out an intuition
   3342 # of exeext.
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3344 $as_echo_n "checking whether the C compiler works... " >&6; }
   3345 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3346 
   3347 # The possible output files:
   3348 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3349 
   3350 ac_rmfiles=
   3351 for ac_file in $ac_files
   3352 do
   3353   case $ac_file in
   3354     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3355     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3356   esac
   3357 done
   3358 rm -f $ac_rmfiles
   3359 
   3360 if { { ac_try="$ac_link_default"
   3361 case "(($ac_try" in
   3362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3363   *) ac_try_echo=$ac_try;;
   3364 esac
   3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3366 $as_echo "$ac_try_echo"; } >&5
   3367   (eval "$ac_link_default") 2>&5
   3368   ac_status=$?
   3369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3370   test $ac_status = 0; }; then :
   3371   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3372 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3373 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3374 # so that the user can short-circuit this test for compilers unknown to
   3375 # Autoconf.
   3376 for ac_file in $ac_files ''
   3377 do
   3378   test -f "$ac_file" || continue
   3379   case $ac_file in
   3380     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3381 	;;
   3382     [ab].out )
   3383 	# We found the default executable, but exeext='' is most
   3384 	# certainly right.
   3385 	break;;
   3386     *.* )
   3387 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3388 	then :; else
   3389 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3390 	fi
   3391 	# We set ac_cv_exeext here because the later test for it is not
   3392 	# safe: cross compilers may not add the suffix if given an `-o'
   3393 	# argument, so we may need to know it at that point already.
   3394 	# Even if this section looks crufty: it has the advantage of
   3395 	# actually working.
   3396 	break;;
   3397     * )
   3398 	break;;
   3399   esac
   3400 done
   3401 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3402 
   3403 else
   3404   ac_file=''
   3405 fi
   3406 if test -z "$ac_file"; then :
   3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3408 $as_echo "no" >&6; }
   3409 $as_echo "$as_me: failed program was:" >&5
   3410 sed 's/^/| /' conftest.$ac_ext >&5
   3411 
   3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3414 as_fn_error 77 "C compiler cannot create executables
   3415 See \`config.log' for more details" "$LINENO" 5; }
   3416 else
   3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3418 $as_echo "yes" >&6; }
   3419 fi
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3421 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3423 $as_echo "$ac_file" >&6; }
   3424 ac_exeext=$ac_cv_exeext
   3425 
   3426 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3427 ac_clean_files=$ac_clean_files_save
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3429 $as_echo_n "checking for suffix of executables... " >&6; }
   3430 if { { ac_try="$ac_link"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo"; } >&5
   3437   (eval "$ac_link") 2>&5
   3438   ac_status=$?
   3439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3440   test $ac_status = 0; }; then :
   3441   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3442 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3443 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3444 # `rm'.
   3445 for ac_file in conftest.exe conftest conftest.*; do
   3446   test -f "$ac_file" || continue
   3447   case $ac_file in
   3448     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3449     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3450 	  break;;
   3451     * ) break;;
   3452   esac
   3453 done
   3454 else
   3455   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3457 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3458 See \`config.log' for more details" "$LINENO" 5; }
   3459 fi
   3460 rm -f conftest conftest$ac_cv_exeext
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3462 $as_echo "$ac_cv_exeext" >&6; }
   3463 
   3464 rm -f conftest.$ac_ext
   3465 EXEEXT=$ac_cv_exeext
   3466 ac_exeext=$EXEEXT
   3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3468 /* end confdefs.h.  */
   3469 #include <stdio.h>
   3470 int
   3471 main ()
   3472 {
   3473 FILE *f = fopen ("conftest.out", "w");
   3474  return ferror (f) || fclose (f) != 0;
   3475 
   3476   ;
   3477   return 0;
   3478 }
   3479 _ACEOF
   3480 ac_clean_files="$ac_clean_files conftest.out"
   3481 # Check that the compiler produces executables we can run.  If not, either
   3482 # the compiler is broken, or we cross compile.
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3484 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3485 if test "$cross_compiling" != yes; then
   3486   { { ac_try="$ac_link"
   3487 case "(($ac_try" in
   3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3489   *) ac_try_echo=$ac_try;;
   3490 esac
   3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3492 $as_echo "$ac_try_echo"; } >&5
   3493   (eval "$ac_link") 2>&5
   3494   ac_status=$?
   3495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3496   test $ac_status = 0; }
   3497   if { ac_try='./conftest$ac_cv_exeext'
   3498   { { case "(($ac_try" in
   3499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3500   *) ac_try_echo=$ac_try;;
   3501 esac
   3502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3503 $as_echo "$ac_try_echo"; } >&5
   3504   (eval "$ac_try") 2>&5
   3505   ac_status=$?
   3506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3507   test $ac_status = 0; }; }; then
   3508     cross_compiling=no
   3509   else
   3510     if test "$cross_compiling" = maybe; then
   3511 	cross_compiling=yes
   3512     else
   3513 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3515 as_fn_error $? "cannot run C compiled programs.
   3516 If you meant to cross compile, use \`--host'.
   3517 See \`config.log' for more details" "$LINENO" 5; }
   3518     fi
   3519   fi
   3520 fi
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3522 $as_echo "$cross_compiling" >&6; }
   3523 
   3524 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3525 ac_clean_files=$ac_clean_files_save
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3527 $as_echo_n "checking for suffix of object files... " >&6; }
   3528 if ${ac_cv_objext+:} false; then :
   3529   $as_echo_n "(cached) " >&6
   3530 else
   3531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3532 /* end confdefs.h.  */
   3533 
   3534 int
   3535 main ()
   3536 {
   3537 
   3538   ;
   3539   return 0;
   3540 }
   3541 _ACEOF
   3542 rm -f conftest.o conftest.obj
   3543 if { { ac_try="$ac_compile"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo"; } >&5
   3550   (eval "$ac_compile") 2>&5
   3551   ac_status=$?
   3552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3553   test $ac_status = 0; }; then :
   3554   for ac_file in conftest.o conftest.obj conftest.*; do
   3555   test -f "$ac_file" || continue;
   3556   case $ac_file in
   3557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3558     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3559        break;;
   3560   esac
   3561 done
   3562 else
   3563   $as_echo "$as_me: failed program was:" >&5
   3564 sed 's/^/| /' conftest.$ac_ext >&5
   3565 
   3566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3568 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3569 See \`config.log' for more details" "$LINENO" 5; }
   3570 fi
   3571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3572 fi
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3574 $as_echo "$ac_cv_objext" >&6; }
   3575 OBJEXT=$ac_cv_objext
   3576 ac_objext=$OBJEXT
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3579 if ${ac_cv_c_compiler_gnu+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 #ifndef __GNUC__
   3589        choke me
   3590 #endif
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596 if ac_fn_c_try_compile "$LINENO"; then :
   3597   ac_compiler_gnu=yes
   3598 else
   3599   ac_compiler_gnu=no
   3600 fi
   3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3603 
   3604 fi
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3606 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3607 if test $ac_compiler_gnu = yes; then
   3608   GCC=yes
   3609 else
   3610   GCC=
   3611 fi
   3612 ac_test_CFLAGS=${CFLAGS+set}
   3613 ac_save_CFLAGS=$CFLAGS
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3615 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3616 if ${ac_cv_prog_cc_g+:} false; then :
   3617   $as_echo_n "(cached) " >&6
   3618 else
   3619   ac_save_c_werror_flag=$ac_c_werror_flag
   3620    ac_c_werror_flag=yes
   3621    ac_cv_prog_cc_g=no
   3622    CFLAGS="-g"
   3623    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main ()
   3628 {
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 if ac_fn_c_try_compile "$LINENO"; then :
   3635   ac_cv_prog_cc_g=yes
   3636 else
   3637   CFLAGS=""
   3638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 
   3641 int
   3642 main ()
   3643 {
   3644 
   3645   ;
   3646   return 0;
   3647 }
   3648 _ACEOF
   3649 if ac_fn_c_try_compile "$LINENO"; then :
   3650 
   3651 else
   3652   ac_c_werror_flag=$ac_save_c_werror_flag
   3653 	 CFLAGS="-g"
   3654 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3655 /* end confdefs.h.  */
   3656 
   3657 int
   3658 main ()
   3659 {
   3660 
   3661   ;
   3662   return 0;
   3663 }
   3664 _ACEOF
   3665 if ac_fn_c_try_compile "$LINENO"; then :
   3666   ac_cv_prog_cc_g=yes
   3667 fi
   3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3669 fi
   3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3671 fi
   3672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3673    ac_c_werror_flag=$ac_save_c_werror_flag
   3674 fi
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3676 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3677 if test "$ac_test_CFLAGS" = set; then
   3678   CFLAGS=$ac_save_CFLAGS
   3679 elif test $ac_cv_prog_cc_g = yes; then
   3680   if test "$GCC" = yes; then
   3681     CFLAGS="-g -O2"
   3682   else
   3683     CFLAGS="-g"
   3684   fi
   3685 else
   3686   if test "$GCC" = yes; then
   3687     CFLAGS="-O2"
   3688   else
   3689     CFLAGS=
   3690   fi
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3694 if ${ac_cv_prog_cc_c89+:} false; then :
   3695   $as_echo_n "(cached) " >&6
   3696 else
   3697   ac_cv_prog_cc_c89=no
   3698 ac_save_CC=$CC
   3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3700 /* end confdefs.h.  */
   3701 #include <stdarg.h>
   3702 #include <stdio.h>
   3703 #include <sys/types.h>
   3704 #include <sys/stat.h>
   3705 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3706 struct buf { int x; };
   3707 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3708 static char *e (p, i)
   3709      char **p;
   3710      int i;
   3711 {
   3712   return p[i];
   3713 }
   3714 static char *f (char * (*g) (char **, int), char **p, ...)
   3715 {
   3716   char *s;
   3717   va_list v;
   3718   va_start (v,p);
   3719   s = g (p, va_arg (v,int));
   3720   va_end (v);
   3721   return s;
   3722 }
   3723 
   3724 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3725    function prototypes and stuff, but not '\xHH' hex character constants.
   3726    These don't provoke an error unfortunately, instead are silently treated
   3727    as 'x'.  The following induces an error, until -std is added to get
   3728    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3729    array size at least.  It's necessary to write '\x00'==0 to get something
   3730    that's true only with -std.  */
   3731 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3732 
   3733 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3734    inside strings and character constants.  */
   3735 #define FOO(x) 'x'
   3736 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3737 
   3738 int test (int i, double x);
   3739 struct s1 {int (*f) (int a);};
   3740 struct s2 {int (*f) (double a);};
   3741 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3742 int argc;
   3743 char **argv;
   3744 int
   3745 main ()
   3746 {
   3747 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3748   ;
   3749   return 0;
   3750 }
   3751 _ACEOF
   3752 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3753 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3754 do
   3755   CC="$ac_save_CC $ac_arg"
   3756   if ac_fn_c_try_compile "$LINENO"; then :
   3757   ac_cv_prog_cc_c89=$ac_arg
   3758 fi
   3759 rm -f core conftest.err conftest.$ac_objext
   3760   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3761 done
   3762 rm -f conftest.$ac_ext
   3763 CC=$ac_save_CC
   3764 
   3765 fi
   3766 # AC_CACHE_VAL
   3767 case "x$ac_cv_prog_cc_c89" in
   3768   x)
   3769     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3770 $as_echo "none needed" >&6; } ;;
   3771   xno)
   3772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3773 $as_echo "unsupported" >&6; } ;;
   3774   *)
   3775     CC="$CC $ac_cv_prog_cc_c89"
   3776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3777 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3778 esac
   3779 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3780 
   3781 fi
   3782 
   3783 ac_ext=c
   3784 ac_cpp='$CPP $CPPFLAGS'
   3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3788 
   3789 depcc="$CC"   am_compiler_list=
   3790 
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3792 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3793 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3794   $as_echo_n "(cached) " >&6
   3795 else
   3796   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3797   # We make a subdir and do the tests there.  Otherwise we can end up
   3798   # making bogus files that we don't know about and never remove.  For
   3799   # instance it was reported that on HP-UX the gcc test will end up
   3800   # making a dummy file named 'D' -- because '-MD' means "put the output
   3801   # in D".
   3802   rm -rf conftest.dir
   3803   mkdir conftest.dir
   3804   # Copy depcomp to subdir because otherwise we won't find it if we're
   3805   # using a relative directory.
   3806   cp "$am_depcomp" conftest.dir
   3807   cd conftest.dir
   3808   # We will build objects and dependencies in a subdirectory because
   3809   # it helps to detect inapplicable dependency modes.  For instance
   3810   # both Tru64's cc and ICC support -MD to output dependencies as a
   3811   # side effect of compilation, but ICC will put the dependencies in
   3812   # the current directory while Tru64 will put them in the object
   3813   # directory.
   3814   mkdir sub
   3815 
   3816   am_cv_CC_dependencies_compiler_type=none
   3817   if test "$am_compiler_list" = ""; then
   3818      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3819   fi
   3820   am__universal=false
   3821   case " $depcc " in #(
   3822      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3823      esac
   3824 
   3825   for depmode in $am_compiler_list; do
   3826     # Setup a source with many dependencies, because some compilers
   3827     # like to wrap large dependency lists on column 80 (with \), and
   3828     # we should not choose a depcomp mode which is confused by this.
   3829     #
   3830     # We need to recreate these files for each test, as the compiler may
   3831     # overwrite some of them when testing with obscure command lines.
   3832     # This happens at least with the AIX C compiler.
   3833     : > sub/conftest.c
   3834     for i in 1 2 3 4 5 6; do
   3835       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3836       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3837       # Solaris 10 /bin/sh.
   3838       echo '/* dummy */' > sub/conftst$i.h
   3839     done
   3840     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3841 
   3842     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3843     # mode.  It turns out that the SunPro C++ compiler does not properly
   3844     # handle '-M -o', and we need to detect this.  Also, some Intel
   3845     # versions had trouble with output in subdirs.
   3846     am__obj=sub/conftest.${OBJEXT-o}
   3847     am__minus_obj="-o $am__obj"
   3848     case $depmode in
   3849     gcc)
   3850       # This depmode causes a compiler race in universal mode.
   3851       test "$am__universal" = false || continue
   3852       ;;
   3853     nosideeffect)
   3854       # After this tag, mechanisms are not by side-effect, so they'll
   3855       # only be used when explicitly requested.
   3856       if test "x$enable_dependency_tracking" = xyes; then
   3857 	continue
   3858       else
   3859 	break
   3860       fi
   3861       ;;
   3862     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3863       # This compiler won't grok '-c -o', but also, the minuso test has
   3864       # not run yet.  These depmodes are late enough in the game, and
   3865       # so weak that their functioning should not be impacted.
   3866       am__obj=conftest.${OBJEXT-o}
   3867       am__minus_obj=
   3868       ;;
   3869     none) break ;;
   3870     esac
   3871     if depmode=$depmode \
   3872        source=sub/conftest.c object=$am__obj \
   3873        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3874        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3875          >/dev/null 2>conftest.err &&
   3876        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3877        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3878        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3879        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3880       # icc doesn't choke on unknown options, it will just issue warnings
   3881       # or remarks (even with -Werror).  So we grep stderr for any message
   3882       # that says an option was ignored or not supported.
   3883       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3884       #   icc: Command line warning: ignoring option '-M'; no argument required
   3885       # The diagnosis changed in icc 8.0:
   3886       #   icc: Command line remark: option '-MP' not supported
   3887       if (grep 'ignoring option' conftest.err ||
   3888           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3889         am_cv_CC_dependencies_compiler_type=$depmode
   3890         break
   3891       fi
   3892     fi
   3893   done
   3894 
   3895   cd ..
   3896   rm -rf conftest.dir
   3897 else
   3898   am_cv_CC_dependencies_compiler_type=none
   3899 fi
   3900 
   3901 fi
   3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3903 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3904 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3905 
   3906  if
   3907   test "x$enable_dependency_tracking" != xno \
   3908   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3909   am__fastdepCC_TRUE=
   3910   am__fastdepCC_FALSE='#'
   3911 else
   3912   am__fastdepCC_TRUE='#'
   3913   am__fastdepCC_FALSE=
   3914 fi
   3915 
   3916 
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3918 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3919 if ${ac_cv_path_SED+:} false; then :
   3920   $as_echo_n "(cached) " >&6
   3921 else
   3922             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3923      for ac_i in 1 2 3 4 5 6 7; do
   3924        ac_script="$ac_script$as_nl$ac_script"
   3925      done
   3926      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3927      { ac_script=; unset ac_script;}
   3928      if test -z "$SED"; then
   3929   ac_path_SED_found=false
   3930   # Loop through the user's path and test for each of PROGNAME-LIST
   3931   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3932 for as_dir in $PATH
   3933 do
   3934   IFS=$as_save_IFS
   3935   test -z "$as_dir" && as_dir=.
   3936     for ac_prog in sed gsed; do
   3937     for ac_exec_ext in '' $ac_executable_extensions; do
   3938       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3939       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3940 # Check for GNU ac_path_SED and select it if it is found.
   3941   # Check for GNU $ac_path_SED
   3942 case `"$ac_path_SED" --version 2>&1` in
   3943 *GNU*)
   3944   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3945 *)
   3946   ac_count=0
   3947   $as_echo_n 0123456789 >"conftest.in"
   3948   while :
   3949   do
   3950     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3951     mv "conftest.tmp" "conftest.in"
   3952     cp "conftest.in" "conftest.nl"
   3953     $as_echo '' >> "conftest.nl"
   3954     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3955     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3956     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3957     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3958       # Best one so far, save it but keep looking for a better one
   3959       ac_cv_path_SED="$ac_path_SED"
   3960       ac_path_SED_max=$ac_count
   3961     fi
   3962     # 10*(2^10) chars as input seems more than enough
   3963     test $ac_count -gt 10 && break
   3964   done
   3965   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3966 esac
   3967 
   3968       $ac_path_SED_found && break 3
   3969     done
   3970   done
   3971   done
   3972 IFS=$as_save_IFS
   3973   if test -z "$ac_cv_path_SED"; then
   3974     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3975   fi
   3976 else
   3977   ac_cv_path_SED=$SED
   3978 fi
   3979 
   3980 fi
   3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3982 $as_echo "$ac_cv_path_SED" >&6; }
   3983  SED="$ac_cv_path_SED"
   3984   rm -f conftest.sed
   3985 
   3986 test -z "$SED" && SED=sed
   3987 Xsed="$SED -e 1s/^X//"
   3988 
   3989 
   3990 
   3991 
   3992 
   3993 
   3994 
   3995 
   3996 
   3997 
   3998 
   3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4000 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4001 if ${ac_cv_path_GREP+:} false; then :
   4002   $as_echo_n "(cached) " >&6
   4003 else
   4004   if test -z "$GREP"; then
   4005   ac_path_GREP_found=false
   4006   # Loop through the user's path and test for each of PROGNAME-LIST
   4007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4009 do
   4010   IFS=$as_save_IFS
   4011   test -z "$as_dir" && as_dir=.
   4012     for ac_prog in grep ggrep; do
   4013     for ac_exec_ext in '' $ac_executable_extensions; do
   4014       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4015       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4016 # Check for GNU ac_path_GREP and select it if it is found.
   4017   # Check for GNU $ac_path_GREP
   4018 case `"$ac_path_GREP" --version 2>&1` in
   4019 *GNU*)
   4020   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4021 *)
   4022   ac_count=0
   4023   $as_echo_n 0123456789 >"conftest.in"
   4024   while :
   4025   do
   4026     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4027     mv "conftest.tmp" "conftest.in"
   4028     cp "conftest.in" "conftest.nl"
   4029     $as_echo 'GREP' >> "conftest.nl"
   4030     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4031     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4032     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4033     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4034       # Best one so far, save it but keep looking for a better one
   4035       ac_cv_path_GREP="$ac_path_GREP"
   4036       ac_path_GREP_max=$ac_count
   4037     fi
   4038     # 10*(2^10) chars as input seems more than enough
   4039     test $ac_count -gt 10 && break
   4040   done
   4041   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4042 esac
   4043 
   4044       $ac_path_GREP_found && break 3
   4045     done
   4046   done
   4047   done
   4048 IFS=$as_save_IFS
   4049   if test -z "$ac_cv_path_GREP"; then
   4050     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4051   fi
   4052 else
   4053   ac_cv_path_GREP=$GREP
   4054 fi
   4055 
   4056 fi
   4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4058 $as_echo "$ac_cv_path_GREP" >&6; }
   4059  GREP="$ac_cv_path_GREP"
   4060 
   4061 
   4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4063 $as_echo_n "checking for egrep... " >&6; }
   4064 if ${ac_cv_path_EGREP+:} false; then :
   4065   $as_echo_n "(cached) " >&6
   4066 else
   4067   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4068    then ac_cv_path_EGREP="$GREP -E"
   4069    else
   4070      if test -z "$EGREP"; then
   4071   ac_path_EGREP_found=false
   4072   # Loop through the user's path and test for each of PROGNAME-LIST
   4073   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4074 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4075 do
   4076   IFS=$as_save_IFS
   4077   test -z "$as_dir" && as_dir=.
   4078     for ac_prog in egrep; do
   4079     for ac_exec_ext in '' $ac_executable_extensions; do
   4080       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4081       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4082 # Check for GNU ac_path_EGREP and select it if it is found.
   4083   # Check for GNU $ac_path_EGREP
   4084 case `"$ac_path_EGREP" --version 2>&1` in
   4085 *GNU*)
   4086   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4087 *)
   4088   ac_count=0
   4089   $as_echo_n 0123456789 >"conftest.in"
   4090   while :
   4091   do
   4092     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4093     mv "conftest.tmp" "conftest.in"
   4094     cp "conftest.in" "conftest.nl"
   4095     $as_echo 'EGREP' >> "conftest.nl"
   4096     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4097     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4098     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4099     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4100       # Best one so far, save it but keep looking for a better one
   4101       ac_cv_path_EGREP="$ac_path_EGREP"
   4102       ac_path_EGREP_max=$ac_count
   4103     fi
   4104     # 10*(2^10) chars as input seems more than enough
   4105     test $ac_count -gt 10 && break
   4106   done
   4107   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4108 esac
   4109 
   4110       $ac_path_EGREP_found && break 3
   4111     done
   4112   done
   4113   done
   4114 IFS=$as_save_IFS
   4115   if test -z "$ac_cv_path_EGREP"; then
   4116     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4117   fi
   4118 else
   4119   ac_cv_path_EGREP=$EGREP
   4120 fi
   4121 
   4122    fi
   4123 fi
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4125 $as_echo "$ac_cv_path_EGREP" >&6; }
   4126  EGREP="$ac_cv_path_EGREP"
   4127 
   4128 
   4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4130 $as_echo_n "checking for fgrep... " >&6; }
   4131 if ${ac_cv_path_FGREP+:} false; then :
   4132   $as_echo_n "(cached) " >&6
   4133 else
   4134   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4135    then ac_cv_path_FGREP="$GREP -F"
   4136    else
   4137      if test -z "$FGREP"; then
   4138   ac_path_FGREP_found=false
   4139   # Loop through the user's path and test for each of PROGNAME-LIST
   4140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4141 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4142 do
   4143   IFS=$as_save_IFS
   4144   test -z "$as_dir" && as_dir=.
   4145     for ac_prog in fgrep; do
   4146     for ac_exec_ext in '' $ac_executable_extensions; do
   4147       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4148       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4149 # Check for GNU ac_path_FGREP and select it if it is found.
   4150   # Check for GNU $ac_path_FGREP
   4151 case `"$ac_path_FGREP" --version 2>&1` in
   4152 *GNU*)
   4153   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4154 *)
   4155   ac_count=0
   4156   $as_echo_n 0123456789 >"conftest.in"
   4157   while :
   4158   do
   4159     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4160     mv "conftest.tmp" "conftest.in"
   4161     cp "conftest.in" "conftest.nl"
   4162     $as_echo 'FGREP' >> "conftest.nl"
   4163     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4164     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4165     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4166     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4167       # Best one so far, save it but keep looking for a better one
   4168       ac_cv_path_FGREP="$ac_path_FGREP"
   4169       ac_path_FGREP_max=$ac_count
   4170     fi
   4171     # 10*(2^10) chars as input seems more than enough
   4172     test $ac_count -gt 10 && break
   4173   done
   4174   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4175 esac
   4176 
   4177       $ac_path_FGREP_found && break 3
   4178     done
   4179   done
   4180   done
   4181 IFS=$as_save_IFS
   4182   if test -z "$ac_cv_path_FGREP"; then
   4183     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4184   fi
   4185 else
   4186   ac_cv_path_FGREP=$FGREP
   4187 fi
   4188 
   4189    fi
   4190 fi
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4192 $as_echo "$ac_cv_path_FGREP" >&6; }
   4193  FGREP="$ac_cv_path_FGREP"
   4194 
   4195 
   4196 test -z "$GREP" && GREP=grep
   4197 
   4198 
   4199 
   4200 
   4201 
   4202 
   4203 
   4204 
   4205 
   4206 
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 
   4213 
   4214 
   4215 
   4216 # Check whether --with-gnu-ld was given.
   4217 if test "${with_gnu_ld+set}" = set; then :
   4218   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4219 else
   4220   with_gnu_ld=no
   4221 fi
   4222 
   4223 ac_prog=ld
   4224 if test "$GCC" = yes; then
   4225   # Check if gcc -print-prog-name=ld gives a path.
   4226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4227 $as_echo_n "checking for ld used by $CC... " >&6; }
   4228   case $host in
   4229   *-*-mingw*)
   4230     # gcc leaves a trailing carriage return which upsets mingw
   4231     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4232   *)
   4233     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4234   esac
   4235   case $ac_prog in
   4236     # Accept absolute paths.
   4237     [\\/]* | ?:[\\/]*)
   4238       re_direlt='/[^/][^/]*/\.\./'
   4239       # Canonicalize the pathname of ld
   4240       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4241       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4242 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4243       done
   4244       test -z "$LD" && LD="$ac_prog"
   4245       ;;
   4246   "")
   4247     # If it fails, then pretend we aren't using GCC.
   4248     ac_prog=ld
   4249     ;;
   4250   *)
   4251     # If it is relative, then search for the first ld in PATH.
   4252     with_gnu_ld=unknown
   4253     ;;
   4254   esac
   4255 elif test "$with_gnu_ld" = yes; then
   4256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4257 $as_echo_n "checking for GNU ld... " >&6; }
   4258 else
   4259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4260 $as_echo_n "checking for non-GNU ld... " >&6; }
   4261 fi
   4262 if ${lt_cv_path_LD+:} false; then :
   4263   $as_echo_n "(cached) " >&6
   4264 else
   4265   if test -z "$LD"; then
   4266   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4267   for ac_dir in $PATH; do
   4268     IFS="$lt_save_ifs"
   4269     test -z "$ac_dir" && ac_dir=.
   4270     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4271       lt_cv_path_LD="$ac_dir/$ac_prog"
   4272       # Check to see if the program is GNU ld.  I'd rather use --version,
   4273       # but apparently some variants of GNU ld only accept -v.
   4274       # Break only if it was the GNU/non-GNU ld that we prefer.
   4275       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4276       *GNU* | *'with BFD'*)
   4277 	test "$with_gnu_ld" != no && break
   4278 	;;
   4279       *)
   4280 	test "$with_gnu_ld" != yes && break
   4281 	;;
   4282       esac
   4283     fi
   4284   done
   4285   IFS="$lt_save_ifs"
   4286 else
   4287   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4288 fi
   4289 fi
   4290 
   4291 LD="$lt_cv_path_LD"
   4292 if test -n "$LD"; then
   4293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4294 $as_echo "$LD" >&6; }
   4295 else
   4296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4297 $as_echo "no" >&6; }
   4298 fi
   4299 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4301 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4302 if ${lt_cv_prog_gnu_ld+:} false; then :
   4303   $as_echo_n "(cached) " >&6
   4304 else
   4305   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4306 case `$LD -v 2>&1 </dev/null` in
   4307 *GNU* | *'with BFD'*)
   4308   lt_cv_prog_gnu_ld=yes
   4309   ;;
   4310 *)
   4311   lt_cv_prog_gnu_ld=no
   4312   ;;
   4313 esac
   4314 fi
   4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4316 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4317 with_gnu_ld=$lt_cv_prog_gnu_ld
   4318 
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 
   4326 
   4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4328 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4329 if ${lt_cv_path_NM+:} false; then :
   4330   $as_echo_n "(cached) " >&6
   4331 else
   4332   if test -n "$NM"; then
   4333   # Let the user override the test.
   4334   lt_cv_path_NM="$NM"
   4335 else
   4336   lt_nm_to_check="${ac_tool_prefix}nm"
   4337   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4338     lt_nm_to_check="$lt_nm_to_check nm"
   4339   fi
   4340   for lt_tmp_nm in $lt_nm_to_check; do
   4341     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4342     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4343       IFS="$lt_save_ifs"
   4344       test -z "$ac_dir" && ac_dir=.
   4345       tmp_nm="$ac_dir/$lt_tmp_nm"
   4346       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4347 	# Check to see if the nm accepts a BSD-compat flag.
   4348 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4349 	#   nm: unknown option "B" ignored
   4350 	# Tru64's nm complains that /dev/null is an invalid object file
   4351 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4352 	*/dev/null* | *'Invalid file or object type'*)
   4353 	  lt_cv_path_NM="$tmp_nm -B"
   4354 	  break
   4355 	  ;;
   4356 	*)
   4357 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4358 	  */dev/null*)
   4359 	    lt_cv_path_NM="$tmp_nm -p"
   4360 	    break
   4361 	    ;;
   4362 	  *)
   4363 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4364 	    continue # so that we can try to find one that supports BSD flags
   4365 	    ;;
   4366 	  esac
   4367 	  ;;
   4368 	esac
   4369       fi
   4370     done
   4371     IFS="$lt_save_ifs"
   4372   done
   4373   : ${lt_cv_path_NM=no}
   4374 fi
   4375 fi
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4377 $as_echo "$lt_cv_path_NM" >&6; }
   4378 if test "$lt_cv_path_NM" != "no"; then
   4379   NM="$lt_cv_path_NM"
   4380 else
   4381   # Didn't find any BSD compatible name lister, look for dumpbin.
   4382   if test -n "$DUMPBIN"; then :
   4383     # Let the user override the test.
   4384   else
   4385     if test -n "$ac_tool_prefix"; then
   4386   for ac_prog in dumpbin "link -dump"
   4387   do
   4388     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4389 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4391 $as_echo_n "checking for $ac_word... " >&6; }
   4392 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4393   $as_echo_n "(cached) " >&6
   4394 else
   4395   if test -n "$DUMPBIN"; then
   4396   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4397 else
   4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4399 for as_dir in $PATH
   4400 do
   4401   IFS=$as_save_IFS
   4402   test -z "$as_dir" && as_dir=.
   4403     for ac_exec_ext in '' $ac_executable_extensions; do
   4404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4405     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4407     break 2
   4408   fi
   4409 done
   4410   done
   4411 IFS=$as_save_IFS
   4412 
   4413 fi
   4414 fi
   4415 DUMPBIN=$ac_cv_prog_DUMPBIN
   4416 if test -n "$DUMPBIN"; then
   4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4418 $as_echo "$DUMPBIN" >&6; }
   4419 else
   4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4421 $as_echo "no" >&6; }
   4422 fi
   4423 
   4424 
   4425     test -n "$DUMPBIN" && break
   4426   done
   4427 fi
   4428 if test -z "$DUMPBIN"; then
   4429   ac_ct_DUMPBIN=$DUMPBIN
   4430   for ac_prog in dumpbin "link -dump"
   4431 do
   4432   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4433 set dummy $ac_prog; ac_word=$2
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4435 $as_echo_n "checking for $ac_word... " >&6; }
   4436 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4437   $as_echo_n "(cached) " >&6
   4438 else
   4439   if test -n "$ac_ct_DUMPBIN"; then
   4440   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4441 else
   4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4443 for as_dir in $PATH
   4444 do
   4445   IFS=$as_save_IFS
   4446   test -z "$as_dir" && as_dir=.
   4447     for ac_exec_ext in '' $ac_executable_extensions; do
   4448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4449     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4451     break 2
   4452   fi
   4453 done
   4454   done
   4455 IFS=$as_save_IFS
   4456 
   4457 fi
   4458 fi
   4459 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4460 if test -n "$ac_ct_DUMPBIN"; then
   4461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4462 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4463 else
   4464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4465 $as_echo "no" >&6; }
   4466 fi
   4467 
   4468 
   4469   test -n "$ac_ct_DUMPBIN" && break
   4470 done
   4471 
   4472   if test "x$ac_ct_DUMPBIN" = x; then
   4473     DUMPBIN=":"
   4474   else
   4475     case $cross_compiling:$ac_tool_warned in
   4476 yes:)
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4479 ac_tool_warned=yes ;;
   4480 esac
   4481     DUMPBIN=$ac_ct_DUMPBIN
   4482   fi
   4483 fi
   4484 
   4485     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4486     *COFF*)
   4487       DUMPBIN="$DUMPBIN -symbols"
   4488       ;;
   4489     *)
   4490       DUMPBIN=:
   4491       ;;
   4492     esac
   4493   fi
   4494 
   4495   if test "$DUMPBIN" != ":"; then
   4496     NM="$DUMPBIN"
   4497   fi
   4498 fi
   4499 test -z "$NM" && NM=nm
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4507 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4508 if ${lt_cv_nm_interface+:} false; then :
   4509   $as_echo_n "(cached) " >&6
   4510 else
   4511   lt_cv_nm_interface="BSD nm"
   4512   echo "int some_variable = 0;" > conftest.$ac_ext
   4513   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4514   (eval "$ac_compile" 2>conftest.err)
   4515   cat conftest.err >&5
   4516   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4517   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4518   cat conftest.err >&5
   4519   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4520   cat conftest.out >&5
   4521   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4522     lt_cv_nm_interface="MS dumpbin"
   4523   fi
   4524   rm -f conftest*
   4525 fi
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4527 $as_echo "$lt_cv_nm_interface" >&6; }
   4528 
   4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4530 $as_echo_n "checking whether ln -s works... " >&6; }
   4531 LN_S=$as_ln_s
   4532 if test "$LN_S" = "ln -s"; then
   4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4534 $as_echo "yes" >&6; }
   4535 else
   4536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4537 $as_echo "no, using $LN_S" >&6; }
   4538 fi
   4539 
   4540 # find the maximum length of command line arguments
   4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4542 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4543 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4544   $as_echo_n "(cached) " >&6
   4545 else
   4546     i=0
   4547   teststring="ABCD"
   4548 
   4549   case $build_os in
   4550   msdosdjgpp*)
   4551     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4552     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4553     # during glob expansion).  Even if it were fixed, the result of this
   4554     # check would be larger than it should be.
   4555     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4556     ;;
   4557 
   4558   gnu*)
   4559     # Under GNU Hurd, this test is not required because there is
   4560     # no limit to the length of command line arguments.
   4561     # Libtool will interpret -1 as no limit whatsoever
   4562     lt_cv_sys_max_cmd_len=-1;
   4563     ;;
   4564 
   4565   cygwin* | mingw* | cegcc*)
   4566     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4567     # about 5 minutes as the teststring grows exponentially.
   4568     # Worse, since 9x/ME are not pre-emptively multitasking,
   4569     # you end up with a "frozen" computer, even though with patience
   4570     # the test eventually succeeds (with a max line length of 256k).
   4571     # Instead, let's just punt: use the minimum linelength reported by
   4572     # all of the supported platforms: 8192 (on NT/2K/XP).
   4573     lt_cv_sys_max_cmd_len=8192;
   4574     ;;
   4575 
   4576   mint*)
   4577     # On MiNT this can take a long time and run out of memory.
   4578     lt_cv_sys_max_cmd_len=8192;
   4579     ;;
   4580 
   4581   amigaos*)
   4582     # On AmigaOS with pdksh, this test takes hours, literally.
   4583     # So we just punt and use a minimum line length of 8192.
   4584     lt_cv_sys_max_cmd_len=8192;
   4585     ;;
   4586 
   4587   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4588     # This has been around since 386BSD, at least.  Likely further.
   4589     if test -x /sbin/sysctl; then
   4590       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4591     elif test -x /usr/sbin/sysctl; then
   4592       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4593     else
   4594       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4595     fi
   4596     # And add a safety zone
   4597     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4598     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4599     ;;
   4600 
   4601   interix*)
   4602     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4603     lt_cv_sys_max_cmd_len=196608
   4604     ;;
   4605 
   4606   os2*)
   4607     # The test takes a long time on OS/2.
   4608     lt_cv_sys_max_cmd_len=8192
   4609     ;;
   4610 
   4611   osf*)
   4612     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4613     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4614     # nice to cause kernel panics so lets avoid the loop below.
   4615     # First set a reasonable default.
   4616     lt_cv_sys_max_cmd_len=16384
   4617     #
   4618     if test -x /sbin/sysconfig; then
   4619       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4620         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4621       esac
   4622     fi
   4623     ;;
   4624   sco3.2v5*)
   4625     lt_cv_sys_max_cmd_len=102400
   4626     ;;
   4627   sysv5* | sco5v6* | sysv4.2uw2*)
   4628     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4629     if test -n "$kargmax"; then
   4630       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4631     else
   4632       lt_cv_sys_max_cmd_len=32768
   4633     fi
   4634     ;;
   4635   *)
   4636     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4637     if test -n "$lt_cv_sys_max_cmd_len"; then
   4638       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4639       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4640     else
   4641       # Make teststring a little bigger before we do anything with it.
   4642       # a 1K string should be a reasonable start.
   4643       for i in 1 2 3 4 5 6 7 8 ; do
   4644         teststring=$teststring$teststring
   4645       done
   4646       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4647       # If test is not a shell built-in, we'll probably end up computing a
   4648       # maximum length that is only half of the actual maximum length, but
   4649       # we can't tell.
   4650       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4651 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4652 	      test $i != 17 # 1/2 MB should be enough
   4653       do
   4654         i=`expr $i + 1`
   4655         teststring=$teststring$teststring
   4656       done
   4657       # Only check the string length outside the loop.
   4658       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4659       teststring=
   4660       # Add a significant safety factor because C++ compilers can tack on
   4661       # massive amounts of additional arguments before passing them to the
   4662       # linker.  It appears as though 1/2 is a usable value.
   4663       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4664     fi
   4665     ;;
   4666   esac
   4667 
   4668 fi
   4669 
   4670 if test -n $lt_cv_sys_max_cmd_len ; then
   4671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4672 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4673 else
   4674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4675 $as_echo "none" >&6; }
   4676 fi
   4677 max_cmd_len=$lt_cv_sys_max_cmd_len
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 : ${CP="cp -f"}
   4685 : ${MV="mv -f"}
   4686 : ${RM="rm -f"}
   4687 
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4689 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4690 # Try some XSI features
   4691 xsi_shell=no
   4692 ( _lt_dummy="a/b/c"
   4693   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4694       = c,a/b,b/c, \
   4695     && eval 'test $(( 1 + 1 )) -eq 2 \
   4696     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4697   && xsi_shell=yes
   4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4699 $as_echo "$xsi_shell" >&6; }
   4700 
   4701 
   4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4703 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4704 lt_shell_append=no
   4705 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4706     >/dev/null 2>&1 \
   4707   && lt_shell_append=yes
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4709 $as_echo "$lt_shell_append" >&6; }
   4710 
   4711 
   4712 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4713   lt_unset=unset
   4714 else
   4715   lt_unset=false
   4716 fi
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 # test EBCDIC or ASCII
   4723 case `echo X|tr X '\101'` in
   4724  A) # ASCII based system
   4725     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4726   lt_SP2NL='tr \040 \012'
   4727   lt_NL2SP='tr \015\012 \040\040'
   4728   ;;
   4729  *) # EBCDIC based system
   4730   lt_SP2NL='tr \100 \n'
   4731   lt_NL2SP='tr \r\n \100\100'
   4732   ;;
   4733 esac
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4744 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4745 if ${lt_cv_to_host_file_cmd+:} false; then :
   4746   $as_echo_n "(cached) " >&6
   4747 else
   4748   case $host in
   4749   *-*-mingw* )
   4750     case $build in
   4751       *-*-mingw* ) # actually msys
   4752         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4753         ;;
   4754       *-*-cygwin* )
   4755         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4756         ;;
   4757       * ) # otherwise, assume *nix
   4758         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4759         ;;
   4760     esac
   4761     ;;
   4762   *-*-cygwin* )
   4763     case $build in
   4764       *-*-mingw* ) # actually msys
   4765         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4766         ;;
   4767       *-*-cygwin* )
   4768         lt_cv_to_host_file_cmd=func_convert_file_noop
   4769         ;;
   4770       * ) # otherwise, assume *nix
   4771         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4772         ;;
   4773     esac
   4774     ;;
   4775   * ) # unhandled hosts (and "normal" native builds)
   4776     lt_cv_to_host_file_cmd=func_convert_file_noop
   4777     ;;
   4778 esac
   4779 
   4780 fi
   4781 
   4782 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4784 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4791 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4792 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4793   $as_echo_n "(cached) " >&6
   4794 else
   4795   #assume ordinary cross tools, or native build.
   4796 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4797 case $host in
   4798   *-*-mingw* )
   4799     case $build in
   4800       *-*-mingw* ) # actually msys
   4801         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4802         ;;
   4803     esac
   4804     ;;
   4805 esac
   4806 
   4807 fi
   4808 
   4809 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4811 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4818 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4819 if ${lt_cv_ld_reload_flag+:} false; then :
   4820   $as_echo_n "(cached) " >&6
   4821 else
   4822   lt_cv_ld_reload_flag='-r'
   4823 fi
   4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4825 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4826 reload_flag=$lt_cv_ld_reload_flag
   4827 case $reload_flag in
   4828 "" | " "*) ;;
   4829 *) reload_flag=" $reload_flag" ;;
   4830 esac
   4831 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4832 case $host_os in
   4833   cygwin* | mingw* | pw32* | cegcc*)
   4834     if test "$GCC" != yes; then
   4835       reload_cmds=false
   4836     fi
   4837     ;;
   4838   darwin*)
   4839     if test "$GCC" = yes; then
   4840       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4841     else
   4842       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4843     fi
   4844     ;;
   4845 esac
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 if test -n "$ac_tool_prefix"; then
   4856   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4857 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4859 $as_echo_n "checking for $ac_word... " >&6; }
   4860 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4861   $as_echo_n "(cached) " >&6
   4862 else
   4863   if test -n "$OBJDUMP"; then
   4864   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4865 else
   4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4867 for as_dir in $PATH
   4868 do
   4869   IFS=$as_save_IFS
   4870   test -z "$as_dir" && as_dir=.
   4871     for ac_exec_ext in '' $ac_executable_extensions; do
   4872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4873     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4875     break 2
   4876   fi
   4877 done
   4878   done
   4879 IFS=$as_save_IFS
   4880 
   4881 fi
   4882 fi
   4883 OBJDUMP=$ac_cv_prog_OBJDUMP
   4884 if test -n "$OBJDUMP"; then
   4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4886 $as_echo "$OBJDUMP" >&6; }
   4887 else
   4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4889 $as_echo "no" >&6; }
   4890 fi
   4891 
   4892 
   4893 fi
   4894 if test -z "$ac_cv_prog_OBJDUMP"; then
   4895   ac_ct_OBJDUMP=$OBJDUMP
   4896   # Extract the first word of "objdump", so it can be a program name with args.
   4897 set dummy objdump; ac_word=$2
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4899 $as_echo_n "checking for $ac_word... " >&6; }
   4900 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4901   $as_echo_n "(cached) " >&6
   4902 else
   4903   if test -n "$ac_ct_OBJDUMP"; then
   4904   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4905 else
   4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4907 for as_dir in $PATH
   4908 do
   4909   IFS=$as_save_IFS
   4910   test -z "$as_dir" && as_dir=.
   4911     for ac_exec_ext in '' $ac_executable_extensions; do
   4912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4913     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4915     break 2
   4916   fi
   4917 done
   4918   done
   4919 IFS=$as_save_IFS
   4920 
   4921 fi
   4922 fi
   4923 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4924 if test -n "$ac_ct_OBJDUMP"; then
   4925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4926 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4927 else
   4928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4929 $as_echo "no" >&6; }
   4930 fi
   4931 
   4932   if test "x$ac_ct_OBJDUMP" = x; then
   4933     OBJDUMP="false"
   4934   else
   4935     case $cross_compiling:$ac_tool_warned in
   4936 yes:)
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4939 ac_tool_warned=yes ;;
   4940 esac
   4941     OBJDUMP=$ac_ct_OBJDUMP
   4942   fi
   4943 else
   4944   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4945 fi
   4946 
   4947 test -z "$OBJDUMP" && OBJDUMP=objdump
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4958 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4959 if ${lt_cv_deplibs_check_method+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4963 lt_cv_file_magic_test_file=
   4964 lt_cv_deplibs_check_method='unknown'
   4965 # Need to set the preceding variable on all platforms that support
   4966 # interlibrary dependencies.
   4967 # 'none' -- dependencies not supported.
   4968 # `unknown' -- same as none, but documents that we really don't know.
   4969 # 'pass_all' -- all dependencies passed with no checks.
   4970 # 'test_compile' -- check by making test program.
   4971 # 'file_magic [[regex]]' -- check by looking for files in library path
   4972 # which responds to the $file_magic_cmd with a given extended regex.
   4973 # If you have `file' or equivalent on your system and you're not sure
   4974 # whether `pass_all' will *always* work, you probably want this one.
   4975 
   4976 case $host_os in
   4977 aix[4-9]*)
   4978   lt_cv_deplibs_check_method=pass_all
   4979   ;;
   4980 
   4981 beos*)
   4982   lt_cv_deplibs_check_method=pass_all
   4983   ;;
   4984 
   4985 bsdi[45]*)
   4986   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4987   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4988   lt_cv_file_magic_test_file=/shlib/libc.so
   4989   ;;
   4990 
   4991 cygwin*)
   4992   # func_win32_libid is a shell function defined in ltmain.sh
   4993   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4994   lt_cv_file_magic_cmd='func_win32_libid'
   4995   ;;
   4996 
   4997 mingw* | pw32*)
   4998   # Base MSYS/MinGW do not provide the 'file' command needed by
   4999   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5000   # unless we find 'file', for example because we are cross-compiling.
   5001   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5002   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5003     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5004     lt_cv_file_magic_cmd='func_win32_libid'
   5005   else
   5006     # Keep this pattern in sync with the one in func_win32_libid.
   5007     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5008     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5009   fi
   5010   ;;
   5011 
   5012 cegcc*)
   5013   # use the weaker test based on 'objdump'. See mingw*.
   5014   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5015   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5016   ;;
   5017 
   5018 darwin* | rhapsody*)
   5019   lt_cv_deplibs_check_method=pass_all
   5020   ;;
   5021 
   5022 freebsd* | dragonfly*)
   5023   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5024     case $host_cpu in
   5025     i*86 )
   5026       # Not sure whether the presence of OpenBSD here was a mistake.
   5027       # Let's accept both of them until this is cleared up.
   5028       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5029       lt_cv_file_magic_cmd=/usr/bin/file
   5030       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5031       ;;
   5032     esac
   5033   else
   5034     lt_cv_deplibs_check_method=pass_all
   5035   fi
   5036   ;;
   5037 
   5038 gnu*)
   5039   lt_cv_deplibs_check_method=pass_all
   5040   ;;
   5041 
   5042 haiku*)
   5043   lt_cv_deplibs_check_method=pass_all
   5044   ;;
   5045 
   5046 hpux10.20* | hpux11*)
   5047   lt_cv_file_magic_cmd=/usr/bin/file
   5048   case $host_cpu in
   5049   ia64*)
   5050     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5051     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5052     ;;
   5053   hppa*64*)
   5054     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]'
   5055     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5056     ;;
   5057   *)
   5058     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5059     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5060     ;;
   5061   esac
   5062   ;;
   5063 
   5064 interix[3-9]*)
   5065   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5066   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5067   ;;
   5068 
   5069 irix5* | irix6* | nonstopux*)
   5070   case $LD in
   5071   *-32|*"-32 ") libmagic=32-bit;;
   5072   *-n32|*"-n32 ") libmagic=N32;;
   5073   *-64|*"-64 ") libmagic=64-bit;;
   5074   *) libmagic=never-match;;
   5075   esac
   5076   lt_cv_deplibs_check_method=pass_all
   5077   ;;
   5078 
   5079 # This must be glibc/ELF.
   5080 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5081   lt_cv_deplibs_check_method=pass_all
   5082   ;;
   5083 
   5084 netbsd*)
   5085   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5086     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5087   else
   5088     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5089   fi
   5090   ;;
   5091 
   5092 newos6*)
   5093   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5094   lt_cv_file_magic_cmd=/usr/bin/file
   5095   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5096   ;;
   5097 
   5098 *nto* | *qnx*)
   5099   lt_cv_deplibs_check_method=pass_all
   5100   ;;
   5101 
   5102 openbsd*)
   5103   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5104     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5105   else
   5106     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5107   fi
   5108   ;;
   5109 
   5110 osf3* | osf4* | osf5*)
   5111   lt_cv_deplibs_check_method=pass_all
   5112   ;;
   5113 
   5114 rdos*)
   5115   lt_cv_deplibs_check_method=pass_all
   5116   ;;
   5117 
   5118 solaris*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5123   lt_cv_deplibs_check_method=pass_all
   5124   ;;
   5125 
   5126 sysv4 | sysv4.3*)
   5127   case $host_vendor in
   5128   motorola)
   5129     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]'
   5130     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5131     ;;
   5132   ncr)
   5133     lt_cv_deplibs_check_method=pass_all
   5134     ;;
   5135   sequent)
   5136     lt_cv_file_magic_cmd='/bin/file'
   5137     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5138     ;;
   5139   sni)
   5140     lt_cv_file_magic_cmd='/bin/file'
   5141     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5142     lt_cv_file_magic_test_file=/lib/libc.so
   5143     ;;
   5144   siemens)
   5145     lt_cv_deplibs_check_method=pass_all
   5146     ;;
   5147   pc)
   5148     lt_cv_deplibs_check_method=pass_all
   5149     ;;
   5150   esac
   5151   ;;
   5152 
   5153 tpf*)
   5154   lt_cv_deplibs_check_method=pass_all
   5155   ;;
   5156 esac
   5157 
   5158 fi
   5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5160 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5161 
   5162 file_magic_glob=
   5163 want_nocaseglob=no
   5164 if test "$build" = "$host"; then
   5165   case $host_os in
   5166   mingw* | pw32*)
   5167     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5168       want_nocaseglob=yes
   5169     else
   5170       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5171     fi
   5172     ;;
   5173   esac
   5174 fi
   5175 
   5176 file_magic_cmd=$lt_cv_file_magic_cmd
   5177 deplibs_check_method=$lt_cv_deplibs_check_method
   5178 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 if test -n "$ac_tool_prefix"; then
   5202   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5203 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5205 $as_echo_n "checking for $ac_word... " >&6; }
   5206 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5207   $as_echo_n "(cached) " >&6
   5208 else
   5209   if test -n "$DLLTOOL"; then
   5210   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5211 else
   5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5213 for as_dir in $PATH
   5214 do
   5215   IFS=$as_save_IFS
   5216   test -z "$as_dir" && as_dir=.
   5217     for ac_exec_ext in '' $ac_executable_extensions; do
   5218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5219     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5221     break 2
   5222   fi
   5223 done
   5224   done
   5225 IFS=$as_save_IFS
   5226 
   5227 fi
   5228 fi
   5229 DLLTOOL=$ac_cv_prog_DLLTOOL
   5230 if test -n "$DLLTOOL"; then
   5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5232 $as_echo "$DLLTOOL" >&6; }
   5233 else
   5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5235 $as_echo "no" >&6; }
   5236 fi
   5237 
   5238 
   5239 fi
   5240 if test -z "$ac_cv_prog_DLLTOOL"; then
   5241   ac_ct_DLLTOOL=$DLLTOOL
   5242   # Extract the first word of "dlltool", so it can be a program name with args.
   5243 set dummy dlltool; ac_word=$2
   5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5245 $as_echo_n "checking for $ac_word... " >&6; }
   5246 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5247   $as_echo_n "(cached) " >&6
   5248 else
   5249   if test -n "$ac_ct_DLLTOOL"; then
   5250   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5251 else
   5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5253 for as_dir in $PATH
   5254 do
   5255   IFS=$as_save_IFS
   5256   test -z "$as_dir" && as_dir=.
   5257     for ac_exec_ext in '' $ac_executable_extensions; do
   5258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5259     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5260     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5261     break 2
   5262   fi
   5263 done
   5264   done
   5265 IFS=$as_save_IFS
   5266 
   5267 fi
   5268 fi
   5269 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5270 if test -n "$ac_ct_DLLTOOL"; then
   5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5272 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5273 else
   5274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5275 $as_echo "no" >&6; }
   5276 fi
   5277 
   5278   if test "x$ac_ct_DLLTOOL" = x; then
   5279     DLLTOOL="false"
   5280   else
   5281     case $cross_compiling:$ac_tool_warned in
   5282 yes:)
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5285 ac_tool_warned=yes ;;
   5286 esac
   5287     DLLTOOL=$ac_ct_DLLTOOL
   5288   fi
   5289 else
   5290   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5291 fi
   5292 
   5293 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5305 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5306 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5307   $as_echo_n "(cached) " >&6
   5308 else
   5309   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5310 
   5311 case $host_os in
   5312 cygwin* | mingw* | pw32* | cegcc*)
   5313   # two different shell functions defined in ltmain.sh
   5314   # decide which to use based on capabilities of $DLLTOOL
   5315   case `$DLLTOOL --help 2>&1` in
   5316   *--identify-strict*)
   5317     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5318     ;;
   5319   *)
   5320     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5321     ;;
   5322   esac
   5323   ;;
   5324 *)
   5325   # fallback: assume linklib IS sharedlib
   5326   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5327   ;;
   5328 esac
   5329 
   5330 fi
   5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5332 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5333 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5334 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 if test -n "$ac_tool_prefix"; then
   5344   for ac_prog in ar
   5345   do
   5346     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5349 $as_echo_n "checking for $ac_word... " >&6; }
   5350 if ${ac_cv_prog_AR+:} false; then :
   5351   $as_echo_n "(cached) " >&6
   5352 else
   5353   if test -n "$AR"; then
   5354   ac_cv_prog_AR="$AR" # Let the user override the test.
   5355 else
   5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5357 for as_dir in $PATH
   5358 do
   5359   IFS=$as_save_IFS
   5360   test -z "$as_dir" && as_dir=.
   5361     for ac_exec_ext in '' $ac_executable_extensions; do
   5362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5363     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5365     break 2
   5366   fi
   5367 done
   5368   done
   5369 IFS=$as_save_IFS
   5370 
   5371 fi
   5372 fi
   5373 AR=$ac_cv_prog_AR
   5374 if test -n "$AR"; then
   5375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5376 $as_echo "$AR" >&6; }
   5377 else
   5378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5379 $as_echo "no" >&6; }
   5380 fi
   5381 
   5382 
   5383     test -n "$AR" && break
   5384   done
   5385 fi
   5386 if test -z "$AR"; then
   5387   ac_ct_AR=$AR
   5388   for ac_prog in ar
   5389 do
   5390   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5391 set dummy $ac_prog; ac_word=$2
   5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5393 $as_echo_n "checking for $ac_word... " >&6; }
   5394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5395   $as_echo_n "(cached) " >&6
   5396 else
   5397   if test -n "$ac_ct_AR"; then
   5398   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5399 else
   5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5401 for as_dir in $PATH
   5402 do
   5403   IFS=$as_save_IFS
   5404   test -z "$as_dir" && as_dir=.
   5405     for ac_exec_ext in '' $ac_executable_extensions; do
   5406   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5407     ac_cv_prog_ac_ct_AR="$ac_prog"
   5408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5409     break 2
   5410   fi
   5411 done
   5412   done
   5413 IFS=$as_save_IFS
   5414 
   5415 fi
   5416 fi
   5417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5418 if test -n "$ac_ct_AR"; then
   5419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5420 $as_echo "$ac_ct_AR" >&6; }
   5421 else
   5422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5423 $as_echo "no" >&6; }
   5424 fi
   5425 
   5426 
   5427   test -n "$ac_ct_AR" && break
   5428 done
   5429 
   5430   if test "x$ac_ct_AR" = x; then
   5431     AR="false"
   5432   else
   5433     case $cross_compiling:$ac_tool_warned in
   5434 yes:)
   5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5437 ac_tool_warned=yes ;;
   5438 esac
   5439     AR=$ac_ct_AR
   5440   fi
   5441 fi
   5442 
   5443 : ${AR=ar}
   5444 : ${AR_FLAGS=cru}
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5457 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5458 if ${lt_cv_ar_at_file+:} false; then :
   5459   $as_echo_n "(cached) " >&6
   5460 else
   5461   lt_cv_ar_at_file=no
   5462    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5463 /* end confdefs.h.  */
   5464 
   5465 int
   5466 main ()
   5467 {
   5468 
   5469   ;
   5470   return 0;
   5471 }
   5472 _ACEOF
   5473 if ac_fn_c_try_compile "$LINENO"; then :
   5474   echo conftest.$ac_objext > conftest.lst
   5475       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5476       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5477   (eval $lt_ar_try) 2>&5
   5478   ac_status=$?
   5479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5480   test $ac_status = 0; }
   5481       if test "$ac_status" -eq 0; then
   5482 	# Ensure the archiver fails upon bogus file names.
   5483 	rm -f conftest.$ac_objext libconftest.a
   5484 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5485   (eval $lt_ar_try) 2>&5
   5486   ac_status=$?
   5487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5488   test $ac_status = 0; }
   5489 	if test "$ac_status" -ne 0; then
   5490           lt_cv_ar_at_file=@
   5491         fi
   5492       fi
   5493       rm -f conftest.* libconftest.a
   5494 
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5497 
   5498 fi
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5500 $as_echo "$lt_cv_ar_at_file" >&6; }
   5501 
   5502 if test "x$lt_cv_ar_at_file" = xno; then
   5503   archiver_list_spec=
   5504 else
   5505   archiver_list_spec=$lt_cv_ar_at_file
   5506 fi
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 if test -n "$ac_tool_prefix"; then
   5515   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5516 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5518 $as_echo_n "checking for $ac_word... " >&6; }
   5519 if ${ac_cv_prog_STRIP+:} false; then :
   5520   $as_echo_n "(cached) " >&6
   5521 else
   5522   if test -n "$STRIP"; then
   5523   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5524 else
   5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5526 for as_dir in $PATH
   5527 do
   5528   IFS=$as_save_IFS
   5529   test -z "$as_dir" && as_dir=.
   5530     for ac_exec_ext in '' $ac_executable_extensions; do
   5531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5532     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5534     break 2
   5535   fi
   5536 done
   5537   done
   5538 IFS=$as_save_IFS
   5539 
   5540 fi
   5541 fi
   5542 STRIP=$ac_cv_prog_STRIP
   5543 if test -n "$STRIP"; then
   5544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5545 $as_echo "$STRIP" >&6; }
   5546 else
   5547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5548 $as_echo "no" >&6; }
   5549 fi
   5550 
   5551 
   5552 fi
   5553 if test -z "$ac_cv_prog_STRIP"; then
   5554   ac_ct_STRIP=$STRIP
   5555   # Extract the first word of "strip", so it can be a program name with args.
   5556 set dummy strip; ac_word=$2
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5558 $as_echo_n "checking for $ac_word... " >&6; }
   5559 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   if test -n "$ac_ct_STRIP"; then
   5563   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5564 else
   5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570     for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5572     ac_cv_prog_ac_ct_STRIP="strip"
   5573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577   done
   5578 IFS=$as_save_IFS
   5579 
   5580 fi
   5581 fi
   5582 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5583 if test -n "$ac_ct_STRIP"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5585 $as_echo "$ac_ct_STRIP" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 
   5591   if test "x$ac_ct_STRIP" = x; then
   5592     STRIP=":"
   5593   else
   5594     case $cross_compiling:$ac_tool_warned in
   5595 yes:)
   5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5598 ac_tool_warned=yes ;;
   5599 esac
   5600     STRIP=$ac_ct_STRIP
   5601   fi
   5602 else
   5603   STRIP="$ac_cv_prog_STRIP"
   5604 fi
   5605 
   5606 test -z "$STRIP" && STRIP=:
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 if test -n "$ac_tool_prefix"; then
   5614   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5615 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5617 $as_echo_n "checking for $ac_word... " >&6; }
   5618 if ${ac_cv_prog_RANLIB+:} false; then :
   5619   $as_echo_n "(cached) " >&6
   5620 else
   5621   if test -n "$RANLIB"; then
   5622   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5623 else
   5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5625 for as_dir in $PATH
   5626 do
   5627   IFS=$as_save_IFS
   5628   test -z "$as_dir" && as_dir=.
   5629     for ac_exec_ext in '' $ac_executable_extensions; do
   5630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5631     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5633     break 2
   5634   fi
   5635 done
   5636   done
   5637 IFS=$as_save_IFS
   5638 
   5639 fi
   5640 fi
   5641 RANLIB=$ac_cv_prog_RANLIB
   5642 if test -n "$RANLIB"; then
   5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5644 $as_echo "$RANLIB" >&6; }
   5645 else
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5647 $as_echo "no" >&6; }
   5648 fi
   5649 
   5650 
   5651 fi
   5652 if test -z "$ac_cv_prog_RANLIB"; then
   5653   ac_ct_RANLIB=$RANLIB
   5654   # Extract the first word of "ranlib", so it can be a program name with args.
   5655 set dummy ranlib; ac_word=$2
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5657 $as_echo_n "checking for $ac_word... " >&6; }
   5658 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5659   $as_echo_n "(cached) " >&6
   5660 else
   5661   if test -n "$ac_ct_RANLIB"; then
   5662   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5663 else
   5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5665 for as_dir in $PATH
   5666 do
   5667   IFS=$as_save_IFS
   5668   test -z "$as_dir" && as_dir=.
   5669     for ac_exec_ext in '' $ac_executable_extensions; do
   5670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5671     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5673     break 2
   5674   fi
   5675 done
   5676   done
   5677 IFS=$as_save_IFS
   5678 
   5679 fi
   5680 fi
   5681 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5682 if test -n "$ac_ct_RANLIB"; then
   5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5684 $as_echo "$ac_ct_RANLIB" >&6; }
   5685 else
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5687 $as_echo "no" >&6; }
   5688 fi
   5689 
   5690   if test "x$ac_ct_RANLIB" = x; then
   5691     RANLIB=":"
   5692   else
   5693     case $cross_compiling:$ac_tool_warned in
   5694 yes:)
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5697 ac_tool_warned=yes ;;
   5698 esac
   5699     RANLIB=$ac_ct_RANLIB
   5700   fi
   5701 else
   5702   RANLIB="$ac_cv_prog_RANLIB"
   5703 fi
   5704 
   5705 test -z "$RANLIB" && RANLIB=:
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 # Determine commands to create old-style static archives.
   5713 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5714 old_postinstall_cmds='chmod 644 $oldlib'
   5715 old_postuninstall_cmds=
   5716 
   5717 if test -n "$RANLIB"; then
   5718   case $host_os in
   5719   openbsd*)
   5720     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5721     ;;
   5722   *)
   5723     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5724     ;;
   5725   esac
   5726   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5727 fi
   5728 
   5729 case $host_os in
   5730   darwin*)
   5731     lock_old_archive_extraction=yes ;;
   5732   *)
   5733     lock_old_archive_extraction=no ;;
   5734 esac
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 # If no C compiler was specified, use CC.
   5775 LTCC=${LTCC-"$CC"}
   5776 
   5777 # If no C compiler flags were specified, use CFLAGS.
   5778 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5779 
   5780 # Allow CC to be a program name with arguments.
   5781 compiler=$CC
   5782 
   5783 
   5784 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5786 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5787 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790 
   5791 # These are sane defaults that work on at least a few old systems.
   5792 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5793 
   5794 # Character class describing NM global symbol codes.
   5795 symcode='[BCDEGRST]'
   5796 
   5797 # Regexp to match symbols that can be accessed directly from C.
   5798 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5799 
   5800 # Define system-specific variables.
   5801 case $host_os in
   5802 aix*)
   5803   symcode='[BCDT]'
   5804   ;;
   5805 cygwin* | mingw* | pw32* | cegcc*)
   5806   symcode='[ABCDGISTW]'
   5807   ;;
   5808 hpux*)
   5809   if test "$host_cpu" = ia64; then
   5810     symcode='[ABCDEGRST]'
   5811   fi
   5812   ;;
   5813 irix* | nonstopux*)
   5814   symcode='[BCDEGRST]'
   5815   ;;
   5816 osf*)
   5817   symcode='[BCDEGQRST]'
   5818   ;;
   5819 solaris*)
   5820   symcode='[BDRT]'
   5821   ;;
   5822 sco3.2v5*)
   5823   symcode='[DT]'
   5824   ;;
   5825 sysv4.2uw2*)
   5826   symcode='[DT]'
   5827   ;;
   5828 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5829   symcode='[ABDT]'
   5830   ;;
   5831 sysv4)
   5832   symcode='[DFNSTU]'
   5833   ;;
   5834 esac
   5835 
   5836 # If we're using GNU nm, then use its standard symbol codes.
   5837 case `$NM -V 2>&1` in
   5838 *GNU* | *'with BFD'*)
   5839   symcode='[ABCDGIRSTW]' ;;
   5840 esac
   5841 
   5842 # Transform an extracted symbol line into a proper C declaration.
   5843 # Some systems (esp. on ia64) link data and code symbols differently,
   5844 # so use this general approach.
   5845 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5846 
   5847 # Transform an extracted symbol line into symbol name and symbol address
   5848 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5849 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'"
   5850 
   5851 # Handle CRLF in mingw tool chain
   5852 opt_cr=
   5853 case $build_os in
   5854 mingw*)
   5855   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5856   ;;
   5857 esac
   5858 
   5859 # Try without a prefix underscore, then with it.
   5860 for ac_symprfx in "" "_"; do
   5861 
   5862   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5863   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5864 
   5865   # Write the raw and C identifiers.
   5866   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5867     # Fake it for dumpbin and say T for any non-static function
   5868     # and D for any global variable.
   5869     # Also find C++ and __fastcall symbols from MSVC++,
   5870     # which start with @ or ?.
   5871     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5872 "     {last_section=section; section=\$ 3};"\
   5873 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5874 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5875 "     \$ 0!~/External *\|/{next};"\
   5876 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5877 "     {if(hide[section]) next};"\
   5878 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5879 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5880 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5881 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5882 "     ' prfx=^$ac_symprfx"
   5883   else
   5884     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5885   fi
   5886   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5887 
   5888   # Check to see that the pipe works correctly.
   5889   pipe_works=no
   5890 
   5891   rm -f conftest*
   5892   cat > conftest.$ac_ext <<_LT_EOF
   5893 #ifdef __cplusplus
   5894 extern "C" {
   5895 #endif
   5896 char nm_test_var;
   5897 void nm_test_func(void);
   5898 void nm_test_func(void){}
   5899 #ifdef __cplusplus
   5900 }
   5901 #endif
   5902 int main(){nm_test_var='a';nm_test_func();return(0);}
   5903 _LT_EOF
   5904 
   5905   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5906   (eval $ac_compile) 2>&5
   5907   ac_status=$?
   5908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5909   test $ac_status = 0; }; then
   5910     # Now try to grab the symbols.
   5911     nlist=conftest.nm
   5912     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5913   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5914   ac_status=$?
   5915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5916   test $ac_status = 0; } && test -s "$nlist"; then
   5917       # Try sorting and uniquifying the output.
   5918       if sort "$nlist" | uniq > "$nlist"T; then
   5919 	mv -f "$nlist"T "$nlist"
   5920       else
   5921 	rm -f "$nlist"T
   5922       fi
   5923 
   5924       # Make sure that we snagged all the symbols we need.
   5925       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5926 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5927 	  cat <<_LT_EOF > conftest.$ac_ext
   5928 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5929 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5930 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5931    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5932 # define LT_DLSYM_CONST
   5933 #elif defined(__osf__)
   5934 /* This system does not cope well with relocations in const data.  */
   5935 # define LT_DLSYM_CONST
   5936 #else
   5937 # define LT_DLSYM_CONST const
   5938 #endif
   5939 
   5940 #ifdef __cplusplus
   5941 extern "C" {
   5942 #endif
   5943 
   5944 _LT_EOF
   5945 	  # Now generate the symbol file.
   5946 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5947 
   5948 	  cat <<_LT_EOF >> conftest.$ac_ext
   5949 
   5950 /* The mapping between symbol names and symbols.  */
   5951 LT_DLSYM_CONST struct {
   5952   const char *name;
   5953   void       *address;
   5954 }
   5955 lt__PROGRAM__LTX_preloaded_symbols[] =
   5956 {
   5957   { "@PROGRAM@", (void *) 0 },
   5958 _LT_EOF
   5959 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5960 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5961   {0, (void *) 0}
   5962 };
   5963 
   5964 /* This works around a problem in FreeBSD linker */
   5965 #ifdef FREEBSD_WORKAROUND
   5966 static const void *lt_preloaded_setup() {
   5967   return lt__PROGRAM__LTX_preloaded_symbols;
   5968 }
   5969 #endif
   5970 
   5971 #ifdef __cplusplus
   5972 }
   5973 #endif
   5974 _LT_EOF
   5975 	  # Now try linking the two files.
   5976 	  mv conftest.$ac_objext conftstm.$ac_objext
   5977 	  lt_globsym_save_LIBS=$LIBS
   5978 	  lt_globsym_save_CFLAGS=$CFLAGS
   5979 	  LIBS="conftstm.$ac_objext"
   5980 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5981 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5982   (eval $ac_link) 2>&5
   5983   ac_status=$?
   5984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5985   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5986 	    pipe_works=yes
   5987 	  fi
   5988 	  LIBS=$lt_globsym_save_LIBS
   5989 	  CFLAGS=$lt_globsym_save_CFLAGS
   5990 	else
   5991 	  echo "cannot find nm_test_func in $nlist" >&5
   5992 	fi
   5993       else
   5994 	echo "cannot find nm_test_var in $nlist" >&5
   5995       fi
   5996     else
   5997       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5998     fi
   5999   else
   6000     echo "$progname: failed program was:" >&5
   6001     cat conftest.$ac_ext >&5
   6002   fi
   6003   rm -rf conftest* conftst*
   6004 
   6005   # Do not use the global_symbol_pipe unless it works.
   6006   if test "$pipe_works" = yes; then
   6007     break
   6008   else
   6009     lt_cv_sys_global_symbol_pipe=
   6010   fi
   6011 done
   6012 
   6013 fi
   6014 
   6015 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6016   lt_cv_sys_global_symbol_to_cdecl=
   6017 fi
   6018 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6020 $as_echo "failed" >&6; }
   6021 else
   6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6023 $as_echo "ok" >&6; }
   6024 fi
   6025 
   6026 # Response file support.
   6027 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6028   nm_file_list_spec='@'
   6029 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6030   nm_file_list_spec='@'
   6031 fi
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6060 $as_echo_n "checking for sysroot... " >&6; }
   6061 
   6062 # Check whether --with-sysroot was given.
   6063 if test "${with_sysroot+set}" = set; then :
   6064   withval=$with_sysroot;
   6065 else
   6066   with_sysroot=no
   6067 fi
   6068 
   6069 
   6070 lt_sysroot=
   6071 case ${with_sysroot} in #(
   6072  yes)
   6073    if test "$GCC" = yes; then
   6074      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6075    fi
   6076    ;; #(
   6077  /*)
   6078    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6079    ;; #(
   6080  no|'')
   6081    ;; #(
   6082  *)
   6083    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6084 $as_echo "${with_sysroot}" >&6; }
   6085    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6086    ;;
   6087 esac
   6088 
   6089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6090 $as_echo "${lt_sysroot:-no}" >&6; }
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 # Check whether --enable-libtool-lock was given.
   6097 if test "${enable_libtool_lock+set}" = set; then :
   6098   enableval=$enable_libtool_lock;
   6099 fi
   6100 
   6101 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6102 
   6103 # Some flags need to be propagated to the compiler or linker for good
   6104 # libtool support.
   6105 case $host in
   6106 ia64-*-hpux*)
   6107   # Find out which ABI we are using.
   6108   echo 'int i;' > conftest.$ac_ext
   6109   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6110   (eval $ac_compile) 2>&5
   6111   ac_status=$?
   6112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6113   test $ac_status = 0; }; then
   6114     case `/usr/bin/file conftest.$ac_objext` in
   6115       *ELF-32*)
   6116 	HPUX_IA64_MODE="32"
   6117 	;;
   6118       *ELF-64*)
   6119 	HPUX_IA64_MODE="64"
   6120 	;;
   6121     esac
   6122   fi
   6123   rm -rf conftest*
   6124   ;;
   6125 *-*-irix6*)
   6126   # Find out which ABI we are using.
   6127   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6128   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6129   (eval $ac_compile) 2>&5
   6130   ac_status=$?
   6131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6132   test $ac_status = 0; }; then
   6133     if test "$lt_cv_prog_gnu_ld" = yes; then
   6134       case `/usr/bin/file conftest.$ac_objext` in
   6135 	*32-bit*)
   6136 	  LD="${LD-ld} -melf32bsmip"
   6137 	  ;;
   6138 	*N32*)
   6139 	  LD="${LD-ld} -melf32bmipn32"
   6140 	  ;;
   6141 	*64-bit*)
   6142 	  LD="${LD-ld} -melf64bmip"
   6143 	;;
   6144       esac
   6145     else
   6146       case `/usr/bin/file conftest.$ac_objext` in
   6147 	*32-bit*)
   6148 	  LD="${LD-ld} -32"
   6149 	  ;;
   6150 	*N32*)
   6151 	  LD="${LD-ld} -n32"
   6152 	  ;;
   6153 	*64-bit*)
   6154 	  LD="${LD-ld} -64"
   6155 	  ;;
   6156       esac
   6157     fi
   6158   fi
   6159   rm -rf conftest*
   6160   ;;
   6161 
   6162 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6163 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6164   # Find out which ABI we are using.
   6165   echo 'int i;' > conftest.$ac_ext
   6166   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6167   (eval $ac_compile) 2>&5
   6168   ac_status=$?
   6169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6170   test $ac_status = 0; }; then
   6171     case `/usr/bin/file conftest.o` in
   6172       *32-bit*)
   6173 	case $host in
   6174 	  x86_64-*kfreebsd*-gnu)
   6175 	    LD="${LD-ld} -m elf_i386_fbsd"
   6176 	    ;;
   6177 	  x86_64-*linux*)
   6178 	    LD="${LD-ld} -m elf_i386"
   6179 	    ;;
   6180 	  ppc64-*linux*|powerpc64-*linux*)
   6181 	    LD="${LD-ld} -m elf32ppclinux"
   6182 	    ;;
   6183 	  s390x-*linux*)
   6184 	    LD="${LD-ld} -m elf_s390"
   6185 	    ;;
   6186 	  sparc64-*linux*)
   6187 	    LD="${LD-ld} -m elf32_sparc"
   6188 	    ;;
   6189 	esac
   6190 	;;
   6191       *64-bit*)
   6192 	case $host in
   6193 	  x86_64-*kfreebsd*-gnu)
   6194 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6195 	    ;;
   6196 	  x86_64-*linux*)
   6197 	    LD="${LD-ld} -m elf_x86_64"
   6198 	    ;;
   6199 	  ppc*-*linux*|powerpc*-*linux*)
   6200 	    LD="${LD-ld} -m elf64ppc"
   6201 	    ;;
   6202 	  s390*-*linux*|s390*-*tpf*)
   6203 	    LD="${LD-ld} -m elf64_s390"
   6204 	    ;;
   6205 	  sparc*-*linux*)
   6206 	    LD="${LD-ld} -m elf64_sparc"
   6207 	    ;;
   6208 	esac
   6209 	;;
   6210     esac
   6211   fi
   6212   rm -rf conftest*
   6213   ;;
   6214 
   6215 *-*-sco3.2v5*)
   6216   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6217   SAVE_CFLAGS="$CFLAGS"
   6218   CFLAGS="$CFLAGS -belf"
   6219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6220 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6221 if ${lt_cv_cc_needs_belf+:} false; then :
   6222   $as_echo_n "(cached) " >&6
   6223 else
   6224   ac_ext=c
   6225 ac_cpp='$CPP $CPPFLAGS'
   6226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6229 
   6230      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6231 /* end confdefs.h.  */
   6232 
   6233 int
   6234 main ()
   6235 {
   6236 
   6237   ;
   6238   return 0;
   6239 }
   6240 _ACEOF
   6241 if ac_fn_c_try_link "$LINENO"; then :
   6242   lt_cv_cc_needs_belf=yes
   6243 else
   6244   lt_cv_cc_needs_belf=no
   6245 fi
   6246 rm -f core conftest.err conftest.$ac_objext \
   6247     conftest$ac_exeext conftest.$ac_ext
   6248      ac_ext=c
   6249 ac_cpp='$CPP $CPPFLAGS'
   6250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6253 
   6254 fi
   6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6256 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6257   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6258     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6259     CFLAGS="$SAVE_CFLAGS"
   6260   fi
   6261   ;;
   6262 *-*solaris*)
   6263   # Find out which ABI we are using.
   6264   echo 'int i;' > conftest.$ac_ext
   6265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6266   (eval $ac_compile) 2>&5
   6267   ac_status=$?
   6268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6269   test $ac_status = 0; }; then
   6270     case `/usr/bin/file conftest.o` in
   6271     *64-bit*)
   6272       case $lt_cv_prog_gnu_ld in
   6273       yes*)
   6274         case $host in
   6275         i?86-*-solaris*)
   6276           LD="${LD-ld} -m elf_x86_64"
   6277           ;;
   6278         sparc*-*-solaris*)
   6279           LD="${LD-ld} -m elf64_sparc"
   6280           ;;
   6281         esac
   6282         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6283         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6284           LD="${LD-ld}_sol2"
   6285         fi
   6286         ;;
   6287       *)
   6288 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6289 	  LD="${LD-ld} -64"
   6290 	fi
   6291 	;;
   6292       esac
   6293       ;;
   6294     esac
   6295   fi
   6296   rm -rf conftest*
   6297   ;;
   6298 esac
   6299 
   6300 need_locks="$enable_libtool_lock"
   6301 
   6302 if test -n "$ac_tool_prefix"; then
   6303   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6304 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6306 $as_echo_n "checking for $ac_word... " >&6; }
   6307 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   if test -n "$MANIFEST_TOOL"; then
   6311   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6312 else
   6313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6314 for as_dir in $PATH
   6315 do
   6316   IFS=$as_save_IFS
   6317   test -z "$as_dir" && as_dir=.
   6318     for ac_exec_ext in '' $ac_executable_extensions; do
   6319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6320     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6322     break 2
   6323   fi
   6324 done
   6325   done
   6326 IFS=$as_save_IFS
   6327 
   6328 fi
   6329 fi
   6330 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6331 if test -n "$MANIFEST_TOOL"; then
   6332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6333 $as_echo "$MANIFEST_TOOL" >&6; }
   6334 else
   6335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6336 $as_echo "no" >&6; }
   6337 fi
   6338 
   6339 
   6340 fi
   6341 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6342   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6343   # Extract the first word of "mt", so it can be a program name with args.
   6344 set dummy mt; ac_word=$2
   6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6346 $as_echo_n "checking for $ac_word... " >&6; }
   6347 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6348   $as_echo_n "(cached) " >&6
   6349 else
   6350   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6351   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6352 else
   6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6354 for as_dir in $PATH
   6355 do
   6356   IFS=$as_save_IFS
   6357   test -z "$as_dir" && as_dir=.
   6358     for ac_exec_ext in '' $ac_executable_extensions; do
   6359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6360     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6362     break 2
   6363   fi
   6364 done
   6365   done
   6366 IFS=$as_save_IFS
   6367 
   6368 fi
   6369 fi
   6370 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6371 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6373 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6374 else
   6375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6376 $as_echo "no" >&6; }
   6377 fi
   6378 
   6379   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6380     MANIFEST_TOOL=":"
   6381   else
   6382     case $cross_compiling:$ac_tool_warned in
   6383 yes:)
   6384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6386 ac_tool_warned=yes ;;
   6387 esac
   6388     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6389   fi
   6390 else
   6391   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6392 fi
   6393 
   6394 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6396 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6397 if ${lt_cv_path_mainfest_tool+:} false; then :
   6398   $as_echo_n "(cached) " >&6
   6399 else
   6400   lt_cv_path_mainfest_tool=no
   6401   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6402   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6403   cat conftest.err >&5
   6404   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6405     lt_cv_path_mainfest_tool=yes
   6406   fi
   6407   rm -f conftest*
   6408 fi
   6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6410 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6411 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6412   MANIFEST_TOOL=:
   6413 fi
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420   case $host_os in
   6421     rhapsody* | darwin*)
   6422     if test -n "$ac_tool_prefix"; then
   6423   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6424 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6426 $as_echo_n "checking for $ac_word... " >&6; }
   6427 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6428   $as_echo_n "(cached) " >&6
   6429 else
   6430   if test -n "$DSYMUTIL"; then
   6431   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6432 else
   6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6434 for as_dir in $PATH
   6435 do
   6436   IFS=$as_save_IFS
   6437   test -z "$as_dir" && as_dir=.
   6438     for ac_exec_ext in '' $ac_executable_extensions; do
   6439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6440     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6442     break 2
   6443   fi
   6444 done
   6445   done
   6446 IFS=$as_save_IFS
   6447 
   6448 fi
   6449 fi
   6450 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6451 if test -n "$DSYMUTIL"; then
   6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6453 $as_echo "$DSYMUTIL" >&6; }
   6454 else
   6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6456 $as_echo "no" >&6; }
   6457 fi
   6458 
   6459 
   6460 fi
   6461 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6462   ac_ct_DSYMUTIL=$DSYMUTIL
   6463   # Extract the first word of "dsymutil", so it can be a program name with args.
   6464 set dummy dsymutil; ac_word=$2
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6466 $as_echo_n "checking for $ac_word... " >&6; }
   6467 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6468   $as_echo_n "(cached) " >&6
   6469 else
   6470   if test -n "$ac_ct_DSYMUTIL"; then
   6471   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6472 else
   6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6474 for as_dir in $PATH
   6475 do
   6476   IFS=$as_save_IFS
   6477   test -z "$as_dir" && as_dir=.
   6478     for ac_exec_ext in '' $ac_executable_extensions; do
   6479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6480     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6482     break 2
   6483   fi
   6484 done
   6485   done
   6486 IFS=$as_save_IFS
   6487 
   6488 fi
   6489 fi
   6490 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6491 if test -n "$ac_ct_DSYMUTIL"; then
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6493 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6494 else
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6496 $as_echo "no" >&6; }
   6497 fi
   6498 
   6499   if test "x$ac_ct_DSYMUTIL" = x; then
   6500     DSYMUTIL=":"
   6501   else
   6502     case $cross_compiling:$ac_tool_warned in
   6503 yes:)
   6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6506 ac_tool_warned=yes ;;
   6507 esac
   6508     DSYMUTIL=$ac_ct_DSYMUTIL
   6509   fi
   6510 else
   6511   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6512 fi
   6513 
   6514     if test -n "$ac_tool_prefix"; then
   6515   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6516 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6518 $as_echo_n "checking for $ac_word... " >&6; }
   6519 if ${ac_cv_prog_NMEDIT+:} false; then :
   6520   $as_echo_n "(cached) " >&6
   6521 else
   6522   if test -n "$NMEDIT"; then
   6523   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6524 else
   6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6526 for as_dir in $PATH
   6527 do
   6528   IFS=$as_save_IFS
   6529   test -z "$as_dir" && as_dir=.
   6530     for ac_exec_ext in '' $ac_executable_extensions; do
   6531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6532     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6534     break 2
   6535   fi
   6536 done
   6537   done
   6538 IFS=$as_save_IFS
   6539 
   6540 fi
   6541 fi
   6542 NMEDIT=$ac_cv_prog_NMEDIT
   6543 if test -n "$NMEDIT"; then
   6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6545 $as_echo "$NMEDIT" >&6; }
   6546 else
   6547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6548 $as_echo "no" >&6; }
   6549 fi
   6550 
   6551 
   6552 fi
   6553 if test -z "$ac_cv_prog_NMEDIT"; then
   6554   ac_ct_NMEDIT=$NMEDIT
   6555   # Extract the first word of "nmedit", so it can be a program name with args.
   6556 set dummy nmedit; ac_word=$2
   6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6558 $as_echo_n "checking for $ac_word... " >&6; }
   6559 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6560   $as_echo_n "(cached) " >&6
   6561 else
   6562   if test -n "$ac_ct_NMEDIT"; then
   6563   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6564 else
   6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6566 for as_dir in $PATH
   6567 do
   6568   IFS=$as_save_IFS
   6569   test -z "$as_dir" && as_dir=.
   6570     for ac_exec_ext in '' $ac_executable_extensions; do
   6571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6572     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6574     break 2
   6575   fi
   6576 done
   6577   done
   6578 IFS=$as_save_IFS
   6579 
   6580 fi
   6581 fi
   6582 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6583 if test -n "$ac_ct_NMEDIT"; then
   6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6585 $as_echo "$ac_ct_NMEDIT" >&6; }
   6586 else
   6587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6588 $as_echo "no" >&6; }
   6589 fi
   6590 
   6591   if test "x$ac_ct_NMEDIT" = x; then
   6592     NMEDIT=":"
   6593   else
   6594     case $cross_compiling:$ac_tool_warned in
   6595 yes:)
   6596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6598 ac_tool_warned=yes ;;
   6599 esac
   6600     NMEDIT=$ac_ct_NMEDIT
   6601   fi
   6602 else
   6603   NMEDIT="$ac_cv_prog_NMEDIT"
   6604 fi
   6605 
   6606     if test -n "$ac_tool_prefix"; then
   6607   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6608 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6610 $as_echo_n "checking for $ac_word... " >&6; }
   6611 if ${ac_cv_prog_LIPO+:} false; then :
   6612   $as_echo_n "(cached) " >&6
   6613 else
   6614   if test -n "$LIPO"; then
   6615   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6616 else
   6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6618 for as_dir in $PATH
   6619 do
   6620   IFS=$as_save_IFS
   6621   test -z "$as_dir" && as_dir=.
   6622     for ac_exec_ext in '' $ac_executable_extensions; do
   6623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6624     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6626     break 2
   6627   fi
   6628 done
   6629   done
   6630 IFS=$as_save_IFS
   6631 
   6632 fi
   6633 fi
   6634 LIPO=$ac_cv_prog_LIPO
   6635 if test -n "$LIPO"; then
   6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6637 $as_echo "$LIPO" >&6; }
   6638 else
   6639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6640 $as_echo "no" >&6; }
   6641 fi
   6642 
   6643 
   6644 fi
   6645 if test -z "$ac_cv_prog_LIPO"; then
   6646   ac_ct_LIPO=$LIPO
   6647   # Extract the first word of "lipo", so it can be a program name with args.
   6648 set dummy lipo; ac_word=$2
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6650 $as_echo_n "checking for $ac_word... " >&6; }
   6651 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6652   $as_echo_n "(cached) " >&6
   6653 else
   6654   if test -n "$ac_ct_LIPO"; then
   6655   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6656 else
   6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6658 for as_dir in $PATH
   6659 do
   6660   IFS=$as_save_IFS
   6661   test -z "$as_dir" && as_dir=.
   6662     for ac_exec_ext in '' $ac_executable_extensions; do
   6663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6664     ac_cv_prog_ac_ct_LIPO="lipo"
   6665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6666     break 2
   6667   fi
   6668 done
   6669   done
   6670 IFS=$as_save_IFS
   6671 
   6672 fi
   6673 fi
   6674 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6675 if test -n "$ac_ct_LIPO"; then
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6677 $as_echo "$ac_ct_LIPO" >&6; }
   6678 else
   6679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6680 $as_echo "no" >&6; }
   6681 fi
   6682 
   6683   if test "x$ac_ct_LIPO" = x; then
   6684     LIPO=":"
   6685   else
   6686     case $cross_compiling:$ac_tool_warned in
   6687 yes:)
   6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6690 ac_tool_warned=yes ;;
   6691 esac
   6692     LIPO=$ac_ct_LIPO
   6693   fi
   6694 else
   6695   LIPO="$ac_cv_prog_LIPO"
   6696 fi
   6697 
   6698     if test -n "$ac_tool_prefix"; then
   6699   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6700 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6702 $as_echo_n "checking for $ac_word... " >&6; }
   6703 if ${ac_cv_prog_OTOOL+:} false; then :
   6704   $as_echo_n "(cached) " >&6
   6705 else
   6706   if test -n "$OTOOL"; then
   6707   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6708 else
   6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6710 for as_dir in $PATH
   6711 do
   6712   IFS=$as_save_IFS
   6713   test -z "$as_dir" && as_dir=.
   6714     for ac_exec_ext in '' $ac_executable_extensions; do
   6715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6716     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6718     break 2
   6719   fi
   6720 done
   6721   done
   6722 IFS=$as_save_IFS
   6723 
   6724 fi
   6725 fi
   6726 OTOOL=$ac_cv_prog_OTOOL
   6727 if test -n "$OTOOL"; then
   6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6729 $as_echo "$OTOOL" >&6; }
   6730 else
   6731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6732 $as_echo "no" >&6; }
   6733 fi
   6734 
   6735 
   6736 fi
   6737 if test -z "$ac_cv_prog_OTOOL"; then
   6738   ac_ct_OTOOL=$OTOOL
   6739   # Extract the first word of "otool", so it can be a program name with args.
   6740 set dummy otool; ac_word=$2
   6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6742 $as_echo_n "checking for $ac_word... " >&6; }
   6743 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6744   $as_echo_n "(cached) " >&6
   6745 else
   6746   if test -n "$ac_ct_OTOOL"; then
   6747   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6748 else
   6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6750 for as_dir in $PATH
   6751 do
   6752   IFS=$as_save_IFS
   6753   test -z "$as_dir" && as_dir=.
   6754     for ac_exec_ext in '' $ac_executable_extensions; do
   6755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6756     ac_cv_prog_ac_ct_OTOOL="otool"
   6757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6758     break 2
   6759   fi
   6760 done
   6761   done
   6762 IFS=$as_save_IFS
   6763 
   6764 fi
   6765 fi
   6766 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6767 if test -n "$ac_ct_OTOOL"; then
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6769 $as_echo "$ac_ct_OTOOL" >&6; }
   6770 else
   6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6772 $as_echo "no" >&6; }
   6773 fi
   6774 
   6775   if test "x$ac_ct_OTOOL" = x; then
   6776     OTOOL=":"
   6777   else
   6778     case $cross_compiling:$ac_tool_warned in
   6779 yes:)
   6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6782 ac_tool_warned=yes ;;
   6783 esac
   6784     OTOOL=$ac_ct_OTOOL
   6785   fi
   6786 else
   6787   OTOOL="$ac_cv_prog_OTOOL"
   6788 fi
   6789 
   6790     if test -n "$ac_tool_prefix"; then
   6791   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6792 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6794 $as_echo_n "checking for $ac_word... " >&6; }
   6795 if ${ac_cv_prog_OTOOL64+:} false; then :
   6796   $as_echo_n "(cached) " >&6
   6797 else
   6798   if test -n "$OTOOL64"; then
   6799   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6800 else
   6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6802 for as_dir in $PATH
   6803 do
   6804   IFS=$as_save_IFS
   6805   test -z "$as_dir" && as_dir=.
   6806     for ac_exec_ext in '' $ac_executable_extensions; do
   6807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6808     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6810     break 2
   6811   fi
   6812 done
   6813   done
   6814 IFS=$as_save_IFS
   6815 
   6816 fi
   6817 fi
   6818 OTOOL64=$ac_cv_prog_OTOOL64
   6819 if test -n "$OTOOL64"; then
   6820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6821 $as_echo "$OTOOL64" >&6; }
   6822 else
   6823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6824 $as_echo "no" >&6; }
   6825 fi
   6826 
   6827 
   6828 fi
   6829 if test -z "$ac_cv_prog_OTOOL64"; then
   6830   ac_ct_OTOOL64=$OTOOL64
   6831   # Extract the first word of "otool64", so it can be a program name with args.
   6832 set dummy otool64; ac_word=$2
   6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6834 $as_echo_n "checking for $ac_word... " >&6; }
   6835 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6836   $as_echo_n "(cached) " >&6
   6837 else
   6838   if test -n "$ac_ct_OTOOL64"; then
   6839   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6840 else
   6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6842 for as_dir in $PATH
   6843 do
   6844   IFS=$as_save_IFS
   6845   test -z "$as_dir" && as_dir=.
   6846     for ac_exec_ext in '' $ac_executable_extensions; do
   6847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6848     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6850     break 2
   6851   fi
   6852 done
   6853   done
   6854 IFS=$as_save_IFS
   6855 
   6856 fi
   6857 fi
   6858 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6859 if test -n "$ac_ct_OTOOL64"; then
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6861 $as_echo "$ac_ct_OTOOL64" >&6; }
   6862 else
   6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6864 $as_echo "no" >&6; }
   6865 fi
   6866 
   6867   if test "x$ac_ct_OTOOL64" = x; then
   6868     OTOOL64=":"
   6869   else
   6870     case $cross_compiling:$ac_tool_warned in
   6871 yes:)
   6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6874 ac_tool_warned=yes ;;
   6875 esac
   6876     OTOOL64=$ac_ct_OTOOL64
   6877   fi
   6878 else
   6879   OTOOL64="$ac_cv_prog_OTOOL64"
   6880 fi
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6909 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6910 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   lt_cv_apple_cc_single_mod=no
   6914       if test -z "${LT_MULTI_MODULE}"; then
   6915 	# By default we will add the -single_module flag. You can override
   6916 	# by either setting the environment variable LT_MULTI_MODULE
   6917 	# non-empty at configure time, or by adding -multi_module to the
   6918 	# link flags.
   6919 	rm -rf libconftest.dylib*
   6920 	echo "int foo(void){return 1;}" > conftest.c
   6921 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6922 -dynamiclib -Wl,-single_module conftest.c" >&5
   6923 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6924 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6925         _lt_result=$?
   6926 	# If there is a non-empty error log, and "single_module"
   6927 	# appears in it, assume the flag caused a linker warning
   6928         if test -s conftest.err && $GREP single_module conftest.err; then
   6929 	  cat conftest.err >&5
   6930 	# Otherwise, if the output was created with a 0 exit code from
   6931 	# the compiler, it worked.
   6932 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6933 	  lt_cv_apple_cc_single_mod=yes
   6934 	else
   6935 	  cat conftest.err >&5
   6936 	fi
   6937 	rm -rf libconftest.dylib*
   6938 	rm -f conftest.*
   6939       fi
   6940 fi
   6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6942 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6943 
   6944     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6945 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6946 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   lt_cv_ld_exported_symbols_list=no
   6950       save_LDFLAGS=$LDFLAGS
   6951       echo "_main" > conftest.sym
   6952       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 
   6956 int
   6957 main ()
   6958 {
   6959 
   6960   ;
   6961   return 0;
   6962 }
   6963 _ACEOF
   6964 if ac_fn_c_try_link "$LINENO"; then :
   6965   lt_cv_ld_exported_symbols_list=yes
   6966 else
   6967   lt_cv_ld_exported_symbols_list=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_objext \
   6970     conftest$ac_exeext conftest.$ac_ext
   6971 	LDFLAGS="$save_LDFLAGS"
   6972 
   6973 fi
   6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6975 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6976 
   6977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6978 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6979 if ${lt_cv_ld_force_load+:} false; then :
   6980   $as_echo_n "(cached) " >&6
   6981 else
   6982   lt_cv_ld_force_load=no
   6983       cat > conftest.c << _LT_EOF
   6984 int forced_loaded() { return 2;}
   6985 _LT_EOF
   6986       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6987       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6988       echo "$AR cru libconftest.a conftest.o" >&5
   6989       $AR cru libconftest.a conftest.o 2>&5
   6990       echo "$RANLIB libconftest.a" >&5
   6991       $RANLIB libconftest.a 2>&5
   6992       cat > conftest.c << _LT_EOF
   6993 int main() { return 0;}
   6994 _LT_EOF
   6995       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6996       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6997       _lt_result=$?
   6998       if test -s conftest.err && $GREP force_load conftest.err; then
   6999 	cat conftest.err >&5
   7000       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7001 	lt_cv_ld_force_load=yes
   7002       else
   7003 	cat conftest.err >&5
   7004       fi
   7005         rm -f conftest.err libconftest.a conftest conftest.c
   7006         rm -rf conftest.dSYM
   7007 
   7008 fi
   7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7010 $as_echo "$lt_cv_ld_force_load" >&6; }
   7011     case $host_os in
   7012     rhapsody* | darwin1.[012])
   7013       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7014     darwin1.*)
   7015       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7016     darwin*) # darwin 5.x on
   7017       # if running on 10.5 or later, the deployment target defaults
   7018       # to the OS version, if on x86, and 10.4, the deployment
   7019       # target defaults to 10.4. Don't you love it?
   7020       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7021 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7022 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7023 	10.[012]*)
   7024 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7025 	10.*)
   7026 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7027       esac
   7028     ;;
   7029   esac
   7030     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7031       _lt_dar_single_mod='$single_module'
   7032     fi
   7033     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7034       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7035     else
   7036       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7037     fi
   7038     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7039       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7040     else
   7041       _lt_dsymutil=
   7042     fi
   7043     ;;
   7044   esac
   7045 
   7046 ac_ext=c
   7047 ac_cpp='$CPP $CPPFLAGS'
   7048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7052 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7053 # On Suns, sometimes $CPP names a directory.
   7054 if test -n "$CPP" && test -d "$CPP"; then
   7055   CPP=
   7056 fi
   7057 if test -z "$CPP"; then
   7058   if ${ac_cv_prog_CPP+:} false; then :
   7059   $as_echo_n "(cached) " >&6
   7060 else
   7061       # Double quotes because CPP needs to be expanded
   7062     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7063     do
   7064       ac_preproc_ok=false
   7065 for ac_c_preproc_warn_flag in '' yes
   7066 do
   7067   # Use a header file that comes with gcc, so configuring glibc
   7068   # with a fresh cross-compiler works.
   7069   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7070   # <limits.h> exists even on freestanding compilers.
   7071   # On the NeXT, cc -E runs the code through the compiler's parser,
   7072   # not just through cpp. "Syntax error" is here to catch this case.
   7073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7074 /* end confdefs.h.  */
   7075 #ifdef __STDC__
   7076 # include <limits.h>
   7077 #else
   7078 # include <assert.h>
   7079 #endif
   7080 		     Syntax error
   7081 _ACEOF
   7082 if ac_fn_c_try_cpp "$LINENO"; then :
   7083 
   7084 else
   7085   # Broken: fails on valid input.
   7086 continue
   7087 fi
   7088 rm -f conftest.err conftest.i conftest.$ac_ext
   7089 
   7090   # OK, works on sane cases.  Now check whether nonexistent headers
   7091   # can be detected and how.
   7092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7093 /* end confdefs.h.  */
   7094 #include <ac_nonexistent.h>
   7095 _ACEOF
   7096 if ac_fn_c_try_cpp "$LINENO"; then :
   7097   # Broken: success on invalid input.
   7098 continue
   7099 else
   7100   # Passes both tests.
   7101 ac_preproc_ok=:
   7102 break
   7103 fi
   7104 rm -f conftest.err conftest.i conftest.$ac_ext
   7105 
   7106 done
   7107 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7108 rm -f conftest.i conftest.err conftest.$ac_ext
   7109 if $ac_preproc_ok; then :
   7110   break
   7111 fi
   7112 
   7113     done
   7114     ac_cv_prog_CPP=$CPP
   7115 
   7116 fi
   7117   CPP=$ac_cv_prog_CPP
   7118 else
   7119   ac_cv_prog_CPP=$CPP
   7120 fi
   7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7122 $as_echo "$CPP" >&6; }
   7123 ac_preproc_ok=false
   7124 for ac_c_preproc_warn_flag in '' yes
   7125 do
   7126   # Use a header file that comes with gcc, so configuring glibc
   7127   # with a fresh cross-compiler works.
   7128   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7129   # <limits.h> exists even on freestanding compilers.
   7130   # On the NeXT, cc -E runs the code through the compiler's parser,
   7131   # not just through cpp. "Syntax error" is here to catch this case.
   7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 #ifdef __STDC__
   7135 # include <limits.h>
   7136 #else
   7137 # include <assert.h>
   7138 #endif
   7139 		     Syntax error
   7140 _ACEOF
   7141 if ac_fn_c_try_cpp "$LINENO"; then :
   7142 
   7143 else
   7144   # Broken: fails on valid input.
   7145 continue
   7146 fi
   7147 rm -f conftest.err conftest.i conftest.$ac_ext
   7148 
   7149   # OK, works on sane cases.  Now check whether nonexistent headers
   7150   # can be detected and how.
   7151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7152 /* end confdefs.h.  */
   7153 #include <ac_nonexistent.h>
   7154 _ACEOF
   7155 if ac_fn_c_try_cpp "$LINENO"; then :
   7156   # Broken: success on invalid input.
   7157 continue
   7158 else
   7159   # Passes both tests.
   7160 ac_preproc_ok=:
   7161 break
   7162 fi
   7163 rm -f conftest.err conftest.i conftest.$ac_ext
   7164 
   7165 done
   7166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7167 rm -f conftest.i conftest.err conftest.$ac_ext
   7168 if $ac_preproc_ok; then :
   7169 
   7170 else
   7171   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7173 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7174 See \`config.log' for more details" "$LINENO" 5; }
   7175 fi
   7176 
   7177 ac_ext=c
   7178 ac_cpp='$CPP $CPPFLAGS'
   7179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7182 
   7183 
   7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7185 $as_echo_n "checking for ANSI C header files... " >&6; }
   7186 if ${ac_cv_header_stdc+:} false; then :
   7187   $as_echo_n "(cached) " >&6
   7188 else
   7189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7190 /* end confdefs.h.  */
   7191 #include <stdlib.h>
   7192 #include <stdarg.h>
   7193 #include <string.h>
   7194 #include <float.h>
   7195 
   7196 int
   7197 main ()
   7198 {
   7199 
   7200   ;
   7201   return 0;
   7202 }
   7203 _ACEOF
   7204 if ac_fn_c_try_compile "$LINENO"; then :
   7205   ac_cv_header_stdc=yes
   7206 else
   7207   ac_cv_header_stdc=no
   7208 fi
   7209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7210 
   7211 if test $ac_cv_header_stdc = yes; then
   7212   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 #include <string.h>
   7216 
   7217 _ACEOF
   7218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7219   $EGREP "memchr" >/dev/null 2>&1; then :
   7220 
   7221 else
   7222   ac_cv_header_stdc=no
   7223 fi
   7224 rm -f conftest*
   7225 
   7226 fi
   7227 
   7228 if test $ac_cv_header_stdc = yes; then
   7229   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7231 /* end confdefs.h.  */
   7232 #include <stdlib.h>
   7233 
   7234 _ACEOF
   7235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7236   $EGREP "free" >/dev/null 2>&1; then :
   7237 
   7238 else
   7239   ac_cv_header_stdc=no
   7240 fi
   7241 rm -f conftest*
   7242 
   7243 fi
   7244 
   7245 if test $ac_cv_header_stdc = yes; then
   7246   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7247   if test "$cross_compiling" = yes; then :
   7248   :
   7249 else
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 #include <ctype.h>
   7253 #include <stdlib.h>
   7254 #if ((' ' & 0x0FF) == 0x020)
   7255 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7256 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7257 #else
   7258 # define ISLOWER(c) \
   7259 		   (('a' <= (c) && (c) <= 'i') \
   7260 		     || ('j' <= (c) && (c) <= 'r') \
   7261 		     || ('s' <= (c) && (c) <= 'z'))
   7262 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7263 #endif
   7264 
   7265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7266 int
   7267 main ()
   7268 {
   7269   int i;
   7270   for (i = 0; i < 256; i++)
   7271     if (XOR (islower (i), ISLOWER (i))
   7272 	|| toupper (i) != TOUPPER (i))
   7273       return 2;
   7274   return 0;
   7275 }
   7276 _ACEOF
   7277 if ac_fn_c_try_run "$LINENO"; then :
   7278 
   7279 else
   7280   ac_cv_header_stdc=no
   7281 fi
   7282 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7283   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7284 fi
   7285 
   7286 fi
   7287 fi
   7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7289 $as_echo "$ac_cv_header_stdc" >&6; }
   7290 if test $ac_cv_header_stdc = yes; then
   7291 
   7292 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7293 
   7294 fi
   7295 
   7296 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7297 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7298 		  inttypes.h stdint.h unistd.h
   7299 do :
   7300   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7301 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7302 "
   7303 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7304   cat >>confdefs.h <<_ACEOF
   7305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7306 _ACEOF
   7307 
   7308 fi
   7309 
   7310 done
   7311 
   7312 
   7313 for ac_header in dlfcn.h
   7314 do :
   7315   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7316 "
   7317 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7318   cat >>confdefs.h <<_ACEOF
   7319 #define HAVE_DLFCN_H 1
   7320 _ACEOF
   7321 
   7322 fi
   7323 
   7324 done
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 # Set options
   7331 
   7332 
   7333 
   7334         enable_dlopen=no
   7335 
   7336 
   7337   enable_win32_dll=no
   7338 
   7339 
   7340             # Check whether --enable-shared was given.
   7341 if test "${enable_shared+set}" = set; then :
   7342   enableval=$enable_shared; p=${PACKAGE-default}
   7343     case $enableval in
   7344     yes) enable_shared=yes ;;
   7345     no) enable_shared=no ;;
   7346     *)
   7347       enable_shared=no
   7348       # Look at the argument we got.  We use all the common list separators.
   7349       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7350       for pkg in $enableval; do
   7351 	IFS="$lt_save_ifs"
   7352 	if test "X$pkg" = "X$p"; then
   7353 	  enable_shared=yes
   7354 	fi
   7355       done
   7356       IFS="$lt_save_ifs"
   7357       ;;
   7358     esac
   7359 else
   7360   enable_shared=yes
   7361 fi
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371   # Check whether --enable-static was given.
   7372 if test "${enable_static+set}" = set; then :
   7373   enableval=$enable_static; p=${PACKAGE-default}
   7374     case $enableval in
   7375     yes) enable_static=yes ;;
   7376     no) enable_static=no ;;
   7377     *)
   7378      enable_static=no
   7379       # Look at the argument we got.  We use all the common list separators.
   7380       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7381       for pkg in $enableval; do
   7382 	IFS="$lt_save_ifs"
   7383 	if test "X$pkg" = "X$p"; then
   7384 	  enable_static=yes
   7385 	fi
   7386       done
   7387       IFS="$lt_save_ifs"
   7388       ;;
   7389     esac
   7390 else
   7391   enable_static=yes
   7392 fi
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 # Check whether --with-pic was given.
   7404 if test "${with_pic+set}" = set; then :
   7405   withval=$with_pic; lt_p=${PACKAGE-default}
   7406     case $withval in
   7407     yes|no) pic_mode=$withval ;;
   7408     *)
   7409       pic_mode=default
   7410       # Look at the argument we got.  We use all the common list separators.
   7411       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7412       for lt_pkg in $withval; do
   7413 	IFS="$lt_save_ifs"
   7414 	if test "X$lt_pkg" = "X$lt_p"; then
   7415 	  pic_mode=yes
   7416 	fi
   7417       done
   7418       IFS="$lt_save_ifs"
   7419       ;;
   7420     esac
   7421 else
   7422   pic_mode=default
   7423 fi
   7424 
   7425 
   7426 test -z "$pic_mode" && pic_mode=default
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434   # Check whether --enable-fast-install was given.
   7435 if test "${enable_fast_install+set}" = set; then :
   7436   enableval=$enable_fast_install; p=${PACKAGE-default}
   7437     case $enableval in
   7438     yes) enable_fast_install=yes ;;
   7439     no) enable_fast_install=no ;;
   7440     *)
   7441       enable_fast_install=no
   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 pkg in $enableval; do
   7445 	IFS="$lt_save_ifs"
   7446 	if test "X$pkg" = "X$p"; then
   7447 	  enable_fast_install=yes
   7448 	fi
   7449       done
   7450       IFS="$lt_save_ifs"
   7451       ;;
   7452     esac
   7453 else
   7454   enable_fast_install=yes
   7455 fi
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 # This can be used to rebuild libtool when needed
   7468 LIBTOOL_DEPS="$ltmain"
   7469 
   7470 # Always use our own libtool.
   7471 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 test -z "$LN_S" && LN_S="ln -s"
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 if test -n "${ZSH_VERSION+set}" ; then
   7518    setopt NO_GLOB_SUBST
   7519 fi
   7520 
   7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7522 $as_echo_n "checking for objdir... " >&6; }
   7523 if ${lt_cv_objdir+:} false; then :
   7524   $as_echo_n "(cached) " >&6
   7525 else
   7526   rm -f .libs 2>/dev/null
   7527 mkdir .libs 2>/dev/null
   7528 if test -d .libs; then
   7529   lt_cv_objdir=.libs
   7530 else
   7531   # MS-DOS does not allow filenames that begin with a dot.
   7532   lt_cv_objdir=_libs
   7533 fi
   7534 rmdir .libs 2>/dev/null
   7535 fi
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7537 $as_echo "$lt_cv_objdir" >&6; }
   7538 objdir=$lt_cv_objdir
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 cat >>confdefs.h <<_ACEOF
   7545 #define LT_OBJDIR "$lt_cv_objdir/"
   7546 _ACEOF
   7547 
   7548 
   7549 
   7550 
   7551 case $host_os in
   7552 aix3*)
   7553   # AIX sometimes has problems with the GCC collect2 program.  For some
   7554   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7555   # vanish in a puff of smoke.
   7556   if test "X${COLLECT_NAMES+set}" != Xset; then
   7557     COLLECT_NAMES=
   7558     export COLLECT_NAMES
   7559   fi
   7560   ;;
   7561 esac
   7562 
   7563 # Global variables:
   7564 ofile=libtool
   7565 can_build_shared=yes
   7566 
   7567 # All known linkers require a `.a' archive for static linking (except MSVC,
   7568 # which needs '.lib').
   7569 libext=a
   7570 
   7571 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7572 
   7573 old_CC="$CC"
   7574 old_CFLAGS="$CFLAGS"
   7575 
   7576 # Set sane defaults for various variables
   7577 test -z "$CC" && CC=cc
   7578 test -z "$LTCC" && LTCC=$CC
   7579 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7580 test -z "$LD" && LD=ld
   7581 test -z "$ac_objext" && ac_objext=o
   7582 
   7583 for cc_temp in $compiler""; do
   7584   case $cc_temp in
   7585     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7586     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7587     \-*) ;;
   7588     *) break;;
   7589   esac
   7590 done
   7591 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7592 
   7593 
   7594 # Only perform the check for file, if the check method requires it
   7595 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7596 case $deplibs_check_method in
   7597 file_magic*)
   7598   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7599     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7600 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7601 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7602   $as_echo_n "(cached) " >&6
   7603 else
   7604   case $MAGIC_CMD in
   7605 [\\/*] |  ?:[\\/]*)
   7606   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7607   ;;
   7608 *)
   7609   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7610   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7611   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7612   for ac_dir in $ac_dummy; do
   7613     IFS="$lt_save_ifs"
   7614     test -z "$ac_dir" && ac_dir=.
   7615     if test -f $ac_dir/${ac_tool_prefix}file; then
   7616       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7617       if test -n "$file_magic_test_file"; then
   7618 	case $deplibs_check_method in
   7619 	"file_magic "*)
   7620 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7621 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7622 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7623 	    $EGREP "$file_magic_regex" > /dev/null; then
   7624 	    :
   7625 	  else
   7626 	    cat <<_LT_EOF 1>&2
   7627 
   7628 *** Warning: the command libtool uses to detect shared libraries,
   7629 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7630 *** The result is that libtool may fail to recognize shared libraries
   7631 *** as such.  This will affect the creation of libtool libraries that
   7632 *** depend on shared libraries, but programs linked with such libtool
   7633 *** libraries will work regardless of this problem.  Nevertheless, you
   7634 *** may want to report the problem to your system manager and/or to
   7635 *** bug-libtool@gnu.org
   7636 
   7637 _LT_EOF
   7638 	  fi ;;
   7639 	esac
   7640       fi
   7641       break
   7642     fi
   7643   done
   7644   IFS="$lt_save_ifs"
   7645   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7646   ;;
   7647 esac
   7648 fi
   7649 
   7650 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7651 if test -n "$MAGIC_CMD"; then
   7652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7653 $as_echo "$MAGIC_CMD" >&6; }
   7654 else
   7655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7656 $as_echo "no" >&6; }
   7657 fi
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7664   if test -n "$ac_tool_prefix"; then
   7665     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7666 $as_echo_n "checking for file... " >&6; }
   7667 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   case $MAGIC_CMD in
   7671 [\\/*] |  ?:[\\/]*)
   7672   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7673   ;;
   7674 *)
   7675   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7676   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7677   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7678   for ac_dir in $ac_dummy; do
   7679     IFS="$lt_save_ifs"
   7680     test -z "$ac_dir" && ac_dir=.
   7681     if test -f $ac_dir/file; then
   7682       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7683       if test -n "$file_magic_test_file"; then
   7684 	case $deplibs_check_method in
   7685 	"file_magic "*)
   7686 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7687 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7688 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7689 	    $EGREP "$file_magic_regex" > /dev/null; then
   7690 	    :
   7691 	  else
   7692 	    cat <<_LT_EOF 1>&2
   7693 
   7694 *** Warning: the command libtool uses to detect shared libraries,
   7695 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7696 *** The result is that libtool may fail to recognize shared libraries
   7697 *** as such.  This will affect the creation of libtool libraries that
   7698 *** depend on shared libraries, but programs linked with such libtool
   7699 *** libraries will work regardless of this problem.  Nevertheless, you
   7700 *** may want to report the problem to your system manager and/or to
   7701 *** bug-libtool@gnu.org
   7702 
   7703 _LT_EOF
   7704 	  fi ;;
   7705 	esac
   7706       fi
   7707       break
   7708     fi
   7709   done
   7710   IFS="$lt_save_ifs"
   7711   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7712   ;;
   7713 esac
   7714 fi
   7715 
   7716 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7717 if test -n "$MAGIC_CMD"; then
   7718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7719 $as_echo "$MAGIC_CMD" >&6; }
   7720 else
   7721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7722 $as_echo "no" >&6; }
   7723 fi
   7724 
   7725 
   7726   else
   7727     MAGIC_CMD=:
   7728   fi
   7729 fi
   7730 
   7731   fi
   7732   ;;
   7733 esac
   7734 
   7735 # Use C for the default configuration in the libtool script
   7736 
   7737 lt_save_CC="$CC"
   7738 ac_ext=c
   7739 ac_cpp='$CPP $CPPFLAGS'
   7740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7743 
   7744 
   7745 # Source file extension for C test sources.
   7746 ac_ext=c
   7747 
   7748 # Object file extension for compiled C test sources.
   7749 objext=o
   7750 objext=$objext
   7751 
   7752 # Code to be used in simple compile tests
   7753 lt_simple_compile_test_code="int some_variable = 0;"
   7754 
   7755 # Code to be used in simple link tests
   7756 lt_simple_link_test_code='int main(){return(0);}'
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 # If no C compiler was specified, use CC.
   7765 LTCC=${LTCC-"$CC"}
   7766 
   7767 # If no C compiler flags were specified, use CFLAGS.
   7768 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7769 
   7770 # Allow CC to be a program name with arguments.
   7771 compiler=$CC
   7772 
   7773 # Save the default compiler, since it gets overwritten when the other
   7774 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7775 compiler_DEFAULT=$CC
   7776 
   7777 # save warnings/boilerplate of simple test code
   7778 ac_outfile=conftest.$ac_objext
   7779 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7780 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7781 _lt_compiler_boilerplate=`cat conftest.err`
   7782 $RM conftest*
   7783 
   7784 ac_outfile=conftest.$ac_objext
   7785 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7786 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7787 _lt_linker_boilerplate=`cat conftest.err`
   7788 $RM -r conftest*
   7789 
   7790 
   7791 if test -n "$compiler"; then
   7792 
   7793 lt_prog_compiler_no_builtin_flag=
   7794 
   7795 if test "$GCC" = yes; then
   7796   case $cc_basename in
   7797   nvcc*)
   7798     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7799   *)
   7800     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7801   esac
   7802 
   7803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7804 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7805 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7806   $as_echo_n "(cached) " >&6
   7807 else
   7808   lt_cv_prog_compiler_rtti_exceptions=no
   7809    ac_outfile=conftest.$ac_objext
   7810    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7811    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7812    # Insert the option either (1) after the last *FLAGS variable, or
   7813    # (2) before a word containing "conftest.", or (3) at the end.
   7814    # Note that $ac_compile itself does not contain backslashes and begins
   7815    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7816    # The option is referenced via a variable to avoid confusing sed.
   7817    lt_compile=`echo "$ac_compile" | $SED \
   7818    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7819    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7820    -e 's:$: $lt_compiler_flag:'`
   7821    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7822    (eval "$lt_compile" 2>conftest.err)
   7823    ac_status=$?
   7824    cat conftest.err >&5
   7825    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7826    if (exit $ac_status) && test -s "$ac_outfile"; then
   7827      # The compiler can only warn and ignore the option if not recognized
   7828      # So say no if there are warnings other than the usual output.
   7829      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7830      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7831      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7832        lt_cv_prog_compiler_rtti_exceptions=yes
   7833      fi
   7834    fi
   7835    $RM conftest*
   7836 
   7837 fi
   7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7839 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7840 
   7841 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7842     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7843 else
   7844     :
   7845 fi
   7846 
   7847 fi
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854   lt_prog_compiler_wl=
   7855 lt_prog_compiler_pic=
   7856 lt_prog_compiler_static=
   7857 
   7858 
   7859   if test "$GCC" = yes; then
   7860     lt_prog_compiler_wl='-Wl,'
   7861     lt_prog_compiler_static='-static'
   7862 
   7863     case $host_os in
   7864       aix*)
   7865       # All AIX code is PIC.
   7866       if test "$host_cpu" = ia64; then
   7867 	# AIX 5 now supports IA64 processor
   7868 	lt_prog_compiler_static='-Bstatic'
   7869       fi
   7870       ;;
   7871 
   7872     amigaos*)
   7873       case $host_cpu in
   7874       powerpc)
   7875             # see comment about AmigaOS4 .so support
   7876             lt_prog_compiler_pic='-fPIC'
   7877         ;;
   7878       m68k)
   7879             # FIXME: we need at least 68020 code to build shared libraries, but
   7880             # adding the `-m68020' flag to GCC prevents building anything better,
   7881             # like `-m68040'.
   7882             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7883         ;;
   7884       esac
   7885       ;;
   7886 
   7887     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7888       # PIC is the default for these OSes.
   7889       ;;
   7890 
   7891     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7892       # This hack is so that the source file can tell whether it is being
   7893       # built for inclusion in a dll (and should export symbols for example).
   7894       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7895       # (--disable-auto-import) libraries
   7896       lt_prog_compiler_pic='-DDLL_EXPORT'
   7897       ;;
   7898 
   7899     darwin* | rhapsody*)
   7900       # PIC is the default on this platform
   7901       # Common symbols not allowed in MH_DYLIB files
   7902       lt_prog_compiler_pic='-fno-common'
   7903       ;;
   7904 
   7905     haiku*)
   7906       # PIC is the default for Haiku.
   7907       # The "-static" flag exists, but is broken.
   7908       lt_prog_compiler_static=
   7909       ;;
   7910 
   7911     hpux*)
   7912       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7913       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7914       # sets the default TLS model and affects inlining.
   7915       case $host_cpu in
   7916       hppa*64*)
   7917 	# +Z the default
   7918 	;;
   7919       *)
   7920 	lt_prog_compiler_pic='-fPIC'
   7921 	;;
   7922       esac
   7923       ;;
   7924 
   7925     interix[3-9]*)
   7926       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7927       # Instead, we relocate shared libraries at runtime.
   7928       ;;
   7929 
   7930     msdosdjgpp*)
   7931       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7932       # on systems that don't support them.
   7933       lt_prog_compiler_can_build_shared=no
   7934       enable_shared=no
   7935       ;;
   7936 
   7937     *nto* | *qnx*)
   7938       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7939       # it will coredump.
   7940       lt_prog_compiler_pic='-fPIC -shared'
   7941       ;;
   7942 
   7943     sysv4*MP*)
   7944       if test -d /usr/nec; then
   7945 	lt_prog_compiler_pic=-Kconform_pic
   7946       fi
   7947       ;;
   7948 
   7949     *)
   7950       lt_prog_compiler_pic='-fPIC'
   7951       ;;
   7952     esac
   7953 
   7954     case $cc_basename in
   7955     nvcc*) # Cuda Compiler Driver 2.2
   7956       lt_prog_compiler_wl='-Xlinker '
   7957       if test -n "$lt_prog_compiler_pic"; then
   7958         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7959       fi
   7960       ;;
   7961     esac
   7962   else
   7963     # PORTME Check for flag to pass linker flags through the system compiler.
   7964     case $host_os in
   7965     aix*)
   7966       lt_prog_compiler_wl='-Wl,'
   7967       if test "$host_cpu" = ia64; then
   7968 	# AIX 5 now supports IA64 processor
   7969 	lt_prog_compiler_static='-Bstatic'
   7970       else
   7971 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7972       fi
   7973       ;;
   7974 
   7975     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7976       # This hack is so that the source file can tell whether it is being
   7977       # built for inclusion in a dll (and should export symbols for example).
   7978       lt_prog_compiler_pic='-DDLL_EXPORT'
   7979       ;;
   7980 
   7981     hpux9* | hpux10* | hpux11*)
   7982       lt_prog_compiler_wl='-Wl,'
   7983       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7984       # not for PA HP-UX.
   7985       case $host_cpu in
   7986       hppa*64*|ia64*)
   7987 	# +Z the default
   7988 	;;
   7989       *)
   7990 	lt_prog_compiler_pic='+Z'
   7991 	;;
   7992       esac
   7993       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7994       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7995       ;;
   7996 
   7997     irix5* | irix6* | nonstopux*)
   7998       lt_prog_compiler_wl='-Wl,'
   7999       # PIC (with -KPIC) is the default.
   8000       lt_prog_compiler_static='-non_shared'
   8001       ;;
   8002 
   8003     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8004       case $cc_basename in
   8005       # old Intel for x86_64 which still supported -KPIC.
   8006       ecc*)
   8007 	lt_prog_compiler_wl='-Wl,'
   8008 	lt_prog_compiler_pic='-KPIC'
   8009 	lt_prog_compiler_static='-static'
   8010         ;;
   8011       # icc used to be incompatible with GCC.
   8012       # ICC 10 doesn't accept -KPIC any more.
   8013       icc* | ifort*)
   8014 	lt_prog_compiler_wl='-Wl,'
   8015 	lt_prog_compiler_pic='-fPIC'
   8016 	lt_prog_compiler_static='-static'
   8017         ;;
   8018       # Lahey Fortran 8.1.
   8019       lf95*)
   8020 	lt_prog_compiler_wl='-Wl,'
   8021 	lt_prog_compiler_pic='--shared'
   8022 	lt_prog_compiler_static='--static'
   8023 	;;
   8024       nagfor*)
   8025 	# NAG Fortran compiler
   8026 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8027 	lt_prog_compiler_pic='-PIC'
   8028 	lt_prog_compiler_static='-Bstatic'
   8029 	;;
   8030       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8031         # Portland Group compilers (*not* the Pentium gcc compiler,
   8032 	# which looks to be a dead project)
   8033 	lt_prog_compiler_wl='-Wl,'
   8034 	lt_prog_compiler_pic='-fpic'
   8035 	lt_prog_compiler_static='-Bstatic'
   8036         ;;
   8037       ccc*)
   8038         lt_prog_compiler_wl='-Wl,'
   8039         # All Alpha code is PIC.
   8040         lt_prog_compiler_static='-non_shared'
   8041         ;;
   8042       xl* | bgxl* | bgf* | mpixl*)
   8043 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8044 	lt_prog_compiler_wl='-Wl,'
   8045 	lt_prog_compiler_pic='-qpic'
   8046 	lt_prog_compiler_static='-qstaticlink'
   8047 	;;
   8048       *)
   8049 	case `$CC -V 2>&1 | sed 5q` in
   8050 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8051 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8052 	  lt_prog_compiler_pic='-KPIC'
   8053 	  lt_prog_compiler_static='-Bstatic'
   8054 	  lt_prog_compiler_wl=''
   8055 	  ;;
   8056 	*Sun\ F* | *Sun*Fortran*)
   8057 	  lt_prog_compiler_pic='-KPIC'
   8058 	  lt_prog_compiler_static='-Bstatic'
   8059 	  lt_prog_compiler_wl='-Qoption ld '
   8060 	  ;;
   8061 	*Sun\ C*)
   8062 	  # Sun C 5.9
   8063 	  lt_prog_compiler_pic='-KPIC'
   8064 	  lt_prog_compiler_static='-Bstatic'
   8065 	  lt_prog_compiler_wl='-Wl,'
   8066 	  ;;
   8067         *Intel*\ [CF]*Compiler*)
   8068 	  lt_prog_compiler_wl='-Wl,'
   8069 	  lt_prog_compiler_pic='-fPIC'
   8070 	  lt_prog_compiler_static='-static'
   8071 	  ;;
   8072 	*Portland\ Group*)
   8073 	  lt_prog_compiler_wl='-Wl,'
   8074 	  lt_prog_compiler_pic='-fpic'
   8075 	  lt_prog_compiler_static='-Bstatic'
   8076 	  ;;
   8077 	esac
   8078 	;;
   8079       esac
   8080       ;;
   8081 
   8082     newsos6)
   8083       lt_prog_compiler_pic='-KPIC'
   8084       lt_prog_compiler_static='-Bstatic'
   8085       ;;
   8086 
   8087     *nto* | *qnx*)
   8088       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8089       # it will coredump.
   8090       lt_prog_compiler_pic='-fPIC -shared'
   8091       ;;
   8092 
   8093     osf3* | osf4* | osf5*)
   8094       lt_prog_compiler_wl='-Wl,'
   8095       # All OSF/1 code is PIC.
   8096       lt_prog_compiler_static='-non_shared'
   8097       ;;
   8098 
   8099     rdos*)
   8100       lt_prog_compiler_static='-non_shared'
   8101       ;;
   8102 
   8103     solaris*)
   8104       lt_prog_compiler_pic='-KPIC'
   8105       lt_prog_compiler_static='-Bstatic'
   8106       case $cc_basename in
   8107       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8108 	lt_prog_compiler_wl='-Qoption ld ';;
   8109       *)
   8110 	lt_prog_compiler_wl='-Wl,';;
   8111       esac
   8112       ;;
   8113 
   8114     sunos4*)
   8115       lt_prog_compiler_wl='-Qoption ld '
   8116       lt_prog_compiler_pic='-PIC'
   8117       lt_prog_compiler_static='-Bstatic'
   8118       ;;
   8119 
   8120     sysv4 | sysv4.2uw2* | sysv4.3*)
   8121       lt_prog_compiler_wl='-Wl,'
   8122       lt_prog_compiler_pic='-KPIC'
   8123       lt_prog_compiler_static='-Bstatic'
   8124       ;;
   8125 
   8126     sysv4*MP*)
   8127       if test -d /usr/nec ;then
   8128 	lt_prog_compiler_pic='-Kconform_pic'
   8129 	lt_prog_compiler_static='-Bstatic'
   8130       fi
   8131       ;;
   8132 
   8133     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8134       lt_prog_compiler_wl='-Wl,'
   8135       lt_prog_compiler_pic='-KPIC'
   8136       lt_prog_compiler_static='-Bstatic'
   8137       ;;
   8138 
   8139     unicos*)
   8140       lt_prog_compiler_wl='-Wl,'
   8141       lt_prog_compiler_can_build_shared=no
   8142       ;;
   8143 
   8144     uts4*)
   8145       lt_prog_compiler_pic='-pic'
   8146       lt_prog_compiler_static='-Bstatic'
   8147       ;;
   8148 
   8149     *)
   8150       lt_prog_compiler_can_build_shared=no
   8151       ;;
   8152     esac
   8153   fi
   8154 
   8155 case $host_os in
   8156   # For platforms which do not support PIC, -DPIC is meaningless:
   8157   *djgpp*)
   8158     lt_prog_compiler_pic=
   8159     ;;
   8160   *)
   8161     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8162     ;;
   8163 esac
   8164 
   8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8166 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8167 if ${lt_cv_prog_compiler_pic+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8171 fi
   8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8173 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8174 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8175 
   8176 #
   8177 # Check to make sure the PIC flag actually works.
   8178 #
   8179 if test -n "$lt_prog_compiler_pic"; then
   8180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8181 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8182 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8183   $as_echo_n "(cached) " >&6
   8184 else
   8185   lt_cv_prog_compiler_pic_works=no
   8186    ac_outfile=conftest.$ac_objext
   8187    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8188    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8189    # Insert the option either (1) after the last *FLAGS variable, or
   8190    # (2) before a word containing "conftest.", or (3) at the end.
   8191    # Note that $ac_compile itself does not contain backslashes and begins
   8192    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8193    # The option is referenced via a variable to avoid confusing sed.
   8194    lt_compile=`echo "$ac_compile" | $SED \
   8195    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8196    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8197    -e 's:$: $lt_compiler_flag:'`
   8198    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8199    (eval "$lt_compile" 2>conftest.err)
   8200    ac_status=$?
   8201    cat conftest.err >&5
   8202    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8203    if (exit $ac_status) && test -s "$ac_outfile"; then
   8204      # The compiler can only warn and ignore the option if not recognized
   8205      # So say no if there are warnings other than the usual output.
   8206      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8207      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8208      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8209        lt_cv_prog_compiler_pic_works=yes
   8210      fi
   8211    fi
   8212    $RM conftest*
   8213 
   8214 fi
   8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8216 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8217 
   8218 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8219     case $lt_prog_compiler_pic in
   8220      "" | " "*) ;;
   8221      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8222      esac
   8223 else
   8224     lt_prog_compiler_pic=
   8225      lt_prog_compiler_can_build_shared=no
   8226 fi
   8227 
   8228 fi
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 #
   8241 # Check to make sure the static flag actually works.
   8242 #
   8243 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8245 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8246 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8247   $as_echo_n "(cached) " >&6
   8248 else
   8249   lt_cv_prog_compiler_static_works=no
   8250    save_LDFLAGS="$LDFLAGS"
   8251    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8252    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8253    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8254      # The linker can only warn and ignore the option if not recognized
   8255      # So say no if there are warnings
   8256      if test -s conftest.err; then
   8257        # Append any errors to the config.log.
   8258        cat conftest.err 1>&5
   8259        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8260        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8261        if diff conftest.exp conftest.er2 >/dev/null; then
   8262          lt_cv_prog_compiler_static_works=yes
   8263        fi
   8264      else
   8265        lt_cv_prog_compiler_static_works=yes
   8266      fi
   8267    fi
   8268    $RM -r conftest*
   8269    LDFLAGS="$save_LDFLAGS"
   8270 
   8271 fi
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8273 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8274 
   8275 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8276     :
   8277 else
   8278     lt_prog_compiler_static=
   8279 fi
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8288 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8289 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8290   $as_echo_n "(cached) " >&6
   8291 else
   8292   lt_cv_prog_compiler_c_o=no
   8293    $RM -r conftest 2>/dev/null
   8294    mkdir conftest
   8295    cd conftest
   8296    mkdir out
   8297    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8298 
   8299    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8300    # Insert the option either (1) after the last *FLAGS variable, or
   8301    # (2) before a word containing "conftest.", or (3) at the end.
   8302    # Note that $ac_compile itself does not contain backslashes and begins
   8303    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8304    lt_compile=`echo "$ac_compile" | $SED \
   8305    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8306    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8307    -e 's:$: $lt_compiler_flag:'`
   8308    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8309    (eval "$lt_compile" 2>out/conftest.err)
   8310    ac_status=$?
   8311    cat out/conftest.err >&5
   8312    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8313    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8314    then
   8315      # The compiler can only warn and ignore the option if not recognized
   8316      # So say no if there are warnings
   8317      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8318      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8319      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8320        lt_cv_prog_compiler_c_o=yes
   8321      fi
   8322    fi
   8323    chmod u+w . 2>&5
   8324    $RM conftest*
   8325    # SGI C++ compiler will create directory out/ii_files/ for
   8326    # template instantiation
   8327    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8328    $RM out/* && rmdir out
   8329    cd ..
   8330    $RM -r conftest
   8331    $RM conftest*
   8332 
   8333 fi
   8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8335 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8343 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8344 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8345   $as_echo_n "(cached) " >&6
   8346 else
   8347   lt_cv_prog_compiler_c_o=no
   8348    $RM -r conftest 2>/dev/null
   8349    mkdir conftest
   8350    cd conftest
   8351    mkdir out
   8352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8353 
   8354    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8355    # Insert the option either (1) after the last *FLAGS variable, or
   8356    # (2) before a word containing "conftest.", or (3) at the end.
   8357    # Note that $ac_compile itself does not contain backslashes and begins
   8358    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8359    lt_compile=`echo "$ac_compile" | $SED \
   8360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8362    -e 's:$: $lt_compiler_flag:'`
   8363    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8364    (eval "$lt_compile" 2>out/conftest.err)
   8365    ac_status=$?
   8366    cat out/conftest.err >&5
   8367    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8368    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8369    then
   8370      # The compiler can only warn and ignore the option if not recognized
   8371      # So say no if there are warnings
   8372      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8373      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8374      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8375        lt_cv_prog_compiler_c_o=yes
   8376      fi
   8377    fi
   8378    chmod u+w . 2>&5
   8379    $RM conftest*
   8380    # SGI C++ compiler will create directory out/ii_files/ for
   8381    # template instantiation
   8382    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8383    $RM out/* && rmdir out
   8384    cd ..
   8385    $RM -r conftest
   8386    $RM conftest*
   8387 
   8388 fi
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8390 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8391 
   8392 
   8393 
   8394 
   8395 hard_links="nottested"
   8396 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8397   # do not overwrite the value of need_locks provided by the user
   8398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8399 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8400   hard_links=yes
   8401   $RM conftest*
   8402   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8403   touch conftest.a
   8404   ln conftest.a conftest.b 2>&5 || hard_links=no
   8405   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8407 $as_echo "$hard_links" >&6; }
   8408   if test "$hard_links" = no; then
   8409     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8410 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8411     need_locks=warn
   8412   fi
   8413 else
   8414   need_locks=no
   8415 fi
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8423 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8424 
   8425   runpath_var=
   8426   allow_undefined_flag=
   8427   always_export_symbols=no
   8428   archive_cmds=
   8429   archive_expsym_cmds=
   8430   compiler_needs_object=no
   8431   enable_shared_with_static_runtimes=no
   8432   export_dynamic_flag_spec=
   8433   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8434   hardcode_automatic=no
   8435   hardcode_direct=no
   8436   hardcode_direct_absolute=no
   8437   hardcode_libdir_flag_spec=
   8438   hardcode_libdir_separator=
   8439   hardcode_minus_L=no
   8440   hardcode_shlibpath_var=unsupported
   8441   inherit_rpath=no
   8442   link_all_deplibs=unknown
   8443   module_cmds=
   8444   module_expsym_cmds=
   8445   old_archive_from_new_cmds=
   8446   old_archive_from_expsyms_cmds=
   8447   thread_safe_flag_spec=
   8448   whole_archive_flag_spec=
   8449   # include_expsyms should be a list of space-separated symbols to be *always*
   8450   # included in the symbol list
   8451   include_expsyms=
   8452   # exclude_expsyms can be an extended regexp of symbols to exclude
   8453   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8454   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8455   # as well as any symbol that contains `d'.
   8456   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8457   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8458   # platforms (ab)use it in PIC code, but their linkers get confused if
   8459   # the symbol is explicitly referenced.  Since portable code cannot
   8460   # rely on this symbol name, it's probably fine to never include it in
   8461   # preloaded symbol tables.
   8462   # Exclude shared library initialization/finalization symbols.
   8463   extract_expsyms_cmds=
   8464 
   8465   case $host_os in
   8466   cygwin* | mingw* | pw32* | cegcc*)
   8467     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8468     # When not using gcc, we currently assume that we are using
   8469     # Microsoft Visual C++.
   8470     if test "$GCC" != yes; then
   8471       with_gnu_ld=no
   8472     fi
   8473     ;;
   8474   interix*)
   8475     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8476     with_gnu_ld=yes
   8477     ;;
   8478   openbsd*)
   8479     with_gnu_ld=no
   8480     ;;
   8481   esac
   8482 
   8483   ld_shlibs=yes
   8484 
   8485   # On some targets, GNU ld is compatible enough with the native linker
   8486   # that we're better off using the native interface for both.
   8487   lt_use_gnu_ld_interface=no
   8488   if test "$with_gnu_ld" = yes; then
   8489     case $host_os in
   8490       aix*)
   8491 	# The AIX port of GNU ld has always aspired to compatibility
   8492 	# with the native linker.  However, as the warning in the GNU ld
   8493 	# block says, versions before 2.19.5* couldn't really create working
   8494 	# shared libraries, regardless of the interface used.
   8495 	case `$LD -v 2>&1` in
   8496 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8497 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8498 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8499 	  *)
   8500 	    lt_use_gnu_ld_interface=yes
   8501 	    ;;
   8502 	esac
   8503 	;;
   8504       *)
   8505 	lt_use_gnu_ld_interface=yes
   8506 	;;
   8507     esac
   8508   fi
   8509 
   8510   if test "$lt_use_gnu_ld_interface" = yes; then
   8511     # If archive_cmds runs LD, not CC, wlarc should be empty
   8512     wlarc='${wl}'
   8513 
   8514     # Set some defaults for GNU ld with shared library support. These
   8515     # are reset later if shared libraries are not supported. Putting them
   8516     # here allows them to be overridden if necessary.
   8517     runpath_var=LD_RUN_PATH
   8518     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8519     export_dynamic_flag_spec='${wl}--export-dynamic'
   8520     # ancient GNU ld didn't support --whole-archive et. al.
   8521     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8522       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8523     else
   8524       whole_archive_flag_spec=
   8525     fi
   8526     supports_anon_versioning=no
   8527     case `$LD -v 2>&1` in
   8528       *GNU\ gold*) supports_anon_versioning=yes ;;
   8529       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8530       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8531       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8532       *\ 2.11.*) ;; # other 2.11 versions
   8533       *) supports_anon_versioning=yes ;;
   8534     esac
   8535 
   8536     # See if GNU ld supports shared libraries.
   8537     case $host_os in
   8538     aix[3-9]*)
   8539       # On AIX/PPC, the GNU linker is very broken
   8540       if test "$host_cpu" != ia64; then
   8541 	ld_shlibs=no
   8542 	cat <<_LT_EOF 1>&2
   8543 
   8544 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8545 *** to be unable to reliably create shared libraries on AIX.
   8546 *** Therefore, libtool is disabling shared libraries support.  If you
   8547 *** really care for shared libraries, you may want to install binutils
   8548 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8549 *** You will then need to restart the configuration process.
   8550 
   8551 _LT_EOF
   8552       fi
   8553       ;;
   8554 
   8555     amigaos*)
   8556       case $host_cpu in
   8557       powerpc)
   8558             # see comment about AmigaOS4 .so support
   8559             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8560             archive_expsym_cmds=''
   8561         ;;
   8562       m68k)
   8563             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)'
   8564             hardcode_libdir_flag_spec='-L$libdir'
   8565             hardcode_minus_L=yes
   8566         ;;
   8567       esac
   8568       ;;
   8569 
   8570     beos*)
   8571       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8572 	allow_undefined_flag=unsupported
   8573 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8574 	# support --undefined.  This deserves some investigation.  FIXME
   8575 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8576       else
   8577 	ld_shlibs=no
   8578       fi
   8579       ;;
   8580 
   8581     cygwin* | mingw* | pw32* | cegcc*)
   8582       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8583       # as there is no search path for DLLs.
   8584       hardcode_libdir_flag_spec='-L$libdir'
   8585       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8586       allow_undefined_flag=unsupported
   8587       always_export_symbols=no
   8588       enable_shared_with_static_runtimes=yes
   8589       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'
   8590       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8591 
   8592       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8593         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8594 	# If the export-symbols file already is a .def file (1st line
   8595 	# is EXPORTS), use it as is; otherwise, prepend...
   8596 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8597 	  cp $export_symbols $output_objdir/$soname.def;
   8598 	else
   8599 	  echo EXPORTS > $output_objdir/$soname.def;
   8600 	  cat $export_symbols >> $output_objdir/$soname.def;
   8601 	fi~
   8602 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8603       else
   8604 	ld_shlibs=no
   8605       fi
   8606       ;;
   8607 
   8608     haiku*)
   8609       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8610       link_all_deplibs=yes
   8611       ;;
   8612 
   8613     interix[3-9]*)
   8614       hardcode_direct=no
   8615       hardcode_shlibpath_var=no
   8616       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8617       export_dynamic_flag_spec='${wl}-E'
   8618       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8619       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8620       # default) and relocated if they conflict, which is a slow very memory
   8621       # consuming and fragmenting process.  To avoid this, we pick a random,
   8622       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8623       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8624       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8625       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'
   8626       ;;
   8627 
   8628     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8629       tmp_diet=no
   8630       if test "$host_os" = linux-dietlibc; then
   8631 	case $cc_basename in
   8632 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8633 	esac
   8634       fi
   8635       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8636 	 && test "$tmp_diet" = no
   8637       then
   8638 	tmp_addflag=' $pic_flag'
   8639 	tmp_sharedflag='-shared'
   8640 	case $cc_basename,$host_cpu in
   8641         pgcc*)				# Portland Group C compiler
   8642 	  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'
   8643 	  tmp_addflag=' $pic_flag'
   8644 	  ;;
   8645 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8646 					# Portland Group f77 and f90 compilers
   8647 	  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'
   8648 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8649 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8650 	  tmp_addflag=' -i_dynamic' ;;
   8651 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8652 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8653 	ifc* | ifort*)			# Intel Fortran compiler
   8654 	  tmp_addflag=' -nofor_main' ;;
   8655 	lf95*)				# Lahey Fortran 8.1
   8656 	  whole_archive_flag_spec=
   8657 	  tmp_sharedflag='--shared' ;;
   8658 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8659 	  tmp_sharedflag='-qmkshrobj'
   8660 	  tmp_addflag= ;;
   8661 	nvcc*)	# Cuda Compiler Driver 2.2
   8662 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8663 	  compiler_needs_object=yes
   8664 	  ;;
   8665 	esac
   8666 	case `$CC -V 2>&1 | sed 5q` in
   8667 	*Sun\ C*)			# Sun C 5.9
   8668 	  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'
   8669 	  compiler_needs_object=yes
   8670 	  tmp_sharedflag='-G' ;;
   8671 	*Sun\ F*)			# Sun Fortran 8.3
   8672 	  tmp_sharedflag='-G' ;;
   8673 	esac
   8674 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8675 
   8676         if test "x$supports_anon_versioning" = xyes; then
   8677           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8678 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8679 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8680 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8681         fi
   8682 
   8683 	case $cc_basename in
   8684 	xlf* | bgf* | bgxlf* | mpixlf*)
   8685 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8686 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8687 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8688 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8689 	  if test "x$supports_anon_versioning" = xyes; then
   8690 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8691 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8692 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8693 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8694 	  fi
   8695 	  ;;
   8696 	esac
   8697       else
   8698         ld_shlibs=no
   8699       fi
   8700       ;;
   8701 
   8702     netbsd*)
   8703       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8704 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8705 	wlarc=
   8706       else
   8707 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8708 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8709       fi
   8710       ;;
   8711 
   8712     solaris*)
   8713       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8714 	ld_shlibs=no
   8715 	cat <<_LT_EOF 1>&2
   8716 
   8717 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8718 *** create shared libraries on Solaris systems.  Therefore, libtool
   8719 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8720 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8721 *** your PATH or compiler configuration so that the native linker is
   8722 *** used, and then restart.
   8723 
   8724 _LT_EOF
   8725       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8726 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8727 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8728       else
   8729 	ld_shlibs=no
   8730       fi
   8731       ;;
   8732 
   8733     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8734       case `$LD -v 2>&1` in
   8735         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8736 	ld_shlibs=no
   8737 	cat <<_LT_EOF 1>&2
   8738 
   8739 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8740 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8741 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8742 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8743 *** your PATH or compiler configuration so that the native linker is
   8744 *** used, and then restart.
   8745 
   8746 _LT_EOF
   8747 	;;
   8748 	*)
   8749 	  # For security reasons, it is highly recommended that you always
   8750 	  # use absolute paths for naming shared libraries, and exclude the
   8751 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8752 	  # requires that you compile everything twice, which is a pain.
   8753 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8754 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8755 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8756 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8757 	  else
   8758 	    ld_shlibs=no
   8759 	  fi
   8760 	;;
   8761       esac
   8762       ;;
   8763 
   8764     sunos4*)
   8765       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8766       wlarc=
   8767       hardcode_direct=yes
   8768       hardcode_shlibpath_var=no
   8769       ;;
   8770 
   8771     *)
   8772       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8773 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8774 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8775       else
   8776 	ld_shlibs=no
   8777       fi
   8778       ;;
   8779     esac
   8780 
   8781     if test "$ld_shlibs" = no; then
   8782       runpath_var=
   8783       hardcode_libdir_flag_spec=
   8784       export_dynamic_flag_spec=
   8785       whole_archive_flag_spec=
   8786     fi
   8787   else
   8788     # PORTME fill in a description of your system's linker (not GNU ld)
   8789     case $host_os in
   8790     aix3*)
   8791       allow_undefined_flag=unsupported
   8792       always_export_symbols=yes
   8793       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'
   8794       # Note: this linker hardcodes the directories in LIBPATH if there
   8795       # are no directories specified by -L.
   8796       hardcode_minus_L=yes
   8797       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8798 	# Neither direct hardcoding nor static linking is supported with a
   8799 	# broken collect2.
   8800 	hardcode_direct=unsupported
   8801       fi
   8802       ;;
   8803 
   8804     aix[4-9]*)
   8805       if test "$host_cpu" = ia64; then
   8806 	# On IA64, the linker does run time linking by default, so we don't
   8807 	# have to do anything special.
   8808 	aix_use_runtimelinking=no
   8809 	exp_sym_flag='-Bexport'
   8810 	no_entry_flag=""
   8811       else
   8812 	# If we're using GNU nm, then we don't want the "-C" option.
   8813 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8814 	# Also, AIX nm treats weak defined symbols like other global
   8815 	# defined symbols, whereas GNU nm marks them as "W".
   8816 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8817 	  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'
   8818 	else
   8819 	  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'
   8820 	fi
   8821 	aix_use_runtimelinking=no
   8822 
   8823 	# Test if we are trying to use run time linking or normal
   8824 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8825 	# need to do runtime linking.
   8826 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8827 	  for ld_flag in $LDFLAGS; do
   8828 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8829 	    aix_use_runtimelinking=yes
   8830 	    break
   8831 	  fi
   8832 	  done
   8833 	  ;;
   8834 	esac
   8835 
   8836 	exp_sym_flag='-bexport'
   8837 	no_entry_flag='-bnoentry'
   8838       fi
   8839 
   8840       # When large executables or shared objects are built, AIX ld can
   8841       # have problems creating the table of contents.  If linking a library
   8842       # or program results in "error TOC overflow" add -mminimal-toc to
   8843       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8844       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8845 
   8846       archive_cmds=''
   8847       hardcode_direct=yes
   8848       hardcode_direct_absolute=yes
   8849       hardcode_libdir_separator=':'
   8850       link_all_deplibs=yes
   8851       file_list_spec='${wl}-f,'
   8852 
   8853       if test "$GCC" = yes; then
   8854 	case $host_os in aix4.[012]|aix4.[012].*)
   8855 	# We only want to do this on AIX 4.2 and lower, the check
   8856 	# below for broken collect2 doesn't work under 4.3+
   8857 	  collect2name=`${CC} -print-prog-name=collect2`
   8858 	  if test -f "$collect2name" &&
   8859 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8860 	  then
   8861 	  # We have reworked collect2
   8862 	  :
   8863 	  else
   8864 	  # We have old collect2
   8865 	  hardcode_direct=unsupported
   8866 	  # It fails to find uninstalled libraries when the uninstalled
   8867 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8868 	  # to unsupported forces relinking
   8869 	  hardcode_minus_L=yes
   8870 	  hardcode_libdir_flag_spec='-L$libdir'
   8871 	  hardcode_libdir_separator=
   8872 	  fi
   8873 	  ;;
   8874 	esac
   8875 	shared_flag='-shared'
   8876 	if test "$aix_use_runtimelinking" = yes; then
   8877 	  shared_flag="$shared_flag "'${wl}-G'
   8878 	fi
   8879       else
   8880 	# not using gcc
   8881 	if test "$host_cpu" = ia64; then
   8882 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8883 	# chokes on -Wl,-G. The following line is correct:
   8884 	  shared_flag='-G'
   8885 	else
   8886 	  if test "$aix_use_runtimelinking" = yes; then
   8887 	    shared_flag='${wl}-G'
   8888 	  else
   8889 	    shared_flag='${wl}-bM:SRE'
   8890 	  fi
   8891 	fi
   8892       fi
   8893 
   8894       export_dynamic_flag_spec='${wl}-bexpall'
   8895       # It seems that -bexpall does not export symbols beginning with
   8896       # underscore (_), so it is better to generate a list of symbols to export.
   8897       always_export_symbols=yes
   8898       if test "$aix_use_runtimelinking" = yes; then
   8899 	# Warning - without using the other runtime loading flags (-brtl),
   8900 	# -berok will link without error, but may produce a broken library.
   8901 	allow_undefined_flag='-berok'
   8902         # Determine the default libpath from the value encoded in an
   8903         # empty executable.
   8904         if test "${lt_cv_aix_libpath+set}" = set; then
   8905   aix_libpath=$lt_cv_aix_libpath
   8906 else
   8907   if ${lt_cv_aix_libpath_+:} false; then :
   8908   $as_echo_n "(cached) " >&6
   8909 else
   8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8911 /* end confdefs.h.  */
   8912 
   8913 int
   8914 main ()
   8915 {
   8916 
   8917   ;
   8918   return 0;
   8919 }
   8920 _ACEOF
   8921 if ac_fn_c_try_link "$LINENO"; then :
   8922 
   8923   lt_aix_libpath_sed='
   8924       /Import File Strings/,/^$/ {
   8925 	  /^0/ {
   8926 	      s/^0  *\([^ ]*\) *$/\1/
   8927 	      p
   8928 	  }
   8929       }'
   8930   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8931   # Check for a 64-bit object if we didn't find anything.
   8932   if test -z "$lt_cv_aix_libpath_"; then
   8933     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8934   fi
   8935 fi
   8936 rm -f core conftest.err conftest.$ac_objext \
   8937     conftest$ac_exeext conftest.$ac_ext
   8938   if test -z "$lt_cv_aix_libpath_"; then
   8939     lt_cv_aix_libpath_="/usr/lib:/lib"
   8940   fi
   8941 
   8942 fi
   8943 
   8944   aix_libpath=$lt_cv_aix_libpath_
   8945 fi
   8946 
   8947         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8948         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"
   8949       else
   8950 	if test "$host_cpu" = ia64; then
   8951 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8952 	  allow_undefined_flag="-z nodefs"
   8953 	  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"
   8954 	else
   8955 	 # Determine the default libpath from the value encoded in an
   8956 	 # empty executable.
   8957 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8958   aix_libpath=$lt_cv_aix_libpath
   8959 else
   8960   if ${lt_cv_aix_libpath_+:} false; then :
   8961   $as_echo_n "(cached) " >&6
   8962 else
   8963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8964 /* end confdefs.h.  */
   8965 
   8966 int
   8967 main ()
   8968 {
   8969 
   8970   ;
   8971   return 0;
   8972 }
   8973 _ACEOF
   8974 if ac_fn_c_try_link "$LINENO"; then :
   8975 
   8976   lt_aix_libpath_sed='
   8977       /Import File Strings/,/^$/ {
   8978 	  /^0/ {
   8979 	      s/^0  *\([^ ]*\) *$/\1/
   8980 	      p
   8981 	  }
   8982       }'
   8983   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8984   # Check for a 64-bit object if we didn't find anything.
   8985   if test -z "$lt_cv_aix_libpath_"; then
   8986     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8987   fi
   8988 fi
   8989 rm -f core conftest.err conftest.$ac_objext \
   8990     conftest$ac_exeext conftest.$ac_ext
   8991   if test -z "$lt_cv_aix_libpath_"; then
   8992     lt_cv_aix_libpath_="/usr/lib:/lib"
   8993   fi
   8994 
   8995 fi
   8996 
   8997   aix_libpath=$lt_cv_aix_libpath_
   8998 fi
   8999 
   9000 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9001 	  # Warning - without using the other run time loading flags,
   9002 	  # -berok will link without error, but may produce a broken library.
   9003 	  no_undefined_flag=' ${wl}-bernotok'
   9004 	  allow_undefined_flag=' ${wl}-berok'
   9005 	  if test "$with_gnu_ld" = yes; then
   9006 	    # We only use this code for GNU lds that support --whole-archive.
   9007 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9008 	  else
   9009 	    # Exported symbols can be pulled into shared objects from archives
   9010 	    whole_archive_flag_spec='$convenience'
   9011 	  fi
   9012 	  archive_cmds_need_lc=yes
   9013 	  # This is similar to how AIX traditionally builds its shared libraries.
   9014 	  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'
   9015 	fi
   9016       fi
   9017       ;;
   9018 
   9019     amigaos*)
   9020       case $host_cpu in
   9021       powerpc)
   9022             # see comment about AmigaOS4 .so support
   9023             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9024             archive_expsym_cmds=''
   9025         ;;
   9026       m68k)
   9027             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)'
   9028             hardcode_libdir_flag_spec='-L$libdir'
   9029             hardcode_minus_L=yes
   9030         ;;
   9031       esac
   9032       ;;
   9033 
   9034     bsdi[45]*)
   9035       export_dynamic_flag_spec=-rdynamic
   9036       ;;
   9037 
   9038     cygwin* | mingw* | pw32* | cegcc*)
   9039       # When not using gcc, we currently assume that we are using
   9040       # Microsoft Visual C++.
   9041       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9042       # no search path for DLLs.
   9043       case $cc_basename in
   9044       cl*)
   9045 	# Native MSVC
   9046 	hardcode_libdir_flag_spec=' '
   9047 	allow_undefined_flag=unsupported
   9048 	always_export_symbols=yes
   9049 	file_list_spec='@'
   9050 	# Tell ltmain to make .lib files, not .a files.
   9051 	libext=lib
   9052 	# Tell ltmain to make .dll files, not .so files.
   9053 	shrext_cmds=".dll"
   9054 	# FIXME: Setting linknames here is a bad hack.
   9055 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9056 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9057 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9058 	  else
   9059 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9060 	  fi~
   9061 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9062 	  linknames='
   9063 	# The linker will not automatically build a static lib if we build a DLL.
   9064 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9065 	enable_shared_with_static_runtimes=yes
   9066 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9067 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9068 	# Don't use ranlib
   9069 	old_postinstall_cmds='chmod 644 $oldlib'
   9070 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9071 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9072 	  case $lt_outputfile in
   9073 	    *.exe|*.EXE) ;;
   9074 	    *)
   9075 	      lt_outputfile="$lt_outputfile.exe"
   9076 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9077 	      ;;
   9078 	  esac~
   9079 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9080 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9081 	    $RM "$lt_outputfile.manifest";
   9082 	  fi'
   9083 	;;
   9084       *)
   9085 	# Assume MSVC wrapper
   9086 	hardcode_libdir_flag_spec=' '
   9087 	allow_undefined_flag=unsupported
   9088 	# Tell ltmain to make .lib files, not .a files.
   9089 	libext=lib
   9090 	# Tell ltmain to make .dll files, not .so files.
   9091 	shrext_cmds=".dll"
   9092 	# FIXME: Setting linknames here is a bad hack.
   9093 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9094 	# The linker will automatically build a .lib file if we build a DLL.
   9095 	old_archive_from_new_cmds='true'
   9096 	# FIXME: Should let the user specify the lib program.
   9097 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9098 	enable_shared_with_static_runtimes=yes
   9099 	;;
   9100       esac
   9101       ;;
   9102 
   9103     darwin* | rhapsody*)
   9104 
   9105 
   9106   archive_cmds_need_lc=no
   9107   hardcode_direct=no
   9108   hardcode_automatic=yes
   9109   hardcode_shlibpath_var=unsupported
   9110   if test "$lt_cv_ld_force_load" = "yes"; then
   9111     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\"`'
   9112 
   9113   else
   9114     whole_archive_flag_spec=''
   9115   fi
   9116   link_all_deplibs=yes
   9117   allow_undefined_flag="$_lt_dar_allow_undefined"
   9118   case $cc_basename in
   9119      ifort*) _lt_dar_can_shared=yes ;;
   9120      *) _lt_dar_can_shared=$GCC ;;
   9121   esac
   9122   if test "$_lt_dar_can_shared" = "yes"; then
   9123     output_verbose_link_cmd=func_echo_all
   9124     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9125     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9126     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}"
   9127     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}"
   9128 
   9129   else
   9130   ld_shlibs=no
   9131   fi
   9132 
   9133       ;;
   9134 
   9135     dgux*)
   9136       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9137       hardcode_libdir_flag_spec='-L$libdir'
   9138       hardcode_shlibpath_var=no
   9139       ;;
   9140 
   9141     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9142     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9143     # does not break anything, and helps significantly (at the cost of a little
   9144     # extra space).
   9145     freebsd2.2*)
   9146       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9147       hardcode_libdir_flag_spec='-R$libdir'
   9148       hardcode_direct=yes
   9149       hardcode_shlibpath_var=no
   9150       ;;
   9151 
   9152     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9153     freebsd2.*)
   9154       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9155       hardcode_direct=yes
   9156       hardcode_minus_L=yes
   9157       hardcode_shlibpath_var=no
   9158       ;;
   9159 
   9160     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9161     freebsd* | dragonfly*)
   9162       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9163       hardcode_libdir_flag_spec='-R$libdir'
   9164       hardcode_direct=yes
   9165       hardcode_shlibpath_var=no
   9166       ;;
   9167 
   9168     hpux9*)
   9169       if test "$GCC" = yes; then
   9170 	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'
   9171       else
   9172 	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'
   9173       fi
   9174       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9175       hardcode_libdir_separator=:
   9176       hardcode_direct=yes
   9177 
   9178       # hardcode_minus_L: Not really in the search PATH,
   9179       # but as the default location of the library.
   9180       hardcode_minus_L=yes
   9181       export_dynamic_flag_spec='${wl}-E'
   9182       ;;
   9183 
   9184     hpux10*)
   9185       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9186 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9187       else
   9188 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9189       fi
   9190       if test "$with_gnu_ld" = no; then
   9191 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9192 	hardcode_libdir_separator=:
   9193 	hardcode_direct=yes
   9194 	hardcode_direct_absolute=yes
   9195 	export_dynamic_flag_spec='${wl}-E'
   9196 	# hardcode_minus_L: Not really in the search PATH,
   9197 	# but as the default location of the library.
   9198 	hardcode_minus_L=yes
   9199       fi
   9200       ;;
   9201 
   9202     hpux11*)
   9203       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9204 	case $host_cpu in
   9205 	hppa*64*)
   9206 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9207 	  ;;
   9208 	ia64*)
   9209 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9210 	  ;;
   9211 	*)
   9212 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9213 	  ;;
   9214 	esac
   9215       else
   9216 	case $host_cpu in
   9217 	hppa*64*)
   9218 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9219 	  ;;
   9220 	ia64*)
   9221 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9222 	  ;;
   9223 	*)
   9224 
   9225 	  # Older versions of the 11.00 compiler do not understand -b yet
   9226 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9227 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9228 $as_echo_n "checking if $CC understands -b... " >&6; }
   9229 if ${lt_cv_prog_compiler__b+:} false; then :
   9230   $as_echo_n "(cached) " >&6
   9231 else
   9232   lt_cv_prog_compiler__b=no
   9233    save_LDFLAGS="$LDFLAGS"
   9234    LDFLAGS="$LDFLAGS -b"
   9235    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9236    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9237      # The linker can only warn and ignore the option if not recognized
   9238      # So say no if there are warnings
   9239      if test -s conftest.err; then
   9240        # Append any errors to the config.log.
   9241        cat conftest.err 1>&5
   9242        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9243        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9244        if diff conftest.exp conftest.er2 >/dev/null; then
   9245          lt_cv_prog_compiler__b=yes
   9246        fi
   9247      else
   9248        lt_cv_prog_compiler__b=yes
   9249      fi
   9250    fi
   9251    $RM -r conftest*
   9252    LDFLAGS="$save_LDFLAGS"
   9253 
   9254 fi
   9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9256 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9257 
   9258 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9259     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9260 else
   9261     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9262 fi
   9263 
   9264 	  ;;
   9265 	esac
   9266       fi
   9267       if test "$with_gnu_ld" = no; then
   9268 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9269 	hardcode_libdir_separator=:
   9270 
   9271 	case $host_cpu in
   9272 	hppa*64*|ia64*)
   9273 	  hardcode_direct=no
   9274 	  hardcode_shlibpath_var=no
   9275 	  ;;
   9276 	*)
   9277 	  hardcode_direct=yes
   9278 	  hardcode_direct_absolute=yes
   9279 	  export_dynamic_flag_spec='${wl}-E'
   9280 
   9281 	  # hardcode_minus_L: Not really in the search PATH,
   9282 	  # but as the default location of the library.
   9283 	  hardcode_minus_L=yes
   9284 	  ;;
   9285 	esac
   9286       fi
   9287       ;;
   9288 
   9289     irix5* | irix6* | nonstopux*)
   9290       if test "$GCC" = yes; then
   9291 	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'
   9292 	# Try to use the -exported_symbol ld option, if it does not
   9293 	# work, assume that -exports_file does not work either and
   9294 	# implicitly export all symbols.
   9295 	# This should be the same for all languages, so no per-tag cache variable.
   9296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9297 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9298 if ${lt_cv_irix_exported_symbol+:} false; then :
   9299   $as_echo_n "(cached) " >&6
   9300 else
   9301   save_LDFLAGS="$LDFLAGS"
   9302 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9303 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9304 /* end confdefs.h.  */
   9305 int foo (void) { return 0; }
   9306 _ACEOF
   9307 if ac_fn_c_try_link "$LINENO"; then :
   9308   lt_cv_irix_exported_symbol=yes
   9309 else
   9310   lt_cv_irix_exported_symbol=no
   9311 fi
   9312 rm -f core conftest.err conftest.$ac_objext \
   9313     conftest$ac_exeext conftest.$ac_ext
   9314            LDFLAGS="$save_LDFLAGS"
   9315 fi
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9317 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9318 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9319           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'
   9320 	fi
   9321       else
   9322 	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'
   9323 	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'
   9324       fi
   9325       archive_cmds_need_lc='no'
   9326       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9327       hardcode_libdir_separator=:
   9328       inherit_rpath=yes
   9329       link_all_deplibs=yes
   9330       ;;
   9331 
   9332     netbsd*)
   9333       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9334 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9335       else
   9336 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9337       fi
   9338       hardcode_libdir_flag_spec='-R$libdir'
   9339       hardcode_direct=yes
   9340       hardcode_shlibpath_var=no
   9341       ;;
   9342 
   9343     newsos6)
   9344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9345       hardcode_direct=yes
   9346       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9347       hardcode_libdir_separator=:
   9348       hardcode_shlibpath_var=no
   9349       ;;
   9350 
   9351     *nto* | *qnx*)
   9352       ;;
   9353 
   9354     openbsd*)
   9355       if test -f /usr/libexec/ld.so; then
   9356 	hardcode_direct=yes
   9357 	hardcode_shlibpath_var=no
   9358 	hardcode_direct_absolute=yes
   9359 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9360 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9361 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9362 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9363 	  export_dynamic_flag_spec='${wl}-E'
   9364 	else
   9365 	  case $host_os in
   9366 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9367 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9368 	     hardcode_libdir_flag_spec='-R$libdir'
   9369 	     ;;
   9370 	   *)
   9371 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9372 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9373 	     ;;
   9374 	  esac
   9375 	fi
   9376       else
   9377 	ld_shlibs=no
   9378       fi
   9379       ;;
   9380 
   9381     os2*)
   9382       hardcode_libdir_flag_spec='-L$libdir'
   9383       hardcode_minus_L=yes
   9384       allow_undefined_flag=unsupported
   9385       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'
   9386       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9387       ;;
   9388 
   9389     osf3*)
   9390       if test "$GCC" = yes; then
   9391 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9392 	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'
   9393       else
   9394 	allow_undefined_flag=' -expect_unresolved \*'
   9395 	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'
   9396       fi
   9397       archive_cmds_need_lc='no'
   9398       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9399       hardcode_libdir_separator=:
   9400       ;;
   9401 
   9402     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9403       if test "$GCC" = yes; then
   9404 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9405 	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'
   9406 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9407       else
   9408 	allow_undefined_flag=' -expect_unresolved \*'
   9409 	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'
   9410 	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~
   9411 	$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'
   9412 
   9413 	# Both c and cxx compiler support -rpath directly
   9414 	hardcode_libdir_flag_spec='-rpath $libdir'
   9415       fi
   9416       archive_cmds_need_lc='no'
   9417       hardcode_libdir_separator=:
   9418       ;;
   9419 
   9420     solaris*)
   9421       no_undefined_flag=' -z defs'
   9422       if test "$GCC" = yes; then
   9423 	wlarc='${wl}'
   9424 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9425 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9426 	  $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'
   9427       else
   9428 	case `$CC -V 2>&1` in
   9429 	*"Compilers 5.0"*)
   9430 	  wlarc=''
   9431 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9432 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9433 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9434 	  ;;
   9435 	*)
   9436 	  wlarc='${wl}'
   9437 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9438 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9439 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9440 	  ;;
   9441 	esac
   9442       fi
   9443       hardcode_libdir_flag_spec='-R$libdir'
   9444       hardcode_shlibpath_var=no
   9445       case $host_os in
   9446       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9447       *)
   9448 	# The compiler driver will combine and reorder linker options,
   9449 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9450 	# but is careful enough not to reorder.
   9451 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9452 	if test "$GCC" = yes; then
   9453 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9454 	else
   9455 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9456 	fi
   9457 	;;
   9458       esac
   9459       link_all_deplibs=yes
   9460       ;;
   9461 
   9462     sunos4*)
   9463       if test "x$host_vendor" = xsequent; then
   9464 	# Use $CC to link under sequent, because it throws in some extra .o
   9465 	# files that make .init and .fini sections work.
   9466 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9467       else
   9468 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9469       fi
   9470       hardcode_libdir_flag_spec='-L$libdir'
   9471       hardcode_direct=yes
   9472       hardcode_minus_L=yes
   9473       hardcode_shlibpath_var=no
   9474       ;;
   9475 
   9476     sysv4)
   9477       case $host_vendor in
   9478 	sni)
   9479 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9480 	  hardcode_direct=yes # is this really true???
   9481 	;;
   9482 	siemens)
   9483 	  ## LD is ld it makes a PLAMLIB
   9484 	  ## CC just makes a GrossModule.
   9485 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9486 	  reload_cmds='$CC -r -o $output$reload_objs'
   9487 	  hardcode_direct=no
   9488         ;;
   9489 	motorola)
   9490 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9491 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9492 	;;
   9493       esac
   9494       runpath_var='LD_RUN_PATH'
   9495       hardcode_shlibpath_var=no
   9496       ;;
   9497 
   9498     sysv4.3*)
   9499       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9500       hardcode_shlibpath_var=no
   9501       export_dynamic_flag_spec='-Bexport'
   9502       ;;
   9503 
   9504     sysv4*MP*)
   9505       if test -d /usr/nec; then
   9506 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9507 	hardcode_shlibpath_var=no
   9508 	runpath_var=LD_RUN_PATH
   9509 	hardcode_runpath_var=yes
   9510 	ld_shlibs=yes
   9511       fi
   9512       ;;
   9513 
   9514     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9515       no_undefined_flag='${wl}-z,text'
   9516       archive_cmds_need_lc=no
   9517       hardcode_shlibpath_var=no
   9518       runpath_var='LD_RUN_PATH'
   9519 
   9520       if test "$GCC" = yes; then
   9521 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9522 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9523       else
   9524 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9525 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9526       fi
   9527       ;;
   9528 
   9529     sysv5* | sco3.2v5* | sco5v6*)
   9530       # Note: We can NOT use -z defs as we might desire, because we do not
   9531       # link with -lc, and that would cause any symbols used from libc to
   9532       # always be unresolved, which means just about no library would
   9533       # ever link correctly.  If we're not using GNU ld we use -z text
   9534       # though, which does catch some bad symbols but isn't as heavy-handed
   9535       # as -z defs.
   9536       no_undefined_flag='${wl}-z,text'
   9537       allow_undefined_flag='${wl}-z,nodefs'
   9538       archive_cmds_need_lc=no
   9539       hardcode_shlibpath_var=no
   9540       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9541       hardcode_libdir_separator=':'
   9542       link_all_deplibs=yes
   9543       export_dynamic_flag_spec='${wl}-Bexport'
   9544       runpath_var='LD_RUN_PATH'
   9545 
   9546       if test "$GCC" = yes; then
   9547 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9548 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9549       else
   9550 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9551 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9552       fi
   9553       ;;
   9554 
   9555     uts4*)
   9556       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9557       hardcode_libdir_flag_spec='-L$libdir'
   9558       hardcode_shlibpath_var=no
   9559       ;;
   9560 
   9561     *)
   9562       ld_shlibs=no
   9563       ;;
   9564     esac
   9565 
   9566     if test x$host_vendor = xsni; then
   9567       case $host in
   9568       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9569 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9570 	;;
   9571       esac
   9572     fi
   9573   fi
   9574 
   9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9576 $as_echo "$ld_shlibs" >&6; }
   9577 test "$ld_shlibs" = no && can_build_shared=no
   9578 
   9579 with_gnu_ld=$with_gnu_ld
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 #
   9596 # Do we need to explicitly link libc?
   9597 #
   9598 case "x$archive_cmds_need_lc" in
   9599 x|xyes)
   9600   # Assume -lc should be added
   9601   archive_cmds_need_lc=yes
   9602 
   9603   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9604     case $archive_cmds in
   9605     *'~'*)
   9606       # FIXME: we may have to deal with multi-command sequences.
   9607       ;;
   9608     '$CC '*)
   9609       # Test whether the compiler implicitly links with -lc since on some
   9610       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9611       # to ld, don't add -lc before -lgcc.
   9612       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9613 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9614 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9615   $as_echo_n "(cached) " >&6
   9616 else
   9617   $RM conftest*
   9618 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9619 
   9620 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9621   (eval $ac_compile) 2>&5
   9622   ac_status=$?
   9623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9624   test $ac_status = 0; } 2>conftest.err; then
   9625 	  soname=conftest
   9626 	  lib=conftest
   9627 	  libobjs=conftest.$ac_objext
   9628 	  deplibs=
   9629 	  wl=$lt_prog_compiler_wl
   9630 	  pic_flag=$lt_prog_compiler_pic
   9631 	  compiler_flags=-v
   9632 	  linker_flags=-v
   9633 	  verstring=
   9634 	  output_objdir=.
   9635 	  libname=conftest
   9636 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9637 	  allow_undefined_flag=
   9638 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9639   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9640   ac_status=$?
   9641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9642   test $ac_status = 0; }
   9643 	  then
   9644 	    lt_cv_archive_cmds_need_lc=no
   9645 	  else
   9646 	    lt_cv_archive_cmds_need_lc=yes
   9647 	  fi
   9648 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9649 	else
   9650 	  cat conftest.err 1>&5
   9651 	fi
   9652 	$RM conftest*
   9653 
   9654 fi
   9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9656 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9657       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9658       ;;
   9659     esac
   9660   fi
   9661   ;;
   9662 esac
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9816 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9817 
   9818 if test "$GCC" = yes; then
   9819   case $host_os in
   9820     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9821     *) lt_awk_arg="/^libraries:/" ;;
   9822   esac
   9823   case $host_os in
   9824     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9825     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9826   esac
   9827   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9828   case $lt_search_path_spec in
   9829   *\;*)
   9830     # if the path contains ";" then we assume it to be the separator
   9831     # otherwise default to the standard path separator (i.e. ":") - it is
   9832     # assumed that no part of a normal pathname contains ";" but that should
   9833     # okay in the real world where ";" in dirpaths is itself problematic.
   9834     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9835     ;;
   9836   *)
   9837     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9838     ;;
   9839   esac
   9840   # Ok, now we have the path, separated by spaces, we can step through it
   9841   # and add multilib dir if necessary.
   9842   lt_tmp_lt_search_path_spec=
   9843   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9844   for lt_sys_path in $lt_search_path_spec; do
   9845     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9846       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9847     else
   9848       test -d "$lt_sys_path" && \
   9849 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9850     fi
   9851   done
   9852   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9853 BEGIN {RS=" "; FS="/|\n";} {
   9854   lt_foo="";
   9855   lt_count=0;
   9856   for (lt_i = NF; lt_i > 0; lt_i--) {
   9857     if ($lt_i != "" && $lt_i != ".") {
   9858       if ($lt_i == "..") {
   9859         lt_count++;
   9860       } else {
   9861         if (lt_count == 0) {
   9862           lt_foo="/" $lt_i lt_foo;
   9863         } else {
   9864           lt_count--;
   9865         }
   9866       }
   9867     }
   9868   }
   9869   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9870   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9871 }'`
   9872   # AWK program above erroneously prepends '/' to C:/dos/paths
   9873   # for these hosts.
   9874   case $host_os in
   9875     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9876       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9877   esac
   9878   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9879 else
   9880   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9881 fi
   9882 library_names_spec=
   9883 libname_spec='lib$name'
   9884 soname_spec=
   9885 shrext_cmds=".so"
   9886 postinstall_cmds=
   9887 postuninstall_cmds=
   9888 finish_cmds=
   9889 finish_eval=
   9890 shlibpath_var=
   9891 shlibpath_overrides_runpath=unknown
   9892 version_type=none
   9893 dynamic_linker="$host_os ld.so"
   9894 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9895 need_lib_prefix=unknown
   9896 hardcode_into_libs=no
   9897 
   9898 # when you set need_version to no, make sure it does not cause -set_version
   9899 # flags to be left without arguments
   9900 need_version=unknown
   9901 
   9902 case $host_os in
   9903 aix3*)
   9904   version_type=linux # correct to gnu/linux during the next big refactor
   9905   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9906   shlibpath_var=LIBPATH
   9907 
   9908   # AIX 3 has no versioning support, so we append a major version to the name.
   9909   soname_spec='${libname}${release}${shared_ext}$major'
   9910   ;;
   9911 
   9912 aix[4-9]*)
   9913   version_type=linux # correct to gnu/linux during the next big refactor
   9914   need_lib_prefix=no
   9915   need_version=no
   9916   hardcode_into_libs=yes
   9917   if test "$host_cpu" = ia64; then
   9918     # AIX 5 supports IA64
   9919     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9920     shlibpath_var=LD_LIBRARY_PATH
   9921   else
   9922     # With GCC up to 2.95.x, collect2 would create an import file
   9923     # for dependence libraries.  The import file would start with
   9924     # the line `#! .'.  This would cause the generated library to
   9925     # depend on `.', always an invalid library.  This was fixed in
   9926     # development snapshots of GCC prior to 3.0.
   9927     case $host_os in
   9928       aix4 | aix4.[01] | aix4.[01].*)
   9929       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9930 	   echo ' yes '
   9931 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9932 	:
   9933       else
   9934 	can_build_shared=no
   9935       fi
   9936       ;;
   9937     esac
   9938     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9939     # soname into executable. Probably we can add versioning support to
   9940     # collect2, so additional links can be useful in future.
   9941     if test "$aix_use_runtimelinking" = yes; then
   9942       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9943       # instead of lib<name>.a to let people know that these are not
   9944       # typical AIX shared libraries.
   9945       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9946     else
   9947       # We preserve .a as extension for shared libraries through AIX4.2
   9948       # and later when we are not doing run time linking.
   9949       library_names_spec='${libname}${release}.a $libname.a'
   9950       soname_spec='${libname}${release}${shared_ext}$major'
   9951     fi
   9952     shlibpath_var=LIBPATH
   9953   fi
   9954   ;;
   9955 
   9956 amigaos*)
   9957   case $host_cpu in
   9958   powerpc)
   9959     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9960     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9961     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9962     ;;
   9963   m68k)
   9964     library_names_spec='$libname.ixlibrary $libname.a'
   9965     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9966     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'
   9967     ;;
   9968   esac
   9969   ;;
   9970 
   9971 beos*)
   9972   library_names_spec='${libname}${shared_ext}'
   9973   dynamic_linker="$host_os ld.so"
   9974   shlibpath_var=LIBRARY_PATH
   9975   ;;
   9976 
   9977 bsdi[45]*)
   9978   version_type=linux # correct to gnu/linux during the next big refactor
   9979   need_version=no
   9980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9981   soname_spec='${libname}${release}${shared_ext}$major'
   9982   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9983   shlibpath_var=LD_LIBRARY_PATH
   9984   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9985   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9986   # the default ld.so.conf also contains /usr/contrib/lib and
   9987   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9988   # libtool to hard-code these into programs
   9989   ;;
   9990 
   9991 cygwin* | mingw* | pw32* | cegcc*)
   9992   version_type=windows
   9993   shrext_cmds=".dll"
   9994   need_version=no
   9995   need_lib_prefix=no
   9996 
   9997   case $GCC,$cc_basename in
   9998   yes,*)
   9999     # gcc
   10000     library_names_spec='$libname.dll.a'
   10001     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10002     postinstall_cmds='base_file=`basename \${file}`~
   10003       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10004       dldir=$destdir/`dirname \$dlpath`~
   10005       test -d \$dldir || mkdir -p \$dldir~
   10006       $install_prog $dir/$dlname \$dldir/$dlname~
   10007       chmod a+x \$dldir/$dlname~
   10008       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10009         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10010       fi'
   10011     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10012       dlpath=$dir/\$dldll~
   10013        $RM \$dlpath'
   10014     shlibpath_overrides_runpath=yes
   10015 
   10016     case $host_os in
   10017     cygwin*)
   10018       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10019       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10020 
   10021       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10022       ;;
   10023     mingw* | cegcc*)
   10024       # MinGW DLLs use traditional 'lib' prefix
   10025       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10026       ;;
   10027     pw32*)
   10028       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10029       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10030       ;;
   10031     esac
   10032     dynamic_linker='Win32 ld.exe'
   10033     ;;
   10034 
   10035   *,cl*)
   10036     # Native MSVC
   10037     libname_spec='$name'
   10038     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10039     library_names_spec='${libname}.dll.lib'
   10040 
   10041     case $build_os in
   10042     mingw*)
   10043       sys_lib_search_path_spec=
   10044       lt_save_ifs=$IFS
   10045       IFS=';'
   10046       for lt_path in $LIB
   10047       do
   10048         IFS=$lt_save_ifs
   10049         # Let DOS variable expansion print the short 8.3 style file name.
   10050         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10051         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10052       done
   10053       IFS=$lt_save_ifs
   10054       # Convert to MSYS style.
   10055       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10056       ;;
   10057     cygwin*)
   10058       # Convert to unix form, then to dos form, then back to unix form
   10059       # but this time dos style (no spaces!) so that the unix form looks
   10060       # like /cygdrive/c/PROGRA~1:/cygdr...
   10061       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10062       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10063       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10064       ;;
   10065     *)
   10066       sys_lib_search_path_spec="$LIB"
   10067       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10068         # It is most probably a Windows format PATH.
   10069         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10070       else
   10071         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10072       fi
   10073       # FIXME: find the short name or the path components, as spaces are
   10074       # common. (e.g. "Program Files" -> "PROGRA~1")
   10075       ;;
   10076     esac
   10077 
   10078     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10079     postinstall_cmds='base_file=`basename \${file}`~
   10080       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10081       dldir=$destdir/`dirname \$dlpath`~
   10082       test -d \$dldir || mkdir -p \$dldir~
   10083       $install_prog $dir/$dlname \$dldir/$dlname'
   10084     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10085       dlpath=$dir/\$dldll~
   10086        $RM \$dlpath'
   10087     shlibpath_overrides_runpath=yes
   10088     dynamic_linker='Win32 link.exe'
   10089     ;;
   10090 
   10091   *)
   10092     # Assume MSVC wrapper
   10093     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10094     dynamic_linker='Win32 ld.exe'
   10095     ;;
   10096   esac
   10097   # FIXME: first we should search . and the directory the executable is in
   10098   shlibpath_var=PATH
   10099   ;;
   10100 
   10101 darwin* | rhapsody*)
   10102   dynamic_linker="$host_os dyld"
   10103   version_type=darwin
   10104   need_lib_prefix=no
   10105   need_version=no
   10106   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10107   soname_spec='${libname}${release}${major}$shared_ext'
   10108   shlibpath_overrides_runpath=yes
   10109   shlibpath_var=DYLD_LIBRARY_PATH
   10110   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10111 
   10112   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10113   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10114   ;;
   10115 
   10116 dgux*)
   10117   version_type=linux # correct to gnu/linux during the next big refactor
   10118   need_lib_prefix=no
   10119   need_version=no
   10120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10121   soname_spec='${libname}${release}${shared_ext}$major'
   10122   shlibpath_var=LD_LIBRARY_PATH
   10123   ;;
   10124 
   10125 freebsd* | dragonfly*)
   10126   # DragonFly does not have aout.  When/if they implement a new
   10127   # versioning mechanism, adjust this.
   10128   if test -x /usr/bin/objformat; then
   10129     objformat=`/usr/bin/objformat`
   10130   else
   10131     case $host_os in
   10132     freebsd[23].*) objformat=aout ;;
   10133     *) objformat=elf ;;
   10134     esac
   10135   fi
   10136   version_type=freebsd-$objformat
   10137   case $version_type in
   10138     freebsd-elf*)
   10139       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10140       need_version=no
   10141       need_lib_prefix=no
   10142       ;;
   10143     freebsd-*)
   10144       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10145       need_version=yes
   10146       ;;
   10147   esac
   10148   shlibpath_var=LD_LIBRARY_PATH
   10149   case $host_os in
   10150   freebsd2.*)
   10151     shlibpath_overrides_runpath=yes
   10152     ;;
   10153   freebsd3.[01]* | freebsdelf3.[01]*)
   10154     shlibpath_overrides_runpath=yes
   10155     hardcode_into_libs=yes
   10156     ;;
   10157   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10158   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10159     shlibpath_overrides_runpath=no
   10160     hardcode_into_libs=yes
   10161     ;;
   10162   *) # from 4.6 on, and DragonFly
   10163     shlibpath_overrides_runpath=yes
   10164     hardcode_into_libs=yes
   10165     ;;
   10166   esac
   10167   ;;
   10168 
   10169 gnu*)
   10170   version_type=linux # correct to gnu/linux during the next big refactor
   10171   need_lib_prefix=no
   10172   need_version=no
   10173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10174   soname_spec='${libname}${release}${shared_ext}$major'
   10175   shlibpath_var=LD_LIBRARY_PATH
   10176   shlibpath_overrides_runpath=no
   10177   hardcode_into_libs=yes
   10178   ;;
   10179 
   10180 haiku*)
   10181   version_type=linux # correct to gnu/linux during the next big refactor
   10182   need_lib_prefix=no
   10183   need_version=no
   10184   dynamic_linker="$host_os runtime_loader"
   10185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10186   soname_spec='${libname}${release}${shared_ext}$major'
   10187   shlibpath_var=LIBRARY_PATH
   10188   shlibpath_overrides_runpath=yes
   10189   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10190   hardcode_into_libs=yes
   10191   ;;
   10192 
   10193 hpux9* | hpux10* | hpux11*)
   10194   # Give a soname corresponding to the major version so that dld.sl refuses to
   10195   # link against other versions.
   10196   version_type=sunos
   10197   need_lib_prefix=no
   10198   need_version=no
   10199   case $host_cpu in
   10200   ia64*)
   10201     shrext_cmds='.so'
   10202     hardcode_into_libs=yes
   10203     dynamic_linker="$host_os dld.so"
   10204     shlibpath_var=LD_LIBRARY_PATH
   10205     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10206     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10207     soname_spec='${libname}${release}${shared_ext}$major'
   10208     if test "X$HPUX_IA64_MODE" = X32; then
   10209       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10210     else
   10211       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10212     fi
   10213     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10214     ;;
   10215   hppa*64*)
   10216     shrext_cmds='.sl'
   10217     hardcode_into_libs=yes
   10218     dynamic_linker="$host_os dld.sl"
   10219     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10220     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10221     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10222     soname_spec='${libname}${release}${shared_ext}$major'
   10223     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10224     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10225     ;;
   10226   *)
   10227     shrext_cmds='.sl'
   10228     dynamic_linker="$host_os dld.sl"
   10229     shlibpath_var=SHLIB_PATH
   10230     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10231     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10232     soname_spec='${libname}${release}${shared_ext}$major'
   10233     ;;
   10234   esac
   10235   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10236   postinstall_cmds='chmod 555 $lib'
   10237   # or fails outright, so override atomically:
   10238   install_override_mode=555
   10239   ;;
   10240 
   10241 interix[3-9]*)
   10242   version_type=linux # correct to gnu/linux during the next big refactor
   10243   need_lib_prefix=no
   10244   need_version=no
   10245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10246   soname_spec='${libname}${release}${shared_ext}$major'
   10247   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10248   shlibpath_var=LD_LIBRARY_PATH
   10249   shlibpath_overrides_runpath=no
   10250   hardcode_into_libs=yes
   10251   ;;
   10252 
   10253 irix5* | irix6* | nonstopux*)
   10254   case $host_os in
   10255     nonstopux*) version_type=nonstopux ;;
   10256     *)
   10257 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10258 		version_type=linux # correct to gnu/linux during the next big refactor
   10259 	else
   10260 		version_type=irix
   10261 	fi ;;
   10262   esac
   10263   need_lib_prefix=no
   10264   need_version=no
   10265   soname_spec='${libname}${release}${shared_ext}$major'
   10266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10267   case $host_os in
   10268   irix5* | nonstopux*)
   10269     libsuff= shlibsuff=
   10270     ;;
   10271   *)
   10272     case $LD in # libtool.m4 will add one of these switches to LD
   10273     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10274       libsuff= shlibsuff= libmagic=32-bit;;
   10275     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10276       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10277     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10278       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10279     *) libsuff= shlibsuff= libmagic=never-match;;
   10280     esac
   10281     ;;
   10282   esac
   10283   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10284   shlibpath_overrides_runpath=no
   10285   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10286   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10287   hardcode_into_libs=yes
   10288   ;;
   10289 
   10290 # No shared lib support for Linux oldld, aout, or coff.
   10291 linux*oldld* | linux*aout* | linux*coff*)
   10292   dynamic_linker=no
   10293   ;;
   10294 
   10295 # This must be glibc/ELF.
   10296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10297   version_type=linux # correct to gnu/linux during the next big refactor
   10298   need_lib_prefix=no
   10299   need_version=no
   10300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10301   soname_spec='${libname}${release}${shared_ext}$major'
   10302   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10303   shlibpath_var=LD_LIBRARY_PATH
   10304   shlibpath_overrides_runpath=no
   10305 
   10306   # Some binutils ld are patched to set DT_RUNPATH
   10307   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   lt_cv_shlibpath_overrides_runpath=no
   10311     save_LDFLAGS=$LDFLAGS
   10312     save_libdir=$libdir
   10313     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10314 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10315     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10316 /* end confdefs.h.  */
   10317 
   10318 int
   10319 main ()
   10320 {
   10321 
   10322   ;
   10323   return 0;
   10324 }
   10325 _ACEOF
   10326 if ac_fn_c_try_link "$LINENO"; then :
   10327   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10328   lt_cv_shlibpath_overrides_runpath=yes
   10329 fi
   10330 fi
   10331 rm -f core conftest.err conftest.$ac_objext \
   10332     conftest$ac_exeext conftest.$ac_ext
   10333     LDFLAGS=$save_LDFLAGS
   10334     libdir=$save_libdir
   10335 
   10336 fi
   10337 
   10338   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10339 
   10340   # This implies no fast_install, which is unacceptable.
   10341   # Some rework will be needed to allow for fast_install
   10342   # before this can be enabled.
   10343   hardcode_into_libs=yes
   10344 
   10345   # Append ld.so.conf contents to the search path
   10346   if test -f /etc/ld.so.conf; then
   10347     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' ' '`
   10348     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10349   fi
   10350 
   10351   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10352   # powerpc, because MkLinux only supported shared libraries with the
   10353   # GNU dynamic linker.  Since this was broken with cross compilers,
   10354   # most powerpc-linux boxes support dynamic linking these days and
   10355   # people can always --disable-shared, the test was removed, and we
   10356   # assume the GNU/Linux dynamic linker is in use.
   10357   dynamic_linker='GNU/Linux ld.so'
   10358   ;;
   10359 
   10360 netbsd*)
   10361   version_type=sunos
   10362   need_lib_prefix=no
   10363   need_version=no
   10364   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10365     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10366     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10367     dynamic_linker='NetBSD (a.out) ld.so'
   10368   else
   10369     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10370     soname_spec='${libname}${release}${shared_ext}$major'
   10371     dynamic_linker='NetBSD ld.elf_so'
   10372   fi
   10373   shlibpath_var=LD_LIBRARY_PATH
   10374   shlibpath_overrides_runpath=yes
   10375   hardcode_into_libs=yes
   10376   ;;
   10377 
   10378 newsos6)
   10379   version_type=linux # correct to gnu/linux during the next big refactor
   10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10381   shlibpath_var=LD_LIBRARY_PATH
   10382   shlibpath_overrides_runpath=yes
   10383   ;;
   10384 
   10385 *nto* | *qnx*)
   10386   version_type=qnx
   10387   need_lib_prefix=no
   10388   need_version=no
   10389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10390   soname_spec='${libname}${release}${shared_ext}$major'
   10391   shlibpath_var=LD_LIBRARY_PATH
   10392   shlibpath_overrides_runpath=no
   10393   hardcode_into_libs=yes
   10394   dynamic_linker='ldqnx.so'
   10395   ;;
   10396 
   10397 openbsd*)
   10398   version_type=sunos
   10399   sys_lib_dlsearch_path_spec="/usr/lib"
   10400   need_lib_prefix=no
   10401   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10402   case $host_os in
   10403     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10404     *)				need_version=no  ;;
   10405   esac
   10406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10407   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10408   shlibpath_var=LD_LIBRARY_PATH
   10409   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10410     case $host_os in
   10411       openbsd2.[89] | openbsd2.[89].*)
   10412 	shlibpath_overrides_runpath=no
   10413 	;;
   10414       *)
   10415 	shlibpath_overrides_runpath=yes
   10416 	;;
   10417       esac
   10418   else
   10419     shlibpath_overrides_runpath=yes
   10420   fi
   10421   ;;
   10422 
   10423 os2*)
   10424   libname_spec='$name'
   10425   shrext_cmds=".dll"
   10426   need_lib_prefix=no
   10427   library_names_spec='$libname${shared_ext} $libname.a'
   10428   dynamic_linker='OS/2 ld.exe'
   10429   shlibpath_var=LIBPATH
   10430   ;;
   10431 
   10432 osf3* | osf4* | osf5*)
   10433   version_type=osf
   10434   need_lib_prefix=no
   10435   need_version=no
   10436   soname_spec='${libname}${release}${shared_ext}$major'
   10437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10438   shlibpath_var=LD_LIBRARY_PATH
   10439   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10440   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10441   ;;
   10442 
   10443 rdos*)
   10444   dynamic_linker=no
   10445   ;;
   10446 
   10447 solaris*)
   10448   version_type=linux # correct to gnu/linux during the next big refactor
   10449   need_lib_prefix=no
   10450   need_version=no
   10451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10452   soname_spec='${libname}${release}${shared_ext}$major'
   10453   shlibpath_var=LD_LIBRARY_PATH
   10454   shlibpath_overrides_runpath=yes
   10455   hardcode_into_libs=yes
   10456   # ldd complains unless libraries are executable
   10457   postinstall_cmds='chmod +x $lib'
   10458   ;;
   10459 
   10460 sunos4*)
   10461   version_type=sunos
   10462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10463   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10464   shlibpath_var=LD_LIBRARY_PATH
   10465   shlibpath_overrides_runpath=yes
   10466   if test "$with_gnu_ld" = yes; then
   10467     need_lib_prefix=no
   10468   fi
   10469   need_version=yes
   10470   ;;
   10471 
   10472 sysv4 | sysv4.3*)
   10473   version_type=linux # correct to gnu/linux during the next big refactor
   10474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10475   soname_spec='${libname}${release}${shared_ext}$major'
   10476   shlibpath_var=LD_LIBRARY_PATH
   10477   case $host_vendor in
   10478     sni)
   10479       shlibpath_overrides_runpath=no
   10480       need_lib_prefix=no
   10481       runpath_var=LD_RUN_PATH
   10482       ;;
   10483     siemens)
   10484       need_lib_prefix=no
   10485       ;;
   10486     motorola)
   10487       need_lib_prefix=no
   10488       need_version=no
   10489       shlibpath_overrides_runpath=no
   10490       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10491       ;;
   10492   esac
   10493   ;;
   10494 
   10495 sysv4*MP*)
   10496   if test -d /usr/nec ;then
   10497     version_type=linux # correct to gnu/linux during the next big refactor
   10498     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10499     soname_spec='$libname${shared_ext}.$major'
   10500     shlibpath_var=LD_LIBRARY_PATH
   10501   fi
   10502   ;;
   10503 
   10504 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10505   version_type=freebsd-elf
   10506   need_lib_prefix=no
   10507   need_version=no
   10508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10509   soname_spec='${libname}${release}${shared_ext}$major'
   10510   shlibpath_var=LD_LIBRARY_PATH
   10511   shlibpath_overrides_runpath=yes
   10512   hardcode_into_libs=yes
   10513   if test "$with_gnu_ld" = yes; then
   10514     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10515   else
   10516     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10517     case $host_os in
   10518       sco3.2v5*)
   10519         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10520 	;;
   10521     esac
   10522   fi
   10523   sys_lib_dlsearch_path_spec='/usr/lib'
   10524   ;;
   10525 
   10526 tpf*)
   10527   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10528   version_type=linux # correct to gnu/linux during the next big refactor
   10529   need_lib_prefix=no
   10530   need_version=no
   10531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10532   shlibpath_var=LD_LIBRARY_PATH
   10533   shlibpath_overrides_runpath=no
   10534   hardcode_into_libs=yes
   10535   ;;
   10536 
   10537 uts4*)
   10538   version_type=linux # correct to gnu/linux during the next big refactor
   10539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10540   soname_spec='${libname}${release}${shared_ext}$major'
   10541   shlibpath_var=LD_LIBRARY_PATH
   10542   ;;
   10543 
   10544 *)
   10545   dynamic_linker=no
   10546   ;;
   10547 esac
   10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10549 $as_echo "$dynamic_linker" >&6; }
   10550 test "$dynamic_linker" = no && can_build_shared=no
   10551 
   10552 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10553 if test "$GCC" = yes; then
   10554   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10555 fi
   10556 
   10557 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10558   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10559 fi
   10560 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10561   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10562 fi
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10656 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10657 hardcode_action=
   10658 if test -n "$hardcode_libdir_flag_spec" ||
   10659    test -n "$runpath_var" ||
   10660    test "X$hardcode_automatic" = "Xyes" ; then
   10661 
   10662   # We can hardcode non-existent directories.
   10663   if test "$hardcode_direct" != no &&
   10664      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10665      # have to relink, otherwise we might link with an installed library
   10666      # when we should be linking with a yet-to-be-installed one
   10667      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10668      test "$hardcode_minus_L" != no; then
   10669     # Linking always hardcodes the temporary library directory.
   10670     hardcode_action=relink
   10671   else
   10672     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10673     hardcode_action=immediate
   10674   fi
   10675 else
   10676   # We cannot hardcode anything, or else we can only hardcode existing
   10677   # directories.
   10678   hardcode_action=unsupported
   10679 fi
   10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10681 $as_echo "$hardcode_action" >&6; }
   10682 
   10683 if test "$hardcode_action" = relink ||
   10684    test "$inherit_rpath" = yes; then
   10685   # Fast installation is not supported
   10686   enable_fast_install=no
   10687 elif test "$shlibpath_overrides_runpath" = yes ||
   10688      test "$enable_shared" = no; then
   10689   # Fast installation is not necessary
   10690   enable_fast_install=needless
   10691 fi
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698   if test "x$enable_dlopen" != xyes; then
   10699   enable_dlopen=unknown
   10700   enable_dlopen_self=unknown
   10701   enable_dlopen_self_static=unknown
   10702 else
   10703   lt_cv_dlopen=no
   10704   lt_cv_dlopen_libs=
   10705 
   10706   case $host_os in
   10707   beos*)
   10708     lt_cv_dlopen="load_add_on"
   10709     lt_cv_dlopen_libs=
   10710     lt_cv_dlopen_self=yes
   10711     ;;
   10712 
   10713   mingw* | pw32* | cegcc*)
   10714     lt_cv_dlopen="LoadLibrary"
   10715     lt_cv_dlopen_libs=
   10716     ;;
   10717 
   10718   cygwin*)
   10719     lt_cv_dlopen="dlopen"
   10720     lt_cv_dlopen_libs=
   10721     ;;
   10722 
   10723   darwin*)
   10724   # if libdl is installed we need to link against it
   10725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10726 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10727 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10728   $as_echo_n "(cached) " >&6
   10729 else
   10730   ac_check_lib_save_LIBS=$LIBS
   10731 LIBS="-ldl  $LIBS"
   10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10733 /* end confdefs.h.  */
   10734 
   10735 /* Override any GCC internal prototype to avoid an error.
   10736    Use char because int might match the return type of a GCC
   10737    builtin and then its argument prototype would still apply.  */
   10738 #ifdef __cplusplus
   10739 extern "C"
   10740 #endif
   10741 char dlopen ();
   10742 int
   10743 main ()
   10744 {
   10745 return dlopen ();
   10746   ;
   10747   return 0;
   10748 }
   10749 _ACEOF
   10750 if ac_fn_c_try_link "$LINENO"; then :
   10751   ac_cv_lib_dl_dlopen=yes
   10752 else
   10753   ac_cv_lib_dl_dlopen=no
   10754 fi
   10755 rm -f core conftest.err conftest.$ac_objext \
   10756     conftest$ac_exeext conftest.$ac_ext
   10757 LIBS=$ac_check_lib_save_LIBS
   10758 fi
   10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10760 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10761 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10762   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10763 else
   10764 
   10765     lt_cv_dlopen="dyld"
   10766     lt_cv_dlopen_libs=
   10767     lt_cv_dlopen_self=yes
   10768 
   10769 fi
   10770 
   10771     ;;
   10772 
   10773   *)
   10774     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10775 if test "x$ac_cv_func_shl_load" = xyes; then :
   10776   lt_cv_dlopen="shl_load"
   10777 else
   10778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10779 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10780 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10781   $as_echo_n "(cached) " >&6
   10782 else
   10783   ac_check_lib_save_LIBS=$LIBS
   10784 LIBS="-ldld  $LIBS"
   10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10786 /* end confdefs.h.  */
   10787 
   10788 /* Override any GCC internal prototype to avoid an error.
   10789    Use char because int might match the return type of a GCC
   10790    builtin and then its argument prototype would still apply.  */
   10791 #ifdef __cplusplus
   10792 extern "C"
   10793 #endif
   10794 char shl_load ();
   10795 int
   10796 main ()
   10797 {
   10798 return shl_load ();
   10799   ;
   10800   return 0;
   10801 }
   10802 _ACEOF
   10803 if ac_fn_c_try_link "$LINENO"; then :
   10804   ac_cv_lib_dld_shl_load=yes
   10805 else
   10806   ac_cv_lib_dld_shl_load=no
   10807 fi
   10808 rm -f core conftest.err conftest.$ac_objext \
   10809     conftest$ac_exeext conftest.$ac_ext
   10810 LIBS=$ac_check_lib_save_LIBS
   10811 fi
   10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10813 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10814 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10815   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10816 else
   10817   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10818 if test "x$ac_cv_func_dlopen" = xyes; then :
   10819   lt_cv_dlopen="dlopen"
   10820 else
   10821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10822 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10823 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10824   $as_echo_n "(cached) " >&6
   10825 else
   10826   ac_check_lib_save_LIBS=$LIBS
   10827 LIBS="-ldl  $LIBS"
   10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10829 /* end confdefs.h.  */
   10830 
   10831 /* Override any GCC internal prototype to avoid an error.
   10832    Use char because int might match the return type of a GCC
   10833    builtin and then its argument prototype would still apply.  */
   10834 #ifdef __cplusplus
   10835 extern "C"
   10836 #endif
   10837 char dlopen ();
   10838 int
   10839 main ()
   10840 {
   10841 return dlopen ();
   10842   ;
   10843   return 0;
   10844 }
   10845 _ACEOF
   10846 if ac_fn_c_try_link "$LINENO"; then :
   10847   ac_cv_lib_dl_dlopen=yes
   10848 else
   10849   ac_cv_lib_dl_dlopen=no
   10850 fi
   10851 rm -f core conftest.err conftest.$ac_objext \
   10852     conftest$ac_exeext conftest.$ac_ext
   10853 LIBS=$ac_check_lib_save_LIBS
   10854 fi
   10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10856 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10857 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10858   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10859 else
   10860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10861 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10862 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10863   $as_echo_n "(cached) " >&6
   10864 else
   10865   ac_check_lib_save_LIBS=$LIBS
   10866 LIBS="-lsvld  $LIBS"
   10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10868 /* end confdefs.h.  */
   10869 
   10870 /* Override any GCC internal prototype to avoid an error.
   10871    Use char because int might match the return type of a GCC
   10872    builtin and then its argument prototype would still apply.  */
   10873 #ifdef __cplusplus
   10874 extern "C"
   10875 #endif
   10876 char dlopen ();
   10877 int
   10878 main ()
   10879 {
   10880 return dlopen ();
   10881   ;
   10882   return 0;
   10883 }
   10884 _ACEOF
   10885 if ac_fn_c_try_link "$LINENO"; then :
   10886   ac_cv_lib_svld_dlopen=yes
   10887 else
   10888   ac_cv_lib_svld_dlopen=no
   10889 fi
   10890 rm -f core conftest.err conftest.$ac_objext \
   10891     conftest$ac_exeext conftest.$ac_ext
   10892 LIBS=$ac_check_lib_save_LIBS
   10893 fi
   10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10895 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10896 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10897   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10898 else
   10899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10900 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10901 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10902   $as_echo_n "(cached) " >&6
   10903 else
   10904   ac_check_lib_save_LIBS=$LIBS
   10905 LIBS="-ldld  $LIBS"
   10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10907 /* end confdefs.h.  */
   10908 
   10909 /* Override any GCC internal prototype to avoid an error.
   10910    Use char because int might match the return type of a GCC
   10911    builtin and then its argument prototype would still apply.  */
   10912 #ifdef __cplusplus
   10913 extern "C"
   10914 #endif
   10915 char dld_link ();
   10916 int
   10917 main ()
   10918 {
   10919 return dld_link ();
   10920   ;
   10921   return 0;
   10922 }
   10923 _ACEOF
   10924 if ac_fn_c_try_link "$LINENO"; then :
   10925   ac_cv_lib_dld_dld_link=yes
   10926 else
   10927   ac_cv_lib_dld_dld_link=no
   10928 fi
   10929 rm -f core conftest.err conftest.$ac_objext \
   10930     conftest$ac_exeext conftest.$ac_ext
   10931 LIBS=$ac_check_lib_save_LIBS
   10932 fi
   10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10934 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10935 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10936   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10937 fi
   10938 
   10939 
   10940 fi
   10941 
   10942 
   10943 fi
   10944 
   10945 
   10946 fi
   10947 
   10948 
   10949 fi
   10950 
   10951 
   10952 fi
   10953 
   10954     ;;
   10955   esac
   10956 
   10957   if test "x$lt_cv_dlopen" != xno; then
   10958     enable_dlopen=yes
   10959   else
   10960     enable_dlopen=no
   10961   fi
   10962 
   10963   case $lt_cv_dlopen in
   10964   dlopen)
   10965     save_CPPFLAGS="$CPPFLAGS"
   10966     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10967 
   10968     save_LDFLAGS="$LDFLAGS"
   10969     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10970 
   10971     save_LIBS="$LIBS"
   10972     LIBS="$lt_cv_dlopen_libs $LIBS"
   10973 
   10974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10975 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10976 if ${lt_cv_dlopen_self+:} false; then :
   10977   $as_echo_n "(cached) " >&6
   10978 else
   10979   	  if test "$cross_compiling" = yes; then :
   10980   lt_cv_dlopen_self=cross
   10981 else
   10982   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10983   lt_status=$lt_dlunknown
   10984   cat > conftest.$ac_ext <<_LT_EOF
   10985 #line $LINENO "configure"
   10986 #include "confdefs.h"
   10987 
   10988 #if HAVE_DLFCN_H
   10989 #include <dlfcn.h>
   10990 #endif
   10991 
   10992 #include <stdio.h>
   10993 
   10994 #ifdef RTLD_GLOBAL
   10995 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10996 #else
   10997 #  ifdef DL_GLOBAL
   10998 #    define LT_DLGLOBAL		DL_GLOBAL
   10999 #  else
   11000 #    define LT_DLGLOBAL		0
   11001 #  endif
   11002 #endif
   11003 
   11004 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11005    find out it does not work in some platform. */
   11006 #ifndef LT_DLLAZY_OR_NOW
   11007 #  ifdef RTLD_LAZY
   11008 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11009 #  else
   11010 #    ifdef DL_LAZY
   11011 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11012 #    else
   11013 #      ifdef RTLD_NOW
   11014 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11015 #      else
   11016 #        ifdef DL_NOW
   11017 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11018 #        else
   11019 #          define LT_DLLAZY_OR_NOW	0
   11020 #        endif
   11021 #      endif
   11022 #    endif
   11023 #  endif
   11024 #endif
   11025 
   11026 /* When -fvisbility=hidden is used, assume the code has been annotated
   11027    correspondingly for the symbols needed.  */
   11028 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11029 int fnord () __attribute__((visibility("default")));
   11030 #endif
   11031 
   11032 int fnord () { return 42; }
   11033 int main ()
   11034 {
   11035   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11036   int status = $lt_dlunknown;
   11037 
   11038   if (self)
   11039     {
   11040       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11041       else
   11042         {
   11043 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11044           else puts (dlerror ());
   11045 	}
   11046       /* dlclose (self); */
   11047     }
   11048   else
   11049     puts (dlerror ());
   11050 
   11051   return status;
   11052 }
   11053 _LT_EOF
   11054   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11055   (eval $ac_link) 2>&5
   11056   ac_status=$?
   11057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11058   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11059     (./conftest; exit; ) >&5 2>/dev/null
   11060     lt_status=$?
   11061     case x$lt_status in
   11062       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11063       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11064       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11065     esac
   11066   else :
   11067     # compilation failed
   11068     lt_cv_dlopen_self=no
   11069   fi
   11070 fi
   11071 rm -fr conftest*
   11072 
   11073 
   11074 fi
   11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11076 $as_echo "$lt_cv_dlopen_self" >&6; }
   11077 
   11078     if test "x$lt_cv_dlopen_self" = xyes; then
   11079       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11080       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11081 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11082 if ${lt_cv_dlopen_self_static+:} false; then :
   11083   $as_echo_n "(cached) " >&6
   11084 else
   11085   	  if test "$cross_compiling" = yes; then :
   11086   lt_cv_dlopen_self_static=cross
   11087 else
   11088   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11089   lt_status=$lt_dlunknown
   11090   cat > conftest.$ac_ext <<_LT_EOF
   11091 #line $LINENO "configure"
   11092 #include "confdefs.h"
   11093 
   11094 #if HAVE_DLFCN_H
   11095 #include <dlfcn.h>
   11096 #endif
   11097 
   11098 #include <stdio.h>
   11099 
   11100 #ifdef RTLD_GLOBAL
   11101 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11102 #else
   11103 #  ifdef DL_GLOBAL
   11104 #    define LT_DLGLOBAL		DL_GLOBAL
   11105 #  else
   11106 #    define LT_DLGLOBAL		0
   11107 #  endif
   11108 #endif
   11109 
   11110 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11111    find out it does not work in some platform. */
   11112 #ifndef LT_DLLAZY_OR_NOW
   11113 #  ifdef RTLD_LAZY
   11114 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11115 #  else
   11116 #    ifdef DL_LAZY
   11117 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11118 #    else
   11119 #      ifdef RTLD_NOW
   11120 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11121 #      else
   11122 #        ifdef DL_NOW
   11123 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11124 #        else
   11125 #          define LT_DLLAZY_OR_NOW	0
   11126 #        endif
   11127 #      endif
   11128 #    endif
   11129 #  endif
   11130 #endif
   11131 
   11132 /* When -fvisbility=hidden is used, assume the code has been annotated
   11133    correspondingly for the symbols needed.  */
   11134 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11135 int fnord () __attribute__((visibility("default")));
   11136 #endif
   11137 
   11138 int fnord () { return 42; }
   11139 int main ()
   11140 {
   11141   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11142   int status = $lt_dlunknown;
   11143 
   11144   if (self)
   11145     {
   11146       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11147       else
   11148         {
   11149 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11150           else puts (dlerror ());
   11151 	}
   11152       /* dlclose (self); */
   11153     }
   11154   else
   11155     puts (dlerror ());
   11156 
   11157   return status;
   11158 }
   11159 _LT_EOF
   11160   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11161   (eval $ac_link) 2>&5
   11162   ac_status=$?
   11163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11164   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11165     (./conftest; exit; ) >&5 2>/dev/null
   11166     lt_status=$?
   11167     case x$lt_status in
   11168       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11169       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11170       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11171     esac
   11172   else :
   11173     # compilation failed
   11174     lt_cv_dlopen_self_static=no
   11175   fi
   11176 fi
   11177 rm -fr conftest*
   11178 
   11179 
   11180 fi
   11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11182 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11183     fi
   11184 
   11185     CPPFLAGS="$save_CPPFLAGS"
   11186     LDFLAGS="$save_LDFLAGS"
   11187     LIBS="$save_LIBS"
   11188     ;;
   11189   esac
   11190 
   11191   case $lt_cv_dlopen_self in
   11192   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11193   *) enable_dlopen_self=unknown ;;
   11194   esac
   11195 
   11196   case $lt_cv_dlopen_self_static in
   11197   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11198   *) enable_dlopen_self_static=unknown ;;
   11199   esac
   11200 fi
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 striplib=
   11219 old_striplib=
   11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11221 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11222 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11223   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11224   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11226 $as_echo "yes" >&6; }
   11227 else
   11228 # FIXME - insert some real tests, host_os isn't really good enough
   11229   case $host_os in
   11230   darwin*)
   11231     if test -n "$STRIP" ; then
   11232       striplib="$STRIP -x"
   11233       old_striplib="$STRIP -S"
   11234       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11235 $as_echo "yes" >&6; }
   11236     else
   11237       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11238 $as_echo "no" >&6; }
   11239     fi
   11240     ;;
   11241   *)
   11242     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11243 $as_echo "no" >&6; }
   11244     ;;
   11245   esac
   11246 fi
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259   # Report which library types will actually be built
   11260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11261 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11263 $as_echo "$can_build_shared" >&6; }
   11264 
   11265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11266 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11267   test "$can_build_shared" = "no" && enable_shared=no
   11268 
   11269   # On AIX, shared libraries and static libraries use the same namespace, and
   11270   # are all built from PIC.
   11271   case $host_os in
   11272   aix3*)
   11273     test "$enable_shared" = yes && enable_static=no
   11274     if test -n "$RANLIB"; then
   11275       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11276       postinstall_cmds='$RANLIB $lib'
   11277     fi
   11278     ;;
   11279 
   11280   aix[4-9]*)
   11281     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11282       test "$enable_shared" = yes && enable_static=no
   11283     fi
   11284     ;;
   11285   esac
   11286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11287 $as_echo "$enable_shared" >&6; }
   11288 
   11289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11290 $as_echo_n "checking whether to build static libraries... " >&6; }
   11291   # Make sure either enable_shared or enable_static is yes.
   11292   test "$enable_shared" = yes || enable_static=yes
   11293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11294 $as_echo "$enable_static" >&6; }
   11295 
   11296 
   11297 
   11298 
   11299 fi
   11300 ac_ext=c
   11301 ac_cpp='$CPP $CPPFLAGS'
   11302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11305 
   11306 CC="$lt_save_CC"
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322         ac_config_commands="$ac_config_commands libtool"
   11323 
   11324 
   11325 
   11326 
   11327 # Only expand once:
   11328 
   11329 
   11330 
   11331 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11344 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11345 if ${ac_cv_prog_cc_c99+:} false; then :
   11346   $as_echo_n "(cached) " >&6
   11347 else
   11348   ac_cv_prog_cc_c99=no
   11349 ac_save_CC=$CC
   11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11351 /* end confdefs.h.  */
   11352 #include <stdarg.h>
   11353 #include <stdbool.h>
   11354 #include <stdlib.h>
   11355 #include <wchar.h>
   11356 #include <stdio.h>
   11357 
   11358 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11359 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11360 #define showlist(...) puts (#__VA_ARGS__)
   11361 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11362 static void
   11363 test_varargs_macros (void)
   11364 {
   11365   int x = 1234;
   11366   int y = 5678;
   11367   debug ("Flag");
   11368   debug ("X = %d\n", x);
   11369   showlist (The first, second, and third items.);
   11370   report (x>y, "x is %d but y is %d", x, y);
   11371 }
   11372 
   11373 // Check long long types.
   11374 #define BIG64 18446744073709551615ull
   11375 #define BIG32 4294967295ul
   11376 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11377 #if !BIG_OK
   11378   your preprocessor is broken;
   11379 #endif
   11380 #if BIG_OK
   11381 #else
   11382   your preprocessor is broken;
   11383 #endif
   11384 static long long int bignum = -9223372036854775807LL;
   11385 static unsigned long long int ubignum = BIG64;
   11386 
   11387 struct incomplete_array
   11388 {
   11389   int datasize;
   11390   double data[];
   11391 };
   11392 
   11393 struct named_init {
   11394   int number;
   11395   const wchar_t *name;
   11396   double average;
   11397 };
   11398 
   11399 typedef const char *ccp;
   11400 
   11401 static inline int
   11402 test_restrict (ccp restrict text)
   11403 {
   11404   // See if C++-style comments work.
   11405   // Iterate through items via the restricted pointer.
   11406   // Also check for declarations in for loops.
   11407   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11408     continue;
   11409   return 0;
   11410 }
   11411 
   11412 // Check varargs and va_copy.
   11413 static void
   11414 test_varargs (const char *format, ...)
   11415 {
   11416   va_list args;
   11417   va_start (args, format);
   11418   va_list args_copy;
   11419   va_copy (args_copy, args);
   11420 
   11421   const char *str;
   11422   int number;
   11423   float fnumber;
   11424 
   11425   while (*format)
   11426     {
   11427       switch (*format++)
   11428 	{
   11429 	case 's': // string
   11430 	  str = va_arg (args_copy, const char *);
   11431 	  break;
   11432 	case 'd': // int
   11433 	  number = va_arg (args_copy, int);
   11434 	  break;
   11435 	case 'f': // float
   11436 	  fnumber = va_arg (args_copy, double);
   11437 	  break;
   11438 	default:
   11439 	  break;
   11440 	}
   11441     }
   11442   va_end (args_copy);
   11443   va_end (args);
   11444 }
   11445 
   11446 int
   11447 main ()
   11448 {
   11449 
   11450   // Check bool.
   11451   _Bool success = false;
   11452 
   11453   // Check restrict.
   11454   if (test_restrict ("String literal") == 0)
   11455     success = true;
   11456   char *restrict newvar = "Another string";
   11457 
   11458   // Check varargs.
   11459   test_varargs ("s, d' f .", "string", 65, 34.234);
   11460   test_varargs_macros ();
   11461 
   11462   // Check flexible array members.
   11463   struct incomplete_array *ia =
   11464     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11465   ia->datasize = 10;
   11466   for (int i = 0; i < ia->datasize; ++i)
   11467     ia->data[i] = i * 1.234;
   11468 
   11469   // Check named initializers.
   11470   struct named_init ni = {
   11471     .number = 34,
   11472     .name = L"Test wide string",
   11473     .average = 543.34343,
   11474   };
   11475 
   11476   ni.number = 58;
   11477 
   11478   int dynamic_array[ni.number];
   11479   dynamic_array[ni.number - 1] = 543;
   11480 
   11481   // work around unused variable warnings
   11482   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11483 	  || dynamic_array[ni.number - 1] != 543);
   11484 
   11485   ;
   11486   return 0;
   11487 }
   11488 _ACEOF
   11489 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11490 do
   11491   CC="$ac_save_CC $ac_arg"
   11492   if ac_fn_c_try_compile "$LINENO"; then :
   11493   ac_cv_prog_cc_c99=$ac_arg
   11494 fi
   11495 rm -f core conftest.err conftest.$ac_objext
   11496   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11497 done
   11498 rm -f conftest.$ac_ext
   11499 CC=$ac_save_CC
   11500 
   11501 fi
   11502 # AC_CACHE_VAL
   11503 case "x$ac_cv_prog_cc_c99" in
   11504   x)
   11505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11506 $as_echo "none needed" >&6; } ;;
   11507   xno)
   11508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11509 $as_echo "unsupported" >&6; } ;;
   11510   *)
   11511     CC="$CC $ac_cv_prog_cc_c99"
   11512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11513 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11514 esac
   11515 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11516 
   11517 fi
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11525 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11526   CLANGCC="yes"
   11527 else
   11528   CLANGCC="no"
   11529 fi
   11530 
   11531 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11532 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11533   INTELCC="yes"
   11534 else
   11535   INTELCC="no"
   11536 fi
   11537 
   11538 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11539 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11540   SUNCC="yes"
   11541 else
   11542   SUNCC="no"
   11543 fi
   11544 
   11545 
   11546 
   11547 
   11548 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11549 	if test -n "$ac_tool_prefix"; then
   11550   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11551 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11553 $as_echo_n "checking for $ac_word... " >&6; }
   11554 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11555   $as_echo_n "(cached) " >&6
   11556 else
   11557   case $PKG_CONFIG in
   11558   [\\/]* | ?:[\\/]*)
   11559   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11560   ;;
   11561   *)
   11562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11563 for as_dir in $PATH
   11564 do
   11565   IFS=$as_save_IFS
   11566   test -z "$as_dir" && as_dir=.
   11567     for ac_exec_ext in '' $ac_executable_extensions; do
   11568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11569     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11571     break 2
   11572   fi
   11573 done
   11574   done
   11575 IFS=$as_save_IFS
   11576 
   11577   ;;
   11578 esac
   11579 fi
   11580 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11581 if test -n "$PKG_CONFIG"; then
   11582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11583 $as_echo "$PKG_CONFIG" >&6; }
   11584 else
   11585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11586 $as_echo "no" >&6; }
   11587 fi
   11588 
   11589 
   11590 fi
   11591 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11592   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11593   # Extract the first word of "pkg-config", so it can be a program name with args.
   11594 set dummy pkg-config; ac_word=$2
   11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11596 $as_echo_n "checking for $ac_word... " >&6; }
   11597 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11598   $as_echo_n "(cached) " >&6
   11599 else
   11600   case $ac_pt_PKG_CONFIG in
   11601   [\\/]* | ?:[\\/]*)
   11602   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11603   ;;
   11604   *)
   11605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11606 for as_dir in $PATH
   11607 do
   11608   IFS=$as_save_IFS
   11609   test -z "$as_dir" && as_dir=.
   11610     for ac_exec_ext in '' $ac_executable_extensions; do
   11611   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11612     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11614     break 2
   11615   fi
   11616 done
   11617   done
   11618 IFS=$as_save_IFS
   11619 
   11620   ;;
   11621 esac
   11622 fi
   11623 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11624 if test -n "$ac_pt_PKG_CONFIG"; then
   11625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11626 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11627 else
   11628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11629 $as_echo "no" >&6; }
   11630 fi
   11631 
   11632   if test "x$ac_pt_PKG_CONFIG" = x; then
   11633     PKG_CONFIG=""
   11634   else
   11635     case $cross_compiling:$ac_tool_warned in
   11636 yes:)
   11637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11639 ac_tool_warned=yes ;;
   11640 esac
   11641     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11642   fi
   11643 else
   11644   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11645 fi
   11646 
   11647 fi
   11648 if test -n "$PKG_CONFIG"; then
   11649 	_pkg_min_version=0.9.0
   11650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11651 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11652 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11654 $as_echo "yes" >&6; }
   11655 	else
   11656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11657 $as_echo "no" >&6; }
   11658 		PKG_CONFIG=""
   11659 	fi
   11660 
   11661 fi
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 # Check whether --enable-selective-werror was given.
   11668 if test "${enable_selective_werror+set}" = set; then :
   11669   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11670 else
   11671   SELECTIVE_WERROR=yes
   11672 fi
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11679 if test "x$SUNCC" = "xyes"; then
   11680     BASE_CFLAGS="-v"
   11681 else
   11682     BASE_CFLAGS=""
   11683 fi
   11684 
   11685 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 xorg_testset_save_CFLAGS="$CFLAGS"
   11700 
   11701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11706   $as_echo_n "(cached) " >&6
   11707 else
   11708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11709 /* end confdefs.h.  */
   11710 int i;
   11711 _ACEOF
   11712 if ac_fn_c_try_compile "$LINENO"; then :
   11713   xorg_cv_cc_flag_unknown_warning_option=yes
   11714 else
   11715   xorg_cv_cc_flag_unknown_warning_option=no
   11716 fi
   11717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11718 fi
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11722 	CFLAGS="$xorg_testset_save_CFLAGS"
   11723 fi
   11724 
   11725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11728 	fi
   11729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11736 /* end confdefs.h.  */
   11737 int i;
   11738 _ACEOF
   11739 if ac_fn_c_try_compile "$LINENO"; then :
   11740   xorg_cv_cc_flag_unused_command_line_argument=yes
   11741 else
   11742   xorg_cv_cc_flag_unused_command_line_argument=no
   11743 fi
   11744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11745 fi
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11749 	CFLAGS="$xorg_testset_save_CFLAGS"
   11750 fi
   11751 
   11752 found="no"
   11753 
   11754 	if test $found = "no" ; then
   11755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11757 		fi
   11758 
   11759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11761 		fi
   11762 
   11763 		CFLAGS="$CFLAGS -Wall"
   11764 
   11765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11766 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11767 		cacheid=xorg_cv_cc_flag__Wall
   11768 		if eval \${$cacheid+:} false; then :
   11769   $as_echo_n "(cached) " >&6
   11770 else
   11771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11772 /* end confdefs.h.  */
   11773 int i;
   11774 int
   11775 main ()
   11776 {
   11777 
   11778   ;
   11779   return 0;
   11780 }
   11781 _ACEOF
   11782 if ac_fn_c_try_link "$LINENO"; then :
   11783   eval $cacheid=yes
   11784 else
   11785   eval $cacheid=no
   11786 fi
   11787 rm -f core conftest.err conftest.$ac_objext \
   11788     conftest$ac_exeext conftest.$ac_ext
   11789 fi
   11790 
   11791 
   11792 		CFLAGS="$xorg_testset_save_CFLAGS"
   11793 
   11794 		eval supported=\$$cacheid
   11795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11796 $as_echo "$supported" >&6; }
   11797 		if test "$supported" = "yes" ; then
   11798 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11799 			found="yes"
   11800 		fi
   11801 	fi
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 xorg_testset_save_CFLAGS="$CFLAGS"
   11818 
   11819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11822 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11823 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11824   $as_echo_n "(cached) " >&6
   11825 else
   11826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11827 /* end confdefs.h.  */
   11828 int i;
   11829 _ACEOF
   11830 if ac_fn_c_try_compile "$LINENO"; then :
   11831   xorg_cv_cc_flag_unknown_warning_option=yes
   11832 else
   11833   xorg_cv_cc_flag_unknown_warning_option=no
   11834 fi
   11835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11836 fi
   11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11838 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11840 	CFLAGS="$xorg_testset_save_CFLAGS"
   11841 fi
   11842 
   11843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11846 	fi
   11847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11849 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11850 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11851   $as_echo_n "(cached) " >&6
   11852 else
   11853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11854 /* end confdefs.h.  */
   11855 int i;
   11856 _ACEOF
   11857 if ac_fn_c_try_compile "$LINENO"; then :
   11858   xorg_cv_cc_flag_unused_command_line_argument=yes
   11859 else
   11860   xorg_cv_cc_flag_unused_command_line_argument=no
   11861 fi
   11862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11863 fi
   11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11865 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11867 	CFLAGS="$xorg_testset_save_CFLAGS"
   11868 fi
   11869 
   11870 found="no"
   11871 
   11872 	if test $found = "no" ; then
   11873 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11875 		fi
   11876 
   11877 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11879 		fi
   11880 
   11881 		CFLAGS="$CFLAGS -Wpointer-arith"
   11882 
   11883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11884 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11885 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11886 		if eval \${$cacheid+:} false; then :
   11887   $as_echo_n "(cached) " >&6
   11888 else
   11889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11890 /* end confdefs.h.  */
   11891 int i;
   11892 int
   11893 main ()
   11894 {
   11895 
   11896   ;
   11897   return 0;
   11898 }
   11899 _ACEOF
   11900 if ac_fn_c_try_link "$LINENO"; then :
   11901   eval $cacheid=yes
   11902 else
   11903   eval $cacheid=no
   11904 fi
   11905 rm -f core conftest.err conftest.$ac_objext \
   11906     conftest$ac_exeext conftest.$ac_ext
   11907 fi
   11908 
   11909 
   11910 		CFLAGS="$xorg_testset_save_CFLAGS"
   11911 
   11912 		eval supported=\$$cacheid
   11913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11914 $as_echo "$supported" >&6; }
   11915 		if test "$supported" = "yes" ; then
   11916 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11917 			found="yes"
   11918 		fi
   11919 	fi
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 xorg_testset_save_CFLAGS="$CFLAGS"
   11936 
   11937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11942   $as_echo_n "(cached) " >&6
   11943 else
   11944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11945 /* end confdefs.h.  */
   11946 int i;
   11947 _ACEOF
   11948 if ac_fn_c_try_compile "$LINENO"; then :
   11949   xorg_cv_cc_flag_unknown_warning_option=yes
   11950 else
   11951   xorg_cv_cc_flag_unknown_warning_option=no
   11952 fi
   11953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11954 fi
   11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11958 	CFLAGS="$xorg_testset_save_CFLAGS"
   11959 fi
   11960 
   11961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11964 	fi
   11965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11969   $as_echo_n "(cached) " >&6
   11970 else
   11971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11972 /* end confdefs.h.  */
   11973 int i;
   11974 _ACEOF
   11975 if ac_fn_c_try_compile "$LINENO"; then :
   11976   xorg_cv_cc_flag_unused_command_line_argument=yes
   11977 else
   11978   xorg_cv_cc_flag_unused_command_line_argument=no
   11979 fi
   11980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11981 fi
   11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11985 	CFLAGS="$xorg_testset_save_CFLAGS"
   11986 fi
   11987 
   11988 found="no"
   11989 
   11990 	if test $found = "no" ; then
   11991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11993 		fi
   11994 
   11995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11997 		fi
   11998 
   11999 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12000 
   12001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12002 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12003 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12004 		if eval \${$cacheid+:} false; then :
   12005   $as_echo_n "(cached) " >&6
   12006 else
   12007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12008 /* end confdefs.h.  */
   12009 int i;
   12010 int
   12011 main ()
   12012 {
   12013 
   12014   ;
   12015   return 0;
   12016 }
   12017 _ACEOF
   12018 if ac_fn_c_try_link "$LINENO"; then :
   12019   eval $cacheid=yes
   12020 else
   12021   eval $cacheid=no
   12022 fi
   12023 rm -f core conftest.err conftest.$ac_objext \
   12024     conftest$ac_exeext conftest.$ac_ext
   12025 fi
   12026 
   12027 
   12028 		CFLAGS="$xorg_testset_save_CFLAGS"
   12029 
   12030 		eval supported=\$$cacheid
   12031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12032 $as_echo "$supported" >&6; }
   12033 		if test "$supported" = "yes" ; then
   12034 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12035 			found="yes"
   12036 		fi
   12037 	fi
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 xorg_testset_save_CFLAGS="$CFLAGS"
   12054 
   12055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12060   $as_echo_n "(cached) " >&6
   12061 else
   12062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12063 /* end confdefs.h.  */
   12064 int i;
   12065 _ACEOF
   12066 if ac_fn_c_try_compile "$LINENO"; then :
   12067   xorg_cv_cc_flag_unknown_warning_option=yes
   12068 else
   12069   xorg_cv_cc_flag_unknown_warning_option=no
   12070 fi
   12071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12072 fi
   12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12076 	CFLAGS="$xorg_testset_save_CFLAGS"
   12077 fi
   12078 
   12079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12082 	fi
   12083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12087   $as_echo_n "(cached) " >&6
   12088 else
   12089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12090 /* end confdefs.h.  */
   12091 int i;
   12092 _ACEOF
   12093 if ac_fn_c_try_compile "$LINENO"; then :
   12094   xorg_cv_cc_flag_unused_command_line_argument=yes
   12095 else
   12096   xorg_cv_cc_flag_unused_command_line_argument=no
   12097 fi
   12098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12099 fi
   12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12103 	CFLAGS="$xorg_testset_save_CFLAGS"
   12104 fi
   12105 
   12106 found="no"
   12107 
   12108 	if test $found = "no" ; then
   12109 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12111 		fi
   12112 
   12113 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12115 		fi
   12116 
   12117 		CFLAGS="$CFLAGS -Wformat=2"
   12118 
   12119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12120 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12121 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12122 		if eval \${$cacheid+:} false; then :
   12123   $as_echo_n "(cached) " >&6
   12124 else
   12125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12126 /* end confdefs.h.  */
   12127 int i;
   12128 int
   12129 main ()
   12130 {
   12131 
   12132   ;
   12133   return 0;
   12134 }
   12135 _ACEOF
   12136 if ac_fn_c_try_link "$LINENO"; then :
   12137   eval $cacheid=yes
   12138 else
   12139   eval $cacheid=no
   12140 fi
   12141 rm -f core conftest.err conftest.$ac_objext \
   12142     conftest$ac_exeext conftest.$ac_ext
   12143 fi
   12144 
   12145 
   12146 		CFLAGS="$xorg_testset_save_CFLAGS"
   12147 
   12148 		eval supported=\$$cacheid
   12149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12150 $as_echo "$supported" >&6; }
   12151 		if test "$supported" = "yes" ; then
   12152 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12153 			found="yes"
   12154 		fi
   12155 	fi
   12156 
   12157 	if test $found = "no" ; then
   12158 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12160 		fi
   12161 
   12162 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12164 		fi
   12165 
   12166 		CFLAGS="$CFLAGS -Wformat"
   12167 
   12168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12169 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12170 		cacheid=xorg_cv_cc_flag__Wformat
   12171 		if eval \${$cacheid+:} false; then :
   12172   $as_echo_n "(cached) " >&6
   12173 else
   12174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12175 /* end confdefs.h.  */
   12176 int i;
   12177 int
   12178 main ()
   12179 {
   12180 
   12181   ;
   12182   return 0;
   12183 }
   12184 _ACEOF
   12185 if ac_fn_c_try_link "$LINENO"; then :
   12186   eval $cacheid=yes
   12187 else
   12188   eval $cacheid=no
   12189 fi
   12190 rm -f core conftest.err conftest.$ac_objext \
   12191     conftest$ac_exeext conftest.$ac_ext
   12192 fi
   12193 
   12194 
   12195 		CFLAGS="$xorg_testset_save_CFLAGS"
   12196 
   12197 		eval supported=\$$cacheid
   12198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12199 $as_echo "$supported" >&6; }
   12200 		if test "$supported" = "yes" ; then
   12201 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12202 			found="yes"
   12203 		fi
   12204 	fi
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 xorg_testset_save_CFLAGS="$CFLAGS"
   12223 
   12224 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12225 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12227 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12228 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12229   $as_echo_n "(cached) " >&6
   12230 else
   12231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12232 /* end confdefs.h.  */
   12233 int i;
   12234 _ACEOF
   12235 if ac_fn_c_try_compile "$LINENO"; then :
   12236   xorg_cv_cc_flag_unknown_warning_option=yes
   12237 else
   12238   xorg_cv_cc_flag_unknown_warning_option=no
   12239 fi
   12240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12241 fi
   12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12243 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12245 	CFLAGS="$xorg_testset_save_CFLAGS"
   12246 fi
   12247 
   12248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12251 	fi
   12252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12254 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12255 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12256   $as_echo_n "(cached) " >&6
   12257 else
   12258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12259 /* end confdefs.h.  */
   12260 int i;
   12261 _ACEOF
   12262 if ac_fn_c_try_compile "$LINENO"; then :
   12263   xorg_cv_cc_flag_unused_command_line_argument=yes
   12264 else
   12265   xorg_cv_cc_flag_unused_command_line_argument=no
   12266 fi
   12267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12268 fi
   12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12270 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12272 	CFLAGS="$xorg_testset_save_CFLAGS"
   12273 fi
   12274 
   12275 found="no"
   12276 
   12277 	if test $found = "no" ; then
   12278 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12280 		fi
   12281 
   12282 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12284 		fi
   12285 
   12286 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12287 
   12288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12289 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12290 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12291 		if eval \${$cacheid+:} false; then :
   12292   $as_echo_n "(cached) " >&6
   12293 else
   12294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12295 /* end confdefs.h.  */
   12296 int i;
   12297 int
   12298 main ()
   12299 {
   12300 
   12301   ;
   12302   return 0;
   12303 }
   12304 _ACEOF
   12305 if ac_fn_c_try_link "$LINENO"; then :
   12306   eval $cacheid=yes
   12307 else
   12308   eval $cacheid=no
   12309 fi
   12310 rm -f core conftest.err conftest.$ac_objext \
   12311     conftest$ac_exeext conftest.$ac_ext
   12312 fi
   12313 
   12314 
   12315 		CFLAGS="$xorg_testset_save_CFLAGS"
   12316 
   12317 		eval supported=\$$cacheid
   12318 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12319 $as_echo "$supported" >&6; }
   12320 		if test "$supported" = "yes" ; then
   12321 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12322 			found="yes"
   12323 		fi
   12324 	fi
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 xorg_testset_save_CFLAGS="$CFLAGS"
   12341 
   12342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12345 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12346 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12347   $as_echo_n "(cached) " >&6
   12348 else
   12349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12350 /* end confdefs.h.  */
   12351 int i;
   12352 _ACEOF
   12353 if ac_fn_c_try_compile "$LINENO"; then :
   12354   xorg_cv_cc_flag_unknown_warning_option=yes
   12355 else
   12356   xorg_cv_cc_flag_unknown_warning_option=no
   12357 fi
   12358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12359 fi
   12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12361 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12363 	CFLAGS="$xorg_testset_save_CFLAGS"
   12364 fi
   12365 
   12366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12369 	fi
   12370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12372 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12373 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12374   $as_echo_n "(cached) " >&6
   12375 else
   12376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12377 /* end confdefs.h.  */
   12378 int i;
   12379 _ACEOF
   12380 if ac_fn_c_try_compile "$LINENO"; then :
   12381   xorg_cv_cc_flag_unused_command_line_argument=yes
   12382 else
   12383   xorg_cv_cc_flag_unused_command_line_argument=no
   12384 fi
   12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12386 fi
   12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12388 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12389 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12390 	CFLAGS="$xorg_testset_save_CFLAGS"
   12391 fi
   12392 
   12393 found="no"
   12394 
   12395 	if test $found = "no" ; then
   12396 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12398 		fi
   12399 
   12400 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12402 		fi
   12403 
   12404 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12405 
   12406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12407 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12408 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12409 		if eval \${$cacheid+:} false; then :
   12410   $as_echo_n "(cached) " >&6
   12411 else
   12412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12413 /* end confdefs.h.  */
   12414 int i;
   12415 int
   12416 main ()
   12417 {
   12418 
   12419   ;
   12420   return 0;
   12421 }
   12422 _ACEOF
   12423 if ac_fn_c_try_link "$LINENO"; then :
   12424   eval $cacheid=yes
   12425 else
   12426   eval $cacheid=no
   12427 fi
   12428 rm -f core conftest.err conftest.$ac_objext \
   12429     conftest$ac_exeext conftest.$ac_ext
   12430 fi
   12431 
   12432 
   12433 		CFLAGS="$xorg_testset_save_CFLAGS"
   12434 
   12435 		eval supported=\$$cacheid
   12436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12437 $as_echo "$supported" >&6; }
   12438 		if test "$supported" = "yes" ; then
   12439 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12440 			found="yes"
   12441 		fi
   12442 	fi
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 xorg_testset_save_CFLAGS="$CFLAGS"
   12459 
   12460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12465   $as_echo_n "(cached) " >&6
   12466 else
   12467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12468 /* end confdefs.h.  */
   12469 int i;
   12470 _ACEOF
   12471 if ac_fn_c_try_compile "$LINENO"; then :
   12472   xorg_cv_cc_flag_unknown_warning_option=yes
   12473 else
   12474   xorg_cv_cc_flag_unknown_warning_option=no
   12475 fi
   12476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12477 fi
   12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12481 	CFLAGS="$xorg_testset_save_CFLAGS"
   12482 fi
   12483 
   12484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12487 	fi
   12488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12492   $as_echo_n "(cached) " >&6
   12493 else
   12494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12495 /* end confdefs.h.  */
   12496 int i;
   12497 _ACEOF
   12498 if ac_fn_c_try_compile "$LINENO"; then :
   12499   xorg_cv_cc_flag_unused_command_line_argument=yes
   12500 else
   12501   xorg_cv_cc_flag_unused_command_line_argument=no
   12502 fi
   12503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12504 fi
   12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12508 	CFLAGS="$xorg_testset_save_CFLAGS"
   12509 fi
   12510 
   12511 found="no"
   12512 
   12513 	if test $found = "no" ; then
   12514 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12516 		fi
   12517 
   12518 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12520 		fi
   12521 
   12522 		CFLAGS="$CFLAGS -Wnested-externs"
   12523 
   12524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12525 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12526 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12527 		if eval \${$cacheid+:} false; then :
   12528   $as_echo_n "(cached) " >&6
   12529 else
   12530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12531 /* end confdefs.h.  */
   12532 int i;
   12533 int
   12534 main ()
   12535 {
   12536 
   12537   ;
   12538   return 0;
   12539 }
   12540 _ACEOF
   12541 if ac_fn_c_try_link "$LINENO"; then :
   12542   eval $cacheid=yes
   12543 else
   12544   eval $cacheid=no
   12545 fi
   12546 rm -f core conftest.err conftest.$ac_objext \
   12547     conftest$ac_exeext conftest.$ac_ext
   12548 fi
   12549 
   12550 
   12551 		CFLAGS="$xorg_testset_save_CFLAGS"
   12552 
   12553 		eval supported=\$$cacheid
   12554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12555 $as_echo "$supported" >&6; }
   12556 		if test "$supported" = "yes" ; then
   12557 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12558 			found="yes"
   12559 		fi
   12560 	fi
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 xorg_testset_save_CFLAGS="$CFLAGS"
   12577 
   12578 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12579 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12581 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12582 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12583   $as_echo_n "(cached) " >&6
   12584 else
   12585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12586 /* end confdefs.h.  */
   12587 int i;
   12588 _ACEOF
   12589 if ac_fn_c_try_compile "$LINENO"; then :
   12590   xorg_cv_cc_flag_unknown_warning_option=yes
   12591 else
   12592   xorg_cv_cc_flag_unknown_warning_option=no
   12593 fi
   12594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12595 fi
   12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12597 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12599 	CFLAGS="$xorg_testset_save_CFLAGS"
   12600 fi
   12601 
   12602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12605 	fi
   12606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12608 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12609 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12610   $as_echo_n "(cached) " >&6
   12611 else
   12612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12613 /* end confdefs.h.  */
   12614 int i;
   12615 _ACEOF
   12616 if ac_fn_c_try_compile "$LINENO"; then :
   12617   xorg_cv_cc_flag_unused_command_line_argument=yes
   12618 else
   12619   xorg_cv_cc_flag_unused_command_line_argument=no
   12620 fi
   12621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12622 fi
   12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12624 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12625 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12626 	CFLAGS="$xorg_testset_save_CFLAGS"
   12627 fi
   12628 
   12629 found="no"
   12630 
   12631 	if test $found = "no" ; then
   12632 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12633 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12634 		fi
   12635 
   12636 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12637 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12638 		fi
   12639 
   12640 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12641 
   12642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12643 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12644 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12645 		if eval \${$cacheid+:} false; then :
   12646   $as_echo_n "(cached) " >&6
   12647 else
   12648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12649 /* end confdefs.h.  */
   12650 int i;
   12651 int
   12652 main ()
   12653 {
   12654 
   12655   ;
   12656   return 0;
   12657 }
   12658 _ACEOF
   12659 if ac_fn_c_try_link "$LINENO"; then :
   12660   eval $cacheid=yes
   12661 else
   12662   eval $cacheid=no
   12663 fi
   12664 rm -f core conftest.err conftest.$ac_objext \
   12665     conftest$ac_exeext conftest.$ac_ext
   12666 fi
   12667 
   12668 
   12669 		CFLAGS="$xorg_testset_save_CFLAGS"
   12670 
   12671 		eval supported=\$$cacheid
   12672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12673 $as_echo "$supported" >&6; }
   12674 		if test "$supported" = "yes" ; then
   12675 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12676 			found="yes"
   12677 		fi
   12678 	fi
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 xorg_testset_save_CFLAGS="$CFLAGS"
   12695 
   12696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12699 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12700 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12701   $as_echo_n "(cached) " >&6
   12702 else
   12703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12704 /* end confdefs.h.  */
   12705 int i;
   12706 _ACEOF
   12707 if ac_fn_c_try_compile "$LINENO"; then :
   12708   xorg_cv_cc_flag_unknown_warning_option=yes
   12709 else
   12710   xorg_cv_cc_flag_unknown_warning_option=no
   12711 fi
   12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12713 fi
   12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12715 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12717 	CFLAGS="$xorg_testset_save_CFLAGS"
   12718 fi
   12719 
   12720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12723 	fi
   12724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12726 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12727 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12728   $as_echo_n "(cached) " >&6
   12729 else
   12730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12731 /* end confdefs.h.  */
   12732 int i;
   12733 _ACEOF
   12734 if ac_fn_c_try_compile "$LINENO"; then :
   12735   xorg_cv_cc_flag_unused_command_line_argument=yes
   12736 else
   12737   xorg_cv_cc_flag_unused_command_line_argument=no
   12738 fi
   12739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12740 fi
   12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12742 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12744 	CFLAGS="$xorg_testset_save_CFLAGS"
   12745 fi
   12746 
   12747 found="no"
   12748 
   12749 	if test $found = "no" ; then
   12750 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12752 		fi
   12753 
   12754 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12756 		fi
   12757 
   12758 		CFLAGS="$CFLAGS -Wold-style-definition"
   12759 
   12760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12761 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12762 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12763 		if eval \${$cacheid+:} false; then :
   12764   $as_echo_n "(cached) " >&6
   12765 else
   12766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12767 /* end confdefs.h.  */
   12768 int i;
   12769 int
   12770 main ()
   12771 {
   12772 
   12773   ;
   12774   return 0;
   12775 }
   12776 _ACEOF
   12777 if ac_fn_c_try_link "$LINENO"; then :
   12778   eval $cacheid=yes
   12779 else
   12780   eval $cacheid=no
   12781 fi
   12782 rm -f core conftest.err conftest.$ac_objext \
   12783     conftest$ac_exeext conftest.$ac_ext
   12784 fi
   12785 
   12786 
   12787 		CFLAGS="$xorg_testset_save_CFLAGS"
   12788 
   12789 		eval supported=\$$cacheid
   12790 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12791 $as_echo "$supported" >&6; }
   12792 		if test "$supported" = "yes" ; then
   12793 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12794 			found="yes"
   12795 		fi
   12796 	fi
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 xorg_testset_save_CFLAGS="$CFLAGS"
   12813 
   12814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12819   $as_echo_n "(cached) " >&6
   12820 else
   12821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12822 /* end confdefs.h.  */
   12823 int i;
   12824 _ACEOF
   12825 if ac_fn_c_try_compile "$LINENO"; then :
   12826   xorg_cv_cc_flag_unknown_warning_option=yes
   12827 else
   12828   xorg_cv_cc_flag_unknown_warning_option=no
   12829 fi
   12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12831 fi
   12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12835 	CFLAGS="$xorg_testset_save_CFLAGS"
   12836 fi
   12837 
   12838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12841 	fi
   12842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12846   $as_echo_n "(cached) " >&6
   12847 else
   12848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12849 /* end confdefs.h.  */
   12850 int i;
   12851 _ACEOF
   12852 if ac_fn_c_try_compile "$LINENO"; then :
   12853   xorg_cv_cc_flag_unused_command_line_argument=yes
   12854 else
   12855   xorg_cv_cc_flag_unused_command_line_argument=no
   12856 fi
   12857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12858 fi
   12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12862 	CFLAGS="$xorg_testset_save_CFLAGS"
   12863 fi
   12864 
   12865 found="no"
   12866 
   12867 	if test $found = "no" ; then
   12868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 		fi
   12871 
   12872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12874 		fi
   12875 
   12876 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12877 
   12878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12879 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12880 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12881 		if eval \${$cacheid+:} false; then :
   12882   $as_echo_n "(cached) " >&6
   12883 else
   12884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12885 /* end confdefs.h.  */
   12886 int i;
   12887 int
   12888 main ()
   12889 {
   12890 
   12891   ;
   12892   return 0;
   12893 }
   12894 _ACEOF
   12895 if ac_fn_c_try_link "$LINENO"; then :
   12896   eval $cacheid=yes
   12897 else
   12898   eval $cacheid=no
   12899 fi
   12900 rm -f core conftest.err conftest.$ac_objext \
   12901     conftest$ac_exeext conftest.$ac_ext
   12902 fi
   12903 
   12904 
   12905 		CFLAGS="$xorg_testset_save_CFLAGS"
   12906 
   12907 		eval supported=\$$cacheid
   12908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12909 $as_echo "$supported" >&6; }
   12910 		if test "$supported" = "yes" ; then
   12911 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12912 			found="yes"
   12913 		fi
   12914 	fi
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 # This chunk adds additional warnings that could catch undesired effects.
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 xorg_testset_save_CFLAGS="$CFLAGS"
   12935 
   12936 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12937 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12939 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12940 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12941   $as_echo_n "(cached) " >&6
   12942 else
   12943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12944 /* end confdefs.h.  */
   12945 int i;
   12946 _ACEOF
   12947 if ac_fn_c_try_compile "$LINENO"; then :
   12948   xorg_cv_cc_flag_unknown_warning_option=yes
   12949 else
   12950   xorg_cv_cc_flag_unknown_warning_option=no
   12951 fi
   12952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12953 fi
   12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12955 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12956 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12957 	CFLAGS="$xorg_testset_save_CFLAGS"
   12958 fi
   12959 
   12960 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12961 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12962 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12963 	fi
   12964 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12966 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12967 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12968   $as_echo_n "(cached) " >&6
   12969 else
   12970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12971 /* end confdefs.h.  */
   12972 int i;
   12973 _ACEOF
   12974 if ac_fn_c_try_compile "$LINENO"; then :
   12975   xorg_cv_cc_flag_unused_command_line_argument=yes
   12976 else
   12977   xorg_cv_cc_flag_unused_command_line_argument=no
   12978 fi
   12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12980 fi
   12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12982 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12983 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12984 	CFLAGS="$xorg_testset_save_CFLAGS"
   12985 fi
   12986 
   12987 found="no"
   12988 
   12989 	if test $found = "no" ; then
   12990 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12991 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12992 		fi
   12993 
   12994 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12995 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12996 		fi
   12997 
   12998 		CFLAGS="$CFLAGS -Wunused"
   12999 
   13000 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13001 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13002 		cacheid=xorg_cv_cc_flag__Wunused
   13003 		if eval \${$cacheid+:} false; then :
   13004   $as_echo_n "(cached) " >&6
   13005 else
   13006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13007 /* end confdefs.h.  */
   13008 int i;
   13009 int
   13010 main ()
   13011 {
   13012 
   13013   ;
   13014   return 0;
   13015 }
   13016 _ACEOF
   13017 if ac_fn_c_try_link "$LINENO"; then :
   13018   eval $cacheid=yes
   13019 else
   13020   eval $cacheid=no
   13021 fi
   13022 rm -f core conftest.err conftest.$ac_objext \
   13023     conftest$ac_exeext conftest.$ac_ext
   13024 fi
   13025 
   13026 
   13027 		CFLAGS="$xorg_testset_save_CFLAGS"
   13028 
   13029 		eval supported=\$$cacheid
   13030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13031 $as_echo "$supported" >&6; }
   13032 		if test "$supported" = "yes" ; then
   13033 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13034 			found="yes"
   13035 		fi
   13036 	fi
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 xorg_testset_save_CFLAGS="$CFLAGS"
   13053 
   13054 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13055 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13057 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13058 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13059   $as_echo_n "(cached) " >&6
   13060 else
   13061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13062 /* end confdefs.h.  */
   13063 int i;
   13064 _ACEOF
   13065 if ac_fn_c_try_compile "$LINENO"; then :
   13066   xorg_cv_cc_flag_unknown_warning_option=yes
   13067 else
   13068   xorg_cv_cc_flag_unknown_warning_option=no
   13069 fi
   13070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13071 fi
   13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13073 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13075 	CFLAGS="$xorg_testset_save_CFLAGS"
   13076 fi
   13077 
   13078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13081 	fi
   13082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13084 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13085 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13086   $as_echo_n "(cached) " >&6
   13087 else
   13088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13089 /* end confdefs.h.  */
   13090 int i;
   13091 _ACEOF
   13092 if ac_fn_c_try_compile "$LINENO"; then :
   13093   xorg_cv_cc_flag_unused_command_line_argument=yes
   13094 else
   13095   xorg_cv_cc_flag_unused_command_line_argument=no
   13096 fi
   13097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13098 fi
   13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13100 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13102 	CFLAGS="$xorg_testset_save_CFLAGS"
   13103 fi
   13104 
   13105 found="no"
   13106 
   13107 	if test $found = "no" ; then
   13108 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13110 		fi
   13111 
   13112 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13114 		fi
   13115 
   13116 		CFLAGS="$CFLAGS -Wuninitialized"
   13117 
   13118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13119 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13120 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13121 		if eval \${$cacheid+:} false; then :
   13122   $as_echo_n "(cached) " >&6
   13123 else
   13124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13125 /* end confdefs.h.  */
   13126 int i;
   13127 int
   13128 main ()
   13129 {
   13130 
   13131   ;
   13132   return 0;
   13133 }
   13134 _ACEOF
   13135 if ac_fn_c_try_link "$LINENO"; then :
   13136   eval $cacheid=yes
   13137 else
   13138   eval $cacheid=no
   13139 fi
   13140 rm -f core conftest.err conftest.$ac_objext \
   13141     conftest$ac_exeext conftest.$ac_ext
   13142 fi
   13143 
   13144 
   13145 		CFLAGS="$xorg_testset_save_CFLAGS"
   13146 
   13147 		eval supported=\$$cacheid
   13148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13149 $as_echo "$supported" >&6; }
   13150 		if test "$supported" = "yes" ; then
   13151 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13152 			found="yes"
   13153 		fi
   13154 	fi
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 xorg_testset_save_CFLAGS="$CFLAGS"
   13171 
   13172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13177   $as_echo_n "(cached) " >&6
   13178 else
   13179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13180 /* end confdefs.h.  */
   13181 int i;
   13182 _ACEOF
   13183 if ac_fn_c_try_compile "$LINENO"; then :
   13184   xorg_cv_cc_flag_unknown_warning_option=yes
   13185 else
   13186   xorg_cv_cc_flag_unknown_warning_option=no
   13187 fi
   13188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13189 fi
   13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13193 	CFLAGS="$xorg_testset_save_CFLAGS"
   13194 fi
   13195 
   13196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13199 	fi
   13200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13204   $as_echo_n "(cached) " >&6
   13205 else
   13206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13207 /* end confdefs.h.  */
   13208 int i;
   13209 _ACEOF
   13210 if ac_fn_c_try_compile "$LINENO"; then :
   13211   xorg_cv_cc_flag_unused_command_line_argument=yes
   13212 else
   13213   xorg_cv_cc_flag_unused_command_line_argument=no
   13214 fi
   13215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13216 fi
   13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13220 	CFLAGS="$xorg_testset_save_CFLAGS"
   13221 fi
   13222 
   13223 found="no"
   13224 
   13225 	if test $found = "no" ; then
   13226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 		fi
   13229 
   13230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13232 		fi
   13233 
   13234 		CFLAGS="$CFLAGS -Wshadow"
   13235 
   13236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13237 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13238 		cacheid=xorg_cv_cc_flag__Wshadow
   13239 		if eval \${$cacheid+:} false; then :
   13240   $as_echo_n "(cached) " >&6
   13241 else
   13242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13243 /* end confdefs.h.  */
   13244 int i;
   13245 int
   13246 main ()
   13247 {
   13248 
   13249   ;
   13250   return 0;
   13251 }
   13252 _ACEOF
   13253 if ac_fn_c_try_link "$LINENO"; then :
   13254   eval $cacheid=yes
   13255 else
   13256   eval $cacheid=no
   13257 fi
   13258 rm -f core conftest.err conftest.$ac_objext \
   13259     conftest$ac_exeext conftest.$ac_ext
   13260 fi
   13261 
   13262 
   13263 		CFLAGS="$xorg_testset_save_CFLAGS"
   13264 
   13265 		eval supported=\$$cacheid
   13266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13267 $as_echo "$supported" >&6; }
   13268 		if test "$supported" = "yes" ; then
   13269 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13270 			found="yes"
   13271 		fi
   13272 	fi
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 xorg_testset_save_CFLAGS="$CFLAGS"
   13289 
   13290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13295   $as_echo_n "(cached) " >&6
   13296 else
   13297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13298 /* end confdefs.h.  */
   13299 int i;
   13300 _ACEOF
   13301 if ac_fn_c_try_compile "$LINENO"; then :
   13302   xorg_cv_cc_flag_unknown_warning_option=yes
   13303 else
   13304   xorg_cv_cc_flag_unknown_warning_option=no
   13305 fi
   13306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13307 fi
   13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13311 	CFLAGS="$xorg_testset_save_CFLAGS"
   13312 fi
   13313 
   13314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13317 	fi
   13318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13322   $as_echo_n "(cached) " >&6
   13323 else
   13324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13325 /* end confdefs.h.  */
   13326 int i;
   13327 _ACEOF
   13328 if ac_fn_c_try_compile "$LINENO"; then :
   13329   xorg_cv_cc_flag_unused_command_line_argument=yes
   13330 else
   13331   xorg_cv_cc_flag_unused_command_line_argument=no
   13332 fi
   13333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13334 fi
   13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13338 	CFLAGS="$xorg_testset_save_CFLAGS"
   13339 fi
   13340 
   13341 found="no"
   13342 
   13343 	if test $found = "no" ; then
   13344 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13346 		fi
   13347 
   13348 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13350 		fi
   13351 
   13352 		CFLAGS="$CFLAGS -Wcast-qual"
   13353 
   13354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13355 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13356 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13357 		if eval \${$cacheid+:} false; then :
   13358   $as_echo_n "(cached) " >&6
   13359 else
   13360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13361 /* end confdefs.h.  */
   13362 int i;
   13363 int
   13364 main ()
   13365 {
   13366 
   13367   ;
   13368   return 0;
   13369 }
   13370 _ACEOF
   13371 if ac_fn_c_try_link "$LINENO"; then :
   13372   eval $cacheid=yes
   13373 else
   13374   eval $cacheid=no
   13375 fi
   13376 rm -f core conftest.err conftest.$ac_objext \
   13377     conftest$ac_exeext conftest.$ac_ext
   13378 fi
   13379 
   13380 
   13381 		CFLAGS="$xorg_testset_save_CFLAGS"
   13382 
   13383 		eval supported=\$$cacheid
   13384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13385 $as_echo "$supported" >&6; }
   13386 		if test "$supported" = "yes" ; then
   13387 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13388 			found="yes"
   13389 		fi
   13390 	fi
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 xorg_testset_save_CFLAGS="$CFLAGS"
   13407 
   13408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13413   $as_echo_n "(cached) " >&6
   13414 else
   13415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13416 /* end confdefs.h.  */
   13417 int i;
   13418 _ACEOF
   13419 if ac_fn_c_try_compile "$LINENO"; then :
   13420   xorg_cv_cc_flag_unknown_warning_option=yes
   13421 else
   13422   xorg_cv_cc_flag_unknown_warning_option=no
   13423 fi
   13424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13425 fi
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13429 	CFLAGS="$xorg_testset_save_CFLAGS"
   13430 fi
   13431 
   13432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13435 	fi
   13436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13440   $as_echo_n "(cached) " >&6
   13441 else
   13442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13443 /* end confdefs.h.  */
   13444 int i;
   13445 _ACEOF
   13446 if ac_fn_c_try_compile "$LINENO"; then :
   13447   xorg_cv_cc_flag_unused_command_line_argument=yes
   13448 else
   13449   xorg_cv_cc_flag_unused_command_line_argument=no
   13450 fi
   13451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13452 fi
   13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13455 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13456 	CFLAGS="$xorg_testset_save_CFLAGS"
   13457 fi
   13458 
   13459 found="no"
   13460 
   13461 	if test $found = "no" ; then
   13462 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 		fi
   13465 
   13466 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13468 		fi
   13469 
   13470 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13471 
   13472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13473 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13474 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13475 		if eval \${$cacheid+:} false; then :
   13476   $as_echo_n "(cached) " >&6
   13477 else
   13478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13479 /* end confdefs.h.  */
   13480 int i;
   13481 int
   13482 main ()
   13483 {
   13484 
   13485   ;
   13486   return 0;
   13487 }
   13488 _ACEOF
   13489 if ac_fn_c_try_link "$LINENO"; then :
   13490   eval $cacheid=yes
   13491 else
   13492   eval $cacheid=no
   13493 fi
   13494 rm -f core conftest.err conftest.$ac_objext \
   13495     conftest$ac_exeext conftest.$ac_ext
   13496 fi
   13497 
   13498 
   13499 		CFLAGS="$xorg_testset_save_CFLAGS"
   13500 
   13501 		eval supported=\$$cacheid
   13502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13503 $as_echo "$supported" >&6; }
   13504 		if test "$supported" = "yes" ; then
   13505 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13506 			found="yes"
   13507 		fi
   13508 	fi
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 xorg_testset_save_CFLAGS="$CFLAGS"
   13525 
   13526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13529 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13530 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13531   $as_echo_n "(cached) " >&6
   13532 else
   13533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13534 /* end confdefs.h.  */
   13535 int i;
   13536 _ACEOF
   13537 if ac_fn_c_try_compile "$LINENO"; then :
   13538   xorg_cv_cc_flag_unknown_warning_option=yes
   13539 else
   13540   xorg_cv_cc_flag_unknown_warning_option=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13543 fi
   13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13545 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13547 	CFLAGS="$xorg_testset_save_CFLAGS"
   13548 fi
   13549 
   13550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13553 	fi
   13554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13556 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13557 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13558   $as_echo_n "(cached) " >&6
   13559 else
   13560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13561 /* end confdefs.h.  */
   13562 int i;
   13563 _ACEOF
   13564 if ac_fn_c_try_compile "$LINENO"; then :
   13565   xorg_cv_cc_flag_unused_command_line_argument=yes
   13566 else
   13567   xorg_cv_cc_flag_unused_command_line_argument=no
   13568 fi
   13569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13570 fi
   13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13572 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13573 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13574 	CFLAGS="$xorg_testset_save_CFLAGS"
   13575 fi
   13576 
   13577 found="no"
   13578 
   13579 	if test $found = "no" ; then
   13580 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13582 		fi
   13583 
   13584 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13586 		fi
   13587 
   13588 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13589 
   13590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13591 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13592 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13593 		if eval \${$cacheid+:} false; then :
   13594   $as_echo_n "(cached) " >&6
   13595 else
   13596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13597 /* end confdefs.h.  */
   13598 int i;
   13599 int
   13600 main ()
   13601 {
   13602 
   13603   ;
   13604   return 0;
   13605 }
   13606 _ACEOF
   13607 if ac_fn_c_try_link "$LINENO"; then :
   13608   eval $cacheid=yes
   13609 else
   13610   eval $cacheid=no
   13611 fi
   13612 rm -f core conftest.err conftest.$ac_objext \
   13613     conftest$ac_exeext conftest.$ac_ext
   13614 fi
   13615 
   13616 
   13617 		CFLAGS="$xorg_testset_save_CFLAGS"
   13618 
   13619 		eval supported=\$$cacheid
   13620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13621 $as_echo "$supported" >&6; }
   13622 		if test "$supported" = "yes" ; then
   13623 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13624 			found="yes"
   13625 		fi
   13626 	fi
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 xorg_testset_save_CFLAGS="$CFLAGS"
   13643 
   13644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13649   $as_echo_n "(cached) " >&6
   13650 else
   13651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13652 /* end confdefs.h.  */
   13653 int i;
   13654 _ACEOF
   13655 if ac_fn_c_try_compile "$LINENO"; then :
   13656   xorg_cv_cc_flag_unknown_warning_option=yes
   13657 else
   13658   xorg_cv_cc_flag_unknown_warning_option=no
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13661 fi
   13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13665 	CFLAGS="$xorg_testset_save_CFLAGS"
   13666 fi
   13667 
   13668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 	fi
   13672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13676   $as_echo_n "(cached) " >&6
   13677 else
   13678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13679 /* end confdefs.h.  */
   13680 int i;
   13681 _ACEOF
   13682 if ac_fn_c_try_compile "$LINENO"; then :
   13683   xorg_cv_cc_flag_unused_command_line_argument=yes
   13684 else
   13685   xorg_cv_cc_flag_unused_command_line_argument=no
   13686 fi
   13687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13688 fi
   13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13692 	CFLAGS="$xorg_testset_save_CFLAGS"
   13693 fi
   13694 
   13695 found="no"
   13696 
   13697 	if test $found = "no" ; then
   13698 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 		fi
   13701 
   13702 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13704 		fi
   13705 
   13706 		CFLAGS="$CFLAGS -Wredundant-decls"
   13707 
   13708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13709 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13710 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13711 		if eval \${$cacheid+:} false; then :
   13712   $as_echo_n "(cached) " >&6
   13713 else
   13714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13715 /* end confdefs.h.  */
   13716 int i;
   13717 int
   13718 main ()
   13719 {
   13720 
   13721   ;
   13722   return 0;
   13723 }
   13724 _ACEOF
   13725 if ac_fn_c_try_link "$LINENO"; then :
   13726   eval $cacheid=yes
   13727 else
   13728   eval $cacheid=no
   13729 fi
   13730 rm -f core conftest.err conftest.$ac_objext \
   13731     conftest$ac_exeext conftest.$ac_ext
   13732 fi
   13733 
   13734 
   13735 		CFLAGS="$xorg_testset_save_CFLAGS"
   13736 
   13737 		eval supported=\$$cacheid
   13738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13739 $as_echo "$supported" >&6; }
   13740 		if test "$supported" = "yes" ; then
   13741 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13742 			found="yes"
   13743 		fi
   13744 	fi
   13745 
   13746 
   13747 
   13748 # These are currently disabled because they are noisy.  They will be enabled
   13749 # in the future once the codebase is sufficiently modernized to silence
   13750 # them.  For now, I don't want them to drown out the other warnings.
   13751 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13752 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13753 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13754 
   13755 # Turn some warnings into errors, so we don't accidently get successful builds
   13756 # when there are problems that should be fixed.
   13757 
   13758 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 xorg_testset_save_CFLAGS="$CFLAGS"
   13773 
   13774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13779   $as_echo_n "(cached) " >&6
   13780 else
   13781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13782 /* end confdefs.h.  */
   13783 int i;
   13784 _ACEOF
   13785 if ac_fn_c_try_compile "$LINENO"; then :
   13786   xorg_cv_cc_flag_unknown_warning_option=yes
   13787 else
   13788   xorg_cv_cc_flag_unknown_warning_option=no
   13789 fi
   13790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13791 fi
   13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13795 	CFLAGS="$xorg_testset_save_CFLAGS"
   13796 fi
   13797 
   13798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13801 	fi
   13802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13806   $as_echo_n "(cached) " >&6
   13807 else
   13808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13809 /* end confdefs.h.  */
   13810 int i;
   13811 _ACEOF
   13812 if ac_fn_c_try_compile "$LINENO"; then :
   13813   xorg_cv_cc_flag_unused_command_line_argument=yes
   13814 else
   13815   xorg_cv_cc_flag_unused_command_line_argument=no
   13816 fi
   13817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13818 fi
   13819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13822 	CFLAGS="$xorg_testset_save_CFLAGS"
   13823 fi
   13824 
   13825 found="no"
   13826 
   13827 	if test $found = "no" ; then
   13828 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13830 		fi
   13831 
   13832 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13834 		fi
   13835 
   13836 		CFLAGS="$CFLAGS -Werror=implicit"
   13837 
   13838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13839 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13840 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13841 		if eval \${$cacheid+:} false; then :
   13842   $as_echo_n "(cached) " >&6
   13843 else
   13844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13845 /* end confdefs.h.  */
   13846 int i;
   13847 int
   13848 main ()
   13849 {
   13850 
   13851   ;
   13852   return 0;
   13853 }
   13854 _ACEOF
   13855 if ac_fn_c_try_link "$LINENO"; then :
   13856   eval $cacheid=yes
   13857 else
   13858   eval $cacheid=no
   13859 fi
   13860 rm -f core conftest.err conftest.$ac_objext \
   13861     conftest$ac_exeext conftest.$ac_ext
   13862 fi
   13863 
   13864 
   13865 		CFLAGS="$xorg_testset_save_CFLAGS"
   13866 
   13867 		eval supported=\$$cacheid
   13868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13869 $as_echo "$supported" >&6; }
   13870 		if test "$supported" = "yes" ; then
   13871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13872 			found="yes"
   13873 		fi
   13874 	fi
   13875 
   13876 	if test $found = "no" ; then
   13877 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13879 		fi
   13880 
   13881 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13883 		fi
   13884 
   13885 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13886 
   13887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13888 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13889 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13890 		if eval \${$cacheid+:} false; then :
   13891   $as_echo_n "(cached) " >&6
   13892 else
   13893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13894 /* end confdefs.h.  */
   13895 int i;
   13896 int
   13897 main ()
   13898 {
   13899 
   13900   ;
   13901   return 0;
   13902 }
   13903 _ACEOF
   13904 if ac_fn_c_try_link "$LINENO"; then :
   13905   eval $cacheid=yes
   13906 else
   13907   eval $cacheid=no
   13908 fi
   13909 rm -f core conftest.err conftest.$ac_objext \
   13910     conftest$ac_exeext conftest.$ac_ext
   13911 fi
   13912 
   13913 
   13914 		CFLAGS="$xorg_testset_save_CFLAGS"
   13915 
   13916 		eval supported=\$$cacheid
   13917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13918 $as_echo "$supported" >&6; }
   13919 		if test "$supported" = "yes" ; then
   13920 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13921 			found="yes"
   13922 		fi
   13923 	fi
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 xorg_testset_save_CFLAGS="$CFLAGS"
   13940 
   13941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13944 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13945 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13946   $as_echo_n "(cached) " >&6
   13947 else
   13948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13949 /* end confdefs.h.  */
   13950 int i;
   13951 _ACEOF
   13952 if ac_fn_c_try_compile "$LINENO"; then :
   13953   xorg_cv_cc_flag_unknown_warning_option=yes
   13954 else
   13955   xorg_cv_cc_flag_unknown_warning_option=no
   13956 fi
   13957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13958 fi
   13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13960 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13962 	CFLAGS="$xorg_testset_save_CFLAGS"
   13963 fi
   13964 
   13965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13968 	fi
   13969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13971 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13972 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13973   $as_echo_n "(cached) " >&6
   13974 else
   13975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13976 /* end confdefs.h.  */
   13977 int i;
   13978 _ACEOF
   13979 if ac_fn_c_try_compile "$LINENO"; then :
   13980   xorg_cv_cc_flag_unused_command_line_argument=yes
   13981 else
   13982   xorg_cv_cc_flag_unused_command_line_argument=no
   13983 fi
   13984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13985 fi
   13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13987 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13989 	CFLAGS="$xorg_testset_save_CFLAGS"
   13990 fi
   13991 
   13992 found="no"
   13993 
   13994 	if test $found = "no" ; then
   13995 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13997 		fi
   13998 
   13999 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14001 		fi
   14002 
   14003 		CFLAGS="$CFLAGS -Werror=nonnull"
   14004 
   14005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14006 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14007 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14008 		if eval \${$cacheid+:} false; then :
   14009   $as_echo_n "(cached) " >&6
   14010 else
   14011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14012 /* end confdefs.h.  */
   14013 int i;
   14014 int
   14015 main ()
   14016 {
   14017 
   14018   ;
   14019   return 0;
   14020 }
   14021 _ACEOF
   14022 if ac_fn_c_try_link "$LINENO"; then :
   14023   eval $cacheid=yes
   14024 else
   14025   eval $cacheid=no
   14026 fi
   14027 rm -f core conftest.err conftest.$ac_objext \
   14028     conftest$ac_exeext conftest.$ac_ext
   14029 fi
   14030 
   14031 
   14032 		CFLAGS="$xorg_testset_save_CFLAGS"
   14033 
   14034 		eval supported=\$$cacheid
   14035 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14036 $as_echo "$supported" >&6; }
   14037 		if test "$supported" = "yes" ; then
   14038 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14039 			found="yes"
   14040 		fi
   14041 	fi
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 xorg_testset_save_CFLAGS="$CFLAGS"
   14058 
   14059 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14060 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14062 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14063 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14064   $as_echo_n "(cached) " >&6
   14065 else
   14066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14067 /* end confdefs.h.  */
   14068 int i;
   14069 _ACEOF
   14070 if ac_fn_c_try_compile "$LINENO"; then :
   14071   xorg_cv_cc_flag_unknown_warning_option=yes
   14072 else
   14073   xorg_cv_cc_flag_unknown_warning_option=no
   14074 fi
   14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14076 fi
   14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14078 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14080 	CFLAGS="$xorg_testset_save_CFLAGS"
   14081 fi
   14082 
   14083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14086 	fi
   14087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14089 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14090 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14091   $as_echo_n "(cached) " >&6
   14092 else
   14093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14094 /* end confdefs.h.  */
   14095 int i;
   14096 _ACEOF
   14097 if ac_fn_c_try_compile "$LINENO"; then :
   14098   xorg_cv_cc_flag_unused_command_line_argument=yes
   14099 else
   14100   xorg_cv_cc_flag_unused_command_line_argument=no
   14101 fi
   14102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14103 fi
   14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14105 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14107 	CFLAGS="$xorg_testset_save_CFLAGS"
   14108 fi
   14109 
   14110 found="no"
   14111 
   14112 	if test $found = "no" ; then
   14113 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14115 		fi
   14116 
   14117 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14119 		fi
   14120 
   14121 		CFLAGS="$CFLAGS -Werror=init-self"
   14122 
   14123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14124 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14125 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14126 		if eval \${$cacheid+:} false; then :
   14127   $as_echo_n "(cached) " >&6
   14128 else
   14129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14130 /* end confdefs.h.  */
   14131 int i;
   14132 int
   14133 main ()
   14134 {
   14135 
   14136   ;
   14137   return 0;
   14138 }
   14139 _ACEOF
   14140 if ac_fn_c_try_link "$LINENO"; then :
   14141   eval $cacheid=yes
   14142 else
   14143   eval $cacheid=no
   14144 fi
   14145 rm -f core conftest.err conftest.$ac_objext \
   14146     conftest$ac_exeext conftest.$ac_ext
   14147 fi
   14148 
   14149 
   14150 		CFLAGS="$xorg_testset_save_CFLAGS"
   14151 
   14152 		eval supported=\$$cacheid
   14153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14154 $as_echo "$supported" >&6; }
   14155 		if test "$supported" = "yes" ; then
   14156 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14157 			found="yes"
   14158 		fi
   14159 	fi
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 xorg_testset_save_CFLAGS="$CFLAGS"
   14176 
   14177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14179 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14180 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14181 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14182   $as_echo_n "(cached) " >&6
   14183 else
   14184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14185 /* end confdefs.h.  */
   14186 int i;
   14187 _ACEOF
   14188 if ac_fn_c_try_compile "$LINENO"; then :
   14189   xorg_cv_cc_flag_unknown_warning_option=yes
   14190 else
   14191   xorg_cv_cc_flag_unknown_warning_option=no
   14192 fi
   14193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14194 fi
   14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14196 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14198 	CFLAGS="$xorg_testset_save_CFLAGS"
   14199 fi
   14200 
   14201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14204 	fi
   14205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14207 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14208 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14209   $as_echo_n "(cached) " >&6
   14210 else
   14211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14212 /* end confdefs.h.  */
   14213 int i;
   14214 _ACEOF
   14215 if ac_fn_c_try_compile "$LINENO"; then :
   14216   xorg_cv_cc_flag_unused_command_line_argument=yes
   14217 else
   14218   xorg_cv_cc_flag_unused_command_line_argument=no
   14219 fi
   14220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14221 fi
   14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14223 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14225 	CFLAGS="$xorg_testset_save_CFLAGS"
   14226 fi
   14227 
   14228 found="no"
   14229 
   14230 	if test $found = "no" ; then
   14231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 		fi
   14234 
   14235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14237 		fi
   14238 
   14239 		CFLAGS="$CFLAGS -Werror=main"
   14240 
   14241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14242 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14243 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14244 		if eval \${$cacheid+:} false; then :
   14245   $as_echo_n "(cached) " >&6
   14246 else
   14247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14248 /* end confdefs.h.  */
   14249 int i;
   14250 int
   14251 main ()
   14252 {
   14253 
   14254   ;
   14255   return 0;
   14256 }
   14257 _ACEOF
   14258 if ac_fn_c_try_link "$LINENO"; then :
   14259   eval $cacheid=yes
   14260 else
   14261   eval $cacheid=no
   14262 fi
   14263 rm -f core conftest.err conftest.$ac_objext \
   14264     conftest$ac_exeext conftest.$ac_ext
   14265 fi
   14266 
   14267 
   14268 		CFLAGS="$xorg_testset_save_CFLAGS"
   14269 
   14270 		eval supported=\$$cacheid
   14271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14272 $as_echo "$supported" >&6; }
   14273 		if test "$supported" = "yes" ; then
   14274 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14275 			found="yes"
   14276 		fi
   14277 	fi
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 xorg_testset_save_CFLAGS="$CFLAGS"
   14294 
   14295 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14296 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14298 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14299 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14300   $as_echo_n "(cached) " >&6
   14301 else
   14302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14303 /* end confdefs.h.  */
   14304 int i;
   14305 _ACEOF
   14306 if ac_fn_c_try_compile "$LINENO"; then :
   14307   xorg_cv_cc_flag_unknown_warning_option=yes
   14308 else
   14309   xorg_cv_cc_flag_unknown_warning_option=no
   14310 fi
   14311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14312 fi
   14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14314 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14315 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14316 	CFLAGS="$xorg_testset_save_CFLAGS"
   14317 fi
   14318 
   14319 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14320 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14321 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14322 	fi
   14323 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14325 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14326 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14327   $as_echo_n "(cached) " >&6
   14328 else
   14329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14330 /* end confdefs.h.  */
   14331 int i;
   14332 _ACEOF
   14333 if ac_fn_c_try_compile "$LINENO"; then :
   14334   xorg_cv_cc_flag_unused_command_line_argument=yes
   14335 else
   14336   xorg_cv_cc_flag_unused_command_line_argument=no
   14337 fi
   14338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14339 fi
   14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14341 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14343 	CFLAGS="$xorg_testset_save_CFLAGS"
   14344 fi
   14345 
   14346 found="no"
   14347 
   14348 	if test $found = "no" ; then
   14349 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14351 		fi
   14352 
   14353 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14355 		fi
   14356 
   14357 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14358 
   14359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14360 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14361 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14362 		if eval \${$cacheid+:} false; then :
   14363   $as_echo_n "(cached) " >&6
   14364 else
   14365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14366 /* end confdefs.h.  */
   14367 int i;
   14368 int
   14369 main ()
   14370 {
   14371 
   14372   ;
   14373   return 0;
   14374 }
   14375 _ACEOF
   14376 if ac_fn_c_try_link "$LINENO"; then :
   14377   eval $cacheid=yes
   14378 else
   14379   eval $cacheid=no
   14380 fi
   14381 rm -f core conftest.err conftest.$ac_objext \
   14382     conftest$ac_exeext conftest.$ac_ext
   14383 fi
   14384 
   14385 
   14386 		CFLAGS="$xorg_testset_save_CFLAGS"
   14387 
   14388 		eval supported=\$$cacheid
   14389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14390 $as_echo "$supported" >&6; }
   14391 		if test "$supported" = "yes" ; then
   14392 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14393 			found="yes"
   14394 		fi
   14395 	fi
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 xorg_testset_save_CFLAGS="$CFLAGS"
   14412 
   14413 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14414 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14415 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14416 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14417 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14418   $as_echo_n "(cached) " >&6
   14419 else
   14420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14421 /* end confdefs.h.  */
   14422 int i;
   14423 _ACEOF
   14424 if ac_fn_c_try_compile "$LINENO"; then :
   14425   xorg_cv_cc_flag_unknown_warning_option=yes
   14426 else
   14427   xorg_cv_cc_flag_unknown_warning_option=no
   14428 fi
   14429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14430 fi
   14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14432 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14434 	CFLAGS="$xorg_testset_save_CFLAGS"
   14435 fi
   14436 
   14437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14440 	fi
   14441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14442 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14443 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14444 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14445   $as_echo_n "(cached) " >&6
   14446 else
   14447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14448 /* end confdefs.h.  */
   14449 int i;
   14450 _ACEOF
   14451 if ac_fn_c_try_compile "$LINENO"; then :
   14452   xorg_cv_cc_flag_unused_command_line_argument=yes
   14453 else
   14454   xorg_cv_cc_flag_unused_command_line_argument=no
   14455 fi
   14456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14457 fi
   14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14459 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14461 	CFLAGS="$xorg_testset_save_CFLAGS"
   14462 fi
   14463 
   14464 found="no"
   14465 
   14466 	if test $found = "no" ; then
   14467 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14469 		fi
   14470 
   14471 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14473 		fi
   14474 
   14475 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14476 
   14477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14478 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14479 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14480 		if eval \${$cacheid+:} false; then :
   14481   $as_echo_n "(cached) " >&6
   14482 else
   14483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14484 /* end confdefs.h.  */
   14485 int i;
   14486 int
   14487 main ()
   14488 {
   14489 
   14490   ;
   14491   return 0;
   14492 }
   14493 _ACEOF
   14494 if ac_fn_c_try_link "$LINENO"; then :
   14495   eval $cacheid=yes
   14496 else
   14497   eval $cacheid=no
   14498 fi
   14499 rm -f core conftest.err conftest.$ac_objext \
   14500     conftest$ac_exeext conftest.$ac_ext
   14501 fi
   14502 
   14503 
   14504 		CFLAGS="$xorg_testset_save_CFLAGS"
   14505 
   14506 		eval supported=\$$cacheid
   14507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14508 $as_echo "$supported" >&6; }
   14509 		if test "$supported" = "yes" ; then
   14510 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14511 			found="yes"
   14512 		fi
   14513 	fi
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 
   14528 
   14529 xorg_testset_save_CFLAGS="$CFLAGS"
   14530 
   14531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14536   $as_echo_n "(cached) " >&6
   14537 else
   14538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14539 /* end confdefs.h.  */
   14540 int i;
   14541 _ACEOF
   14542 if ac_fn_c_try_compile "$LINENO"; then :
   14543   xorg_cv_cc_flag_unknown_warning_option=yes
   14544 else
   14545   xorg_cv_cc_flag_unknown_warning_option=no
   14546 fi
   14547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14548 fi
   14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14552 	CFLAGS="$xorg_testset_save_CFLAGS"
   14553 fi
   14554 
   14555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14558 	fi
   14559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14563   $as_echo_n "(cached) " >&6
   14564 else
   14565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14566 /* end confdefs.h.  */
   14567 int i;
   14568 _ACEOF
   14569 if ac_fn_c_try_compile "$LINENO"; then :
   14570   xorg_cv_cc_flag_unused_command_line_argument=yes
   14571 else
   14572   xorg_cv_cc_flag_unused_command_line_argument=no
   14573 fi
   14574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14575 fi
   14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14579 	CFLAGS="$xorg_testset_save_CFLAGS"
   14580 fi
   14581 
   14582 found="no"
   14583 
   14584 	if test $found = "no" ; then
   14585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14587 		fi
   14588 
   14589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14591 		fi
   14592 
   14593 		CFLAGS="$CFLAGS -Werror=return-type"
   14594 
   14595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14596 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14597 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14598 		if eval \${$cacheid+:} false; then :
   14599   $as_echo_n "(cached) " >&6
   14600 else
   14601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14602 /* end confdefs.h.  */
   14603 int i;
   14604 int
   14605 main ()
   14606 {
   14607 
   14608   ;
   14609   return 0;
   14610 }
   14611 _ACEOF
   14612 if ac_fn_c_try_link "$LINENO"; then :
   14613   eval $cacheid=yes
   14614 else
   14615   eval $cacheid=no
   14616 fi
   14617 rm -f core conftest.err conftest.$ac_objext \
   14618     conftest$ac_exeext conftest.$ac_ext
   14619 fi
   14620 
   14621 
   14622 		CFLAGS="$xorg_testset_save_CFLAGS"
   14623 
   14624 		eval supported=\$$cacheid
   14625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14626 $as_echo "$supported" >&6; }
   14627 		if test "$supported" = "yes" ; then
   14628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14629 			found="yes"
   14630 		fi
   14631 	fi
   14632 
   14633 	if test $found = "no" ; then
   14634 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14636 		fi
   14637 
   14638 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14640 		fi
   14641 
   14642 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14643 
   14644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14645 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14646 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14647 		if eval \${$cacheid+:} false; then :
   14648   $as_echo_n "(cached) " >&6
   14649 else
   14650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14651 /* end confdefs.h.  */
   14652 int i;
   14653 int
   14654 main ()
   14655 {
   14656 
   14657   ;
   14658   return 0;
   14659 }
   14660 _ACEOF
   14661 if ac_fn_c_try_link "$LINENO"; then :
   14662   eval $cacheid=yes
   14663 else
   14664   eval $cacheid=no
   14665 fi
   14666 rm -f core conftest.err conftest.$ac_objext \
   14667     conftest$ac_exeext conftest.$ac_ext
   14668 fi
   14669 
   14670 
   14671 		CFLAGS="$xorg_testset_save_CFLAGS"
   14672 
   14673 		eval supported=\$$cacheid
   14674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14675 $as_echo "$supported" >&6; }
   14676 		if test "$supported" = "yes" ; then
   14677 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14678 			found="yes"
   14679 		fi
   14680 	fi
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 xorg_testset_save_CFLAGS="$CFLAGS"
   14697 
   14698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14703   $as_echo_n "(cached) " >&6
   14704 else
   14705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14706 /* end confdefs.h.  */
   14707 int i;
   14708 _ACEOF
   14709 if ac_fn_c_try_compile "$LINENO"; then :
   14710   xorg_cv_cc_flag_unknown_warning_option=yes
   14711 else
   14712   xorg_cv_cc_flag_unknown_warning_option=no
   14713 fi
   14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14715 fi
   14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14719 	CFLAGS="$xorg_testset_save_CFLAGS"
   14720 fi
   14721 
   14722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14725 	fi
   14726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14730   $as_echo_n "(cached) " >&6
   14731 else
   14732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14733 /* end confdefs.h.  */
   14734 int i;
   14735 _ACEOF
   14736 if ac_fn_c_try_compile "$LINENO"; then :
   14737   xorg_cv_cc_flag_unused_command_line_argument=yes
   14738 else
   14739   xorg_cv_cc_flag_unused_command_line_argument=no
   14740 fi
   14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14742 fi
   14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14746 	CFLAGS="$xorg_testset_save_CFLAGS"
   14747 fi
   14748 
   14749 found="no"
   14750 
   14751 	if test $found = "no" ; then
   14752 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14754 		fi
   14755 
   14756 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14758 		fi
   14759 
   14760 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14761 
   14762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14763 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14764 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14765 		if eval \${$cacheid+:} false; then :
   14766   $as_echo_n "(cached) " >&6
   14767 else
   14768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14769 /* end confdefs.h.  */
   14770 int i;
   14771 int
   14772 main ()
   14773 {
   14774 
   14775   ;
   14776   return 0;
   14777 }
   14778 _ACEOF
   14779 if ac_fn_c_try_link "$LINENO"; then :
   14780   eval $cacheid=yes
   14781 else
   14782   eval $cacheid=no
   14783 fi
   14784 rm -f core conftest.err conftest.$ac_objext \
   14785     conftest$ac_exeext conftest.$ac_ext
   14786 fi
   14787 
   14788 
   14789 		CFLAGS="$xorg_testset_save_CFLAGS"
   14790 
   14791 		eval supported=\$$cacheid
   14792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14793 $as_echo "$supported" >&6; }
   14794 		if test "$supported" = "yes" ; then
   14795 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14796 			found="yes"
   14797 		fi
   14798 	fi
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 xorg_testset_save_CFLAGS="$CFLAGS"
   14815 
   14816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14821   $as_echo_n "(cached) " >&6
   14822 else
   14823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14824 /* end confdefs.h.  */
   14825 int i;
   14826 _ACEOF
   14827 if ac_fn_c_try_compile "$LINENO"; then :
   14828   xorg_cv_cc_flag_unknown_warning_option=yes
   14829 else
   14830   xorg_cv_cc_flag_unknown_warning_option=no
   14831 fi
   14832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14833 fi
   14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14837 	CFLAGS="$xorg_testset_save_CFLAGS"
   14838 fi
   14839 
   14840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14843 	fi
   14844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14848   $as_echo_n "(cached) " >&6
   14849 else
   14850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14851 /* end confdefs.h.  */
   14852 int i;
   14853 _ACEOF
   14854 if ac_fn_c_try_compile "$LINENO"; then :
   14855   xorg_cv_cc_flag_unused_command_line_argument=yes
   14856 else
   14857   xorg_cv_cc_flag_unused_command_line_argument=no
   14858 fi
   14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14860 fi
   14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14864 	CFLAGS="$xorg_testset_save_CFLAGS"
   14865 fi
   14866 
   14867 found="no"
   14868 
   14869 	if test $found = "no" ; then
   14870 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 		fi
   14873 
   14874 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14876 		fi
   14877 
   14878 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14879 
   14880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14881 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14882 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14883 		if eval \${$cacheid+:} false; then :
   14884   $as_echo_n "(cached) " >&6
   14885 else
   14886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14887 /* end confdefs.h.  */
   14888 int i;
   14889 int
   14890 main ()
   14891 {
   14892 
   14893   ;
   14894   return 0;
   14895 }
   14896 _ACEOF
   14897 if ac_fn_c_try_link "$LINENO"; then :
   14898   eval $cacheid=yes
   14899 else
   14900   eval $cacheid=no
   14901 fi
   14902 rm -f core conftest.err conftest.$ac_objext \
   14903     conftest$ac_exeext conftest.$ac_ext
   14904 fi
   14905 
   14906 
   14907 		CFLAGS="$xorg_testset_save_CFLAGS"
   14908 
   14909 		eval supported=\$$cacheid
   14910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14911 $as_echo "$supported" >&6; }
   14912 		if test "$supported" = "yes" ; then
   14913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14914 			found="yes"
   14915 		fi
   14916 	fi
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 xorg_testset_save_CFLAGS="$CFLAGS"
   14933 
   14934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14939   $as_echo_n "(cached) " >&6
   14940 else
   14941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14942 /* end confdefs.h.  */
   14943 int i;
   14944 _ACEOF
   14945 if ac_fn_c_try_compile "$LINENO"; then :
   14946   xorg_cv_cc_flag_unknown_warning_option=yes
   14947 else
   14948   xorg_cv_cc_flag_unknown_warning_option=no
   14949 fi
   14950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14951 fi
   14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14955 	CFLAGS="$xorg_testset_save_CFLAGS"
   14956 fi
   14957 
   14958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14961 	fi
   14962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14966   $as_echo_n "(cached) " >&6
   14967 else
   14968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14969 /* end confdefs.h.  */
   14970 int i;
   14971 _ACEOF
   14972 if ac_fn_c_try_compile "$LINENO"; then :
   14973   xorg_cv_cc_flag_unused_command_line_argument=yes
   14974 else
   14975   xorg_cv_cc_flag_unused_command_line_argument=no
   14976 fi
   14977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14978 fi
   14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14982 	CFLAGS="$xorg_testset_save_CFLAGS"
   14983 fi
   14984 
   14985 found="no"
   14986 
   14987 	if test $found = "no" ; then
   14988 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14990 		fi
   14991 
   14992 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14994 		fi
   14995 
   14996 		CFLAGS="$CFLAGS -Werror=write-strings"
   14997 
   14998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14999 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15000 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15001 		if eval \${$cacheid+:} false; then :
   15002   $as_echo_n "(cached) " >&6
   15003 else
   15004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15005 /* end confdefs.h.  */
   15006 int i;
   15007 int
   15008 main ()
   15009 {
   15010 
   15011   ;
   15012   return 0;
   15013 }
   15014 _ACEOF
   15015 if ac_fn_c_try_link "$LINENO"; then :
   15016   eval $cacheid=yes
   15017 else
   15018   eval $cacheid=no
   15019 fi
   15020 rm -f core conftest.err conftest.$ac_objext \
   15021     conftest$ac_exeext conftest.$ac_ext
   15022 fi
   15023 
   15024 
   15025 		CFLAGS="$xorg_testset_save_CFLAGS"
   15026 
   15027 		eval supported=\$$cacheid
   15028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15029 $as_echo "$supported" >&6; }
   15030 		if test "$supported" = "yes" ; then
   15031 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15032 			found="yes"
   15033 		fi
   15034 	fi
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050 xorg_testset_save_CFLAGS="$CFLAGS"
   15051 
   15052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15055 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15056 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15057   $as_echo_n "(cached) " >&6
   15058 else
   15059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15060 /* end confdefs.h.  */
   15061 int i;
   15062 _ACEOF
   15063 if ac_fn_c_try_compile "$LINENO"; then :
   15064   xorg_cv_cc_flag_unknown_warning_option=yes
   15065 else
   15066   xorg_cv_cc_flag_unknown_warning_option=no
   15067 fi
   15068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15069 fi
   15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15071 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15072 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15073 	CFLAGS="$xorg_testset_save_CFLAGS"
   15074 fi
   15075 
   15076 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15077 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15078 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15079 	fi
   15080 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15082 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15083 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15084   $as_echo_n "(cached) " >&6
   15085 else
   15086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15087 /* end confdefs.h.  */
   15088 int i;
   15089 _ACEOF
   15090 if ac_fn_c_try_compile "$LINENO"; then :
   15091   xorg_cv_cc_flag_unused_command_line_argument=yes
   15092 else
   15093   xorg_cv_cc_flag_unused_command_line_argument=no
   15094 fi
   15095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15096 fi
   15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15098 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15100 	CFLAGS="$xorg_testset_save_CFLAGS"
   15101 fi
   15102 
   15103 found="no"
   15104 
   15105 	if test $found = "no" ; then
   15106 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15108 		fi
   15109 
   15110 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15112 		fi
   15113 
   15114 		CFLAGS="$CFLAGS -Werror=address"
   15115 
   15116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15117 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15118 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15119 		if eval \${$cacheid+:} false; then :
   15120   $as_echo_n "(cached) " >&6
   15121 else
   15122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15123 /* end confdefs.h.  */
   15124 int i;
   15125 int
   15126 main ()
   15127 {
   15128 
   15129   ;
   15130   return 0;
   15131 }
   15132 _ACEOF
   15133 if ac_fn_c_try_link "$LINENO"; then :
   15134   eval $cacheid=yes
   15135 else
   15136   eval $cacheid=no
   15137 fi
   15138 rm -f core conftest.err conftest.$ac_objext \
   15139     conftest$ac_exeext conftest.$ac_ext
   15140 fi
   15141 
   15142 
   15143 		CFLAGS="$xorg_testset_save_CFLAGS"
   15144 
   15145 		eval supported=\$$cacheid
   15146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15147 $as_echo "$supported" >&6; }
   15148 		if test "$supported" = "yes" ; then
   15149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15150 			found="yes"
   15151 		fi
   15152 	fi
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 xorg_testset_save_CFLAGS="$CFLAGS"
   15169 
   15170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15175   $as_echo_n "(cached) " >&6
   15176 else
   15177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15178 /* end confdefs.h.  */
   15179 int i;
   15180 _ACEOF
   15181 if ac_fn_c_try_compile "$LINENO"; then :
   15182   xorg_cv_cc_flag_unknown_warning_option=yes
   15183 else
   15184   xorg_cv_cc_flag_unknown_warning_option=no
   15185 fi
   15186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15187 fi
   15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15191 	CFLAGS="$xorg_testset_save_CFLAGS"
   15192 fi
   15193 
   15194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15197 	fi
   15198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15202   $as_echo_n "(cached) " >&6
   15203 else
   15204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15205 /* end confdefs.h.  */
   15206 int i;
   15207 _ACEOF
   15208 if ac_fn_c_try_compile "$LINENO"; then :
   15209   xorg_cv_cc_flag_unused_command_line_argument=yes
   15210 else
   15211   xorg_cv_cc_flag_unused_command_line_argument=no
   15212 fi
   15213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15214 fi
   15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15218 	CFLAGS="$xorg_testset_save_CFLAGS"
   15219 fi
   15220 
   15221 found="no"
   15222 
   15223 	if test $found = "no" ; then
   15224 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15226 		fi
   15227 
   15228 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15230 		fi
   15231 
   15232 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15233 
   15234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15235 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15236 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15237 		if eval \${$cacheid+:} false; then :
   15238   $as_echo_n "(cached) " >&6
   15239 else
   15240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15241 /* end confdefs.h.  */
   15242 int i;
   15243 int
   15244 main ()
   15245 {
   15246 
   15247   ;
   15248   return 0;
   15249 }
   15250 _ACEOF
   15251 if ac_fn_c_try_link "$LINENO"; then :
   15252   eval $cacheid=yes
   15253 else
   15254   eval $cacheid=no
   15255 fi
   15256 rm -f core conftest.err conftest.$ac_objext \
   15257     conftest$ac_exeext conftest.$ac_ext
   15258 fi
   15259 
   15260 
   15261 		CFLAGS="$xorg_testset_save_CFLAGS"
   15262 
   15263 		eval supported=\$$cacheid
   15264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15265 $as_echo "$supported" >&6; }
   15266 		if test "$supported" = "yes" ; then
   15267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15268 			found="yes"
   15269 		fi
   15270 	fi
   15271 
   15272 	if test $found = "no" ; then
   15273 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15275 		fi
   15276 
   15277 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15279 		fi
   15280 
   15281 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15282 
   15283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15284 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15285 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15286 		if eval \${$cacheid+:} false; then :
   15287   $as_echo_n "(cached) " >&6
   15288 else
   15289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15290 /* end confdefs.h.  */
   15291 int i;
   15292 int
   15293 main ()
   15294 {
   15295 
   15296   ;
   15297   return 0;
   15298 }
   15299 _ACEOF
   15300 if ac_fn_c_try_link "$LINENO"; then :
   15301   eval $cacheid=yes
   15302 else
   15303   eval $cacheid=no
   15304 fi
   15305 rm -f core conftest.err conftest.$ac_objext \
   15306     conftest$ac_exeext conftest.$ac_ext
   15307 fi
   15308 
   15309 
   15310 		CFLAGS="$xorg_testset_save_CFLAGS"
   15311 
   15312 		eval supported=\$$cacheid
   15313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15314 $as_echo "$supported" >&6; }
   15315 		if test "$supported" = "yes" ; then
   15316 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15317 			found="yes"
   15318 		fi
   15319 	fi
   15320 
   15321 
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 xorg_testset_save_CFLAGS="$CFLAGS"
   15336 
   15337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15342   $as_echo_n "(cached) " >&6
   15343 else
   15344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15345 /* end confdefs.h.  */
   15346 int i;
   15347 _ACEOF
   15348 if ac_fn_c_try_compile "$LINENO"; then :
   15349   xorg_cv_cc_flag_unknown_warning_option=yes
   15350 else
   15351   xorg_cv_cc_flag_unknown_warning_option=no
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15354 fi
   15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15358 	CFLAGS="$xorg_testset_save_CFLAGS"
   15359 fi
   15360 
   15361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15364 	fi
   15365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15369   $as_echo_n "(cached) " >&6
   15370 else
   15371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15372 /* end confdefs.h.  */
   15373 int i;
   15374 _ACEOF
   15375 if ac_fn_c_try_compile "$LINENO"; then :
   15376   xorg_cv_cc_flag_unused_command_line_argument=yes
   15377 else
   15378   xorg_cv_cc_flag_unused_command_line_argument=no
   15379 fi
   15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15381 fi
   15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15385 	CFLAGS="$xorg_testset_save_CFLAGS"
   15386 fi
   15387 
   15388 found="no"
   15389 
   15390 	if test $found = "no" ; then
   15391 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 		fi
   15394 
   15395 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15397 		fi
   15398 
   15399 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15400 
   15401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15402 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15403 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15404 		if eval \${$cacheid+:} false; then :
   15405   $as_echo_n "(cached) " >&6
   15406 else
   15407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15408 /* end confdefs.h.  */
   15409 int i;
   15410 int
   15411 main ()
   15412 {
   15413 
   15414   ;
   15415   return 0;
   15416 }
   15417 _ACEOF
   15418 if ac_fn_c_try_link "$LINENO"; then :
   15419   eval $cacheid=yes
   15420 else
   15421   eval $cacheid=no
   15422 fi
   15423 rm -f core conftest.err conftest.$ac_objext \
   15424     conftest$ac_exeext conftest.$ac_ext
   15425 fi
   15426 
   15427 
   15428 		CFLAGS="$xorg_testset_save_CFLAGS"
   15429 
   15430 		eval supported=\$$cacheid
   15431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15432 $as_echo "$supported" >&6; }
   15433 		if test "$supported" = "yes" ; then
   15434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15435 			found="yes"
   15436 		fi
   15437 	fi
   15438 
   15439  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15440 else
   15441 { $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
   15442 $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;}
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 xorg_testset_save_CFLAGS="$CFLAGS"
   15457 
   15458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15463   $as_echo_n "(cached) " >&6
   15464 else
   15465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15466 /* end confdefs.h.  */
   15467 int i;
   15468 _ACEOF
   15469 if ac_fn_c_try_compile "$LINENO"; then :
   15470   xorg_cv_cc_flag_unknown_warning_option=yes
   15471 else
   15472   xorg_cv_cc_flag_unknown_warning_option=no
   15473 fi
   15474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15475 fi
   15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15479 	CFLAGS="$xorg_testset_save_CFLAGS"
   15480 fi
   15481 
   15482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15485 	fi
   15486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15490   $as_echo_n "(cached) " >&6
   15491 else
   15492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15493 /* end confdefs.h.  */
   15494 int i;
   15495 _ACEOF
   15496 if ac_fn_c_try_compile "$LINENO"; then :
   15497   xorg_cv_cc_flag_unused_command_line_argument=yes
   15498 else
   15499   xorg_cv_cc_flag_unused_command_line_argument=no
   15500 fi
   15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15502 fi
   15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15506 	CFLAGS="$xorg_testset_save_CFLAGS"
   15507 fi
   15508 
   15509 found="no"
   15510 
   15511 	if test $found = "no" ; then
   15512 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15514 		fi
   15515 
   15516 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15518 		fi
   15519 
   15520 		CFLAGS="$CFLAGS -Wimplicit"
   15521 
   15522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15523 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15524 		cacheid=xorg_cv_cc_flag__Wimplicit
   15525 		if eval \${$cacheid+:} false; then :
   15526   $as_echo_n "(cached) " >&6
   15527 else
   15528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15529 /* end confdefs.h.  */
   15530 int i;
   15531 int
   15532 main ()
   15533 {
   15534 
   15535   ;
   15536   return 0;
   15537 }
   15538 _ACEOF
   15539 if ac_fn_c_try_link "$LINENO"; then :
   15540   eval $cacheid=yes
   15541 else
   15542   eval $cacheid=no
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext \
   15545     conftest$ac_exeext conftest.$ac_ext
   15546 fi
   15547 
   15548 
   15549 		CFLAGS="$xorg_testset_save_CFLAGS"
   15550 
   15551 		eval supported=\$$cacheid
   15552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15553 $as_echo "$supported" >&6; }
   15554 		if test "$supported" = "yes" ; then
   15555 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15556 			found="yes"
   15557 		fi
   15558 	fi
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 xorg_testset_save_CFLAGS="$CFLAGS"
   15575 
   15576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15581   $as_echo_n "(cached) " >&6
   15582 else
   15583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15584 /* end confdefs.h.  */
   15585 int i;
   15586 _ACEOF
   15587 if ac_fn_c_try_compile "$LINENO"; then :
   15588   xorg_cv_cc_flag_unknown_warning_option=yes
   15589 else
   15590   xorg_cv_cc_flag_unknown_warning_option=no
   15591 fi
   15592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15593 fi
   15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15597 	CFLAGS="$xorg_testset_save_CFLAGS"
   15598 fi
   15599 
   15600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15603 	fi
   15604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15608   $as_echo_n "(cached) " >&6
   15609 else
   15610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15611 /* end confdefs.h.  */
   15612 int i;
   15613 _ACEOF
   15614 if ac_fn_c_try_compile "$LINENO"; then :
   15615   xorg_cv_cc_flag_unused_command_line_argument=yes
   15616 else
   15617   xorg_cv_cc_flag_unused_command_line_argument=no
   15618 fi
   15619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15620 fi
   15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15624 	CFLAGS="$xorg_testset_save_CFLAGS"
   15625 fi
   15626 
   15627 found="no"
   15628 
   15629 	if test $found = "no" ; then
   15630 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 		fi
   15633 
   15634 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15636 		fi
   15637 
   15638 		CFLAGS="$CFLAGS -Wnonnull"
   15639 
   15640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15641 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15642 		cacheid=xorg_cv_cc_flag__Wnonnull
   15643 		if eval \${$cacheid+:} false; then :
   15644   $as_echo_n "(cached) " >&6
   15645 else
   15646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15647 /* end confdefs.h.  */
   15648 int i;
   15649 int
   15650 main ()
   15651 {
   15652 
   15653   ;
   15654   return 0;
   15655 }
   15656 _ACEOF
   15657 if ac_fn_c_try_link "$LINENO"; then :
   15658   eval $cacheid=yes
   15659 else
   15660   eval $cacheid=no
   15661 fi
   15662 rm -f core conftest.err conftest.$ac_objext \
   15663     conftest$ac_exeext conftest.$ac_ext
   15664 fi
   15665 
   15666 
   15667 		CFLAGS="$xorg_testset_save_CFLAGS"
   15668 
   15669 		eval supported=\$$cacheid
   15670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15671 $as_echo "$supported" >&6; }
   15672 		if test "$supported" = "yes" ; then
   15673 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15674 			found="yes"
   15675 		fi
   15676 	fi
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 xorg_testset_save_CFLAGS="$CFLAGS"
   15693 
   15694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15699   $as_echo_n "(cached) " >&6
   15700 else
   15701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15702 /* end confdefs.h.  */
   15703 int i;
   15704 _ACEOF
   15705 if ac_fn_c_try_compile "$LINENO"; then :
   15706   xorg_cv_cc_flag_unknown_warning_option=yes
   15707 else
   15708   xorg_cv_cc_flag_unknown_warning_option=no
   15709 fi
   15710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15711 fi
   15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15715 	CFLAGS="$xorg_testset_save_CFLAGS"
   15716 fi
   15717 
   15718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15721 	fi
   15722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15726   $as_echo_n "(cached) " >&6
   15727 else
   15728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15729 /* end confdefs.h.  */
   15730 int i;
   15731 _ACEOF
   15732 if ac_fn_c_try_compile "$LINENO"; then :
   15733   xorg_cv_cc_flag_unused_command_line_argument=yes
   15734 else
   15735   xorg_cv_cc_flag_unused_command_line_argument=no
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15738 fi
   15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15742 	CFLAGS="$xorg_testset_save_CFLAGS"
   15743 fi
   15744 
   15745 found="no"
   15746 
   15747 	if test $found = "no" ; then
   15748 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15750 		fi
   15751 
   15752 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15754 		fi
   15755 
   15756 		CFLAGS="$CFLAGS -Winit-self"
   15757 
   15758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15759 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15760 		cacheid=xorg_cv_cc_flag__Winit_self
   15761 		if eval \${$cacheid+:} false; then :
   15762   $as_echo_n "(cached) " >&6
   15763 else
   15764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15765 /* end confdefs.h.  */
   15766 int i;
   15767 int
   15768 main ()
   15769 {
   15770 
   15771   ;
   15772   return 0;
   15773 }
   15774 _ACEOF
   15775 if ac_fn_c_try_link "$LINENO"; then :
   15776   eval $cacheid=yes
   15777 else
   15778   eval $cacheid=no
   15779 fi
   15780 rm -f core conftest.err conftest.$ac_objext \
   15781     conftest$ac_exeext conftest.$ac_ext
   15782 fi
   15783 
   15784 
   15785 		CFLAGS="$xorg_testset_save_CFLAGS"
   15786 
   15787 		eval supported=\$$cacheid
   15788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15789 $as_echo "$supported" >&6; }
   15790 		if test "$supported" = "yes" ; then
   15791 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15792 			found="yes"
   15793 		fi
   15794 	fi
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 xorg_testset_save_CFLAGS="$CFLAGS"
   15811 
   15812 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15813 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15815 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15816 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15817   $as_echo_n "(cached) " >&6
   15818 else
   15819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15820 /* end confdefs.h.  */
   15821 int i;
   15822 _ACEOF
   15823 if ac_fn_c_try_compile "$LINENO"; then :
   15824   xorg_cv_cc_flag_unknown_warning_option=yes
   15825 else
   15826   xorg_cv_cc_flag_unknown_warning_option=no
   15827 fi
   15828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15829 fi
   15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15831 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15832 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15833 	CFLAGS="$xorg_testset_save_CFLAGS"
   15834 fi
   15835 
   15836 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15837 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15838 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15839 	fi
   15840 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15842 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15843 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15844   $as_echo_n "(cached) " >&6
   15845 else
   15846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15847 /* end confdefs.h.  */
   15848 int i;
   15849 _ACEOF
   15850 if ac_fn_c_try_compile "$LINENO"; then :
   15851   xorg_cv_cc_flag_unused_command_line_argument=yes
   15852 else
   15853   xorg_cv_cc_flag_unused_command_line_argument=no
   15854 fi
   15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15856 fi
   15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15858 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15859 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15860 	CFLAGS="$xorg_testset_save_CFLAGS"
   15861 fi
   15862 
   15863 found="no"
   15864 
   15865 	if test $found = "no" ; then
   15866 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 		fi
   15869 
   15870 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15872 		fi
   15873 
   15874 		CFLAGS="$CFLAGS -Wmain"
   15875 
   15876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15877 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15878 		cacheid=xorg_cv_cc_flag__Wmain
   15879 		if eval \${$cacheid+:} false; then :
   15880   $as_echo_n "(cached) " >&6
   15881 else
   15882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15883 /* end confdefs.h.  */
   15884 int i;
   15885 int
   15886 main ()
   15887 {
   15888 
   15889   ;
   15890   return 0;
   15891 }
   15892 _ACEOF
   15893 if ac_fn_c_try_link "$LINENO"; then :
   15894   eval $cacheid=yes
   15895 else
   15896   eval $cacheid=no
   15897 fi
   15898 rm -f core conftest.err conftest.$ac_objext \
   15899     conftest$ac_exeext conftest.$ac_ext
   15900 fi
   15901 
   15902 
   15903 		CFLAGS="$xorg_testset_save_CFLAGS"
   15904 
   15905 		eval supported=\$$cacheid
   15906 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15907 $as_echo "$supported" >&6; }
   15908 		if test "$supported" = "yes" ; then
   15909 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15910 			found="yes"
   15911 		fi
   15912 	fi
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 xorg_testset_save_CFLAGS="$CFLAGS"
   15929 
   15930 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15931 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15933 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15934 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15935   $as_echo_n "(cached) " >&6
   15936 else
   15937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15938 /* end confdefs.h.  */
   15939 int i;
   15940 _ACEOF
   15941 if ac_fn_c_try_compile "$LINENO"; then :
   15942   xorg_cv_cc_flag_unknown_warning_option=yes
   15943 else
   15944   xorg_cv_cc_flag_unknown_warning_option=no
   15945 fi
   15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15947 fi
   15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15949 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15951 	CFLAGS="$xorg_testset_save_CFLAGS"
   15952 fi
   15953 
   15954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15957 	fi
   15958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15960 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15961 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15962   $as_echo_n "(cached) " >&6
   15963 else
   15964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15965 /* end confdefs.h.  */
   15966 int i;
   15967 _ACEOF
   15968 if ac_fn_c_try_compile "$LINENO"; then :
   15969   xorg_cv_cc_flag_unused_command_line_argument=yes
   15970 else
   15971   xorg_cv_cc_flag_unused_command_line_argument=no
   15972 fi
   15973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15974 fi
   15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15976 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15977 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15978 	CFLAGS="$xorg_testset_save_CFLAGS"
   15979 fi
   15980 
   15981 found="no"
   15982 
   15983 	if test $found = "no" ; then
   15984 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15985 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 		fi
   15987 
   15988 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15989 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15990 		fi
   15991 
   15992 		CFLAGS="$CFLAGS -Wmissing-braces"
   15993 
   15994 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15995 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15996 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15997 		if eval \${$cacheid+:} false; then :
   15998   $as_echo_n "(cached) " >&6
   15999 else
   16000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16001 /* end confdefs.h.  */
   16002 int i;
   16003 int
   16004 main ()
   16005 {
   16006 
   16007   ;
   16008   return 0;
   16009 }
   16010 _ACEOF
   16011 if ac_fn_c_try_link "$LINENO"; then :
   16012   eval $cacheid=yes
   16013 else
   16014   eval $cacheid=no
   16015 fi
   16016 rm -f core conftest.err conftest.$ac_objext \
   16017     conftest$ac_exeext conftest.$ac_ext
   16018 fi
   16019 
   16020 
   16021 		CFLAGS="$xorg_testset_save_CFLAGS"
   16022 
   16023 		eval supported=\$$cacheid
   16024 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16025 $as_echo "$supported" >&6; }
   16026 		if test "$supported" = "yes" ; then
   16027 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16028 			found="yes"
   16029 		fi
   16030 	fi
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 xorg_testset_save_CFLAGS="$CFLAGS"
   16047 
   16048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16051 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16052 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16053   $as_echo_n "(cached) " >&6
   16054 else
   16055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16056 /* end confdefs.h.  */
   16057 int i;
   16058 _ACEOF
   16059 if ac_fn_c_try_compile "$LINENO"; then :
   16060   xorg_cv_cc_flag_unknown_warning_option=yes
   16061 else
   16062   xorg_cv_cc_flag_unknown_warning_option=no
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16065 fi
   16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16067 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16069 	CFLAGS="$xorg_testset_save_CFLAGS"
   16070 fi
   16071 
   16072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16075 	fi
   16076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16078 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16079 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16080   $as_echo_n "(cached) " >&6
   16081 else
   16082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16083 /* end confdefs.h.  */
   16084 int i;
   16085 _ACEOF
   16086 if ac_fn_c_try_compile "$LINENO"; then :
   16087   xorg_cv_cc_flag_unused_command_line_argument=yes
   16088 else
   16089   xorg_cv_cc_flag_unused_command_line_argument=no
   16090 fi
   16091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16092 fi
   16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16094 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16096 	CFLAGS="$xorg_testset_save_CFLAGS"
   16097 fi
   16098 
   16099 found="no"
   16100 
   16101 	if test $found = "no" ; then
   16102 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16104 		fi
   16105 
   16106 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16108 		fi
   16109 
   16110 		CFLAGS="$CFLAGS -Wsequence-point"
   16111 
   16112 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16113 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16114 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16115 		if eval \${$cacheid+:} false; then :
   16116   $as_echo_n "(cached) " >&6
   16117 else
   16118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16119 /* end confdefs.h.  */
   16120 int i;
   16121 int
   16122 main ()
   16123 {
   16124 
   16125   ;
   16126   return 0;
   16127 }
   16128 _ACEOF
   16129 if ac_fn_c_try_link "$LINENO"; then :
   16130   eval $cacheid=yes
   16131 else
   16132   eval $cacheid=no
   16133 fi
   16134 rm -f core conftest.err conftest.$ac_objext \
   16135     conftest$ac_exeext conftest.$ac_ext
   16136 fi
   16137 
   16138 
   16139 		CFLAGS="$xorg_testset_save_CFLAGS"
   16140 
   16141 		eval supported=\$$cacheid
   16142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16143 $as_echo "$supported" >&6; }
   16144 		if test "$supported" = "yes" ; then
   16145 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16146 			found="yes"
   16147 		fi
   16148 	fi
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 xorg_testset_save_CFLAGS="$CFLAGS"
   16165 
   16166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16169 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16170 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16171   $as_echo_n "(cached) " >&6
   16172 else
   16173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16174 /* end confdefs.h.  */
   16175 int i;
   16176 _ACEOF
   16177 if ac_fn_c_try_compile "$LINENO"; then :
   16178   xorg_cv_cc_flag_unknown_warning_option=yes
   16179 else
   16180   xorg_cv_cc_flag_unknown_warning_option=no
   16181 fi
   16182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16183 fi
   16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16185 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16187 	CFLAGS="$xorg_testset_save_CFLAGS"
   16188 fi
   16189 
   16190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16193 	fi
   16194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16196 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16197 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16198   $as_echo_n "(cached) " >&6
   16199 else
   16200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16201 /* end confdefs.h.  */
   16202 int i;
   16203 _ACEOF
   16204 if ac_fn_c_try_compile "$LINENO"; then :
   16205   xorg_cv_cc_flag_unused_command_line_argument=yes
   16206 else
   16207   xorg_cv_cc_flag_unused_command_line_argument=no
   16208 fi
   16209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16210 fi
   16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16212 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16213 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16214 	CFLAGS="$xorg_testset_save_CFLAGS"
   16215 fi
   16216 
   16217 found="no"
   16218 
   16219 	if test $found = "no" ; then
   16220 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16221 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16222 		fi
   16223 
   16224 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16225 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16226 		fi
   16227 
   16228 		CFLAGS="$CFLAGS -Wreturn-type"
   16229 
   16230 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16231 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16232 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16233 		if eval \${$cacheid+:} false; then :
   16234   $as_echo_n "(cached) " >&6
   16235 else
   16236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16237 /* end confdefs.h.  */
   16238 int i;
   16239 int
   16240 main ()
   16241 {
   16242 
   16243   ;
   16244   return 0;
   16245 }
   16246 _ACEOF
   16247 if ac_fn_c_try_link "$LINENO"; then :
   16248   eval $cacheid=yes
   16249 else
   16250   eval $cacheid=no
   16251 fi
   16252 rm -f core conftest.err conftest.$ac_objext \
   16253     conftest$ac_exeext conftest.$ac_ext
   16254 fi
   16255 
   16256 
   16257 		CFLAGS="$xorg_testset_save_CFLAGS"
   16258 
   16259 		eval supported=\$$cacheid
   16260 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16261 $as_echo "$supported" >&6; }
   16262 		if test "$supported" = "yes" ; then
   16263 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16264 			found="yes"
   16265 		fi
   16266 	fi
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 xorg_testset_save_CFLAGS="$CFLAGS"
   16283 
   16284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16287 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16288 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16289   $as_echo_n "(cached) " >&6
   16290 else
   16291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16292 /* end confdefs.h.  */
   16293 int i;
   16294 _ACEOF
   16295 if ac_fn_c_try_compile "$LINENO"; then :
   16296   xorg_cv_cc_flag_unknown_warning_option=yes
   16297 else
   16298   xorg_cv_cc_flag_unknown_warning_option=no
   16299 fi
   16300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16301 fi
   16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16303 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16304 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16305 	CFLAGS="$xorg_testset_save_CFLAGS"
   16306 fi
   16307 
   16308 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16309 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16310 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16311 	fi
   16312 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16314 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16315 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16316   $as_echo_n "(cached) " >&6
   16317 else
   16318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16319 /* end confdefs.h.  */
   16320 int i;
   16321 _ACEOF
   16322 if ac_fn_c_try_compile "$LINENO"; then :
   16323   xorg_cv_cc_flag_unused_command_line_argument=yes
   16324 else
   16325   xorg_cv_cc_flag_unused_command_line_argument=no
   16326 fi
   16327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16328 fi
   16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16330 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16332 	CFLAGS="$xorg_testset_save_CFLAGS"
   16333 fi
   16334 
   16335 found="no"
   16336 
   16337 	if test $found = "no" ; then
   16338 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16340 		fi
   16341 
   16342 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16344 		fi
   16345 
   16346 		CFLAGS="$CFLAGS -Wtrigraphs"
   16347 
   16348 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16349 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16350 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16351 		if eval \${$cacheid+:} false; then :
   16352   $as_echo_n "(cached) " >&6
   16353 else
   16354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16355 /* end confdefs.h.  */
   16356 int i;
   16357 int
   16358 main ()
   16359 {
   16360 
   16361   ;
   16362   return 0;
   16363 }
   16364 _ACEOF
   16365 if ac_fn_c_try_link "$LINENO"; then :
   16366   eval $cacheid=yes
   16367 else
   16368   eval $cacheid=no
   16369 fi
   16370 rm -f core conftest.err conftest.$ac_objext \
   16371     conftest$ac_exeext conftest.$ac_ext
   16372 fi
   16373 
   16374 
   16375 		CFLAGS="$xorg_testset_save_CFLAGS"
   16376 
   16377 		eval supported=\$$cacheid
   16378 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16379 $as_echo "$supported" >&6; }
   16380 		if test "$supported" = "yes" ; then
   16381 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16382 			found="yes"
   16383 		fi
   16384 	fi
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 xorg_testset_save_CFLAGS="$CFLAGS"
   16401 
   16402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16405 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16406 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16407   $as_echo_n "(cached) " >&6
   16408 else
   16409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16410 /* end confdefs.h.  */
   16411 int i;
   16412 _ACEOF
   16413 if ac_fn_c_try_compile "$LINENO"; then :
   16414   xorg_cv_cc_flag_unknown_warning_option=yes
   16415 else
   16416   xorg_cv_cc_flag_unknown_warning_option=no
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16419 fi
   16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16421 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16423 	CFLAGS="$xorg_testset_save_CFLAGS"
   16424 fi
   16425 
   16426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16429 	fi
   16430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16431 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16432 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16433 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16434   $as_echo_n "(cached) " >&6
   16435 else
   16436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16437 /* end confdefs.h.  */
   16438 int i;
   16439 _ACEOF
   16440 if ac_fn_c_try_compile "$LINENO"; then :
   16441   xorg_cv_cc_flag_unused_command_line_argument=yes
   16442 else
   16443   xorg_cv_cc_flag_unused_command_line_argument=no
   16444 fi
   16445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16446 fi
   16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16448 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16449 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16450 	CFLAGS="$xorg_testset_save_CFLAGS"
   16451 fi
   16452 
   16453 found="no"
   16454 
   16455 	if test $found = "no" ; then
   16456 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16458 		fi
   16459 
   16460 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16462 		fi
   16463 
   16464 		CFLAGS="$CFLAGS -Warray-bounds"
   16465 
   16466 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16467 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16468 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16469 		if eval \${$cacheid+:} false; then :
   16470   $as_echo_n "(cached) " >&6
   16471 else
   16472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16473 /* end confdefs.h.  */
   16474 int i;
   16475 int
   16476 main ()
   16477 {
   16478 
   16479   ;
   16480   return 0;
   16481 }
   16482 _ACEOF
   16483 if ac_fn_c_try_link "$LINENO"; then :
   16484   eval $cacheid=yes
   16485 else
   16486   eval $cacheid=no
   16487 fi
   16488 rm -f core conftest.err conftest.$ac_objext \
   16489     conftest$ac_exeext conftest.$ac_ext
   16490 fi
   16491 
   16492 
   16493 		CFLAGS="$xorg_testset_save_CFLAGS"
   16494 
   16495 		eval supported=\$$cacheid
   16496 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16497 $as_echo "$supported" >&6; }
   16498 		if test "$supported" = "yes" ; then
   16499 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16500 			found="yes"
   16501 		fi
   16502 	fi
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 xorg_testset_save_CFLAGS="$CFLAGS"
   16519 
   16520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16523 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16524 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16525   $as_echo_n "(cached) " >&6
   16526 else
   16527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16528 /* end confdefs.h.  */
   16529 int i;
   16530 _ACEOF
   16531 if ac_fn_c_try_compile "$LINENO"; then :
   16532   xorg_cv_cc_flag_unknown_warning_option=yes
   16533 else
   16534   xorg_cv_cc_flag_unknown_warning_option=no
   16535 fi
   16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16537 fi
   16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16539 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16541 	CFLAGS="$xorg_testset_save_CFLAGS"
   16542 fi
   16543 
   16544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16547 	fi
   16548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16549 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16550 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16551 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16552   $as_echo_n "(cached) " >&6
   16553 else
   16554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16555 /* end confdefs.h.  */
   16556 int i;
   16557 _ACEOF
   16558 if ac_fn_c_try_compile "$LINENO"; then :
   16559   xorg_cv_cc_flag_unused_command_line_argument=yes
   16560 else
   16561   xorg_cv_cc_flag_unused_command_line_argument=no
   16562 fi
   16563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16564 fi
   16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16566 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16567 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16568 	CFLAGS="$xorg_testset_save_CFLAGS"
   16569 fi
   16570 
   16571 found="no"
   16572 
   16573 	if test $found = "no" ; then
   16574 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16575 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16576 		fi
   16577 
   16578 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16579 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16580 		fi
   16581 
   16582 		CFLAGS="$CFLAGS -Wwrite-strings"
   16583 
   16584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16585 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16586 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16587 		if eval \${$cacheid+:} false; then :
   16588   $as_echo_n "(cached) " >&6
   16589 else
   16590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16591 /* end confdefs.h.  */
   16592 int i;
   16593 int
   16594 main ()
   16595 {
   16596 
   16597   ;
   16598   return 0;
   16599 }
   16600 _ACEOF
   16601 if ac_fn_c_try_link "$LINENO"; then :
   16602   eval $cacheid=yes
   16603 else
   16604   eval $cacheid=no
   16605 fi
   16606 rm -f core conftest.err conftest.$ac_objext \
   16607     conftest$ac_exeext conftest.$ac_ext
   16608 fi
   16609 
   16610 
   16611 		CFLAGS="$xorg_testset_save_CFLAGS"
   16612 
   16613 		eval supported=\$$cacheid
   16614 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16615 $as_echo "$supported" >&6; }
   16616 		if test "$supported" = "yes" ; then
   16617 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16618 			found="yes"
   16619 		fi
   16620 	fi
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 xorg_testset_save_CFLAGS="$CFLAGS"
   16637 
   16638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16641 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16642 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16643   $as_echo_n "(cached) " >&6
   16644 else
   16645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16646 /* end confdefs.h.  */
   16647 int i;
   16648 _ACEOF
   16649 if ac_fn_c_try_compile "$LINENO"; then :
   16650   xorg_cv_cc_flag_unknown_warning_option=yes
   16651 else
   16652   xorg_cv_cc_flag_unknown_warning_option=no
   16653 fi
   16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16655 fi
   16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16657 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16659 	CFLAGS="$xorg_testset_save_CFLAGS"
   16660 fi
   16661 
   16662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16665 	fi
   16666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16668 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16669 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16670   $as_echo_n "(cached) " >&6
   16671 else
   16672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16673 /* end confdefs.h.  */
   16674 int i;
   16675 _ACEOF
   16676 if ac_fn_c_try_compile "$LINENO"; then :
   16677   xorg_cv_cc_flag_unused_command_line_argument=yes
   16678 else
   16679   xorg_cv_cc_flag_unused_command_line_argument=no
   16680 fi
   16681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16682 fi
   16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16684 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16686 	CFLAGS="$xorg_testset_save_CFLAGS"
   16687 fi
   16688 
   16689 found="no"
   16690 
   16691 	if test $found = "no" ; then
   16692 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16694 		fi
   16695 
   16696 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16698 		fi
   16699 
   16700 		CFLAGS="$CFLAGS -Waddress"
   16701 
   16702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16703 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16704 		cacheid=xorg_cv_cc_flag__Waddress
   16705 		if eval \${$cacheid+:} false; then :
   16706   $as_echo_n "(cached) " >&6
   16707 else
   16708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16709 /* end confdefs.h.  */
   16710 int i;
   16711 int
   16712 main ()
   16713 {
   16714 
   16715   ;
   16716   return 0;
   16717 }
   16718 _ACEOF
   16719 if ac_fn_c_try_link "$LINENO"; then :
   16720   eval $cacheid=yes
   16721 else
   16722   eval $cacheid=no
   16723 fi
   16724 rm -f core conftest.err conftest.$ac_objext \
   16725     conftest$ac_exeext conftest.$ac_ext
   16726 fi
   16727 
   16728 
   16729 		CFLAGS="$xorg_testset_save_CFLAGS"
   16730 
   16731 		eval supported=\$$cacheid
   16732 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16733 $as_echo "$supported" >&6; }
   16734 		if test "$supported" = "yes" ; then
   16735 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16736 			found="yes"
   16737 		fi
   16738 	fi
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 xorg_testset_save_CFLAGS="$CFLAGS"
   16755 
   16756 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16757 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16759 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16760 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16761   $as_echo_n "(cached) " >&6
   16762 else
   16763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16764 /* end confdefs.h.  */
   16765 int i;
   16766 _ACEOF
   16767 if ac_fn_c_try_compile "$LINENO"; then :
   16768   xorg_cv_cc_flag_unknown_warning_option=yes
   16769 else
   16770   xorg_cv_cc_flag_unknown_warning_option=no
   16771 fi
   16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16773 fi
   16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16775 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16777 	CFLAGS="$xorg_testset_save_CFLAGS"
   16778 fi
   16779 
   16780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16783 	fi
   16784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16785 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16786 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16787 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16788   $as_echo_n "(cached) " >&6
   16789 else
   16790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16791 /* end confdefs.h.  */
   16792 int i;
   16793 _ACEOF
   16794 if ac_fn_c_try_compile "$LINENO"; then :
   16795   xorg_cv_cc_flag_unused_command_line_argument=yes
   16796 else
   16797   xorg_cv_cc_flag_unused_command_line_argument=no
   16798 fi
   16799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16800 fi
   16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16802 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16803 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16804 	CFLAGS="$xorg_testset_save_CFLAGS"
   16805 fi
   16806 
   16807 found="no"
   16808 
   16809 	if test $found = "no" ; then
   16810 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16811 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16812 		fi
   16813 
   16814 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16815 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16816 		fi
   16817 
   16818 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16819 
   16820 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16821 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16822 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16823 		if eval \${$cacheid+:} false; then :
   16824   $as_echo_n "(cached) " >&6
   16825 else
   16826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16827 /* end confdefs.h.  */
   16828 int i;
   16829 int
   16830 main ()
   16831 {
   16832 
   16833   ;
   16834   return 0;
   16835 }
   16836 _ACEOF
   16837 if ac_fn_c_try_link "$LINENO"; then :
   16838   eval $cacheid=yes
   16839 else
   16840   eval $cacheid=no
   16841 fi
   16842 rm -f core conftest.err conftest.$ac_objext \
   16843     conftest$ac_exeext conftest.$ac_ext
   16844 fi
   16845 
   16846 
   16847 		CFLAGS="$xorg_testset_save_CFLAGS"
   16848 
   16849 		eval supported=\$$cacheid
   16850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16851 $as_echo "$supported" >&6; }
   16852 		if test "$supported" = "yes" ; then
   16853 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16854 			found="yes"
   16855 		fi
   16856 	fi
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 xorg_testset_save_CFLAGS="$CFLAGS"
   16873 
   16874 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16875 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16877 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16878 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16879   $as_echo_n "(cached) " >&6
   16880 else
   16881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16882 /* end confdefs.h.  */
   16883 int i;
   16884 _ACEOF
   16885 if ac_fn_c_try_compile "$LINENO"; then :
   16886   xorg_cv_cc_flag_unknown_warning_option=yes
   16887 else
   16888   xorg_cv_cc_flag_unknown_warning_option=no
   16889 fi
   16890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16891 fi
   16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16893 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16895 	CFLAGS="$xorg_testset_save_CFLAGS"
   16896 fi
   16897 
   16898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16901 	fi
   16902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16904 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16905 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16906   $as_echo_n "(cached) " >&6
   16907 else
   16908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16909 /* end confdefs.h.  */
   16910 int i;
   16911 _ACEOF
   16912 if ac_fn_c_try_compile "$LINENO"; then :
   16913   xorg_cv_cc_flag_unused_command_line_argument=yes
   16914 else
   16915   xorg_cv_cc_flag_unused_command_line_argument=no
   16916 fi
   16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16918 fi
   16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16920 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16921 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16922 	CFLAGS="$xorg_testset_save_CFLAGS"
   16923 fi
   16924 
   16925 found="no"
   16926 
   16927 	if test $found = "no" ; then
   16928 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16929 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16930 		fi
   16931 
   16932 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16933 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16934 		fi
   16935 
   16936 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16937 
   16938 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16939 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16940 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16941 		if eval \${$cacheid+:} false; then :
   16942   $as_echo_n "(cached) " >&6
   16943 else
   16944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16945 /* end confdefs.h.  */
   16946 int i;
   16947 int
   16948 main ()
   16949 {
   16950 
   16951   ;
   16952   return 0;
   16953 }
   16954 _ACEOF
   16955 if ac_fn_c_try_link "$LINENO"; then :
   16956   eval $cacheid=yes
   16957 else
   16958   eval $cacheid=no
   16959 fi
   16960 rm -f core conftest.err conftest.$ac_objext \
   16961     conftest$ac_exeext conftest.$ac_ext
   16962 fi
   16963 
   16964 
   16965 		CFLAGS="$xorg_testset_save_CFLAGS"
   16966 
   16967 		eval supported=\$$cacheid
   16968 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16969 $as_echo "$supported" >&6; }
   16970 		if test "$supported" = "yes" ; then
   16971 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16972 			found="yes"
   16973 		fi
   16974 	fi
   16975 
   16976 
   16977 fi
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 		CWARNFLAGS="$BASE_CFLAGS"
   16986 		if  test "x$GCC" = xyes ; then
   16987 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16988 		fi
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 # Check whether --enable-strict-compilation was given.
   16998 if test "${enable_strict_compilation+set}" = set; then :
   16999   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17000 else
   17001   STRICT_COMPILE=no
   17002 fi
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 STRICT_CFLAGS=""
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 xorg_testset_save_CFLAGS="$CFLAGS"
   17024 
   17025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17030   $as_echo_n "(cached) " >&6
   17031 else
   17032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17033 /* end confdefs.h.  */
   17034 int i;
   17035 _ACEOF
   17036 if ac_fn_c_try_compile "$LINENO"; then :
   17037   xorg_cv_cc_flag_unknown_warning_option=yes
   17038 else
   17039   xorg_cv_cc_flag_unknown_warning_option=no
   17040 fi
   17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17042 fi
   17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17046 	CFLAGS="$xorg_testset_save_CFLAGS"
   17047 fi
   17048 
   17049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 	fi
   17053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17057   $as_echo_n "(cached) " >&6
   17058 else
   17059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17060 /* end confdefs.h.  */
   17061 int i;
   17062 _ACEOF
   17063 if ac_fn_c_try_compile "$LINENO"; then :
   17064   xorg_cv_cc_flag_unused_command_line_argument=yes
   17065 else
   17066   xorg_cv_cc_flag_unused_command_line_argument=no
   17067 fi
   17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17069 fi
   17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17073 	CFLAGS="$xorg_testset_save_CFLAGS"
   17074 fi
   17075 
   17076 found="no"
   17077 
   17078 	if test $found = "no" ; then
   17079 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17081 		fi
   17082 
   17083 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17085 		fi
   17086 
   17087 		CFLAGS="$CFLAGS -pedantic"
   17088 
   17089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17090 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17091 		cacheid=xorg_cv_cc_flag__pedantic
   17092 		if eval \${$cacheid+:} false; then :
   17093   $as_echo_n "(cached) " >&6
   17094 else
   17095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 int
   17099 main ()
   17100 {
   17101 
   17102   ;
   17103   return 0;
   17104 }
   17105 _ACEOF
   17106 if ac_fn_c_try_link "$LINENO"; then :
   17107   eval $cacheid=yes
   17108 else
   17109   eval $cacheid=no
   17110 fi
   17111 rm -f core conftest.err conftest.$ac_objext \
   17112     conftest$ac_exeext conftest.$ac_ext
   17113 fi
   17114 
   17115 
   17116 		CFLAGS="$xorg_testset_save_CFLAGS"
   17117 
   17118 		eval supported=\$$cacheid
   17119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17120 $as_echo "$supported" >&6; }
   17121 		if test "$supported" = "yes" ; then
   17122 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17123 			found="yes"
   17124 		fi
   17125 	fi
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 xorg_testset_save_CFLAGS="$CFLAGS"
   17142 
   17143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17148   $as_echo_n "(cached) " >&6
   17149 else
   17150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17151 /* end confdefs.h.  */
   17152 int i;
   17153 _ACEOF
   17154 if ac_fn_c_try_compile "$LINENO"; then :
   17155   xorg_cv_cc_flag_unknown_warning_option=yes
   17156 else
   17157   xorg_cv_cc_flag_unknown_warning_option=no
   17158 fi
   17159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17160 fi
   17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17164 	CFLAGS="$xorg_testset_save_CFLAGS"
   17165 fi
   17166 
   17167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 	fi
   17171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17175   $as_echo_n "(cached) " >&6
   17176 else
   17177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17178 /* end confdefs.h.  */
   17179 int i;
   17180 _ACEOF
   17181 if ac_fn_c_try_compile "$LINENO"; then :
   17182   xorg_cv_cc_flag_unused_command_line_argument=yes
   17183 else
   17184   xorg_cv_cc_flag_unused_command_line_argument=no
   17185 fi
   17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17187 fi
   17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17191 	CFLAGS="$xorg_testset_save_CFLAGS"
   17192 fi
   17193 
   17194 found="no"
   17195 
   17196 	if test $found = "no" ; then
   17197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 		fi
   17200 
   17201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17203 		fi
   17204 
   17205 		CFLAGS="$CFLAGS -Werror"
   17206 
   17207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17208 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17209 		cacheid=xorg_cv_cc_flag__Werror
   17210 		if eval \${$cacheid+:} false; then :
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17214 /* end confdefs.h.  */
   17215 int i;
   17216 int
   17217 main ()
   17218 {
   17219 
   17220   ;
   17221   return 0;
   17222 }
   17223 _ACEOF
   17224 if ac_fn_c_try_link "$LINENO"; then :
   17225   eval $cacheid=yes
   17226 else
   17227   eval $cacheid=no
   17228 fi
   17229 rm -f core conftest.err conftest.$ac_objext \
   17230     conftest$ac_exeext conftest.$ac_ext
   17231 fi
   17232 
   17233 
   17234 		CFLAGS="$xorg_testset_save_CFLAGS"
   17235 
   17236 		eval supported=\$$cacheid
   17237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17238 $as_echo "$supported" >&6; }
   17239 		if test "$supported" = "yes" ; then
   17240 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17241 			found="yes"
   17242 		fi
   17243 	fi
   17244 
   17245 	if test $found = "no" ; then
   17246 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17248 		fi
   17249 
   17250 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17252 		fi
   17253 
   17254 		CFLAGS="$CFLAGS -errwarn"
   17255 
   17256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17257 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17258 		cacheid=xorg_cv_cc_flag__errwarn
   17259 		if eval \${$cacheid+:} false; then :
   17260   $as_echo_n "(cached) " >&6
   17261 else
   17262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17263 /* end confdefs.h.  */
   17264 int i;
   17265 int
   17266 main ()
   17267 {
   17268 
   17269   ;
   17270   return 0;
   17271 }
   17272 _ACEOF
   17273 if ac_fn_c_try_link "$LINENO"; then :
   17274   eval $cacheid=yes
   17275 else
   17276   eval $cacheid=no
   17277 fi
   17278 rm -f core conftest.err conftest.$ac_objext \
   17279     conftest$ac_exeext conftest.$ac_ext
   17280 fi
   17281 
   17282 
   17283 		CFLAGS="$xorg_testset_save_CFLAGS"
   17284 
   17285 		eval supported=\$$cacheid
   17286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17287 $as_echo "$supported" >&6; }
   17288 		if test "$supported" = "yes" ; then
   17289 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17290 			found="yes"
   17291 		fi
   17292 	fi
   17293 
   17294 
   17295 
   17296 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17297 # activate it with -Werror, so we add it here explicitly.
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 xorg_testset_save_CFLAGS="$CFLAGS"
   17312 
   17313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17318   $as_echo_n "(cached) " >&6
   17319 else
   17320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17321 /* end confdefs.h.  */
   17322 int i;
   17323 _ACEOF
   17324 if ac_fn_c_try_compile "$LINENO"; then :
   17325   xorg_cv_cc_flag_unknown_warning_option=yes
   17326 else
   17327   xorg_cv_cc_flag_unknown_warning_option=no
   17328 fi
   17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17330 fi
   17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17334 	CFLAGS="$xorg_testset_save_CFLAGS"
   17335 fi
   17336 
   17337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17340 	fi
   17341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17345   $as_echo_n "(cached) " >&6
   17346 else
   17347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17348 /* end confdefs.h.  */
   17349 int i;
   17350 _ACEOF
   17351 if ac_fn_c_try_compile "$LINENO"; then :
   17352   xorg_cv_cc_flag_unused_command_line_argument=yes
   17353 else
   17354   xorg_cv_cc_flag_unused_command_line_argument=no
   17355 fi
   17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17357 fi
   17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17361 	CFLAGS="$xorg_testset_save_CFLAGS"
   17362 fi
   17363 
   17364 found="no"
   17365 
   17366 	if test $found = "no" ; then
   17367 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 		fi
   17370 
   17371 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17373 		fi
   17374 
   17375 		CFLAGS="$CFLAGS -Werror=attributes"
   17376 
   17377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17378 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17379 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17380 		if eval \${$cacheid+:} false; then :
   17381   $as_echo_n "(cached) " >&6
   17382 else
   17383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17384 /* end confdefs.h.  */
   17385 int i;
   17386 int
   17387 main ()
   17388 {
   17389 
   17390   ;
   17391   return 0;
   17392 }
   17393 _ACEOF
   17394 if ac_fn_c_try_link "$LINENO"; then :
   17395   eval $cacheid=yes
   17396 else
   17397   eval $cacheid=no
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext \
   17400     conftest$ac_exeext conftest.$ac_ext
   17401 fi
   17402 
   17403 
   17404 		CFLAGS="$xorg_testset_save_CFLAGS"
   17405 
   17406 		eval supported=\$$cacheid
   17407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17408 $as_echo "$supported" >&6; }
   17409 		if test "$supported" = "yes" ; then
   17410 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17411 			found="yes"
   17412 		fi
   17413 	fi
   17414 
   17415 
   17416 
   17417 if test "x$STRICT_COMPILE" = "xyes"; then
   17418     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17419     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17420 fi
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 cat >>confdefs.h <<_ACEOF
   17428 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17429 _ACEOF
   17430 
   17431 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17432 	if test "x$PVM" = "x"; then
   17433 		PVM="0"
   17434 	fi
   17435 
   17436 cat >>confdefs.h <<_ACEOF
   17437 #define PACKAGE_VERSION_MINOR $PVM
   17438 _ACEOF
   17439 
   17440 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17441 	if test "x$PVP" = "x"; then
   17442 		PVP="0"
   17443 	fi
   17444 
   17445 cat >>confdefs.h <<_ACEOF
   17446 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17447 _ACEOF
   17448 
   17449 
   17450 
   17451 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17452 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17453 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17454 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17455 
   17456 
   17457 
   17458 
   17459 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17460 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17461 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17462 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17463 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 if test x$APP_MAN_SUFFIX = x    ; then
   17471     APP_MAN_SUFFIX=1
   17472 fi
   17473 if test x$APP_MAN_DIR = x    ; then
   17474     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17475 fi
   17476 
   17477 if test x$LIB_MAN_SUFFIX = x    ; then
   17478     LIB_MAN_SUFFIX=3
   17479 fi
   17480 if test x$LIB_MAN_DIR = x    ; then
   17481     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17482 fi
   17483 
   17484 if test x$FILE_MAN_SUFFIX = x    ; then
   17485     case $host_os in
   17486 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17487 	*)		FILE_MAN_SUFFIX=5  ;;
   17488     esac
   17489 fi
   17490 if test x$FILE_MAN_DIR = x    ; then
   17491     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17492 fi
   17493 
   17494 if test x$MISC_MAN_SUFFIX = x    ; then
   17495     case $host_os in
   17496 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17497 	*)		MISC_MAN_SUFFIX=7  ;;
   17498     esac
   17499 fi
   17500 if test x$MISC_MAN_DIR = x    ; then
   17501     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17502 fi
   17503 
   17504 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17505     case $host_os in
   17506 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17507 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17508     esac
   17509 fi
   17510 if test x$DRIVER_MAN_DIR = x    ; then
   17511     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17512 fi
   17513 
   17514 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17515     case $host_os in
   17516 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17517 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17518     esac
   17519 fi
   17520 if test x$ADMIN_MAN_DIR = x    ; then
   17521     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17522 fi
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 XORG_MAN_PAGE="X Version 11"
   17539 
   17540 MAN_SUBSTS="\
   17541 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17542 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17543 	-e 's|__xservername__|Xorg|g' \
   17544 	-e 's|__xconfigfile__|xorg.conf|g' \
   17545 	-e 's|__projectroot__|\$(prefix)|g' \
   17546 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17547 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17548 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17549 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17550 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17551 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17552 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17553 
   17554 
   17555 
   17556 # Check whether --enable-silent-rules was given.
   17557 if test "${enable_silent_rules+set}" = set; then :
   17558   enableval=$enable_silent_rules;
   17559 fi
   17560 
   17561 case $enable_silent_rules in # (((
   17562   yes) AM_DEFAULT_VERBOSITY=0;;
   17563    no) AM_DEFAULT_VERBOSITY=1;;
   17564     *) AM_DEFAULT_VERBOSITY=0;;
   17565 esac
   17566 am_make=${MAKE-make}
   17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17568 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17569 if ${am_cv_make_support_nested_variables+:} false; then :
   17570   $as_echo_n "(cached) " >&6
   17571 else
   17572   if $as_echo 'TRUE=$(BAR$(V))
   17573 BAR0=false
   17574 BAR1=true
   17575 V=1
   17576 am__doit:
   17577 	@$(TRUE)
   17578 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17579   am_cv_make_support_nested_variables=yes
   17580 else
   17581   am_cv_make_support_nested_variables=no
   17582 fi
   17583 fi
   17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17585 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17586 if test $am_cv_make_support_nested_variables = yes; then
   17587     AM_V='$(V)'
   17588   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17589 else
   17590   AM_V=$AM_DEFAULT_VERBOSITY
   17591   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17592 fi
   17593 AM_BACKSLASH='\'
   17594 
   17595 
   17596 
   17597 # Check whether --enable-malloc0returnsnull was given.
   17598 if test "${enable_malloc0returnsnull+set}" = set; then :
   17599   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17600 else
   17601   MALLOC_ZERO_RETURNS_NULL=auto
   17602 fi
   17603 
   17604 
   17605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17606 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17607 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17608 	if test "$cross_compiling" = yes; then :
   17609   MALLOC_ZERO_RETURNS_NULL=yes
   17610 else
   17611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17612 /* end confdefs.h.  */
   17613 
   17614 #include <stdlib.h>
   17615 
   17616 int
   17617 main ()
   17618 {
   17619 
   17620     char *m0, *r0, *c0, *p;
   17621     m0 = malloc(0);
   17622     p = malloc(10);
   17623     r0 = realloc(p,0);
   17624     c0 = calloc(0,10);
   17625     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17626 
   17627   ;
   17628   return 0;
   17629 }
   17630 _ACEOF
   17631 if ac_fn_c_try_run "$LINENO"; then :
   17632   MALLOC_ZERO_RETURNS_NULL=yes
   17633 else
   17634   MALLOC_ZERO_RETURNS_NULL=no
   17635 fi
   17636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17637   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17638 fi
   17639 
   17640 fi
   17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17642 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17643 
   17644 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17645 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17646 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17647 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17648 else
   17649 	MALLOC_ZERO_CFLAGS=""
   17650 	XMALLOC_ZERO_CFLAGS=""
   17651 	XTMALLOC_ZERO_CFLAGS=""
   17652 fi
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 # Obtain compiler/linker options for depedencies
   17660 
   17661 pkg_failed=no
   17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5
   17663 $as_echo_n "checking for XINERAMA... " >&6; }
   17664 
   17665 if test -n "$XINERAMA_CFLAGS"; then
   17666     pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS"
   17667  elif test -n "$PKG_CONFIG"; then
   17668     if test -n "$PKG_CONFIG" && \
   17669     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto xineramaproto >= 1.1.99.1\""; } >&5
   17670   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto xineramaproto >= 1.1.99.1") 2>&5
   17671   ac_status=$?
   17672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17673   test $ac_status = 0; }; then
   17674   pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto xineramaproto >= 1.1.99.1" 2>/dev/null`
   17675 else
   17676   pkg_failed=yes
   17677 fi
   17678  else
   17679     pkg_failed=untried
   17680 fi
   17681 if test -n "$XINERAMA_LIBS"; then
   17682     pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS"
   17683  elif test -n "$PKG_CONFIG"; then
   17684     if test -n "$PKG_CONFIG" && \
   17685     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto xineramaproto >= 1.1.99.1\""; } >&5
   17686   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto xineramaproto >= 1.1.99.1") 2>&5
   17687   ac_status=$?
   17688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17689   test $ac_status = 0; }; then
   17690   pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto xineramaproto >= 1.1.99.1" 2>/dev/null`
   17691 else
   17692   pkg_failed=yes
   17693 fi
   17694  else
   17695     pkg_failed=untried
   17696 fi
   17697 
   17698 
   17699 
   17700 if test $pkg_failed = yes; then
   17701 
   17702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17703         _pkg_short_errors_supported=yes
   17704 else
   17705         _pkg_short_errors_supported=no
   17706 fi
   17707         if test $_pkg_short_errors_supported = yes; then
   17708 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xextproto xineramaproto >= 1.1.99.1" 2>&1`
   17709         else
   17710 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xextproto xineramaproto >= 1.1.99.1" 2>&1`
   17711         fi
   17712 	# Put the nasty error message in config.log where it belongs
   17713 	echo "$XINERAMA_PKG_ERRORS" >&5
   17714 
   17715 	as_fn_error $? "Package requirements (x11 xext xextproto xineramaproto >= 1.1.99.1) were not met:
   17716 
   17717 $XINERAMA_PKG_ERRORS
   17718 
   17719 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17720 installed software in a non-standard prefix.
   17721 
   17722 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   17723 and XINERAMA_LIBS to avoid the need to call pkg-config.
   17724 See the pkg-config man page for more details.
   17725 " "$LINENO" 5
   17726 elif test $pkg_failed = untried; then
   17727 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17729 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17730 is in your PATH or set the PKG_CONFIG environment variable to the full
   17731 path to pkg-config.
   17732 
   17733 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   17734 and XINERAMA_LIBS to avoid the need to call pkg-config.
   17735 See the pkg-config man page for more details.
   17736 
   17737 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17738 See \`config.log' for more details" "$LINENO" 5; }
   17739 else
   17740 	XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
   17741 	XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
   17742         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17743 $as_echo "yes" >&6; }
   17744 	:
   17745 fi
   17746 
   17747 # Check for _XEatDataWords function that may be patched into older Xlib releases
   17748 SAVE_LIBS="$LIBS"
   17749 LIBS="$XINERAMA_LIBS"
   17750 for ac_func in _XEatDataWords
   17751 do :
   17752   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17753 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17754   cat >>confdefs.h <<_ACEOF
   17755 #define HAVE__XEATDATAWORDS 1
   17756 _ACEOF
   17757 
   17758 fi
   17759 done
   17760 
   17761 LIBS="$SAVE_LIBS"
   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 LINT_FLAGS="${LINT_FLAGS} ${XINERAMA_CFLAGS}"
   17866 
   17867 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xinerama.pc"
   17868 
   17869 cat >confcache <<\_ACEOF
   17870 # This file is a shell script that caches the results of configure
   17871 # tests run on this system so they can be shared between configure
   17872 # scripts and configure runs, see configure's option --config-cache.
   17873 # It is not useful on other systems.  If it contains results you don't
   17874 # want to keep, you may remove or edit it.
   17875 #
   17876 # config.status only pays attention to the cache file if you give it
   17877 # the --recheck option to rerun configure.
   17878 #
   17879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17881 # following values.
   17882 
   17883 _ACEOF
   17884 
   17885 # The following way of writing the cache mishandles newlines in values,
   17886 # but we know of no workaround that is simple, portable, and efficient.
   17887 # So, we kill variables containing newlines.
   17888 # Ultrix sh set writes to stderr and can't be redirected directly,
   17889 # and sets the high bit in the cache file unless we assign to the vars.
   17890 (
   17891   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17892     eval ac_val=\$$ac_var
   17893     case $ac_val in #(
   17894     *${as_nl}*)
   17895       case $ac_var in #(
   17896       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17898       esac
   17899       case $ac_var in #(
   17900       _ | IFS | as_nl) ;; #(
   17901       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17902       *) { eval $ac_var=; unset $ac_var;} ;;
   17903       esac ;;
   17904     esac
   17905   done
   17906 
   17907   (set) 2>&1 |
   17908     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17909     *${as_nl}ac_space=\ *)
   17910       # `set' does not quote correctly, so add quotes: double-quote
   17911       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17912       sed -n \
   17913 	"s/'/'\\\\''/g;
   17914 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17915       ;; #(
   17916     *)
   17917       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17918       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17919       ;;
   17920     esac |
   17921     sort
   17922 ) |
   17923   sed '
   17924      /^ac_cv_env_/b end
   17925      t clear
   17926      :clear
   17927      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17928      t end
   17929      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17930      :end' >>confcache
   17931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17932   if test -w "$cache_file"; then
   17933     if test "x$cache_file" != "x/dev/null"; then
   17934       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17935 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17936       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17937 	cat confcache >"$cache_file"
   17938       else
   17939         case $cache_file in #(
   17940         */* | ?:*)
   17941 	  mv -f confcache "$cache_file"$$ &&
   17942 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17943         *)
   17944 	  mv -f confcache "$cache_file" ;;
   17945 	esac
   17946       fi
   17947     fi
   17948   else
   17949     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17950 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17951   fi
   17952 fi
   17953 rm -f confcache
   17954 
   17955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17956 # Let make expand exec_prefix.
   17957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17958 
   17959 DEFS=-DHAVE_CONFIG_H
   17960 
   17961 ac_libobjs=
   17962 ac_ltlibobjs=
   17963 U=
   17964 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17965   # 1. Remove the extension, and $U if already installed.
   17966   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17967   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17968   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17969   #    will be set to the directory where LIBOBJS objects are built.
   17970   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17971   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17972 done
   17973 LIBOBJS=$ac_libobjs
   17974 
   17975 LTLIBOBJS=$ac_ltlibobjs
   17976 
   17977 
   17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17979 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17980    if test -n "$am_sleep_pid"; then
   17981      # Hide warnings about reused PIDs.
   17982      wait $am_sleep_pid 2>/dev/null
   17983    fi
   17984    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17985 $as_echo "done" >&6; }
   17986  if test -n "$EXEEXT"; then
   17987   am__EXEEXT_TRUE=
   17988   am__EXEEXT_FALSE='#'
   17989 else
   17990   am__EXEEXT_TRUE='#'
   17991   am__EXEEXT_FALSE=
   17992 fi
   17993 
   17994 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17995   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17997 fi
   17998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17999   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18001 fi
   18002 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18003   as_fn_error $? "conditional \"LINT\" was never defined.
   18004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18005 fi
   18006 
   18007 : "${CONFIG_STATUS=./config.status}"
   18008 ac_write_fail=0
   18009 ac_clean_files_save=$ac_clean_files
   18010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18012 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18013 as_write_fail=0
   18014 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18015 #! $SHELL
   18016 # Generated by $as_me.
   18017 # Run this file to recreate the current configuration.
   18018 # Compiler output produced by configure, useful for debugging
   18019 # configure, is in config.log if it exists.
   18020 
   18021 debug=false
   18022 ac_cs_recheck=false
   18023 ac_cs_silent=false
   18024 
   18025 SHELL=\${CONFIG_SHELL-$SHELL}
   18026 export SHELL
   18027 _ASEOF
   18028 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18029 ## -------------------- ##
   18030 ## M4sh Initialization. ##
   18031 ## -------------------- ##
   18032 
   18033 # Be more Bourne compatible
   18034 DUALCASE=1; export DUALCASE # for MKS sh
   18035 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18036   emulate sh
   18037   NULLCMD=:
   18038   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18039   # is contrary to our usage.  Disable this feature.
   18040   alias -g '${1+"$@"}'='"$@"'
   18041   setopt NO_GLOB_SUBST
   18042 else
   18043   case `(set -o) 2>/dev/null` in #(
   18044   *posix*) :
   18045     set -o posix ;; #(
   18046   *) :
   18047      ;;
   18048 esac
   18049 fi
   18050 
   18051 
   18052 as_nl='
   18053 '
   18054 export as_nl
   18055 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18056 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18057 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18058 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18059 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18060 # but without wasting forks for bash or zsh.
   18061 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18062     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18063   as_echo='print -r --'
   18064   as_echo_n='print -rn --'
   18065 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18066   as_echo='printf %s\n'
   18067   as_echo_n='printf %s'
   18068 else
   18069   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18070     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18071     as_echo_n='/usr/ucb/echo -n'
   18072   else
   18073     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18074     as_echo_n_body='eval
   18075       arg=$1;
   18076       case $arg in #(
   18077       *"$as_nl"*)
   18078 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18079 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18080       esac;
   18081       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18082     '
   18083     export as_echo_n_body
   18084     as_echo_n='sh -c $as_echo_n_body as_echo'
   18085   fi
   18086   export as_echo_body
   18087   as_echo='sh -c $as_echo_body as_echo'
   18088 fi
   18089 
   18090 # The user is always right.
   18091 if test "${PATH_SEPARATOR+set}" != set; then
   18092   PATH_SEPARATOR=:
   18093   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18094     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18095       PATH_SEPARATOR=';'
   18096   }
   18097 fi
   18098 
   18099 
   18100 # IFS
   18101 # We need space, tab and new line, in precisely that order.  Quoting is
   18102 # there to prevent editors from complaining about space-tab.
   18103 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18104 # splitting by setting IFS to empty value.)
   18105 IFS=" ""	$as_nl"
   18106 
   18107 # Find who we are.  Look in the path if we contain no directory separator.
   18108 as_myself=
   18109 case $0 in #((
   18110   *[\\/]* ) as_myself=$0 ;;
   18111   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18112 for as_dir in $PATH
   18113 do
   18114   IFS=$as_save_IFS
   18115   test -z "$as_dir" && as_dir=.
   18116     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18117   done
   18118 IFS=$as_save_IFS
   18119 
   18120      ;;
   18121 esac
   18122 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18123 # in which case we are not to be found in the path.
   18124 if test "x$as_myself" = x; then
   18125   as_myself=$0
   18126 fi
   18127 if test ! -f "$as_myself"; then
   18128   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18129   exit 1
   18130 fi
   18131 
   18132 # Unset variables that we do not need and which cause bugs (e.g. in
   18133 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18134 # suppresses any "Segmentation fault" message there.  '((' could
   18135 # trigger a bug in pdksh 5.2.14.
   18136 for as_var in BASH_ENV ENV MAIL MAILPATH
   18137 do eval test x\${$as_var+set} = xset \
   18138   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18139 done
   18140 PS1='$ '
   18141 PS2='> '
   18142 PS4='+ '
   18143 
   18144 # NLS nuisances.
   18145 LC_ALL=C
   18146 export LC_ALL
   18147 LANGUAGE=C
   18148 export LANGUAGE
   18149 
   18150 # CDPATH.
   18151 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18152 
   18153 
   18154 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18155 # ----------------------------------------
   18156 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18157 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18158 # script with STATUS, using 1 if that was 0.
   18159 as_fn_error ()
   18160 {
   18161   as_status=$1; test $as_status -eq 0 && as_status=1
   18162   if test "$4"; then
   18163     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18164     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18165   fi
   18166   $as_echo "$as_me: error: $2" >&2
   18167   as_fn_exit $as_status
   18168 } # as_fn_error
   18169 
   18170 
   18171 # as_fn_set_status STATUS
   18172 # -----------------------
   18173 # Set $? to STATUS, without forking.
   18174 as_fn_set_status ()
   18175 {
   18176   return $1
   18177 } # as_fn_set_status
   18178 
   18179 # as_fn_exit STATUS
   18180 # -----------------
   18181 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18182 as_fn_exit ()
   18183 {
   18184   set +e
   18185   as_fn_set_status $1
   18186   exit $1
   18187 } # as_fn_exit
   18188 
   18189 # as_fn_unset VAR
   18190 # ---------------
   18191 # Portably unset VAR.
   18192 as_fn_unset ()
   18193 {
   18194   { eval $1=; unset $1;}
   18195 }
   18196 as_unset=as_fn_unset
   18197 # as_fn_append VAR VALUE
   18198 # ----------------------
   18199 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18200 # advantage of any shell optimizations that allow amortized linear growth over
   18201 # repeated appends, instead of the typical quadratic growth present in naive
   18202 # implementations.
   18203 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18204   eval 'as_fn_append ()
   18205   {
   18206     eval $1+=\$2
   18207   }'
   18208 else
   18209   as_fn_append ()
   18210   {
   18211     eval $1=\$$1\$2
   18212   }
   18213 fi # as_fn_append
   18214 
   18215 # as_fn_arith ARG...
   18216 # ------------------
   18217 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18218 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18219 # must be portable across $(()) and expr.
   18220 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18221   eval 'as_fn_arith ()
   18222   {
   18223     as_val=$(( $* ))
   18224   }'
   18225 else
   18226   as_fn_arith ()
   18227   {
   18228     as_val=`expr "$@" || test $? -eq 1`
   18229   }
   18230 fi # as_fn_arith
   18231 
   18232 
   18233 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18234    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18235   as_expr=expr
   18236 else
   18237   as_expr=false
   18238 fi
   18239 
   18240 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18241   as_basename=basename
   18242 else
   18243   as_basename=false
   18244 fi
   18245 
   18246 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18247   as_dirname=dirname
   18248 else
   18249   as_dirname=false
   18250 fi
   18251 
   18252 as_me=`$as_basename -- "$0" ||
   18253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18254 	 X"$0" : 'X\(//\)$' \| \
   18255 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18256 $as_echo X/"$0" |
   18257     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18258 	    s//\1/
   18259 	    q
   18260 	  }
   18261 	  /^X\/\(\/\/\)$/{
   18262 	    s//\1/
   18263 	    q
   18264 	  }
   18265 	  /^X\/\(\/\).*/{
   18266 	    s//\1/
   18267 	    q
   18268 	  }
   18269 	  s/.*/./; q'`
   18270 
   18271 # Avoid depending upon Character Ranges.
   18272 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18273 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18274 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18275 as_cr_digits='0123456789'
   18276 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18277 
   18278 ECHO_C= ECHO_N= ECHO_T=
   18279 case `echo -n x` in #(((((
   18280 -n*)
   18281   case `echo 'xy\c'` in
   18282   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18283   xy)  ECHO_C='\c';;
   18284   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18285        ECHO_T='	';;
   18286   esac;;
   18287 *)
   18288   ECHO_N='-n';;
   18289 esac
   18290 
   18291 rm -f conf$$ conf$$.exe conf$$.file
   18292 if test -d conf$$.dir; then
   18293   rm -f conf$$.dir/conf$$.file
   18294 else
   18295   rm -f conf$$.dir
   18296   mkdir conf$$.dir 2>/dev/null
   18297 fi
   18298 if (echo >conf$$.file) 2>/dev/null; then
   18299   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18300     as_ln_s='ln -s'
   18301     # ... but there are two gotchas:
   18302     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18303     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18304     # In both cases, we have to default to `cp -p'.
   18305     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18306       as_ln_s='cp -p'
   18307   elif ln conf$$.file conf$$ 2>/dev/null; then
   18308     as_ln_s=ln
   18309   else
   18310     as_ln_s='cp -p'
   18311   fi
   18312 else
   18313   as_ln_s='cp -p'
   18314 fi
   18315 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18316 rmdir conf$$.dir 2>/dev/null
   18317 
   18318 
   18319 # as_fn_mkdir_p
   18320 # -------------
   18321 # Create "$as_dir" as a directory, including parents if necessary.
   18322 as_fn_mkdir_p ()
   18323 {
   18324 
   18325   case $as_dir in #(
   18326   -*) as_dir=./$as_dir;;
   18327   esac
   18328   test -d "$as_dir" || eval $as_mkdir_p || {
   18329     as_dirs=
   18330     while :; do
   18331       case $as_dir in #(
   18332       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18333       *) as_qdir=$as_dir;;
   18334       esac
   18335       as_dirs="'$as_qdir' $as_dirs"
   18336       as_dir=`$as_dirname -- "$as_dir" ||
   18337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18338 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18339 	 X"$as_dir" : 'X\(//\)$' \| \
   18340 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18341 $as_echo X"$as_dir" |
   18342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18343 	    s//\1/
   18344 	    q
   18345 	  }
   18346 	  /^X\(\/\/\)[^/].*/{
   18347 	    s//\1/
   18348 	    q
   18349 	  }
   18350 	  /^X\(\/\/\)$/{
   18351 	    s//\1/
   18352 	    q
   18353 	  }
   18354 	  /^X\(\/\).*/{
   18355 	    s//\1/
   18356 	    q
   18357 	  }
   18358 	  s/.*/./; q'`
   18359       test -d "$as_dir" && break
   18360     done
   18361     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18362   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18363 
   18364 
   18365 } # as_fn_mkdir_p
   18366 if mkdir -p . 2>/dev/null; then
   18367   as_mkdir_p='mkdir -p "$as_dir"'
   18368 else
   18369   test -d ./-p && rmdir ./-p
   18370   as_mkdir_p=false
   18371 fi
   18372 
   18373 if test -x / >/dev/null 2>&1; then
   18374   as_test_x='test -x'
   18375 else
   18376   if ls -dL / >/dev/null 2>&1; then
   18377     as_ls_L_option=L
   18378   else
   18379     as_ls_L_option=
   18380   fi
   18381   as_test_x='
   18382     eval sh -c '\''
   18383       if test -d "$1"; then
   18384 	test -d "$1/.";
   18385       else
   18386 	case $1 in #(
   18387 	-*)set "./$1";;
   18388 	esac;
   18389 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18390 	???[sx]*):;;*)false;;esac;fi
   18391     '\'' sh
   18392   '
   18393 fi
   18394 as_executable_p=$as_test_x
   18395 
   18396 # Sed expression to map a string onto a valid CPP name.
   18397 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18398 
   18399 # Sed expression to map a string onto a valid variable name.
   18400 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18401 
   18402 
   18403 exec 6>&1
   18404 ## ----------------------------------- ##
   18405 ## Main body of $CONFIG_STATUS script. ##
   18406 ## ----------------------------------- ##
   18407 _ASEOF
   18408 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18409 
   18410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18411 # Save the log message, to keep $0 and so on meaningful, and to
   18412 # report actual input values of CONFIG_FILES etc. instead of their
   18413 # values after options handling.
   18414 ac_log="
   18415 This file was extended by libXinerama $as_me 1.1.3, which was
   18416 generated by GNU Autoconf 2.68.  Invocation command line was
   18417 
   18418   CONFIG_FILES    = $CONFIG_FILES
   18419   CONFIG_HEADERS  = $CONFIG_HEADERS
   18420   CONFIG_LINKS    = $CONFIG_LINKS
   18421   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18422   $ $0 $@
   18423 
   18424 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18425 "
   18426 
   18427 _ACEOF
   18428 
   18429 case $ac_config_files in *"
   18430 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18431 esac
   18432 
   18433 case $ac_config_headers in *"
   18434 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18435 esac
   18436 
   18437 
   18438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18439 # Files that config.status was made for.
   18440 config_files="$ac_config_files"
   18441 config_headers="$ac_config_headers"
   18442 config_commands="$ac_config_commands"
   18443 
   18444 _ACEOF
   18445 
   18446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18447 ac_cs_usage="\
   18448 \`$as_me' instantiates files and other configuration actions
   18449 from templates according to the current configuration.  Unless the files
   18450 and actions are specified as TAGs, all are instantiated by default.
   18451 
   18452 Usage: $0 [OPTION]... [TAG]...
   18453 
   18454   -h, --help       print this help, then exit
   18455   -V, --version    print version number and configuration settings, then exit
   18456       --config     print configuration, then exit
   18457   -q, --quiet, --silent
   18458                    do not print progress messages
   18459   -d, --debug      don't remove temporary files
   18460       --recheck    update $as_me by reconfiguring in the same conditions
   18461       --file=FILE[:TEMPLATE]
   18462                    instantiate the configuration file FILE
   18463       --header=FILE[:TEMPLATE]
   18464                    instantiate the configuration header FILE
   18465 
   18466 Configuration files:
   18467 $config_files
   18468 
   18469 Configuration headers:
   18470 $config_headers
   18471 
   18472 Configuration commands:
   18473 $config_commands
   18474 
   18475 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18476 
   18477 _ACEOF
   18478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18479 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18480 ac_cs_version="\\
   18481 libXinerama config.status 1.1.3
   18482 configured by $0, generated by GNU Autoconf 2.68,
   18483   with options \\"\$ac_cs_config\\"
   18484 
   18485 Copyright (C) 2010 Free Software Foundation, Inc.
   18486 This config.status script is free software; the Free Software Foundation
   18487 gives unlimited permission to copy, distribute and modify it."
   18488 
   18489 ac_pwd='$ac_pwd'
   18490 srcdir='$srcdir'
   18491 INSTALL='$INSTALL'
   18492 MKDIR_P='$MKDIR_P'
   18493 AWK='$AWK'
   18494 test -n "\$AWK" || AWK=awk
   18495 _ACEOF
   18496 
   18497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18498 # The default lists apply if the user does not specify any file.
   18499 ac_need_defaults=:
   18500 while test $# != 0
   18501 do
   18502   case $1 in
   18503   --*=?*)
   18504     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18505     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18506     ac_shift=:
   18507     ;;
   18508   --*=)
   18509     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18510     ac_optarg=
   18511     ac_shift=:
   18512     ;;
   18513   *)
   18514     ac_option=$1
   18515     ac_optarg=$2
   18516     ac_shift=shift
   18517     ;;
   18518   esac
   18519 
   18520   case $ac_option in
   18521   # Handling of the options.
   18522   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18523     ac_cs_recheck=: ;;
   18524   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18525     $as_echo "$ac_cs_version"; exit ;;
   18526   --config | --confi | --conf | --con | --co | --c )
   18527     $as_echo "$ac_cs_config"; exit ;;
   18528   --debug | --debu | --deb | --de | --d | -d )
   18529     debug=: ;;
   18530   --file | --fil | --fi | --f )
   18531     $ac_shift
   18532     case $ac_optarg in
   18533     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18534     '') as_fn_error $? "missing file argument" ;;
   18535     esac
   18536     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18537     ac_need_defaults=false;;
   18538   --header | --heade | --head | --hea )
   18539     $ac_shift
   18540     case $ac_optarg in
   18541     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18542     esac
   18543     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18544     ac_need_defaults=false;;
   18545   --he | --h)
   18546     # Conflict between --help and --header
   18547     as_fn_error $? "ambiguous option: \`$1'
   18548 Try \`$0 --help' for more information.";;
   18549   --help | --hel | -h )
   18550     $as_echo "$ac_cs_usage"; exit ;;
   18551   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18552   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18553     ac_cs_silent=: ;;
   18554 
   18555   # This is an error.
   18556   -*) as_fn_error $? "unrecognized option: \`$1'
   18557 Try \`$0 --help' for more information." ;;
   18558 
   18559   *) as_fn_append ac_config_targets " $1"
   18560      ac_need_defaults=false ;;
   18561 
   18562   esac
   18563   shift
   18564 done
   18565 
   18566 ac_configure_extra_args=
   18567 
   18568 if $ac_cs_silent; then
   18569   exec 6>/dev/null
   18570   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18571 fi
   18572 
   18573 _ACEOF
   18574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18575 if \$ac_cs_recheck; then
   18576   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18577   shift
   18578   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18579   CONFIG_SHELL='$SHELL'
   18580   export CONFIG_SHELL
   18581   exec "\$@"
   18582 fi
   18583 
   18584 _ACEOF
   18585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18586 exec 5>>config.log
   18587 {
   18588   echo
   18589   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18590 ## Running $as_me. ##
   18591 _ASBOX
   18592   $as_echo "$ac_log"
   18593 } >&5
   18594 
   18595 _ACEOF
   18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18597 #
   18598 # INIT-COMMANDS
   18599 #
   18600 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18601 
   18602 
   18603 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18604 # if CDPATH is set.
   18605 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18606 
   18607 sed_quote_subst='$sed_quote_subst'
   18608 double_quote_subst='$double_quote_subst'
   18609 delay_variable_subst='$delay_variable_subst'
   18610 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18611 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18612 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18613 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18614 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18615 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18616 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18617 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18618 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18619 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18620 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18621 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18622 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18623 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18624 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18625 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18626 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18627 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18628 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18629 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18630 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18631 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18632 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18633 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18634 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18635 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18636 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18637 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18638 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18639 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18640 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18641 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18642 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18643 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18644 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18645 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18646 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18647 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18648 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18649 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18650 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18651 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18652 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18653 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18654 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18655 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18656 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18657 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18658 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18659 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18660 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18661 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18662 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18663 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18664 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18665 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18666 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"`'
   18667 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18668 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18669 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18670 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18671 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18672 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18673 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18674 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18675 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18676 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18677 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18678 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18679 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18680 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18681 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18682 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18683 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18684 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18685 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18686 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18687 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18688 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18689 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18690 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18691 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18692 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18693 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18694 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18695 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18696 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18697 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18698 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18699 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18700 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18701 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18702 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18703 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18704 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18705 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18706 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18707 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18708 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18709 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18710 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18711 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18712 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18713 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18714 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18715 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18716 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18717 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18718 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18719 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18720 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18721 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18722 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18723 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18724 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18725 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18726 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18727 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18728 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18729 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18730 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18731 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18732 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18733 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18734 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18735 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18736 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18737 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18738 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18739 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18740 
   18741 LTCC='$LTCC'
   18742 LTCFLAGS='$LTCFLAGS'
   18743 compiler='$compiler_DEFAULT'
   18744 
   18745 # A function that is used when there is no print builtin or printf.
   18746 func_fallback_echo ()
   18747 {
   18748   eval 'cat <<_LTECHO_EOF
   18749 \$1
   18750 _LTECHO_EOF'
   18751 }
   18752 
   18753 # Quote evaled strings.
   18754 for var in SHELL \
   18755 ECHO \
   18756 PATH_SEPARATOR \
   18757 SED \
   18758 GREP \
   18759 EGREP \
   18760 FGREP \
   18761 LD \
   18762 NM \
   18763 LN_S \
   18764 lt_SP2NL \
   18765 lt_NL2SP \
   18766 reload_flag \
   18767 OBJDUMP \
   18768 deplibs_check_method \
   18769 file_magic_cmd \
   18770 file_magic_glob \
   18771 want_nocaseglob \
   18772 DLLTOOL \
   18773 sharedlib_from_linklib_cmd \
   18774 AR \
   18775 AR_FLAGS \
   18776 archiver_list_spec \
   18777 STRIP \
   18778 RANLIB \
   18779 CC \
   18780 CFLAGS \
   18781 compiler \
   18782 lt_cv_sys_global_symbol_pipe \
   18783 lt_cv_sys_global_symbol_to_cdecl \
   18784 lt_cv_sys_global_symbol_to_c_name_address \
   18785 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18786 nm_file_list_spec \
   18787 lt_prog_compiler_no_builtin_flag \
   18788 lt_prog_compiler_pic \
   18789 lt_prog_compiler_wl \
   18790 lt_prog_compiler_static \
   18791 lt_cv_prog_compiler_c_o \
   18792 need_locks \
   18793 MANIFEST_TOOL \
   18794 DSYMUTIL \
   18795 NMEDIT \
   18796 LIPO \
   18797 OTOOL \
   18798 OTOOL64 \
   18799 shrext_cmds \
   18800 export_dynamic_flag_spec \
   18801 whole_archive_flag_spec \
   18802 compiler_needs_object \
   18803 with_gnu_ld \
   18804 allow_undefined_flag \
   18805 no_undefined_flag \
   18806 hardcode_libdir_flag_spec \
   18807 hardcode_libdir_separator \
   18808 exclude_expsyms \
   18809 include_expsyms \
   18810 file_list_spec \
   18811 variables_saved_for_relink \
   18812 libname_spec \
   18813 library_names_spec \
   18814 soname_spec \
   18815 install_override_mode \
   18816 finish_eval \
   18817 old_striplib \
   18818 striplib; do
   18819     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18820     *[\\\\\\\`\\"\\\$]*)
   18821       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18822       ;;
   18823     *)
   18824       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18825       ;;
   18826     esac
   18827 done
   18828 
   18829 # Double-quote double-evaled strings.
   18830 for var in reload_cmds \
   18831 old_postinstall_cmds \
   18832 old_postuninstall_cmds \
   18833 old_archive_cmds \
   18834 extract_expsyms_cmds \
   18835 old_archive_from_new_cmds \
   18836 old_archive_from_expsyms_cmds \
   18837 archive_cmds \
   18838 archive_expsym_cmds \
   18839 module_cmds \
   18840 module_expsym_cmds \
   18841 export_symbols_cmds \
   18842 prelink_cmds \
   18843 postlink_cmds \
   18844 postinstall_cmds \
   18845 postuninstall_cmds \
   18846 finish_cmds \
   18847 sys_lib_search_path_spec \
   18848 sys_lib_dlsearch_path_spec; do
   18849     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18850     *[\\\\\\\`\\"\\\$]*)
   18851       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18852       ;;
   18853     *)
   18854       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18855       ;;
   18856     esac
   18857 done
   18858 
   18859 ac_aux_dir='$ac_aux_dir'
   18860 xsi_shell='$xsi_shell'
   18861 lt_shell_append='$lt_shell_append'
   18862 
   18863 # See if we are running on zsh, and set the options which allow our
   18864 # commands through without removal of \ escapes INIT.
   18865 if test -n "\${ZSH_VERSION+set}" ; then
   18866    setopt NO_GLOB_SUBST
   18867 fi
   18868 
   18869 
   18870     PACKAGE='$PACKAGE'
   18871     VERSION='$VERSION'
   18872     TIMESTAMP='$TIMESTAMP'
   18873     RM='$RM'
   18874     ofile='$ofile'
   18875 
   18876 
   18877 
   18878 
   18879 _ACEOF
   18880 
   18881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18882 
   18883 # Handling of arguments.
   18884 for ac_config_target in $ac_config_targets
   18885 do
   18886   case $ac_config_target in
   18887     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18888     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18889     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18890     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18891     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18892     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18893     "xinerama.pc") CONFIG_FILES="$CONFIG_FILES xinerama.pc" ;;
   18894 
   18895   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18896   esac
   18897 done
   18898 
   18899 
   18900 # If the user did not use the arguments to specify the items to instantiate,
   18901 # then the envvar interface is used.  Set only those that are not.
   18902 # We use the long form for the default assignment because of an extremely
   18903 # bizarre bug on SunOS 4.1.3.
   18904 if $ac_need_defaults; then
   18905   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18906   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18907   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18908 fi
   18909 
   18910 # Have a temporary directory for convenience.  Make it in the build tree
   18911 # simply because there is no reason against having it here, and in addition,
   18912 # creating and moving files from /tmp can sometimes cause problems.
   18913 # Hook for its removal unless debugging.
   18914 # Note that there is a small window in which the directory will not be cleaned:
   18915 # after its creation but before its name has been assigned to `$tmp'.
   18916 $debug ||
   18917 {
   18918   tmp= ac_tmp=
   18919   trap 'exit_status=$?
   18920   : "${ac_tmp:=$tmp}"
   18921   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18922 ' 0
   18923   trap 'as_fn_exit 1' 1 2 13 15
   18924 }
   18925 # Create a (secure) tmp directory for tmp files.
   18926 
   18927 {
   18928   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18929   test -d "$tmp"
   18930 }  ||
   18931 {
   18932   tmp=./conf$$-$RANDOM
   18933   (umask 077 && mkdir "$tmp")
   18934 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18935 ac_tmp=$tmp
   18936 
   18937 # Set up the scripts for CONFIG_FILES section.
   18938 # No need to generate them if there are no CONFIG_FILES.
   18939 # This happens for instance with `./config.status config.h'.
   18940 if test -n "$CONFIG_FILES"; then
   18941 
   18942 
   18943 ac_cr=`echo X | tr X '\015'`
   18944 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18945 # But we know of no other shell where ac_cr would be empty at this
   18946 # point, so we can use a bashism as a fallback.
   18947 if test "x$ac_cr" = x; then
   18948   eval ac_cr=\$\'\\r\'
   18949 fi
   18950 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18951 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18952   ac_cs_awk_cr='\\r'
   18953 else
   18954   ac_cs_awk_cr=$ac_cr
   18955 fi
   18956 
   18957 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18958 _ACEOF
   18959 
   18960 
   18961 {
   18962   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18963   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18964   echo "_ACEOF"
   18965 } >conf$$subs.sh ||
   18966   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18967 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18968 ac_delim='%!_!# '
   18969 for ac_last_try in false false false false false :; do
   18970   . ./conf$$subs.sh ||
   18971     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18972 
   18973   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18974   if test $ac_delim_n = $ac_delim_num; then
   18975     break
   18976   elif $ac_last_try; then
   18977     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18978   else
   18979     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18980   fi
   18981 done
   18982 rm -f conf$$subs.sh
   18983 
   18984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18985 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18986 _ACEOF
   18987 sed -n '
   18988 h
   18989 s/^/S["/; s/!.*/"]=/
   18990 p
   18991 g
   18992 s/^[^!]*!//
   18993 :repl
   18994 t repl
   18995 s/'"$ac_delim"'$//
   18996 t delim
   18997 :nl
   18998 h
   18999 s/\(.\{148\}\)..*/\1/
   19000 t more1
   19001 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19002 p
   19003 n
   19004 b repl
   19005 :more1
   19006 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19007 p
   19008 g
   19009 s/.\{148\}//
   19010 t nl
   19011 :delim
   19012 h
   19013 s/\(.\{148\}\)..*/\1/
   19014 t more2
   19015 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19016 p
   19017 b
   19018 :more2
   19019 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19020 p
   19021 g
   19022 s/.\{148\}//
   19023 t delim
   19024 ' <conf$$subs.awk | sed '
   19025 /^[^""]/{
   19026   N
   19027   s/\n//
   19028 }
   19029 ' >>$CONFIG_STATUS || ac_write_fail=1
   19030 rm -f conf$$subs.awk
   19031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19032 _ACAWK
   19033 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19034   for (key in S) S_is_set[key] = 1
   19035   FS = ""
   19036 
   19037 }
   19038 {
   19039   line = $ 0
   19040   nfields = split(line, field, "@")
   19041   substed = 0
   19042   len = length(field[1])
   19043   for (i = 2; i < nfields; i++) {
   19044     key = field[i]
   19045     keylen = length(key)
   19046     if (S_is_set[key]) {
   19047       value = S[key]
   19048       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19049       len += length(value) + length(field[++i])
   19050       substed = 1
   19051     } else
   19052       len += 1 + keylen
   19053   }
   19054 
   19055   print line
   19056 }
   19057 
   19058 _ACAWK
   19059 _ACEOF
   19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19061 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19062   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19063 else
   19064   cat
   19065 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19066   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19067 _ACEOF
   19068 
   19069 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19070 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19071 # trailing colons and then remove the whole line if VPATH becomes empty
   19072 # (actually we leave an empty line to preserve line numbers).
   19073 if test "x$srcdir" = x.; then
   19074   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19075 h
   19076 s///
   19077 s/^/:/
   19078 s/[	 ]*$/:/
   19079 s/:\$(srcdir):/:/g
   19080 s/:\${srcdir}:/:/g
   19081 s/:@srcdir@:/:/g
   19082 s/^:*//
   19083 s/:*$//
   19084 x
   19085 s/\(=[	 ]*\).*/\1/
   19086 G
   19087 s/\n//
   19088 s/^[^=]*=[	 ]*$//
   19089 }'
   19090 fi
   19091 
   19092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19093 fi # test -n "$CONFIG_FILES"
   19094 
   19095 # Set up the scripts for CONFIG_HEADERS section.
   19096 # No need to generate them if there are no CONFIG_HEADERS.
   19097 # This happens for instance with `./config.status Makefile'.
   19098 if test -n "$CONFIG_HEADERS"; then
   19099 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19100 BEGIN {
   19101 _ACEOF
   19102 
   19103 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19104 # here-document in config.status, that substitutes the proper values into
   19105 # config.h.in to produce config.h.
   19106 
   19107 # Create a delimiter string that does not exist in confdefs.h, to ease
   19108 # handling of long lines.
   19109 ac_delim='%!_!# '
   19110 for ac_last_try in false false :; do
   19111   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19112   if test -z "$ac_tt"; then
   19113     break
   19114   elif $ac_last_try; then
   19115     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19116   else
   19117     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19118   fi
   19119 done
   19120 
   19121 # For the awk script, D is an array of macro values keyed by name,
   19122 # likewise P contains macro parameters if any.  Preserve backslash
   19123 # newline sequences.
   19124 
   19125 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19126 sed -n '
   19127 s/.\{148\}/&'"$ac_delim"'/g
   19128 t rset
   19129 :rset
   19130 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19131 t def
   19132 d
   19133 :def
   19134 s/\\$//
   19135 t bsnl
   19136 s/["\\]/\\&/g
   19137 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19138 D["\1"]=" \3"/p
   19139 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19140 d
   19141 :bsnl
   19142 s/["\\]/\\&/g
   19143 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19144 D["\1"]=" \3\\\\\\n"\\/p
   19145 t cont
   19146 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19147 t cont
   19148 d
   19149 :cont
   19150 n
   19151 s/.\{148\}/&'"$ac_delim"'/g
   19152 t clear
   19153 :clear
   19154 s/\\$//
   19155 t bsnlc
   19156 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19157 d
   19158 :bsnlc
   19159 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19160 b cont
   19161 ' <confdefs.h | sed '
   19162 s/'"$ac_delim"'/"\\\
   19163 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19164 
   19165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19166   for (key in D) D_is_set[key] = 1
   19167   FS = ""
   19168 }
   19169 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19170   line = \$ 0
   19171   split(line, arg, " ")
   19172   if (arg[1] == "#") {
   19173     defundef = arg[2]
   19174     mac1 = arg[3]
   19175   } else {
   19176     defundef = substr(arg[1], 2)
   19177     mac1 = arg[2]
   19178   }
   19179   split(mac1, mac2, "(") #)
   19180   macro = mac2[1]
   19181   prefix = substr(line, 1, index(line, defundef) - 1)
   19182   if (D_is_set[macro]) {
   19183     # Preserve the white space surrounding the "#".
   19184     print prefix "define", macro P[macro] D[macro]
   19185     next
   19186   } else {
   19187     # Replace #undef with comments.  This is necessary, for example,
   19188     # in the case of _POSIX_SOURCE, which is predefined and required
   19189     # on some systems where configure will not decide to define it.
   19190     if (defundef == "undef") {
   19191       print "/*", prefix defundef, macro, "*/"
   19192       next
   19193     }
   19194   }
   19195 }
   19196 { print }
   19197 _ACAWK
   19198 _ACEOF
   19199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19200   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19201 fi # test -n "$CONFIG_HEADERS"
   19202 
   19203 
   19204 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19205 shift
   19206 for ac_tag
   19207 do
   19208   case $ac_tag in
   19209   :[FHLC]) ac_mode=$ac_tag; continue;;
   19210   esac
   19211   case $ac_mode$ac_tag in
   19212   :[FHL]*:*);;
   19213   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19214   :[FH]-) ac_tag=-:-;;
   19215   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19216   esac
   19217   ac_save_IFS=$IFS
   19218   IFS=:
   19219   set x $ac_tag
   19220   IFS=$ac_save_IFS
   19221   shift
   19222   ac_file=$1
   19223   shift
   19224 
   19225   case $ac_mode in
   19226   :L) ac_source=$1;;
   19227   :[FH])
   19228     ac_file_inputs=
   19229     for ac_f
   19230     do
   19231       case $ac_f in
   19232       -) ac_f="$ac_tmp/stdin";;
   19233       *) # Look for the file first in the build tree, then in the source tree
   19234 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19235 	 # because $ac_f cannot contain `:'.
   19236 	 test -f "$ac_f" ||
   19237 	   case $ac_f in
   19238 	   [\\/$]*) false;;
   19239 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19240 	   esac ||
   19241 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19242       esac
   19243       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19244       as_fn_append ac_file_inputs " '$ac_f'"
   19245     done
   19246 
   19247     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19248     # use $as_me), people would be surprised to read:
   19249     #    /* config.h.  Generated by config.status.  */
   19250     configure_input='Generated from '`
   19251 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19252 	`' by configure.'
   19253     if test x"$ac_file" != x-; then
   19254       configure_input="$ac_file.  $configure_input"
   19255       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19256 $as_echo "$as_me: creating $ac_file" >&6;}
   19257     fi
   19258     # Neutralize special characters interpreted by sed in replacement strings.
   19259     case $configure_input in #(
   19260     *\&* | *\|* | *\\* )
   19261        ac_sed_conf_input=`$as_echo "$configure_input" |
   19262        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19263     *) ac_sed_conf_input=$configure_input;;
   19264     esac
   19265 
   19266     case $ac_tag in
   19267     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19268       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19269     esac
   19270     ;;
   19271   esac
   19272 
   19273   ac_dir=`$as_dirname -- "$ac_file" ||
   19274 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19275 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19276 	 X"$ac_file" : 'X\(//\)$' \| \
   19277 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19278 $as_echo X"$ac_file" |
   19279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19280 	    s//\1/
   19281 	    q
   19282 	  }
   19283 	  /^X\(\/\/\)[^/].*/{
   19284 	    s//\1/
   19285 	    q
   19286 	  }
   19287 	  /^X\(\/\/\)$/{
   19288 	    s//\1/
   19289 	    q
   19290 	  }
   19291 	  /^X\(\/\).*/{
   19292 	    s//\1/
   19293 	    q
   19294 	  }
   19295 	  s/.*/./; q'`
   19296   as_dir="$ac_dir"; as_fn_mkdir_p
   19297   ac_builddir=.
   19298 
   19299 case "$ac_dir" in
   19300 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19301 *)
   19302   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19303   # A ".." for each directory in $ac_dir_suffix.
   19304   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19305   case $ac_top_builddir_sub in
   19306   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19307   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19308   esac ;;
   19309 esac
   19310 ac_abs_top_builddir=$ac_pwd
   19311 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19312 # for backward compatibility:
   19313 ac_top_builddir=$ac_top_build_prefix
   19314 
   19315 case $srcdir in
   19316   .)  # We are building in place.
   19317     ac_srcdir=.
   19318     ac_top_srcdir=$ac_top_builddir_sub
   19319     ac_abs_top_srcdir=$ac_pwd ;;
   19320   [\\/]* | ?:[\\/]* )  # Absolute name.
   19321     ac_srcdir=$srcdir$ac_dir_suffix;
   19322     ac_top_srcdir=$srcdir
   19323     ac_abs_top_srcdir=$srcdir ;;
   19324   *) # Relative name.
   19325     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19326     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19327     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19328 esac
   19329 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19330 
   19331 
   19332   case $ac_mode in
   19333   :F)
   19334   #
   19335   # CONFIG_FILE
   19336   #
   19337 
   19338   case $INSTALL in
   19339   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19340   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19341   esac
   19342   ac_MKDIR_P=$MKDIR_P
   19343   case $MKDIR_P in
   19344   [\\/$]* | ?:[\\/]* ) ;;
   19345   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19346   esac
   19347 _ACEOF
   19348 
   19349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19350 # If the template does not know about datarootdir, expand it.
   19351 # FIXME: This hack should be removed a few years after 2.60.
   19352 ac_datarootdir_hack=; ac_datarootdir_seen=
   19353 ac_sed_dataroot='
   19354 /datarootdir/ {
   19355   p
   19356   q
   19357 }
   19358 /@datadir@/p
   19359 /@docdir@/p
   19360 /@infodir@/p
   19361 /@localedir@/p
   19362 /@mandir@/p'
   19363 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19364 *datarootdir*) ac_datarootdir_seen=yes;;
   19365 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19366   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19367 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19368 _ACEOF
   19369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19370   ac_datarootdir_hack='
   19371   s&@datadir@&$datadir&g
   19372   s&@docdir@&$docdir&g
   19373   s&@infodir@&$infodir&g
   19374   s&@localedir@&$localedir&g
   19375   s&@mandir@&$mandir&g
   19376   s&\\\${datarootdir}&$datarootdir&g' ;;
   19377 esac
   19378 _ACEOF
   19379 
   19380 # Neutralize VPATH when `$srcdir' = `.'.
   19381 # Shell code in configure.ac might set extrasub.
   19382 # FIXME: do we really want to maintain this feature?
   19383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19384 ac_sed_extra="$ac_vpsub
   19385 $extrasub
   19386 _ACEOF
   19387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19388 :t
   19389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19390 s|@configure_input@|$ac_sed_conf_input|;t t
   19391 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19392 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19393 s&@srcdir@&$ac_srcdir&;t t
   19394 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19395 s&@top_srcdir@&$ac_top_srcdir&;t t
   19396 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19397 s&@builddir@&$ac_builddir&;t t
   19398 s&@abs_builddir@&$ac_abs_builddir&;t t
   19399 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19400 s&@INSTALL@&$ac_INSTALL&;t t
   19401 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19402 $ac_datarootdir_hack
   19403 "
   19404 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19405   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19406 
   19407 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19408   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19409   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19410       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19411   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19412 which seems to be undefined.  Please make sure it is defined" >&5
   19413 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19414 which seems to be undefined.  Please make sure it is defined" >&2;}
   19415 
   19416   rm -f "$ac_tmp/stdin"
   19417   case $ac_file in
   19418   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19419   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19420   esac \
   19421   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19422  ;;
   19423   :H)
   19424   #
   19425   # CONFIG_HEADER
   19426   #
   19427   if test x"$ac_file" != x-; then
   19428     {
   19429       $as_echo "/* $configure_input  */" \
   19430       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19431     } >"$ac_tmp/config.h" \
   19432       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19433     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19434       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19435 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19436     else
   19437       rm -f "$ac_file"
   19438       mv "$ac_tmp/config.h" "$ac_file" \
   19439 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19440     fi
   19441   else
   19442     $as_echo "/* $configure_input  */" \
   19443       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19444       || as_fn_error $? "could not create -" "$LINENO" 5
   19445   fi
   19446 # Compute "$ac_file"'s index in $config_headers.
   19447 _am_arg="$ac_file"
   19448 _am_stamp_count=1
   19449 for _am_header in $config_headers :; do
   19450   case $_am_header in
   19451     $_am_arg | $_am_arg:* )
   19452       break ;;
   19453     * )
   19454       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19455   esac
   19456 done
   19457 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19458 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19459 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19460 	 X"$_am_arg" : 'X\(//\)$' \| \
   19461 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19462 $as_echo X"$_am_arg" |
   19463     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19464 	    s//\1/
   19465 	    q
   19466 	  }
   19467 	  /^X\(\/\/\)[^/].*/{
   19468 	    s//\1/
   19469 	    q
   19470 	  }
   19471 	  /^X\(\/\/\)$/{
   19472 	    s//\1/
   19473 	    q
   19474 	  }
   19475 	  /^X\(\/\).*/{
   19476 	    s//\1/
   19477 	    q
   19478 	  }
   19479 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19480  ;;
   19481 
   19482   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19483 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19484  ;;
   19485   esac
   19486 
   19487 
   19488   case $ac_file$ac_mode in
   19489     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19490   # Older Autoconf quotes --file arguments for eval, but not when files
   19491   # are listed without --file.  Let's play safe and only enable the eval
   19492   # if we detect the quoting.
   19493   case $CONFIG_FILES in
   19494   *\'*) eval set x "$CONFIG_FILES" ;;
   19495   *)   set x $CONFIG_FILES ;;
   19496   esac
   19497   shift
   19498   for mf
   19499   do
   19500     # Strip MF so we end up with the name of the file.
   19501     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19502     # Check whether this is an Automake generated Makefile or not.
   19503     # We used to match only the files named 'Makefile.in', but
   19504     # some people rename them; so instead we look at the file content.
   19505     # Grep'ing the first line is not enough: some people post-process
   19506     # each Makefile.in and add a new line on top of each file to say so.
   19507     # Grep'ing the whole file is not good either: AIX grep has a line
   19508     # limit of 2048, but all sed's we know have understand at least 4000.
   19509     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19510       dirpart=`$as_dirname -- "$mf" ||
   19511 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19512 	 X"$mf" : 'X\(//\)[^/]' \| \
   19513 	 X"$mf" : 'X\(//\)$' \| \
   19514 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19515 $as_echo X"$mf" |
   19516     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19517 	    s//\1/
   19518 	    q
   19519 	  }
   19520 	  /^X\(\/\/\)[^/].*/{
   19521 	    s//\1/
   19522 	    q
   19523 	  }
   19524 	  /^X\(\/\/\)$/{
   19525 	    s//\1/
   19526 	    q
   19527 	  }
   19528 	  /^X\(\/\).*/{
   19529 	    s//\1/
   19530 	    q
   19531 	  }
   19532 	  s/.*/./; q'`
   19533     else
   19534       continue
   19535     fi
   19536     # Extract the definition of DEPDIR, am__include, and am__quote
   19537     # from the Makefile without running 'make'.
   19538     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19539     test -z "$DEPDIR" && continue
   19540     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19541     test -z "$am__include" && continue
   19542     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19543     # Find all dependency output files, they are included files with
   19544     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19545     # simplest approach to changing $(DEPDIR) to its actual value in the
   19546     # expansion.
   19547     for file in `sed -n "
   19548       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19549 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19550       # Make sure the directory exists.
   19551       test -f "$dirpart/$file" && continue
   19552       fdir=`$as_dirname -- "$file" ||
   19553 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19554 	 X"$file" : 'X\(//\)[^/]' \| \
   19555 	 X"$file" : 'X\(//\)$' \| \
   19556 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19557 $as_echo X"$file" |
   19558     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19559 	    s//\1/
   19560 	    q
   19561 	  }
   19562 	  /^X\(\/\/\)[^/].*/{
   19563 	    s//\1/
   19564 	    q
   19565 	  }
   19566 	  /^X\(\/\/\)$/{
   19567 	    s//\1/
   19568 	    q
   19569 	  }
   19570 	  /^X\(\/\).*/{
   19571 	    s//\1/
   19572 	    q
   19573 	  }
   19574 	  s/.*/./; q'`
   19575       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19576       # echo "creating $dirpart/$file"
   19577       echo '# dummy' > "$dirpart/$file"
   19578     done
   19579   done
   19580 }
   19581  ;;
   19582     "libtool":C)
   19583 
   19584     # See if we are running on zsh, and set the options which allow our
   19585     # commands through without removal of \ escapes.
   19586     if test -n "${ZSH_VERSION+set}" ; then
   19587       setopt NO_GLOB_SUBST
   19588     fi
   19589 
   19590     cfgfile="${ofile}T"
   19591     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19592     $RM "$cfgfile"
   19593 
   19594     cat <<_LT_EOF >> "$cfgfile"
   19595 #! $SHELL
   19596 
   19597 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19598 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19599 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19600 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19601 #
   19602 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19603 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19604 #                 Foundation, Inc.
   19605 #   Written by Gordon Matzigkeit, 1996
   19606 #
   19607 #   This file is part of GNU Libtool.
   19608 #
   19609 # GNU Libtool is free software; you can redistribute it and/or
   19610 # modify it under the terms of the GNU General Public License as
   19611 # published by the Free Software Foundation; either version 2 of
   19612 # the License, or (at your option) any later version.
   19613 #
   19614 # As a special exception to the GNU General Public License,
   19615 # if you distribute this file as part of a program or library that
   19616 # is built using GNU Libtool, you may include this file under the
   19617 # same distribution terms that you use for the rest of that program.
   19618 #
   19619 # GNU Libtool is distributed in the hope that it will be useful,
   19620 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19621 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19622 # GNU General Public License for more details.
   19623 #
   19624 # You should have received a copy of the GNU General Public License
   19625 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19626 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19627 # obtained by writing to the Free Software Foundation, Inc.,
   19628 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19629 
   19630 
   19631 # The names of the tagged configurations supported by this script.
   19632 available_tags=""
   19633 
   19634 # ### BEGIN LIBTOOL CONFIG
   19635 
   19636 # Which release of libtool.m4 was used?
   19637 macro_version=$macro_version
   19638 macro_revision=$macro_revision
   19639 
   19640 # Whether or not to build shared libraries.
   19641 build_libtool_libs=$enable_shared
   19642 
   19643 # Whether or not to build static libraries.
   19644 build_old_libs=$enable_static
   19645 
   19646 # What type of objects to build.
   19647 pic_mode=$pic_mode
   19648 
   19649 # Whether or not to optimize for fast installation.
   19650 fast_install=$enable_fast_install
   19651 
   19652 # Shell to use when invoking shell scripts.
   19653 SHELL=$lt_SHELL
   19654 
   19655 # An echo program that protects backslashes.
   19656 ECHO=$lt_ECHO
   19657 
   19658 # The PATH separator for the build system.
   19659 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19660 
   19661 # The host system.
   19662 host_alias=$host_alias
   19663 host=$host
   19664 host_os=$host_os
   19665 
   19666 # The build system.
   19667 build_alias=$build_alias
   19668 build=$build
   19669 build_os=$build_os
   19670 
   19671 # A sed program that does not truncate output.
   19672 SED=$lt_SED
   19673 
   19674 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19675 Xsed="\$SED -e 1s/^X//"
   19676 
   19677 # A grep program that handles long lines.
   19678 GREP=$lt_GREP
   19679 
   19680 # An ERE matcher.
   19681 EGREP=$lt_EGREP
   19682 
   19683 # A literal string matcher.
   19684 FGREP=$lt_FGREP
   19685 
   19686 # A BSD- or MS-compatible name lister.
   19687 NM=$lt_NM
   19688 
   19689 # Whether we need soft or hard links.
   19690 LN_S=$lt_LN_S
   19691 
   19692 # What is the maximum length of a command?
   19693 max_cmd_len=$max_cmd_len
   19694 
   19695 # Object file suffix (normally "o").
   19696 objext=$ac_objext
   19697 
   19698 # Executable file suffix (normally "").
   19699 exeext=$exeext
   19700 
   19701 # whether the shell understands "unset".
   19702 lt_unset=$lt_unset
   19703 
   19704 # turn spaces into newlines.
   19705 SP2NL=$lt_lt_SP2NL
   19706 
   19707 # turn newlines into spaces.
   19708 NL2SP=$lt_lt_NL2SP
   19709 
   19710 # convert \$build file names to \$host format.
   19711 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19712 
   19713 # convert \$build files to toolchain format.
   19714 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19715 
   19716 # An object symbol dumper.
   19717 OBJDUMP=$lt_OBJDUMP
   19718 
   19719 # Method to check whether dependent libraries are shared objects.
   19720 deplibs_check_method=$lt_deplibs_check_method
   19721 
   19722 # Command to use when deplibs_check_method = "file_magic".
   19723 file_magic_cmd=$lt_file_magic_cmd
   19724 
   19725 # How to find potential files when deplibs_check_method = "file_magic".
   19726 file_magic_glob=$lt_file_magic_glob
   19727 
   19728 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19729 want_nocaseglob=$lt_want_nocaseglob
   19730 
   19731 # DLL creation program.
   19732 DLLTOOL=$lt_DLLTOOL
   19733 
   19734 # Command to associate shared and link libraries.
   19735 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19736 
   19737 # The archiver.
   19738 AR=$lt_AR
   19739 
   19740 # Flags to create an archive.
   19741 AR_FLAGS=$lt_AR_FLAGS
   19742 
   19743 # How to feed a file listing to the archiver.
   19744 archiver_list_spec=$lt_archiver_list_spec
   19745 
   19746 # A symbol stripping program.
   19747 STRIP=$lt_STRIP
   19748 
   19749 # Commands used to install an old-style archive.
   19750 RANLIB=$lt_RANLIB
   19751 old_postinstall_cmds=$lt_old_postinstall_cmds
   19752 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19753 
   19754 # Whether to use a lock for old archive extraction.
   19755 lock_old_archive_extraction=$lock_old_archive_extraction
   19756 
   19757 # A C compiler.
   19758 LTCC=$lt_CC
   19759 
   19760 # LTCC compiler flags.
   19761 LTCFLAGS=$lt_CFLAGS
   19762 
   19763 # Take the output of nm and produce a listing of raw symbols and C names.
   19764 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19765 
   19766 # Transform the output of nm in a proper C declaration.
   19767 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19768 
   19769 # Transform the output of nm in a C name address pair.
   19770 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19771 
   19772 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19773 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19774 
   19775 # Specify filename containing input files for \$NM.
   19776 nm_file_list_spec=$lt_nm_file_list_spec
   19777 
   19778 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19779 lt_sysroot=$lt_sysroot
   19780 
   19781 # The name of the directory that contains temporary libtool files.
   19782 objdir=$objdir
   19783 
   19784 # Used to examine libraries when file_magic_cmd begins with "file".
   19785 MAGIC_CMD=$MAGIC_CMD
   19786 
   19787 # Must we lock files when doing compilation?
   19788 need_locks=$lt_need_locks
   19789 
   19790 # Manifest tool.
   19791 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19792 
   19793 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19794 DSYMUTIL=$lt_DSYMUTIL
   19795 
   19796 # Tool to change global to local symbols on Mac OS X.
   19797 NMEDIT=$lt_NMEDIT
   19798 
   19799 # Tool to manipulate fat objects and archives on Mac OS X.
   19800 LIPO=$lt_LIPO
   19801 
   19802 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19803 OTOOL=$lt_OTOOL
   19804 
   19805 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19806 OTOOL64=$lt_OTOOL64
   19807 
   19808 # Old archive suffix (normally "a").
   19809 libext=$libext
   19810 
   19811 # Shared library suffix (normally ".so").
   19812 shrext_cmds=$lt_shrext_cmds
   19813 
   19814 # The commands to extract the exported symbol list from a shared archive.
   19815 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19816 
   19817 # Variables whose values should be saved in libtool wrapper scripts and
   19818 # restored at link time.
   19819 variables_saved_for_relink=$lt_variables_saved_for_relink
   19820 
   19821 # Do we need the "lib" prefix for modules?
   19822 need_lib_prefix=$need_lib_prefix
   19823 
   19824 # Do we need a version for libraries?
   19825 need_version=$need_version
   19826 
   19827 # Library versioning type.
   19828 version_type=$version_type
   19829 
   19830 # Shared library runtime path variable.
   19831 runpath_var=$runpath_var
   19832 
   19833 # Shared library path variable.
   19834 shlibpath_var=$shlibpath_var
   19835 
   19836 # Is shlibpath searched before the hard-coded library search path?
   19837 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19838 
   19839 # Format of library name prefix.
   19840 libname_spec=$lt_libname_spec
   19841 
   19842 # List of archive names.  First name is the real one, the rest are links.
   19843 # The last name is the one that the linker finds with -lNAME
   19844 library_names_spec=$lt_library_names_spec
   19845 
   19846 # The coded name of the library, if different from the real name.
   19847 soname_spec=$lt_soname_spec
   19848 
   19849 # Permission mode override for installation of shared libraries.
   19850 install_override_mode=$lt_install_override_mode
   19851 
   19852 # Command to use after installation of a shared archive.
   19853 postinstall_cmds=$lt_postinstall_cmds
   19854 
   19855 # Command to use after uninstallation of a shared archive.
   19856 postuninstall_cmds=$lt_postuninstall_cmds
   19857 
   19858 # Commands used to finish a libtool library installation in a directory.
   19859 finish_cmds=$lt_finish_cmds
   19860 
   19861 # As "finish_cmds", except a single script fragment to be evaled but
   19862 # not shown.
   19863 finish_eval=$lt_finish_eval
   19864 
   19865 # Whether we should hardcode library paths into libraries.
   19866 hardcode_into_libs=$hardcode_into_libs
   19867 
   19868 # Compile-time system search path for libraries.
   19869 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19870 
   19871 # Run-time system search path for libraries.
   19872 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19873 
   19874 # Whether dlopen is supported.
   19875 dlopen_support=$enable_dlopen
   19876 
   19877 # Whether dlopen of programs is supported.
   19878 dlopen_self=$enable_dlopen_self
   19879 
   19880 # Whether dlopen of statically linked programs is supported.
   19881 dlopen_self_static=$enable_dlopen_self_static
   19882 
   19883 # Commands to strip libraries.
   19884 old_striplib=$lt_old_striplib
   19885 striplib=$lt_striplib
   19886 
   19887 
   19888 # The linker used to build libraries.
   19889 LD=$lt_LD
   19890 
   19891 # How to create reloadable object files.
   19892 reload_flag=$lt_reload_flag
   19893 reload_cmds=$lt_reload_cmds
   19894 
   19895 # Commands used to build an old-style archive.
   19896 old_archive_cmds=$lt_old_archive_cmds
   19897 
   19898 # A language specific compiler.
   19899 CC=$lt_compiler
   19900 
   19901 # Is the compiler the GNU compiler?
   19902 with_gcc=$GCC
   19903 
   19904 # Compiler flag to turn off builtin functions.
   19905 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19906 
   19907 # Additional compiler flags for building library objects.
   19908 pic_flag=$lt_lt_prog_compiler_pic
   19909 
   19910 # How to pass a linker flag through the compiler.
   19911 wl=$lt_lt_prog_compiler_wl
   19912 
   19913 # Compiler flag to prevent dynamic linking.
   19914 link_static_flag=$lt_lt_prog_compiler_static
   19915 
   19916 # Does compiler simultaneously support -c and -o options?
   19917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19918 
   19919 # Whether or not to add -lc for building shared libraries.
   19920 build_libtool_need_lc=$archive_cmds_need_lc
   19921 
   19922 # Whether or not to disallow shared libs when runtime libs are static.
   19923 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19924 
   19925 # Compiler flag to allow reflexive dlopens.
   19926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19927 
   19928 # Compiler flag to generate shared objects directly from archives.
   19929 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19930 
   19931 # Whether the compiler copes with passing no objects directly.
   19932 compiler_needs_object=$lt_compiler_needs_object
   19933 
   19934 # Create an old-style archive from a shared archive.
   19935 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19936 
   19937 # Create a temporary old-style archive to link instead of a shared archive.
   19938 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19939 
   19940 # Commands used to build a shared archive.
   19941 archive_cmds=$lt_archive_cmds
   19942 archive_expsym_cmds=$lt_archive_expsym_cmds
   19943 
   19944 # Commands used to build a loadable module if different from building
   19945 # a shared archive.
   19946 module_cmds=$lt_module_cmds
   19947 module_expsym_cmds=$lt_module_expsym_cmds
   19948 
   19949 # Whether we are building with GNU ld or not.
   19950 with_gnu_ld=$lt_with_gnu_ld
   19951 
   19952 # Flag that allows shared libraries with undefined symbols to be built.
   19953 allow_undefined_flag=$lt_allow_undefined_flag
   19954 
   19955 # Flag that enforces no undefined symbols.
   19956 no_undefined_flag=$lt_no_undefined_flag
   19957 
   19958 # Flag to hardcode \$libdir into a binary during linking.
   19959 # This must work even if \$libdir does not exist
   19960 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19961 
   19962 # Whether we need a single "-rpath" flag with a separated argument.
   19963 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19964 
   19965 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19966 # DIR into the resulting binary.
   19967 hardcode_direct=$hardcode_direct
   19968 
   19969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19970 # DIR into the resulting binary and the resulting library dependency is
   19971 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19972 # library is relocated.
   19973 hardcode_direct_absolute=$hardcode_direct_absolute
   19974 
   19975 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19976 # into the resulting binary.
   19977 hardcode_minus_L=$hardcode_minus_L
   19978 
   19979 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19980 # into the resulting binary.
   19981 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19982 
   19983 # Set to "yes" if building a shared library automatically hardcodes DIR
   19984 # into the library and all subsequent libraries and executables linked
   19985 # against it.
   19986 hardcode_automatic=$hardcode_automatic
   19987 
   19988 # Set to yes if linker adds runtime paths of dependent libraries
   19989 # to runtime path list.
   19990 inherit_rpath=$inherit_rpath
   19991 
   19992 # Whether libtool must link a program against all its dependency libraries.
   19993 link_all_deplibs=$link_all_deplibs
   19994 
   19995 # Set to "yes" if exported symbols are required.
   19996 always_export_symbols=$always_export_symbols
   19997 
   19998 # The commands to list exported symbols.
   19999 export_symbols_cmds=$lt_export_symbols_cmds
   20000 
   20001 # Symbols that should not be listed in the preloaded symbols.
   20002 exclude_expsyms=$lt_exclude_expsyms
   20003 
   20004 # Symbols that must always be exported.
   20005 include_expsyms=$lt_include_expsyms
   20006 
   20007 # Commands necessary for linking programs (against libraries) with templates.
   20008 prelink_cmds=$lt_prelink_cmds
   20009 
   20010 # Commands necessary for finishing linking programs.
   20011 postlink_cmds=$lt_postlink_cmds
   20012 
   20013 # Specify filename containing input files.
   20014 file_list_spec=$lt_file_list_spec
   20015 
   20016 # How to hardcode a shared library path into an executable.
   20017 hardcode_action=$hardcode_action
   20018 
   20019 # ### END LIBTOOL CONFIG
   20020 
   20021 _LT_EOF
   20022 
   20023   case $host_os in
   20024   aix3*)
   20025     cat <<\_LT_EOF >> "$cfgfile"
   20026 # AIX sometimes has problems with the GCC collect2 program.  For some
   20027 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20028 # vanish in a puff of smoke.
   20029 if test "X${COLLECT_NAMES+set}" != Xset; then
   20030   COLLECT_NAMES=
   20031   export COLLECT_NAMES
   20032 fi
   20033 _LT_EOF
   20034     ;;
   20035   esac
   20036 
   20037 
   20038 ltmain="$ac_aux_dir/ltmain.sh"
   20039 
   20040 
   20041   # We use sed instead of cat because bash on DJGPP gets confused if
   20042   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20043   # text mode, it properly converts lines to CR/LF.  This bash problem
   20044   # is reportedly fixed, but why not run on old versions too?
   20045   sed '$q' "$ltmain" >> "$cfgfile" \
   20046      || (rm -f "$cfgfile"; exit 1)
   20047 
   20048   if test x"$xsi_shell" = xyes; then
   20049   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20050 func_dirname ()\
   20051 {\
   20052 \    case ${1} in\
   20053 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20054 \      *  ) func_dirname_result="${3}" ;;\
   20055 \    esac\
   20056 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20057   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20058     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20059 test 0 -eq $? || _lt_function_replace_fail=:
   20060 
   20061 
   20062   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20063 func_basename ()\
   20064 {\
   20065 \    func_basename_result="${1##*/}"\
   20066 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20067   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20068     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20069 test 0 -eq $? || _lt_function_replace_fail=:
   20070 
   20071 
   20072   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20073 func_dirname_and_basename ()\
   20074 {\
   20075 \    case ${1} in\
   20076 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20077 \      *  ) func_dirname_result="${3}" ;;\
   20078 \    esac\
   20079 \    func_basename_result="${1##*/}"\
   20080 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20081   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20082     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20083 test 0 -eq $? || _lt_function_replace_fail=:
   20084 
   20085 
   20086   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20087 func_stripname ()\
   20088 {\
   20089 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20090 \    # positional parameters, so assign one to ordinary parameter first.\
   20091 \    func_stripname_result=${3}\
   20092 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20093 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20094 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20095   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20096     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20097 test 0 -eq $? || _lt_function_replace_fail=:
   20098 
   20099 
   20100   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20101 func_split_long_opt ()\
   20102 {\
   20103 \    func_split_long_opt_name=${1%%=*}\
   20104 \    func_split_long_opt_arg=${1#*=}\
   20105 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20106   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20107     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20108 test 0 -eq $? || _lt_function_replace_fail=:
   20109 
   20110 
   20111   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20112 func_split_short_opt ()\
   20113 {\
   20114 \    func_split_short_opt_arg=${1#??}\
   20115 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20116 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20117   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20118     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20119 test 0 -eq $? || _lt_function_replace_fail=:
   20120 
   20121 
   20122   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20123 func_lo2o ()\
   20124 {\
   20125 \    case ${1} in\
   20126 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20127 \      *)    func_lo2o_result=${1} ;;\
   20128 \    esac\
   20129 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20130   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20131     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20132 test 0 -eq $? || _lt_function_replace_fail=:
   20133 
   20134 
   20135   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20136 func_xform ()\
   20137 {\
   20138     func_xform_result=${1%.*}.lo\
   20139 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20140   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20141     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20142 test 0 -eq $? || _lt_function_replace_fail=:
   20143 
   20144 
   20145   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20146 func_arith ()\
   20147 {\
   20148     func_arith_result=$(( $* ))\
   20149 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20150   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20151     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20152 test 0 -eq $? || _lt_function_replace_fail=:
   20153 
   20154 
   20155   sed -e '/^func_len ()$/,/^} # func_len /c\
   20156 func_len ()\
   20157 {\
   20158     func_len_result=${#1}\
   20159 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20160   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20161     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20162 test 0 -eq $? || _lt_function_replace_fail=:
   20163 
   20164 fi
   20165 
   20166 if test x"$lt_shell_append" = xyes; then
   20167   sed -e '/^func_append ()$/,/^} # func_append /c\
   20168 func_append ()\
   20169 {\
   20170     eval "${1}+=\\${2}"\
   20171 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20172   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20173     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20174 test 0 -eq $? || _lt_function_replace_fail=:
   20175 
   20176 
   20177   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20178 func_append_quoted ()\
   20179 {\
   20180 \    func_quote_for_eval "${2}"\
   20181 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20182 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20183   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20184     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20185 test 0 -eq $? || _lt_function_replace_fail=:
   20186 
   20187 
   20188   # Save a `func_append' function call where possible by direct use of '+='
   20189   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20190     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20191       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20192   test 0 -eq $? || _lt_function_replace_fail=:
   20193 else
   20194   # Save a `func_append' function call even when '+=' is not available
   20195   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20196     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20197       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20198   test 0 -eq $? || _lt_function_replace_fail=:
   20199 fi
   20200 
   20201 if test x"$_lt_function_replace_fail" = x":"; then
   20202   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20203 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20204 fi
   20205 
   20206 
   20207    mv -f "$cfgfile" "$ofile" ||
   20208     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20209   chmod +x "$ofile"
   20210 
   20211  ;;
   20212 
   20213   esac
   20214 done # for ac_tag
   20215 
   20216 
   20217 as_fn_exit 0
   20218 _ACEOF
   20219 ac_clean_files=$ac_clean_files_save
   20220 
   20221 test $ac_write_fail = 0 ||
   20222   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20223 
   20224 
   20225 # configure is writing to config.log, and then calls config.status.
   20226 # config.status does its own redirection, appending to config.log.
   20227 # Unfortunately, on DOS this fails, as config.log is still kept open
   20228 # by configure, so config.status won't be able to write to it; its
   20229 # output is simply discarded.  So we exec the FD to /dev/null,
   20230 # effectively closing config.log, so it can be properly (re)opened and
   20231 # appended to by config.status.  When coming back to configure, we
   20232 # need to make the FD available again.
   20233 if test "$no_create" != yes; then
   20234   ac_cs_success=:
   20235   ac_config_status_args=
   20236   test "$silent" = yes &&
   20237     ac_config_status_args="$ac_config_status_args --quiet"
   20238   exec 5>/dev/null
   20239   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20240   exec 5>>config.log
   20241   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20242   # would make configure fail if this is the last instruction.
   20243   $ac_cs_success || as_fn_exit 1
   20244 fi
   20245 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20246   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20247 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20248 fi
   20249 
   20250