Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libSM 1.2.1.
      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 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libSM'
    633 PACKAGE_TARNAME='libSM'
    634 PACKAGE_VERSION='1.2.1'
    635 PACKAGE_STRING='libSM 1.2.1'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 WITH_LIBUUID_FALSE
    681 WITH_LIBUUID_TRUE
    682 LIBUUID_LIBS
    683 LIBUUID_CFLAGS
    684 SM_LIBS
    685 SM_CFLAGS
    686 HAVE_STYLESHEETS_FALSE
    687 HAVE_STYLESHEETS_TRUE
    688 XSL_STYLESHEET
    689 STYLESHEET_SRCDIR
    690 XORG_SGML_PATH
    691 HAVE_XSLTPROC_FALSE
    692 HAVE_XSLTPROC_TRUE
    693 XSLTPROC
    694 HAVE_FOP_FALSE
    695 HAVE_FOP_TRUE
    696 FOP
    697 HAVE_XMLTO_FALSE
    698 HAVE_XMLTO_TRUE
    699 HAVE_XMLTO_TEXT_FALSE
    700 HAVE_XMLTO_TEXT_TRUE
    701 XMLTO
    702 ENABLE_DOCS_FALSE
    703 ENABLE_DOCS_TRUE
    704 AM_BACKSLASH
    705 AM_DEFAULT_VERBOSITY
    706 MAN_SUBSTS
    707 XORG_MAN_PAGE
    708 ADMIN_MAN_DIR
    709 DRIVER_MAN_DIR
    710 MISC_MAN_DIR
    711 FILE_MAN_DIR
    712 LIB_MAN_DIR
    713 APP_MAN_DIR
    714 ADMIN_MAN_SUFFIX
    715 DRIVER_MAN_SUFFIX
    716 MISC_MAN_SUFFIX
    717 FILE_MAN_SUFFIX
    718 LIB_MAN_SUFFIX
    719 APP_MAN_SUFFIX
    720 INSTALL_CMD
    721 PKG_CONFIG
    722 CHANGELOG_CMD
    723 STRICT_CFLAGS
    724 CWARNFLAGS
    725 BASE_CFLAGS
    726 CPP
    727 OTOOL64
    728 OTOOL
    729 LIPO
    730 NMEDIT
    731 DSYMUTIL
    732 MANIFEST_TOOL
    733 RANLIB
    734 ac_ct_AR
    735 AR
    736 DLLTOOL
    737 OBJDUMP
    738 LN_S
    739 NM
    740 ac_ct_DUMPBIN
    741 DUMPBIN
    742 LD
    743 FGREP
    744 EGREP
    745 GREP
    746 SED
    747 am__fastdepCC_FALSE
    748 am__fastdepCC_TRUE
    749 CCDEPMODE
    750 AMDEPBACKSLASH
    751 AMDEP_FALSE
    752 AMDEP_TRUE
    753 am__quote
    754 am__include
    755 DEPDIR
    756 OBJEXT
    757 EXEEXT
    758 ac_ct_CC
    759 CPPFLAGS
    760 LDFLAGS
    761 CFLAGS
    762 CC
    763 host_os
    764 host_vendor
    765 host_cpu
    766 host
    767 build_os
    768 build_vendor
    769 build_cpu
    770 build
    771 LIBTOOL
    772 MAINT
    773 MAINTAINER_MODE_FALSE
    774 MAINTAINER_MODE_TRUE
    775 am__untar
    776 am__tar
    777 AMTAR
    778 am__leading_dot
    779 SET_MAKE
    780 AWK
    781 mkdir_p
    782 MKDIR_P
    783 INSTALL_STRIP_PROGRAM
    784 STRIP
    785 install_sh
    786 MAKEINFO
    787 AUTOHEADER
    788 AUTOMAKE
    789 AUTOCONF
    790 ACLOCAL
    791 VERSION
    792 PACKAGE
    793 CYGPATH_W
    794 am__isrc
    795 INSTALL_DATA
    796 INSTALL_SCRIPT
    797 INSTALL_PROGRAM
    798 target_alias
    799 host_alias
    800 build_alias
    801 LIBS
    802 ECHO_T
    803 ECHO_N
    804 ECHO_C
    805 DEFS
    806 mandir
    807 localedir
    808 libdir
    809 psdir
    810 pdfdir
    811 dvidir
    812 htmldir
    813 infodir
    814 docdir
    815 oldincludedir
    816 includedir
    817 localstatedir
    818 sharedstatedir
    819 sysconfdir
    820 datadir
    821 datarootdir
    822 libexecdir
    823 sbindir
    824 bindir
    825 program_transform_name
    826 prefix
    827 exec_prefix
    828 PACKAGE_URL
    829 PACKAGE_BUGREPORT
    830 PACKAGE_STRING
    831 PACKAGE_VERSION
    832 PACKAGE_TARNAME
    833 PACKAGE_NAME
    834 PATH_SEPARATOR
    835 SHELL'
    836 ac_subst_files=''
    837 ac_user_opts='
    838 enable_option_checking
    839 enable_maintainer_mode
    840 enable_shared
    841 enable_static
    842 with_pic
    843 enable_fast_install
    844 enable_dependency_tracking
    845 with_gnu_ld
    846 with_sysroot
    847 enable_libtool_lock
    848 enable_selective_werror
    849 enable_strict_compilation
    850 enable_silent_rules
    851 enable_docs
    852 with_xmlto
    853 with_fop
    854 with_xsltproc
    855 enable_unix_transport
    856 enable_tcp_transport
    857 enable_ipv6
    858 enable_local_transport
    859 with_libuuid
    860 '
    861       ac_precious_vars='build_alias
    862 host_alias
    863 target_alias
    864 CC
    865 CFLAGS
    866 LDFLAGS
    867 LIBS
    868 CPPFLAGS
    869 CPP
    870 PKG_CONFIG
    871 XMLTO
    872 FOP
    873 XSLTPROC
    874 SM_CFLAGS
    875 SM_LIBS
    876 LIBUUID_CFLAGS
    877 LIBUUID_LIBS'
    878 
    879 
    880 # Initialize some variables set by options.
    881 ac_init_help=
    882 ac_init_version=false
    883 ac_unrecognized_opts=
    884 ac_unrecognized_sep=
    885 # The variables have the same names as the options, with
    886 # dashes changed to underlines.
    887 cache_file=/dev/null
    888 exec_prefix=NONE
    889 no_create=
    890 no_recursion=
    891 prefix=NONE
    892 program_prefix=NONE
    893 program_suffix=NONE
    894 program_transform_name=s,x,x,
    895 silent=
    896 site=
    897 srcdir=
    898 verbose=
    899 x_includes=NONE
    900 x_libraries=NONE
    901 
    902 # Installation directory options.
    903 # These are left unexpanded so users can "make install exec_prefix=/foo"
    904 # and all the variables that are supposed to be based on exec_prefix
    905 # by default will actually change.
    906 # Use braces instead of parens because sh, perl, etc. also accept them.
    907 # (The list follows the same order as the GNU Coding Standards.)
    908 bindir='${exec_prefix}/bin'
    909 sbindir='${exec_prefix}/sbin'
    910 libexecdir='${exec_prefix}/libexec'
    911 datarootdir='${prefix}/share'
    912 datadir='${datarootdir}'
    913 sysconfdir='${prefix}/etc'
    914 sharedstatedir='${prefix}/com'
    915 localstatedir='${prefix}/var'
    916 includedir='${prefix}/include'
    917 oldincludedir='/usr/include'
    918 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    919 infodir='${datarootdir}/info'
    920 htmldir='${docdir}'
    921 dvidir='${docdir}'
    922 pdfdir='${docdir}'
    923 psdir='${docdir}'
    924 libdir='${exec_prefix}/lib'
    925 localedir='${datarootdir}/locale'
    926 mandir='${datarootdir}/man'
    927 
    928 ac_prev=
    929 ac_dashdash=
    930 for ac_option
    931 do
    932   # If the previous option needs an argument, assign it.
    933   if test -n "$ac_prev"; then
    934     eval $ac_prev=\$ac_option
    935     ac_prev=
    936     continue
    937   fi
    938 
    939   case $ac_option in
    940   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    941   *=)   ac_optarg= ;;
    942   *)    ac_optarg=yes ;;
    943   esac
    944 
    945   # Accept the important Cygnus configure options, so we can diagnose typos.
    946 
    947   case $ac_dashdash$ac_option in
    948   --)
    949     ac_dashdash=yes ;;
    950 
    951   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    952     ac_prev=bindir ;;
    953   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    954     bindir=$ac_optarg ;;
    955 
    956   -build | --build | --buil | --bui | --bu)
    957     ac_prev=build_alias ;;
    958   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    959     build_alias=$ac_optarg ;;
    960 
    961   -cache-file | --cache-file | --cache-fil | --cache-fi \
    962   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    963     ac_prev=cache_file ;;
    964   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    965   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    966     cache_file=$ac_optarg ;;
    967 
    968   --config-cache | -C)
    969     cache_file=config.cache ;;
    970 
    971   -datadir | --datadir | --datadi | --datad)
    972     ac_prev=datadir ;;
    973   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    974     datadir=$ac_optarg ;;
    975 
    976   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    977   | --dataroo | --dataro | --datar)
    978     ac_prev=datarootdir ;;
    979   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    980   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    981     datarootdir=$ac_optarg ;;
    982 
    983   -disable-* | --disable-*)
    984     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    985     # Reject names that are not valid shell variable names.
    986     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    987       as_fn_error $? "invalid feature name: $ac_useropt"
    988     ac_useropt_orig=$ac_useropt
    989     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    990     case $ac_user_opts in
    991       *"
    992 "enable_$ac_useropt"
    993 "*) ;;
    994       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    995 	 ac_unrecognized_sep=', ';;
    996     esac
    997     eval enable_$ac_useropt=no ;;
    998 
    999   -docdir | --docdir | --docdi | --doc | --do)
   1000     ac_prev=docdir ;;
   1001   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1002     docdir=$ac_optarg ;;
   1003 
   1004   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1005     ac_prev=dvidir ;;
   1006   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1007     dvidir=$ac_optarg ;;
   1008 
   1009   -enable-* | --enable-*)
   1010     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1011     # Reject names that are not valid shell variable names.
   1012     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1013       as_fn_error $? "invalid feature name: $ac_useropt"
   1014     ac_useropt_orig=$ac_useropt
   1015     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1016     case $ac_user_opts in
   1017       *"
   1018 "enable_$ac_useropt"
   1019 "*) ;;
   1020       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1021 	 ac_unrecognized_sep=', ';;
   1022     esac
   1023     eval enable_$ac_useropt=\$ac_optarg ;;
   1024 
   1025   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1026   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1027   | --exec | --exe | --ex)
   1028     ac_prev=exec_prefix ;;
   1029   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1030   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1031   | --exec=* | --exe=* | --ex=*)
   1032     exec_prefix=$ac_optarg ;;
   1033 
   1034   -gas | --gas | --ga | --g)
   1035     # Obsolete; use --with-gas.
   1036     with_gas=yes ;;
   1037 
   1038   -help | --help | --hel | --he | -h)
   1039     ac_init_help=long ;;
   1040   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1041     ac_init_help=recursive ;;
   1042   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1043     ac_init_help=short ;;
   1044 
   1045   -host | --host | --hos | --ho)
   1046     ac_prev=host_alias ;;
   1047   -host=* | --host=* | --hos=* | --ho=*)
   1048     host_alias=$ac_optarg ;;
   1049 
   1050   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1051     ac_prev=htmldir ;;
   1052   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1053   | --ht=*)
   1054     htmldir=$ac_optarg ;;
   1055 
   1056   -includedir | --includedir | --includedi | --included | --include \
   1057   | --includ | --inclu | --incl | --inc)
   1058     ac_prev=includedir ;;
   1059   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1060   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1061     includedir=$ac_optarg ;;
   1062 
   1063   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1064     ac_prev=infodir ;;
   1065   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1066     infodir=$ac_optarg ;;
   1067 
   1068   -libdir | --libdir | --libdi | --libd)
   1069     ac_prev=libdir ;;
   1070   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1071     libdir=$ac_optarg ;;
   1072 
   1073   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1074   | --libexe | --libex | --libe)
   1075     ac_prev=libexecdir ;;
   1076   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1077   | --libexe=* | --libex=* | --libe=*)
   1078     libexecdir=$ac_optarg ;;
   1079 
   1080   -localedir | --localedir | --localedi | --localed | --locale)
   1081     ac_prev=localedir ;;
   1082   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1083     localedir=$ac_optarg ;;
   1084 
   1085   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1086   | --localstate | --localstat | --localsta | --localst | --locals)
   1087     ac_prev=localstatedir ;;
   1088   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1089   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1090     localstatedir=$ac_optarg ;;
   1091 
   1092   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1093     ac_prev=mandir ;;
   1094   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1095     mandir=$ac_optarg ;;
   1096 
   1097   -nfp | --nfp | --nf)
   1098     # Obsolete; use --without-fp.
   1099     with_fp=no ;;
   1100 
   1101   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1102   | --no-cr | --no-c | -n)
   1103     no_create=yes ;;
   1104 
   1105   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1106   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1107     no_recursion=yes ;;
   1108 
   1109   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1110   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1111   | --oldin | --oldi | --old | --ol | --o)
   1112     ac_prev=oldincludedir ;;
   1113   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1114   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1115   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1116     oldincludedir=$ac_optarg ;;
   1117 
   1118   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1119     ac_prev=prefix ;;
   1120   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1121     prefix=$ac_optarg ;;
   1122 
   1123   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1124   | --program-pre | --program-pr | --program-p)
   1125     ac_prev=program_prefix ;;
   1126   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1127   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1128     program_prefix=$ac_optarg ;;
   1129 
   1130   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1131   | --program-suf | --program-su | --program-s)
   1132     ac_prev=program_suffix ;;
   1133   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1134   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1135     program_suffix=$ac_optarg ;;
   1136 
   1137   -program-transform-name | --program-transform-name \
   1138   | --program-transform-nam | --program-transform-na \
   1139   | --program-transform-n | --program-transform- \
   1140   | --program-transform | --program-transfor \
   1141   | --program-transfo | --program-transf \
   1142   | --program-trans | --program-tran \
   1143   | --progr-tra | --program-tr | --program-t)
   1144     ac_prev=program_transform_name ;;
   1145   -program-transform-name=* | --program-transform-name=* \
   1146   | --program-transform-nam=* | --program-transform-na=* \
   1147   | --program-transform-n=* | --program-transform-=* \
   1148   | --program-transform=* | --program-transfor=* \
   1149   | --program-transfo=* | --program-transf=* \
   1150   | --program-trans=* | --program-tran=* \
   1151   | --progr-tra=* | --program-tr=* | --program-t=*)
   1152     program_transform_name=$ac_optarg ;;
   1153 
   1154   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1155     ac_prev=pdfdir ;;
   1156   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1157     pdfdir=$ac_optarg ;;
   1158 
   1159   -psdir | --psdir | --psdi | --psd | --ps)
   1160     ac_prev=psdir ;;
   1161   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1162     psdir=$ac_optarg ;;
   1163 
   1164   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1165   | -silent | --silent | --silen | --sile | --sil)
   1166     silent=yes ;;
   1167 
   1168   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1169     ac_prev=sbindir ;;
   1170   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1171   | --sbi=* | --sb=*)
   1172     sbindir=$ac_optarg ;;
   1173 
   1174   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1175   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1176   | --sharedst | --shareds | --shared | --share | --shar \
   1177   | --sha | --sh)
   1178     ac_prev=sharedstatedir ;;
   1179   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1180   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1181   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1182   | --sha=* | --sh=*)
   1183     sharedstatedir=$ac_optarg ;;
   1184 
   1185   -site | --site | --sit)
   1186     ac_prev=site ;;
   1187   -site=* | --site=* | --sit=*)
   1188     site=$ac_optarg ;;
   1189 
   1190   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1191     ac_prev=srcdir ;;
   1192   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1193     srcdir=$ac_optarg ;;
   1194 
   1195   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1196   | --syscon | --sysco | --sysc | --sys | --sy)
   1197     ac_prev=sysconfdir ;;
   1198   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1199   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1200     sysconfdir=$ac_optarg ;;
   1201 
   1202   -target | --target | --targe | --targ | --tar | --ta | --t)
   1203     ac_prev=target_alias ;;
   1204   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1205     target_alias=$ac_optarg ;;
   1206 
   1207   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1208     verbose=yes ;;
   1209 
   1210   -version | --version | --versio | --versi | --vers | -V)
   1211     ac_init_version=: ;;
   1212 
   1213   -with-* | --with-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: $ac_useropt"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=\$ac_optarg ;;
   1228 
   1229   -without-* | --without-*)
   1230     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1231     # Reject names that are not valid shell variable names.
   1232     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1233       as_fn_error $? "invalid package name: $ac_useropt"
   1234     ac_useropt_orig=$ac_useropt
   1235     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1236     case $ac_user_opts in
   1237       *"
   1238 "with_$ac_useropt"
   1239 "*) ;;
   1240       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1241 	 ac_unrecognized_sep=', ';;
   1242     esac
   1243     eval with_$ac_useropt=no ;;
   1244 
   1245   --x)
   1246     # Obsolete; use --with-x.
   1247     with_x=yes ;;
   1248 
   1249   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1250   | --x-incl | --x-inc | --x-in | --x-i)
   1251     ac_prev=x_includes ;;
   1252   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1253   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1254     x_includes=$ac_optarg ;;
   1255 
   1256   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1257   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1258     ac_prev=x_libraries ;;
   1259   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1260   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1261     x_libraries=$ac_optarg ;;
   1262 
   1263   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1264 Try \`$0 --help' for more information"
   1265     ;;
   1266 
   1267   *=*)
   1268     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1269     # Reject names that are not valid shell variable names.
   1270     case $ac_envvar in #(
   1271       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1272       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1273     esac
   1274     eval $ac_envvar=\$ac_optarg
   1275     export $ac_envvar ;;
   1276 
   1277   *)
   1278     # FIXME: should be removed in autoconf 3.0.
   1279     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1280     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1281       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1282     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1283     ;;
   1284 
   1285   esac
   1286 done
   1287 
   1288 if test -n "$ac_prev"; then
   1289   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1290   as_fn_error $? "missing argument to $ac_option"
   1291 fi
   1292 
   1293 if test -n "$ac_unrecognized_opts"; then
   1294   case $enable_option_checking in
   1295     no) ;;
   1296     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1297     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1298   esac
   1299 fi
   1300 
   1301 # Check all directory arguments for consistency.
   1302 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1303 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1304 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1305 		libdir localedir mandir
   1306 do
   1307   eval ac_val=\$$ac_var
   1308   # Remove trailing slashes.
   1309   case $ac_val in
   1310     */ )
   1311       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1312       eval $ac_var=\$ac_val;;
   1313   esac
   1314   # Be sure to have absolute directory names.
   1315   case $ac_val in
   1316     [\\/$]* | ?:[\\/]* )  continue;;
   1317     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1318   esac
   1319   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1320 done
   1321 
   1322 # There might be people who depend on the old broken behavior: `$host'
   1323 # used to hold the argument of --host etc.
   1324 # FIXME: To remove some day.
   1325 build=$build_alias
   1326 host=$host_alias
   1327 target=$target_alias
   1328 
   1329 # FIXME: To remove some day.
   1330 if test "x$host_alias" != x; then
   1331   if test "x$build_alias" = x; then
   1332     cross_compiling=maybe
   1333     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1334     If a cross compiler is detected then cross compile mode will be used" >&2
   1335   elif test "x$build_alias" != "x$host_alias"; then
   1336     cross_compiling=yes
   1337   fi
   1338 fi
   1339 
   1340 ac_tool_prefix=
   1341 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1342 
   1343 test "$silent" = yes && exec 6>/dev/null
   1344 
   1345 
   1346 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1347 ac_ls_di=`ls -di .` &&
   1348 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1349   as_fn_error $? "working directory cannot be determined"
   1350 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1351   as_fn_error $? "pwd does not report name of working directory"
   1352 
   1353 
   1354 # Find the source files, if location was not specified.
   1355 if test -z "$srcdir"; then
   1356   ac_srcdir_defaulted=yes
   1357   # Try the directory containing this script, then the parent directory.
   1358   ac_confdir=`$as_dirname -- "$as_myself" ||
   1359 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1360 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1361 	 X"$as_myself" : 'X\(//\)$' \| \
   1362 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1363 $as_echo X"$as_myself" |
   1364     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  /^X\(\/\/\)[^/].*/{
   1369 	    s//\1/
   1370 	    q
   1371 	  }
   1372 	  /^X\(\/\/\)$/{
   1373 	    s//\1/
   1374 	    q
   1375 	  }
   1376 	  /^X\(\/\).*/{
   1377 	    s//\1/
   1378 	    q
   1379 	  }
   1380 	  s/.*/./; q'`
   1381   srcdir=$ac_confdir
   1382   if test ! -r "$srcdir/$ac_unique_file"; then
   1383     srcdir=..
   1384   fi
   1385 else
   1386   ac_srcdir_defaulted=no
   1387 fi
   1388 if test ! -r "$srcdir/$ac_unique_file"; then
   1389   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1390   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1391 fi
   1392 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1393 ac_abs_confdir=`(
   1394 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1395 	pwd)`
   1396 # When building in place, set srcdir=.
   1397 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1398   srcdir=.
   1399 fi
   1400 # Remove unnecessary trailing slashes from srcdir.
   1401 # Double slashes in file names in object file debugging info
   1402 # mess up M-x gdb in Emacs.
   1403 case $srcdir in
   1404 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1405 esac
   1406 for ac_var in $ac_precious_vars; do
   1407   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1408   eval ac_env_${ac_var}_value=\$${ac_var}
   1409   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1410   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1411 done
   1412 
   1413 #
   1414 # Report the --help message.
   1415 #
   1416 if test "$ac_init_help" = "long"; then
   1417   # Omit some internal or obsolete options to make the list less imposing.
   1418   # This message is too long to be a string in the A/UX 3.1 sh.
   1419   cat <<_ACEOF
   1420 \`configure' configures libSM 1.2.1 to adapt to many kinds of systems.
   1421 
   1422 Usage: $0 [OPTION]... [VAR=VALUE]...
   1423 
   1424 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1425 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1426 
   1427 Defaults for the options are specified in brackets.
   1428 
   1429 Configuration:
   1430   -h, --help              display this help and exit
   1431       --help=short        display options specific to this package
   1432       --help=recursive    display the short help of all the included packages
   1433   -V, --version           display version information and exit
   1434   -q, --quiet, --silent   do not print \`checking ...' messages
   1435       --cache-file=FILE   cache test results in FILE [disabled]
   1436   -C, --config-cache      alias for \`--cache-file=config.cache'
   1437   -n, --no-create         do not create output files
   1438       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1439 
   1440 Installation directories:
   1441   --prefix=PREFIX         install architecture-independent files in PREFIX
   1442                           [$ac_default_prefix]
   1443   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1444                           [PREFIX]
   1445 
   1446 By default, \`make install' will install all the files in
   1447 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1448 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1449 for instance \`--prefix=\$HOME'.
   1450 
   1451 For better control, use the options below.
   1452 
   1453 Fine tuning of the installation directories:
   1454   --bindir=DIR            user executables [EPREFIX/bin]
   1455   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1456   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1457   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1458   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1459   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1460   --libdir=DIR            object code libraries [EPREFIX/lib]
   1461   --includedir=DIR        C header files [PREFIX/include]
   1462   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1463   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1464   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1465   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1466   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1467   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1468   --docdir=DIR            documentation root [DATAROOTDIR/doc/libSM]
   1469   --htmldir=DIR           html documentation [DOCDIR]
   1470   --dvidir=DIR            dvi documentation [DOCDIR]
   1471   --pdfdir=DIR            pdf documentation [DOCDIR]
   1472   --psdir=DIR             ps documentation [DOCDIR]
   1473 _ACEOF
   1474 
   1475   cat <<\_ACEOF
   1476 
   1477 Program names:
   1478   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1479   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1480   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1481 
   1482 System types:
   1483   --build=BUILD     configure for building on BUILD [guessed]
   1484   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1485 _ACEOF
   1486 fi
   1487 
   1488 if test -n "$ac_init_help"; then
   1489   case $ac_init_help in
   1490      short | recursive ) echo "Configuration of libSM 1.2.1:";;
   1491    esac
   1492   cat <<\_ACEOF
   1493 
   1494 Optional Features:
   1495   --disable-option-checking  ignore unrecognized --enable/--with options
   1496   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1497   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1498   --enable-maintainer-mode  enable make rules and dependencies not useful
   1499 			  (and sometimes confusing) to the casual installer
   1500   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1501   --enable-static[=PKGS]  build static libraries [default=yes]
   1502   --enable-fast-install[=PKGS]
   1503                           optimize for fast installation [default=yes]
   1504   --disable-dependency-tracking  speeds up one-time build
   1505   --enable-dependency-tracking   do not reject slow dependency extractors
   1506   --disable-libtool-lock  avoid locking (might break parallel builds)
   1507   --disable-selective-werror
   1508                           Turn off selective compiler errors. (default:
   1509                           enabled)
   1510   --enable-strict-compilation
   1511                           Enable all warnings from compiler and make them
   1512                           errors (default: disabled)
   1513   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1514   --disable-silent-rules         verbose build output (undo: `make V=0')
   1515   --enable-docs           Enable building the documentation (default: yes)
   1516   --enable-unix-transport Enable UNIX domain socket transport
   1517   --enable-tcp-transport  Enable TCP socket transport
   1518   --enable-ipv6           Enable IPv6 support
   1519   --enable-local-transport
   1520                           Enable os-specific local transport
   1521 
   1522 Optional Packages:
   1523   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1524   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1525   --with-pic              try to use only PIC/non-PIC objects [default=use
   1526                           both]
   1527   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1528   --with-sysroot=DIR Search for dependent libraries within DIR
   1529                         (or the compiler's sysroot if not specified).
   1530   --with-xmlto            Use xmlto to regenerate documentation (default:
   1531                           auto)
   1532   --with-fop              Use fop to regenerate documentation (default: auto)
   1533   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1534                           (default: auto)
   1535   --with-libuuid          Build with libuuid support for client IDs
   1536 
   1537 Some influential environment variables:
   1538   CC          C compiler command
   1539   CFLAGS      C compiler flags
   1540   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1541               nonstandard directory <lib dir>
   1542   LIBS        libraries to pass to the linker, e.g. -l<library>
   1543   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1544               you have headers in a nonstandard directory <include dir>
   1545   CPP         C preprocessor
   1546   PKG_CONFIG  path to pkg-config utility
   1547   XMLTO       Path to xmlto command
   1548   FOP         Path to fop command
   1549   XSLTPROC    Path to xsltproc command
   1550   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
   1551   SM_LIBS     linker flags for SM, overriding pkg-config
   1552   LIBUUID_CFLAGS
   1553               C compiler flags for LIBUUID, overriding pkg-config
   1554   LIBUUID_LIBS
   1555               linker flags for LIBUUID, overriding pkg-config
   1556 
   1557 Use these variables to override the choices made by `configure' or to help
   1558 it to find libraries and programs with nonstandard names/locations.
   1559 
   1560 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1561 _ACEOF
   1562 ac_status=$?
   1563 fi
   1564 
   1565 if test "$ac_init_help" = "recursive"; then
   1566   # If there are subdirs, report their specific --help.
   1567   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1568     test -d "$ac_dir" ||
   1569       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1570       continue
   1571     ac_builddir=.
   1572 
   1573 case "$ac_dir" in
   1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1575 *)
   1576   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1577   # A ".." for each directory in $ac_dir_suffix.
   1578   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1579   case $ac_top_builddir_sub in
   1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1582   esac ;;
   1583 esac
   1584 ac_abs_top_builddir=$ac_pwd
   1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1586 # for backward compatibility:
   1587 ac_top_builddir=$ac_top_build_prefix
   1588 
   1589 case $srcdir in
   1590   .)  # We are building in place.
   1591     ac_srcdir=.
   1592     ac_top_srcdir=$ac_top_builddir_sub
   1593     ac_abs_top_srcdir=$ac_pwd ;;
   1594   [\\/]* | ?:[\\/]* )  # Absolute name.
   1595     ac_srcdir=$srcdir$ac_dir_suffix;
   1596     ac_top_srcdir=$srcdir
   1597     ac_abs_top_srcdir=$srcdir ;;
   1598   *) # Relative name.
   1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1602 esac
   1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1604 
   1605     cd "$ac_dir" || { ac_status=$?; continue; }
   1606     # Check for guested configure.
   1607     if test -f "$ac_srcdir/configure.gnu"; then
   1608       echo &&
   1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1610     elif test -f "$ac_srcdir/configure"; then
   1611       echo &&
   1612       $SHELL "$ac_srcdir/configure" --help=recursive
   1613     else
   1614       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1615     fi || ac_status=$?
   1616     cd "$ac_pwd" || { ac_status=$?; break; }
   1617   done
   1618 fi
   1619 
   1620 test -n "$ac_init_help" && exit $ac_status
   1621 if $ac_init_version; then
   1622   cat <<\_ACEOF
   1623 libSM configure 1.2.1
   1624 generated by GNU Autoconf 2.68
   1625 
   1626 Copyright (C) 2010 Free Software Foundation, Inc.
   1627 This configure script is free software; the Free Software Foundation
   1628 gives unlimited permission to copy, distribute and modify it.
   1629 _ACEOF
   1630   exit
   1631 fi
   1632 
   1633 ## ------------------------ ##
   1634 ## Autoconf initialization. ##
   1635 ## ------------------------ ##
   1636 
   1637 # ac_fn_c_try_compile LINENO
   1638 # --------------------------
   1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1640 ac_fn_c_try_compile ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   rm -f conftest.$ac_objext
   1644   if { { ac_try="$ac_compile"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_compile") 2>conftest.err
   1652   ac_status=$?
   1653   if test -s conftest.err; then
   1654     grep -v '^ *+' conftest.err >conftest.er1
   1655     cat conftest.er1 >&5
   1656     mv -f conftest.er1 conftest.err
   1657   fi
   1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && {
   1660 	 test -z "$ac_c_werror_flag" ||
   1661 	 test ! -s conftest.err
   1662        } && test -s conftest.$ac_objext; then :
   1663   ac_retval=0
   1664 else
   1665   $as_echo "$as_me: failed program was:" >&5
   1666 sed 's/^/| /' conftest.$ac_ext >&5
   1667 
   1668 	ac_retval=1
   1669 fi
   1670   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1671   as_fn_set_status $ac_retval
   1672 
   1673 } # ac_fn_c_try_compile
   1674 
   1675 # ac_fn_c_try_link LINENO
   1676 # -----------------------
   1677 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1678 ac_fn_c_try_link ()
   1679 {
   1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1681   rm -f conftest.$ac_objext conftest$ac_exeext
   1682   if { { ac_try="$ac_link"
   1683 case "(($ac_try" in
   1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1685   *) ac_try_echo=$ac_try;;
   1686 esac
   1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1688 $as_echo "$ac_try_echo"; } >&5
   1689   (eval "$ac_link") 2>conftest.err
   1690   ac_status=$?
   1691   if test -s conftest.err; then
   1692     grep -v '^ *+' conftest.err >conftest.er1
   1693     cat conftest.er1 >&5
   1694     mv -f conftest.er1 conftest.err
   1695   fi
   1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1697   test $ac_status = 0; } && {
   1698 	 test -z "$ac_c_werror_flag" ||
   1699 	 test ! -s conftest.err
   1700        } && test -s conftest$ac_exeext && {
   1701 	 test "$cross_compiling" = yes ||
   1702 	 $as_test_x conftest$ac_exeext
   1703        }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709 	ac_retval=1
   1710 fi
   1711   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1712   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1713   # interfere with the next link command; also delete a directory that is
   1714   # left behind by Apple's compiler.  We do this before executing the actions.
   1715   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1716   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1717   as_fn_set_status $ac_retval
   1718 
   1719 } # ac_fn_c_try_link
   1720 
   1721 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1722 # -------------------------------------------------------
   1723 # Tests whether HEADER exists and can be compiled using the include files in
   1724 # INCLUDES, setting the cache variable VAR accordingly.
   1725 ac_fn_c_check_header_compile ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 $as_echo_n "checking for $2... " >&6; }
   1730 if eval \${$3+:} false; then :
   1731   $as_echo_n "(cached) " >&6
   1732 else
   1733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1734 /* end confdefs.h.  */
   1735 $4
   1736 #include <$2>
   1737 _ACEOF
   1738 if ac_fn_c_try_compile "$LINENO"; then :
   1739   eval "$3=yes"
   1740 else
   1741   eval "$3=no"
   1742 fi
   1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1744 fi
   1745 eval ac_res=\$$3
   1746 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1747 $as_echo "$ac_res" >&6; }
   1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1749 
   1750 } # ac_fn_c_check_header_compile
   1751 
   1752 # ac_fn_c_try_cpp LINENO
   1753 # ----------------------
   1754 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1755 ac_fn_c_try_cpp ()
   1756 {
   1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1758   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1759 case "(($ac_try" in
   1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1761   *) ac_try_echo=$ac_try;;
   1762 esac
   1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1764 $as_echo "$ac_try_echo"; } >&5
   1765   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1766   ac_status=$?
   1767   if test -s conftest.err; then
   1768     grep -v '^ *+' conftest.err >conftest.er1
   1769     cat conftest.er1 >&5
   1770     mv -f conftest.er1 conftest.err
   1771   fi
   1772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1773   test $ac_status = 0; } > conftest.i && {
   1774 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1775 	 test ! -s conftest.err
   1776        }; then :
   1777   ac_retval=0
   1778 else
   1779   $as_echo "$as_me: failed program was:" >&5
   1780 sed 's/^/| /' conftest.$ac_ext >&5
   1781 
   1782     ac_retval=1
   1783 fi
   1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1785   as_fn_set_status $ac_retval
   1786 
   1787 } # ac_fn_c_try_cpp
   1788 
   1789 # ac_fn_c_try_run LINENO
   1790 # ----------------------
   1791 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1792 # that executables *can* be run.
   1793 ac_fn_c_try_run ()
   1794 {
   1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1796   if { { ac_try="$ac_link"
   1797 case "(($ac_try" in
   1798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1799   *) ac_try_echo=$ac_try;;
   1800 esac
   1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1802 $as_echo "$ac_try_echo"; } >&5
   1803   (eval "$ac_link") 2>&5
   1804   ac_status=$?
   1805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1806   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1807   { { case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_try") 2>&5
   1814   ac_status=$?
   1815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1816   test $ac_status = 0; }; }; then :
   1817   ac_retval=0
   1818 else
   1819   $as_echo "$as_me: program exited with status $ac_status" >&5
   1820        $as_echo "$as_me: failed program was:" >&5
   1821 sed 's/^/| /' conftest.$ac_ext >&5
   1822 
   1823        ac_retval=$ac_status
   1824 fi
   1825   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827   as_fn_set_status $ac_retval
   1828 
   1829 } # ac_fn_c_try_run
   1830 
   1831 # ac_fn_c_check_func LINENO FUNC VAR
   1832 # ----------------------------------
   1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1834 ac_fn_c_check_func ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1838 $as_echo_n "checking for $2... " >&6; }
   1839 if eval \${$3+:} false; then :
   1840   $as_echo_n "(cached) " >&6
   1841 else
   1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1843 /* end confdefs.h.  */
   1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1846 #define $2 innocuous_$2
   1847 
   1848 /* System header to define __stub macros and hopefully few prototypes,
   1849     which can conflict with char $2 (); below.
   1850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1851     <limits.h> exists even on freestanding compilers.  */
   1852 
   1853 #ifdef __STDC__
   1854 # include <limits.h>
   1855 #else
   1856 # include <assert.h>
   1857 #endif
   1858 
   1859 #undef $2
   1860 
   1861 /* Override any GCC internal prototype to avoid an error.
   1862    Use char because int might match the return type of a GCC
   1863    builtin and then its argument prototype would still apply.  */
   1864 #ifdef __cplusplus
   1865 extern "C"
   1866 #endif
   1867 char $2 ();
   1868 /* The GNU C library defines this for functions which it implements
   1869     to always fail with ENOSYS.  Some functions are actually named
   1870     something starting with __ and the normal name is an alias.  */
   1871 #if defined __stub_$2 || defined __stub___$2
   1872 choke me
   1873 #endif
   1874 
   1875 int
   1876 main ()
   1877 {
   1878 return $2 ();
   1879   ;
   1880   return 0;
   1881 }
   1882 _ACEOF
   1883 if ac_fn_c_try_link "$LINENO"; then :
   1884   eval "$3=yes"
   1885 else
   1886   eval "$3=no"
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext \
   1889     conftest$ac_exeext conftest.$ac_ext
   1890 fi
   1891 eval ac_res=\$$3
   1892 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1893 $as_echo "$ac_res" >&6; }
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895 
   1896 } # ac_fn_c_check_func
   1897 
   1898 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1899 # ---------------------------------------------
   1900 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1901 # accordingly.
   1902 ac_fn_c_check_decl ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1906   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1908 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1909 if eval \${$3+:} false; then :
   1910   $as_echo_n "(cached) " >&6
   1911 else
   1912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1913 /* end confdefs.h.  */
   1914 $4
   1915 int
   1916 main ()
   1917 {
   1918 #ifndef $as_decl_name
   1919 #ifdef __cplusplus
   1920   (void) $as_decl_use;
   1921 #else
   1922   (void) $as_decl_name;
   1923 #endif
   1924 #endif
   1925 
   1926   ;
   1927   return 0;
   1928 }
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"; then :
   1931   eval "$3=yes"
   1932 else
   1933   eval "$3=no"
   1934 fi
   1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1936 fi
   1937 eval ac_res=\$$3
   1938 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1939 $as_echo "$ac_res" >&6; }
   1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1941 
   1942 } # ac_fn_c_check_decl
   1943 
   1944 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1945 # ----------------------------------------------------
   1946 # Tries to find if the field MEMBER exists in type AGGR, after including
   1947 # INCLUDES, setting cache variable VAR accordingly.
   1948 ac_fn_c_check_member ()
   1949 {
   1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1952 $as_echo_n "checking for $2.$3... " >&6; }
   1953 if eval \${$4+:} false; then :
   1954   $as_echo_n "(cached) " >&6
   1955 else
   1956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1957 /* end confdefs.h.  */
   1958 $5
   1959 int
   1960 main ()
   1961 {
   1962 static $2 ac_aggr;
   1963 if (ac_aggr.$3)
   1964 return 0;
   1965   ;
   1966   return 0;
   1967 }
   1968 _ACEOF
   1969 if ac_fn_c_try_compile "$LINENO"; then :
   1970   eval "$4=yes"
   1971 else
   1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1973 /* end confdefs.h.  */
   1974 $5
   1975 int
   1976 main ()
   1977 {
   1978 static $2 ac_aggr;
   1979 if (sizeof ac_aggr.$3)
   1980 return 0;
   1981   ;
   1982   return 0;
   1983 }
   1984 _ACEOF
   1985 if ac_fn_c_try_compile "$LINENO"; then :
   1986   eval "$4=yes"
   1987 else
   1988   eval "$4=no"
   1989 fi
   1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1991 fi
   1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1993 fi
   1994 eval ac_res=\$$4
   1995 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1996 $as_echo "$ac_res" >&6; }
   1997   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1998 
   1999 } # ac_fn_c_check_member
   2000 
   2001 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2002 # -------------------------------------------
   2003 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2004 # variable VAR accordingly.
   2005 ac_fn_c_check_type ()
   2006 {
   2007   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2009 $as_echo_n "checking for $2... " >&6; }
   2010 if eval \${$3+:} false; then :
   2011   $as_echo_n "(cached) " >&6
   2012 else
   2013   eval "$3=no"
   2014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015 /* end confdefs.h.  */
   2016 $4
   2017 int
   2018 main ()
   2019 {
   2020 if (sizeof ($2))
   2021 	 return 0;
   2022   ;
   2023   return 0;
   2024 }
   2025 _ACEOF
   2026 if ac_fn_c_try_compile "$LINENO"; then :
   2027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2028 /* end confdefs.h.  */
   2029 $4
   2030 int
   2031 main ()
   2032 {
   2033 if (sizeof (($2)))
   2034 	    return 0;
   2035   ;
   2036   return 0;
   2037 }
   2038 _ACEOF
   2039 if ac_fn_c_try_compile "$LINENO"; then :
   2040 
   2041 else
   2042   eval "$3=yes"
   2043 fi
   2044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2045 fi
   2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2047 fi
   2048 eval ac_res=\$$3
   2049 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2050 $as_echo "$ac_res" >&6; }
   2051   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2052 
   2053 } # ac_fn_c_check_type
   2054 cat >config.log <<_ACEOF
   2055 This file contains any messages produced by compilers while
   2056 running configure, to aid debugging if configure makes a mistake.
   2057 
   2058 It was created by libSM $as_me 1.2.1, which was
   2059 generated by GNU Autoconf 2.68.  Invocation command line was
   2060 
   2061   $ $0 $@
   2062 
   2063 _ACEOF
   2064 exec 5>>config.log
   2065 {
   2066 cat <<_ASUNAME
   2067 ## --------- ##
   2068 ## Platform. ##
   2069 ## --------- ##
   2070 
   2071 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2072 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2073 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2074 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2075 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2076 
   2077 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2078 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2079 
   2080 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2081 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2082 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2083 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2084 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2085 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2086 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2087 
   2088 _ASUNAME
   2089 
   2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2091 for as_dir in $PATH
   2092 do
   2093   IFS=$as_save_IFS
   2094   test -z "$as_dir" && as_dir=.
   2095     $as_echo "PATH: $as_dir"
   2096   done
   2097 IFS=$as_save_IFS
   2098 
   2099 } >&5
   2100 
   2101 cat >&5 <<_ACEOF
   2102 
   2103 
   2104 ## ----------- ##
   2105 ## Core tests. ##
   2106 ## ----------- ##
   2107 
   2108 _ACEOF
   2109 
   2110 
   2111 # Keep a trace of the command line.
   2112 # Strip out --no-create and --no-recursion so they do not pile up.
   2113 # Strip out --silent because we don't want to record it for future runs.
   2114 # Also quote any args containing shell meta-characters.
   2115 # Make two passes to allow for proper duplicate-argument suppression.
   2116 ac_configure_args=
   2117 ac_configure_args0=
   2118 ac_configure_args1=
   2119 ac_must_keep_next=false
   2120 for ac_pass in 1 2
   2121 do
   2122   for ac_arg
   2123   do
   2124     case $ac_arg in
   2125     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2126     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2127     | -silent | --silent | --silen | --sile | --sil)
   2128       continue ;;
   2129     *\'*)
   2130       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2131     esac
   2132     case $ac_pass in
   2133     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2134     2)
   2135       as_fn_append ac_configure_args1 " '$ac_arg'"
   2136       if test $ac_must_keep_next = true; then
   2137 	ac_must_keep_next=false # Got value, back to normal.
   2138       else
   2139 	case $ac_arg in
   2140 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2141 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2142 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2143 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2144 	    case "$ac_configure_args0 " in
   2145 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2146 	    esac
   2147 	    ;;
   2148 	  -* ) ac_must_keep_next=true ;;
   2149 	esac
   2150       fi
   2151       as_fn_append ac_configure_args " '$ac_arg'"
   2152       ;;
   2153     esac
   2154   done
   2155 done
   2156 { ac_configure_args0=; unset ac_configure_args0;}
   2157 { ac_configure_args1=; unset ac_configure_args1;}
   2158 
   2159 # When interrupted or exit'd, cleanup temporary files, and complete
   2160 # config.log.  We remove comments because anyway the quotes in there
   2161 # would cause problems or look ugly.
   2162 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2163 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2164 trap 'exit_status=$?
   2165   # Save into config.log some information that might help in debugging.
   2166   {
   2167     echo
   2168 
   2169     $as_echo "## ---------------- ##
   2170 ## Cache variables. ##
   2171 ## ---------------- ##"
   2172     echo
   2173     # The following way of writing the cache mishandles newlines in values,
   2174 (
   2175   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2176     eval ac_val=\$$ac_var
   2177     case $ac_val in #(
   2178     *${as_nl}*)
   2179       case $ac_var in #(
   2180       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2181 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2182       esac
   2183       case $ac_var in #(
   2184       _ | IFS | as_nl) ;; #(
   2185       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2186       *) { eval $ac_var=; unset $ac_var;} ;;
   2187       esac ;;
   2188     esac
   2189   done
   2190   (set) 2>&1 |
   2191     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2192     *${as_nl}ac_space=\ *)
   2193       sed -n \
   2194 	"s/'\''/'\''\\\\'\'''\''/g;
   2195 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2196       ;; #(
   2197     *)
   2198       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2199       ;;
   2200     esac |
   2201     sort
   2202 )
   2203     echo
   2204 
   2205     $as_echo "## ----------------- ##
   2206 ## Output variables. ##
   2207 ## ----------------- ##"
   2208     echo
   2209     for ac_var in $ac_subst_vars
   2210     do
   2211       eval ac_val=\$$ac_var
   2212       case $ac_val in
   2213       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2214       esac
   2215       $as_echo "$ac_var='\''$ac_val'\''"
   2216     done | sort
   2217     echo
   2218 
   2219     if test -n "$ac_subst_files"; then
   2220       $as_echo "## ------------------- ##
   2221 ## File substitutions. ##
   2222 ## ------------------- ##"
   2223       echo
   2224       for ac_var in $ac_subst_files
   2225       do
   2226 	eval ac_val=\$$ac_var
   2227 	case $ac_val in
   2228 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2229 	esac
   2230 	$as_echo "$ac_var='\''$ac_val'\''"
   2231       done | sort
   2232       echo
   2233     fi
   2234 
   2235     if test -s confdefs.h; then
   2236       $as_echo "## ----------- ##
   2237 ## confdefs.h. ##
   2238 ## ----------- ##"
   2239       echo
   2240       cat confdefs.h
   2241       echo
   2242     fi
   2243     test "$ac_signal" != 0 &&
   2244       $as_echo "$as_me: caught signal $ac_signal"
   2245     $as_echo "$as_me: exit $exit_status"
   2246   } >&5
   2247   rm -f core *.core core.conftest.* &&
   2248     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2249     exit $exit_status
   2250 ' 0
   2251 for ac_signal in 1 2 13 15; do
   2252   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2253 done
   2254 ac_signal=0
   2255 
   2256 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2257 rm -f -r conftest* confdefs.h
   2258 
   2259 $as_echo "/* confdefs.h */" > confdefs.h
   2260 
   2261 # Predefined preprocessor variables.
   2262 
   2263 cat >>confdefs.h <<_ACEOF
   2264 #define PACKAGE_NAME "$PACKAGE_NAME"
   2265 _ACEOF
   2266 
   2267 cat >>confdefs.h <<_ACEOF
   2268 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2269 _ACEOF
   2270 
   2271 cat >>confdefs.h <<_ACEOF
   2272 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2273 _ACEOF
   2274 
   2275 cat >>confdefs.h <<_ACEOF
   2276 #define PACKAGE_STRING "$PACKAGE_STRING"
   2277 _ACEOF
   2278 
   2279 cat >>confdefs.h <<_ACEOF
   2280 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2281 _ACEOF
   2282 
   2283 cat >>confdefs.h <<_ACEOF
   2284 #define PACKAGE_URL "$PACKAGE_URL"
   2285 _ACEOF
   2286 
   2287 
   2288 # Let the site file select an alternate cache file if it wants to.
   2289 # Prefer an explicitly selected file to automatically selected ones.
   2290 ac_site_file1=NONE
   2291 ac_site_file2=NONE
   2292 if test -n "$CONFIG_SITE"; then
   2293   # We do not want a PATH search for config.site.
   2294   case $CONFIG_SITE in #((
   2295     -*)  ac_site_file1=./$CONFIG_SITE;;
   2296     */*) ac_site_file1=$CONFIG_SITE;;
   2297     *)   ac_site_file1=./$CONFIG_SITE;;
   2298   esac
   2299 elif test "x$prefix" != xNONE; then
   2300   ac_site_file1=$prefix/share/config.site
   2301   ac_site_file2=$prefix/etc/config.site
   2302 else
   2303   ac_site_file1=$ac_default_prefix/share/config.site
   2304   ac_site_file2=$ac_default_prefix/etc/config.site
   2305 fi
   2306 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2307 do
   2308   test "x$ac_site_file" = xNONE && continue
   2309   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2310     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2311 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2312     sed 's/^/| /' "$ac_site_file" >&5
   2313     . "$ac_site_file" \
   2314       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2316 as_fn_error $? "failed to load site script $ac_site_file
   2317 See \`config.log' for more details" "$LINENO" 5; }
   2318   fi
   2319 done
   2320 
   2321 if test -r "$cache_file"; then
   2322   # Some versions of bash will fail to source /dev/null (special files
   2323   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2324   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2325     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2326 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2327     case $cache_file in
   2328       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2329       *)                      . "./$cache_file";;
   2330     esac
   2331   fi
   2332 else
   2333   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2334 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2335   >$cache_file
   2336 fi
   2337 
   2338 # Check that the precious variables saved in the cache have kept the same
   2339 # value.
   2340 ac_cache_corrupted=false
   2341 for ac_var in $ac_precious_vars; do
   2342   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2343   eval ac_new_set=\$ac_env_${ac_var}_set
   2344   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2345   eval ac_new_val=\$ac_env_${ac_var}_value
   2346   case $ac_old_set,$ac_new_set in
   2347     set,)
   2348       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2349 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2350       ac_cache_corrupted=: ;;
   2351     ,set)
   2352       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2353 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2354       ac_cache_corrupted=: ;;
   2355     ,);;
   2356     *)
   2357       if test "x$ac_old_val" != "x$ac_new_val"; then
   2358 	# differences in whitespace do not lead to failure.
   2359 	ac_old_val_w=`echo x $ac_old_val`
   2360 	ac_new_val_w=`echo x $ac_new_val`
   2361 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2362 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2363 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2364 	  ac_cache_corrupted=:
   2365 	else
   2366 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2367 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2368 	  eval $ac_var=\$ac_old_val
   2369 	fi
   2370 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2371 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2372 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2373 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2374       fi;;
   2375   esac
   2376   # Pass precious variables to config.status.
   2377   if test "$ac_new_set" = set; then
   2378     case $ac_new_val in
   2379     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2380     *) ac_arg=$ac_var=$ac_new_val ;;
   2381     esac
   2382     case " $ac_configure_args " in
   2383       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2384       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2385     esac
   2386   fi
   2387 done
   2388 if $ac_cache_corrupted; then
   2389   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2391   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2392 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2393   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2394 fi
   2395 ## -------------------- ##
   2396 ## Main body of script. ##
   2397 ## -------------------- ##
   2398 
   2399 ac_ext=c
   2400 ac_cpp='$CPP $CPPFLAGS'
   2401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2404 
   2405 
   2406 
   2407 ac_config_headers="$ac_config_headers config.h"
   2408 
   2409 
   2410 # Initialize Automake
   2411 am__api_version='1.11'
   2412 
   2413 ac_aux_dir=
   2414 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2415   if test -f "$ac_dir/install-sh"; then
   2416     ac_aux_dir=$ac_dir
   2417     ac_install_sh="$ac_aux_dir/install-sh -c"
   2418     break
   2419   elif test -f "$ac_dir/install.sh"; then
   2420     ac_aux_dir=$ac_dir
   2421     ac_install_sh="$ac_aux_dir/install.sh -c"
   2422     break
   2423   elif test -f "$ac_dir/shtool"; then
   2424     ac_aux_dir=$ac_dir
   2425     ac_install_sh="$ac_aux_dir/shtool install -c"
   2426     break
   2427   fi
   2428 done
   2429 if test -z "$ac_aux_dir"; then
   2430   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2431 fi
   2432 
   2433 # These three variables are undocumented and unsupported,
   2434 # and are intended to be withdrawn in a future Autoconf release.
   2435 # They can cause serious problems if a builder's source tree is in a directory
   2436 # whose full name contains unusual characters.
   2437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2439 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2440 
   2441 
   2442 # Find a good install program.  We prefer a C program (faster),
   2443 # so one script is as good as another.  But avoid the broken or
   2444 # incompatible versions:
   2445 # SysV /etc/install, /usr/sbin/install
   2446 # SunOS /usr/etc/install
   2447 # IRIX /sbin/install
   2448 # AIX /bin/install
   2449 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2453 # OS/2's system install, which has a completely different semantic
   2454 # ./install, which can be erroneously created by make from ./install.sh.
   2455 # Reject install programs that cannot install multiple files.
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2458 if test -z "$INSTALL"; then
   2459 if ${ac_cv_path_install+:} false; then :
   2460   $as_echo_n "(cached) " >&6
   2461 else
   2462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2463 for as_dir in $PATH
   2464 do
   2465   IFS=$as_save_IFS
   2466   test -z "$as_dir" && as_dir=.
   2467     # Account for people who put trailing slashes in PATH elements.
   2468 case $as_dir/ in #((
   2469   ./ | .// | /[cC]/* | \
   2470   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2471   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2472   /usr/ucb/* ) ;;
   2473   *)
   2474     # OSF1 and SCO ODT 3.0 have their own names for install.
   2475     # Don't use installbsd from OSF since it installs stuff as root
   2476     # by default.
   2477     for ac_prog in ginstall scoinst install; do
   2478       for ac_exec_ext in '' $ac_executable_extensions; do
   2479 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2480 	  if test $ac_prog = install &&
   2481 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2482 	    # AIX install.  It has an incompatible calling convention.
   2483 	    :
   2484 	  elif test $ac_prog = install &&
   2485 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2486 	    # program-specific install script used by HP pwplus--don't use.
   2487 	    :
   2488 	  else
   2489 	    rm -rf conftest.one conftest.two conftest.dir
   2490 	    echo one > conftest.one
   2491 	    echo two > conftest.two
   2492 	    mkdir conftest.dir
   2493 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2494 	      test -s conftest.one && test -s conftest.two &&
   2495 	      test -s conftest.dir/conftest.one &&
   2496 	      test -s conftest.dir/conftest.two
   2497 	    then
   2498 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2499 	      break 3
   2500 	    fi
   2501 	  fi
   2502 	fi
   2503       done
   2504     done
   2505     ;;
   2506 esac
   2507 
   2508   done
   2509 IFS=$as_save_IFS
   2510 
   2511 rm -rf conftest.one conftest.two conftest.dir
   2512 
   2513 fi
   2514   if test "${ac_cv_path_install+set}" = set; then
   2515     INSTALL=$ac_cv_path_install
   2516   else
   2517     # As a last resort, use the slow shell script.  Don't cache a
   2518     # value for INSTALL within a source directory, because that will
   2519     # break other packages using the cache if that directory is
   2520     # removed, or if the value is a relative name.
   2521     INSTALL=$ac_install_sh
   2522   fi
   2523 fi
   2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2525 $as_echo "$INSTALL" >&6; }
   2526 
   2527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2528 # It thinks the first close brace ends the variable substitution.
   2529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2530 
   2531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2532 
   2533 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2534 
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2536 $as_echo_n "checking whether build environment is sane... " >&6; }
   2537 # Just in case
   2538 sleep 1
   2539 echo timestamp > conftest.file
   2540 # Reject unsafe characters in $srcdir or the absolute working directory
   2541 # name.  Accept space and tab only in the latter.
   2542 am_lf='
   2543 '
   2544 case `pwd` in
   2545   *[\\\"\#\$\&\'\`$am_lf]*)
   2546     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2547 esac
   2548 case $srcdir in
   2549   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2550     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2551 esac
   2552 
   2553 # Do `set' in a subshell so we don't clobber the current shell's
   2554 # arguments.  Must try -L first in case configure is actually a
   2555 # symlink; some systems play weird games with the mod time of symlinks
   2556 # (eg FreeBSD returns the mod time of the symlink's containing
   2557 # directory).
   2558 if (
   2559    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2560    if test "$*" = "X"; then
   2561       # -L didn't work.
   2562       set X `ls -t "$srcdir/configure" conftest.file`
   2563    fi
   2564    rm -f conftest.file
   2565    if test "$*" != "X $srcdir/configure conftest.file" \
   2566       && test "$*" != "X conftest.file $srcdir/configure"; then
   2567 
   2568       # If neither matched, then we have a broken ls.  This can happen
   2569       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2570       # broken ls alias from the environment.  This has actually
   2571       # happened.  Such a system could not be considered "sane".
   2572       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2573 alias in your environment" "$LINENO" 5
   2574    fi
   2575 
   2576    test "$2" = conftest.file
   2577    )
   2578 then
   2579    # Ok.
   2580    :
   2581 else
   2582    as_fn_error $? "newly created file is older than distributed files!
   2583 Check your system clock" "$LINENO" 5
   2584 fi
   2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2586 $as_echo "yes" >&6; }
   2587 test "$program_prefix" != NONE &&
   2588   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2589 # Use a double $ so make ignores it.
   2590 test "$program_suffix" != NONE &&
   2591   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2592 # Double any \ or $.
   2593 # By default was `s,x,x', remove it if useless.
   2594 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2595 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2596 
   2597 # expand $ac_aux_dir to an absolute path
   2598 am_aux_dir=`cd $ac_aux_dir && pwd`
   2599 
   2600 if test x"${MISSING+set}" != xset; then
   2601   case $am_aux_dir in
   2602   *\ * | *\	*)
   2603     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2604   *)
   2605     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2606   esac
   2607 fi
   2608 # Use eval to expand $SHELL
   2609 if eval "$MISSING --run true"; then
   2610   am_missing_run="$MISSING --run "
   2611 else
   2612   am_missing_run=
   2613   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2614 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2615 fi
   2616 
   2617 if test x"${install_sh}" != xset; then
   2618   case $am_aux_dir in
   2619   *\ * | *\	*)
   2620     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2621   *)
   2622     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2623   esac
   2624 fi
   2625 
   2626 # Installed binaries are usually stripped using `strip' when the user
   2627 # run `make install-strip'.  However `strip' might not be the right
   2628 # tool to use in cross-compilation environments, therefore Automake
   2629 # will honor the `STRIP' environment variable to overrule this program.
   2630 if test "$cross_compiling" != no; then
   2631   if test -n "$ac_tool_prefix"; then
   2632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2633 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2635 $as_echo_n "checking for $ac_word... " >&6; }
   2636 if ${ac_cv_prog_STRIP+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   if test -n "$STRIP"; then
   2640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2641 else
   2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2643 for as_dir in $PATH
   2644 do
   2645   IFS=$as_save_IFS
   2646   test -z "$as_dir" && as_dir=.
   2647     for ac_exec_ext in '' $ac_executable_extensions; do
   2648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2651     break 2
   2652   fi
   2653 done
   2654   done
   2655 IFS=$as_save_IFS
   2656 
   2657 fi
   2658 fi
   2659 STRIP=$ac_cv_prog_STRIP
   2660 if test -n "$STRIP"; then
   2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2662 $as_echo "$STRIP" >&6; }
   2663 else
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2665 $as_echo "no" >&6; }
   2666 fi
   2667 
   2668 
   2669 fi
   2670 if test -z "$ac_cv_prog_STRIP"; then
   2671   ac_ct_STRIP=$STRIP
   2672   # Extract the first word of "strip", so it can be a program name with args.
   2673 set dummy strip; ac_word=$2
   2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2675 $as_echo_n "checking for $ac_word... " >&6; }
   2676 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2677   $as_echo_n "(cached) " >&6
   2678 else
   2679   if test -n "$ac_ct_STRIP"; then
   2680   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2681 else
   2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2683 for as_dir in $PATH
   2684 do
   2685   IFS=$as_save_IFS
   2686   test -z "$as_dir" && as_dir=.
   2687     for ac_exec_ext in '' $ac_executable_extensions; do
   2688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2689     ac_cv_prog_ac_ct_STRIP="strip"
   2690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2691     break 2
   2692   fi
   2693 done
   2694   done
   2695 IFS=$as_save_IFS
   2696 
   2697 fi
   2698 fi
   2699 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2700 if test -n "$ac_ct_STRIP"; then
   2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2702 $as_echo "$ac_ct_STRIP" >&6; }
   2703 else
   2704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2705 $as_echo "no" >&6; }
   2706 fi
   2707 
   2708   if test "x$ac_ct_STRIP" = x; then
   2709     STRIP=":"
   2710   else
   2711     case $cross_compiling:$ac_tool_warned in
   2712 yes:)
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2715 ac_tool_warned=yes ;;
   2716 esac
   2717     STRIP=$ac_ct_STRIP
   2718   fi
   2719 else
   2720   STRIP="$ac_cv_prog_STRIP"
   2721 fi
   2722 
   2723 fi
   2724 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2725 
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2727 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2728 if test -z "$MKDIR_P"; then
   2729   if ${ac_cv_path_mkdir+:} false; then :
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2733 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2734 do
   2735   IFS=$as_save_IFS
   2736   test -z "$as_dir" && as_dir=.
   2737     for ac_prog in mkdir gmkdir; do
   2738 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2739 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2740 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2741 	     'mkdir (GNU coreutils) '* | \
   2742 	     'mkdir (coreutils) '* | \
   2743 	     'mkdir (fileutils) '4.1*)
   2744 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2745 	       break 3;;
   2746 	   esac
   2747 	 done
   2748        done
   2749   done
   2750 IFS=$as_save_IFS
   2751 
   2752 fi
   2753 
   2754   test -d ./--version && rmdir ./--version
   2755   if test "${ac_cv_path_mkdir+set}" = set; then
   2756     MKDIR_P="$ac_cv_path_mkdir -p"
   2757   else
   2758     # As a last resort, use the slow shell script.  Don't cache a
   2759     # value for MKDIR_P within a source directory, because that will
   2760     # break other packages using the cache if that directory is
   2761     # removed, or if the value is a relative name.
   2762     MKDIR_P="$ac_install_sh -d"
   2763   fi
   2764 fi
   2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2766 $as_echo "$MKDIR_P" >&6; }
   2767 
   2768 mkdir_p="$MKDIR_P"
   2769 case $mkdir_p in
   2770   [\\/$]* | ?:[\\/]*) ;;
   2771   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2772 esac
   2773 
   2774 for ac_prog in gawk mawk nawk awk
   2775 do
   2776   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2777 set dummy $ac_prog; ac_word=$2
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2779 $as_echo_n "checking for $ac_word... " >&6; }
   2780 if ${ac_cv_prog_AWK+:} false; then :
   2781   $as_echo_n "(cached) " >&6
   2782 else
   2783   if test -n "$AWK"; then
   2784   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2785 else
   2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2787 for as_dir in $PATH
   2788 do
   2789   IFS=$as_save_IFS
   2790   test -z "$as_dir" && as_dir=.
   2791     for ac_exec_ext in '' $ac_executable_extensions; do
   2792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2793     ac_cv_prog_AWK="$ac_prog"
   2794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2795     break 2
   2796   fi
   2797 done
   2798   done
   2799 IFS=$as_save_IFS
   2800 
   2801 fi
   2802 fi
   2803 AWK=$ac_cv_prog_AWK
   2804 if test -n "$AWK"; then
   2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2806 $as_echo "$AWK" >&6; }
   2807 else
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2809 $as_echo "no" >&6; }
   2810 fi
   2811 
   2812 
   2813   test -n "$AWK" && break
   2814 done
   2815 
   2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2817 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2818 set x ${MAKE-make}
   2819 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2820 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2821   $as_echo_n "(cached) " >&6
   2822 else
   2823   cat >conftest.make <<\_ACEOF
   2824 SHELL = /bin/sh
   2825 all:
   2826 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2827 _ACEOF
   2828 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2829 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2830   *@@@%%%=?*=@@@%%%*)
   2831     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2832   *)
   2833     eval ac_cv_prog_make_${ac_make}_set=no;;
   2834 esac
   2835 rm -f conftest.make
   2836 fi
   2837 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2839 $as_echo "yes" >&6; }
   2840   SET_MAKE=
   2841 else
   2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2843 $as_echo "no" >&6; }
   2844   SET_MAKE="MAKE=${MAKE-make}"
   2845 fi
   2846 
   2847 rm -rf .tst 2>/dev/null
   2848 mkdir .tst 2>/dev/null
   2849 if test -d .tst; then
   2850   am__leading_dot=.
   2851 else
   2852   am__leading_dot=_
   2853 fi
   2854 rmdir .tst 2>/dev/null
   2855 
   2856 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2857   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2858   # is not polluted with repeated "-I."
   2859   am__isrc=' -I$(srcdir)'
   2860   # test to see if srcdir already configured
   2861   if test -f $srcdir/config.status; then
   2862     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2863   fi
   2864 fi
   2865 
   2866 # test whether we have cygpath
   2867 if test -z "$CYGPATH_W"; then
   2868   if (cygpath --version) >/dev/null 2>/dev/null; then
   2869     CYGPATH_W='cygpath -w'
   2870   else
   2871     CYGPATH_W=echo
   2872   fi
   2873 fi
   2874 
   2875 
   2876 # Define the identity of the package.
   2877  PACKAGE='libSM'
   2878  VERSION='1.2.1'
   2879 
   2880 
   2881 cat >>confdefs.h <<_ACEOF
   2882 #define PACKAGE "$PACKAGE"
   2883 _ACEOF
   2884 
   2885 
   2886 cat >>confdefs.h <<_ACEOF
   2887 #define VERSION "$VERSION"
   2888 _ACEOF
   2889 
   2890 # Some tools Automake needs.
   2891 
   2892 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2893 
   2894 
   2895 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2896 
   2897 
   2898 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2899 
   2900 
   2901 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2902 
   2903 
   2904 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2905 
   2906 # We need awk for the "check" target.  The system "awk" is bad on
   2907 # some platforms.
   2908 # Always define AMTAR for backward compatibility.
   2909 
   2910 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2911 
   2912 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2913 
   2914 
   2915 
   2916 
   2917 
   2918 
   2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2920 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2921     # Check whether --enable-maintainer-mode was given.
   2922 if test "${enable_maintainer_mode+set}" = set; then :
   2923   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2924 else
   2925   USE_MAINTAINER_MODE=no
   2926 fi
   2927 
   2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2929 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2930    if test $USE_MAINTAINER_MODE = yes; then
   2931   MAINTAINER_MODE_TRUE=
   2932   MAINTAINER_MODE_FALSE='#'
   2933 else
   2934   MAINTAINER_MODE_TRUE='#'
   2935   MAINTAINER_MODE_FALSE=
   2936 fi
   2937 
   2938   MAINT=$MAINTAINER_MODE_TRUE
   2939 
   2940 
   2941 
   2942 # Initialize libtool
   2943 case `pwd` in
   2944   *\ * | *\	*)
   2945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2946 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2947 esac
   2948 
   2949 
   2950 
   2951 macro_version='2.4'
   2952 macro_revision='1.3293'
   2953 
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 ltmain="$ac_aux_dir/ltmain.sh"
   2967 
   2968 # Make sure we can run config.sub.
   2969 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2970   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2971 
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2973 $as_echo_n "checking build system type... " >&6; }
   2974 if ${ac_cv_build+:} false; then :
   2975   $as_echo_n "(cached) " >&6
   2976 else
   2977   ac_build_alias=$build_alias
   2978 test "x$ac_build_alias" = x &&
   2979   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2980 test "x$ac_build_alias" = x &&
   2981   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2982 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2983   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2984 
   2985 fi
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2987 $as_echo "$ac_cv_build" >&6; }
   2988 case $ac_cv_build in
   2989 *-*-*) ;;
   2990 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2991 esac
   2992 build=$ac_cv_build
   2993 ac_save_IFS=$IFS; IFS='-'
   2994 set x $ac_cv_build
   2995 shift
   2996 build_cpu=$1
   2997 build_vendor=$2
   2998 shift; shift
   2999 # Remember, the first character of IFS is used to create $*,
   3000 # except with old shells:
   3001 build_os=$*
   3002 IFS=$ac_save_IFS
   3003 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3004 
   3005 
   3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3007 $as_echo_n "checking host system type... " >&6; }
   3008 if ${ac_cv_host+:} false; then :
   3009   $as_echo_n "(cached) " >&6
   3010 else
   3011   if test "x$host_alias" = x; then
   3012   ac_cv_host=$ac_cv_build
   3013 else
   3014   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3015     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3016 fi
   3017 
   3018 fi
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3020 $as_echo "$ac_cv_host" >&6; }
   3021 case $ac_cv_host in
   3022 *-*-*) ;;
   3023 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3024 esac
   3025 host=$ac_cv_host
   3026 ac_save_IFS=$IFS; IFS='-'
   3027 set x $ac_cv_host
   3028 shift
   3029 host_cpu=$1
   3030 host_vendor=$2
   3031 shift; shift
   3032 # Remember, the first character of IFS is used to create $*,
   3033 # except with old shells:
   3034 host_os=$*
   3035 IFS=$ac_save_IFS
   3036 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3037 
   3038 
   3039 # Backslashify metacharacters that are still active within
   3040 # double-quoted strings.
   3041 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3042 
   3043 # Same as above, but do not quote variable references.
   3044 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3045 
   3046 # Sed substitution to delay expansion of an escaped shell variable in a
   3047 # double_quote_subst'ed string.
   3048 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3049 
   3050 # Sed substitution to delay expansion of an escaped single quote.
   3051 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3052 
   3053 # Sed substitution to avoid accidental globbing in evaled expressions
   3054 no_glob_subst='s/\*/\\\*/g'
   3055 
   3056 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3057 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3058 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3059 
   3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3061 $as_echo_n "checking how to print strings... " >&6; }
   3062 # Test print first, because it will be a builtin if present.
   3063 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3064    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3065   ECHO='print -r --'
   3066 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3067   ECHO='printf %s\n'
   3068 else
   3069   # Use this function as a fallback that always works.
   3070   func_fallback_echo ()
   3071   {
   3072     eval 'cat <<_LTECHO_EOF
   3073 $1
   3074 _LTECHO_EOF'
   3075   }
   3076   ECHO='func_fallback_echo'
   3077 fi
   3078 
   3079 # func_echo_all arg...
   3080 # Invoke $ECHO with all args, space-separated.
   3081 func_echo_all ()
   3082 {
   3083     $ECHO ""
   3084 }
   3085 
   3086 case "$ECHO" in
   3087   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3088 $as_echo "printf" >&6; } ;;
   3089   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3090 $as_echo "print -r" >&6; } ;;
   3091   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3092 $as_echo "cat" >&6; } ;;
   3093 esac
   3094 
   3095 
   3096 
   3097 
   3098 
   3099 
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 
   3106 
   3107 
   3108 DEPDIR="${am__leading_dot}deps"
   3109 
   3110 ac_config_commands="$ac_config_commands depfiles"
   3111 
   3112 
   3113 am_make=${MAKE-make}
   3114 cat > confinc << 'END'
   3115 am__doit:
   3116 	@echo this is the am__doit target
   3117 .PHONY: am__doit
   3118 END
   3119 # If we don't find an include directive, just comment out the code.
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3121 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3122 am__include="#"
   3123 am__quote=
   3124 _am_result=none
   3125 # First try GNU make style include.
   3126 echo "include confinc" > confmf
   3127 # Ignore all kinds of additional output from `make'.
   3128 case `$am_make -s -f confmf 2> /dev/null` in #(
   3129 *the\ am__doit\ target*)
   3130   am__include=include
   3131   am__quote=
   3132   _am_result=GNU
   3133   ;;
   3134 esac
   3135 # Now try BSD make style include.
   3136 if test "$am__include" = "#"; then
   3137    echo '.include "confinc"' > confmf
   3138    case `$am_make -s -f confmf 2> /dev/null` in #(
   3139    *the\ am__doit\ target*)
   3140      am__include=.include
   3141      am__quote="\""
   3142      _am_result=BSD
   3143      ;;
   3144    esac
   3145 fi
   3146 
   3147 
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3149 $as_echo "$_am_result" >&6; }
   3150 rm -f confinc confmf
   3151 
   3152 # Check whether --enable-dependency-tracking was given.
   3153 if test "${enable_dependency_tracking+set}" = set; then :
   3154   enableval=$enable_dependency_tracking;
   3155 fi
   3156 
   3157 if test "x$enable_dependency_tracking" != xno; then
   3158   am_depcomp="$ac_aux_dir/depcomp"
   3159   AMDEPBACKSLASH='\'
   3160 fi
   3161  if test "x$enable_dependency_tracking" != xno; then
   3162   AMDEP_TRUE=
   3163   AMDEP_FALSE='#'
   3164 else
   3165   AMDEP_TRUE='#'
   3166   AMDEP_FALSE=
   3167 fi
   3168 
   3169 
   3170 ac_ext=c
   3171 ac_cpp='$CPP $CPPFLAGS'
   3172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3175 if test -n "$ac_tool_prefix"; then
   3176   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3177 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3179 $as_echo_n "checking for $ac_word... " >&6; }
   3180 if ${ac_cv_prog_CC+:} false; then :
   3181   $as_echo_n "(cached) " >&6
   3182 else
   3183   if test -n "$CC"; then
   3184   ac_cv_prog_CC="$CC" # Let the user override the test.
   3185 else
   3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3187 for as_dir in $PATH
   3188 do
   3189   IFS=$as_save_IFS
   3190   test -z "$as_dir" && as_dir=.
   3191     for ac_exec_ext in '' $ac_executable_extensions; do
   3192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3193     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3195     break 2
   3196   fi
   3197 done
   3198   done
   3199 IFS=$as_save_IFS
   3200 
   3201 fi
   3202 fi
   3203 CC=$ac_cv_prog_CC
   3204 if test -n "$CC"; then
   3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3206 $as_echo "$CC" >&6; }
   3207 else
   3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3209 $as_echo "no" >&6; }
   3210 fi
   3211 
   3212 
   3213 fi
   3214 if test -z "$ac_cv_prog_CC"; then
   3215   ac_ct_CC=$CC
   3216   # Extract the first word of "gcc", so it can be a program name with args.
   3217 set dummy gcc; ac_word=$2
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3219 $as_echo_n "checking for $ac_word... " >&6; }
   3220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3221   $as_echo_n "(cached) " >&6
   3222 else
   3223   if test -n "$ac_ct_CC"; then
   3224   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3225 else
   3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3227 for as_dir in $PATH
   3228 do
   3229   IFS=$as_save_IFS
   3230   test -z "$as_dir" && as_dir=.
   3231     for ac_exec_ext in '' $ac_executable_extensions; do
   3232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3233     ac_cv_prog_ac_ct_CC="gcc"
   3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3235     break 2
   3236   fi
   3237 done
   3238   done
   3239 IFS=$as_save_IFS
   3240 
   3241 fi
   3242 fi
   3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3244 if test -n "$ac_ct_CC"; then
   3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3246 $as_echo "$ac_ct_CC" >&6; }
   3247 else
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3249 $as_echo "no" >&6; }
   3250 fi
   3251 
   3252   if test "x$ac_ct_CC" = x; then
   3253     CC=""
   3254   else
   3255     case $cross_compiling:$ac_tool_warned in
   3256 yes:)
   3257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3259 ac_tool_warned=yes ;;
   3260 esac
   3261     CC=$ac_ct_CC
   3262   fi
   3263 else
   3264   CC="$ac_cv_prog_CC"
   3265 fi
   3266 
   3267 if test -z "$CC"; then
   3268           if test -n "$ac_tool_prefix"; then
   3269     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3270 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3272 $as_echo_n "checking for $ac_word... " >&6; }
   3273 if ${ac_cv_prog_CC+:} false; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276   if test -n "$CC"; then
   3277   ac_cv_prog_CC="$CC" # Let the user override the test.
   3278 else
   3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3280 for as_dir in $PATH
   3281 do
   3282   IFS=$as_save_IFS
   3283   test -z "$as_dir" && as_dir=.
   3284     for ac_exec_ext in '' $ac_executable_extensions; do
   3285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3286     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3288     break 2
   3289   fi
   3290 done
   3291   done
   3292 IFS=$as_save_IFS
   3293 
   3294 fi
   3295 fi
   3296 CC=$ac_cv_prog_CC
   3297 if test -n "$CC"; then
   3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3299 $as_echo "$CC" >&6; }
   3300 else
   3301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3302 $as_echo "no" >&6; }
   3303 fi
   3304 
   3305 
   3306   fi
   3307 fi
   3308 if test -z "$CC"; then
   3309   # Extract the first word of "cc", so it can be a program name with args.
   3310 set dummy cc; ac_word=$2
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3312 $as_echo_n "checking for $ac_word... " >&6; }
   3313 if ${ac_cv_prog_CC+:} false; then :
   3314   $as_echo_n "(cached) " >&6
   3315 else
   3316   if test -n "$CC"; then
   3317   ac_cv_prog_CC="$CC" # Let the user override the test.
   3318 else
   3319   ac_prog_rejected=no
   3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3321 for as_dir in $PATH
   3322 do
   3323   IFS=$as_save_IFS
   3324   test -z "$as_dir" && as_dir=.
   3325     for ac_exec_ext in '' $ac_executable_extensions; do
   3326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3327     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3328        ac_prog_rejected=yes
   3329        continue
   3330      fi
   3331     ac_cv_prog_CC="cc"
   3332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3333     break 2
   3334   fi
   3335 done
   3336   done
   3337 IFS=$as_save_IFS
   3338 
   3339 if test $ac_prog_rejected = yes; then
   3340   # We found a bogon in the path, so make sure we never use it.
   3341   set dummy $ac_cv_prog_CC
   3342   shift
   3343   if test $# != 0; then
   3344     # We chose a different compiler from the bogus one.
   3345     # However, it has the same basename, so the bogon will be chosen
   3346     # first if we set CC to just the basename; use the full file name.
   3347     shift
   3348     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3349   fi
   3350 fi
   3351 fi
   3352 fi
   3353 CC=$ac_cv_prog_CC
   3354 if test -n "$CC"; then
   3355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3356 $as_echo "$CC" >&6; }
   3357 else
   3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3359 $as_echo "no" >&6; }
   3360 fi
   3361 
   3362 
   3363 fi
   3364 if test -z "$CC"; then
   3365   if test -n "$ac_tool_prefix"; then
   3366   for ac_prog in cl.exe
   3367   do
   3368     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3369 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3371 $as_echo_n "checking for $ac_word... " >&6; }
   3372 if ${ac_cv_prog_CC+:} false; then :
   3373   $as_echo_n "(cached) " >&6
   3374 else
   3375   if test -n "$CC"; then
   3376   ac_cv_prog_CC="$CC" # Let the user override the test.
   3377 else
   3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3379 for as_dir in $PATH
   3380 do
   3381   IFS=$as_save_IFS
   3382   test -z "$as_dir" && as_dir=.
   3383     for ac_exec_ext in '' $ac_executable_extensions; do
   3384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3385     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3387     break 2
   3388   fi
   3389 done
   3390   done
   3391 IFS=$as_save_IFS
   3392 
   3393 fi
   3394 fi
   3395 CC=$ac_cv_prog_CC
   3396 if test -n "$CC"; then
   3397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3398 $as_echo "$CC" >&6; }
   3399 else
   3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3401 $as_echo "no" >&6; }
   3402 fi
   3403 
   3404 
   3405     test -n "$CC" && break
   3406   done
   3407 fi
   3408 if test -z "$CC"; then
   3409   ac_ct_CC=$CC
   3410   for ac_prog in cl.exe
   3411 do
   3412   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3413 set dummy $ac_prog; ac_word=$2
   3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3415 $as_echo_n "checking for $ac_word... " >&6; }
   3416 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3417   $as_echo_n "(cached) " >&6
   3418 else
   3419   if test -n "$ac_ct_CC"; then
   3420   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3421 else
   3422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3423 for as_dir in $PATH
   3424 do
   3425   IFS=$as_save_IFS
   3426   test -z "$as_dir" && as_dir=.
   3427     for ac_exec_ext in '' $ac_executable_extensions; do
   3428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3429     ac_cv_prog_ac_ct_CC="$ac_prog"
   3430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3431     break 2
   3432   fi
   3433 done
   3434   done
   3435 IFS=$as_save_IFS
   3436 
   3437 fi
   3438 fi
   3439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3440 if test -n "$ac_ct_CC"; then
   3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3442 $as_echo "$ac_ct_CC" >&6; }
   3443 else
   3444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3445 $as_echo "no" >&6; }
   3446 fi
   3447 
   3448 
   3449   test -n "$ac_ct_CC" && break
   3450 done
   3451 
   3452   if test "x$ac_ct_CC" = x; then
   3453     CC=""
   3454   else
   3455     case $cross_compiling:$ac_tool_warned in
   3456 yes:)
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3459 ac_tool_warned=yes ;;
   3460 esac
   3461     CC=$ac_ct_CC
   3462   fi
   3463 fi
   3464 
   3465 fi
   3466 
   3467 
   3468 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3470 as_fn_error $? "no acceptable C compiler found in \$PATH
   3471 See \`config.log' for more details" "$LINENO" 5; }
   3472 
   3473 # Provide some information about the compiler.
   3474 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3475 set X $ac_compile
   3476 ac_compiler=$2
   3477 for ac_option in --version -v -V -qversion; do
   3478   { { ac_try="$ac_compiler $ac_option >&5"
   3479 case "(($ac_try" in
   3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3481   *) ac_try_echo=$ac_try;;
   3482 esac
   3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3484 $as_echo "$ac_try_echo"; } >&5
   3485   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3486   ac_status=$?
   3487   if test -s conftest.err; then
   3488     sed '10a\
   3489 ... rest of stderr output deleted ...
   3490          10q' conftest.err >conftest.er1
   3491     cat conftest.er1 >&5
   3492   fi
   3493   rm -f conftest.er1 conftest.err
   3494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3495   test $ac_status = 0; }
   3496 done
   3497 
   3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3499 /* end confdefs.h.  */
   3500 
   3501 int
   3502 main ()
   3503 {
   3504 
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 ac_clean_files_save=$ac_clean_files
   3510 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3511 # Try to create an executable without -o first, disregard a.out.
   3512 # It will help us diagnose broken compilers, and finding out an intuition
   3513 # of exeext.
   3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3515 $as_echo_n "checking whether the C compiler works... " >&6; }
   3516 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3517 
   3518 # The possible output files:
   3519 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3520 
   3521 ac_rmfiles=
   3522 for ac_file in $ac_files
   3523 do
   3524   case $ac_file in
   3525     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3526     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3527   esac
   3528 done
   3529 rm -f $ac_rmfiles
   3530 
   3531 if { { ac_try="$ac_link_default"
   3532 case "(($ac_try" in
   3533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3534   *) ac_try_echo=$ac_try;;
   3535 esac
   3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3537 $as_echo "$ac_try_echo"; } >&5
   3538   (eval "$ac_link_default") 2>&5
   3539   ac_status=$?
   3540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3541   test $ac_status = 0; }; then :
   3542   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3543 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3544 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3545 # so that the user can short-circuit this test for compilers unknown to
   3546 # Autoconf.
   3547 for ac_file in $ac_files ''
   3548 do
   3549   test -f "$ac_file" || continue
   3550   case $ac_file in
   3551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3552 	;;
   3553     [ab].out )
   3554 	# We found the default executable, but exeext='' is most
   3555 	# certainly right.
   3556 	break;;
   3557     *.* )
   3558 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3559 	then :; else
   3560 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3561 	fi
   3562 	# We set ac_cv_exeext here because the later test for it is not
   3563 	# safe: cross compilers may not add the suffix if given an `-o'
   3564 	# argument, so we may need to know it at that point already.
   3565 	# Even if this section looks crufty: it has the advantage of
   3566 	# actually working.
   3567 	break;;
   3568     * )
   3569 	break;;
   3570   esac
   3571 done
   3572 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3573 
   3574 else
   3575   ac_file=''
   3576 fi
   3577 if test -z "$ac_file"; then :
   3578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3579 $as_echo "no" >&6; }
   3580 $as_echo "$as_me: failed program was:" >&5
   3581 sed 's/^/| /' conftest.$ac_ext >&5
   3582 
   3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3585 as_fn_error 77 "C compiler cannot create executables
   3586 See \`config.log' for more details" "$LINENO" 5; }
   3587 else
   3588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3589 $as_echo "yes" >&6; }
   3590 fi
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3592 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3594 $as_echo "$ac_file" >&6; }
   3595 ac_exeext=$ac_cv_exeext
   3596 
   3597 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3598 ac_clean_files=$ac_clean_files_save
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3600 $as_echo_n "checking for suffix of executables... " >&6; }
   3601 if { { ac_try="$ac_link"
   3602 case "(($ac_try" in
   3603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3604   *) ac_try_echo=$ac_try;;
   3605 esac
   3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3607 $as_echo "$ac_try_echo"; } >&5
   3608   (eval "$ac_link") 2>&5
   3609   ac_status=$?
   3610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3611   test $ac_status = 0; }; then :
   3612   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3613 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3614 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3615 # `rm'.
   3616 for ac_file in conftest.exe conftest conftest.*; do
   3617   test -f "$ac_file" || continue
   3618   case $ac_file in
   3619     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3620     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3621 	  break;;
   3622     * ) break;;
   3623   esac
   3624 done
   3625 else
   3626   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3628 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3629 See \`config.log' for more details" "$LINENO" 5; }
   3630 fi
   3631 rm -f conftest conftest$ac_cv_exeext
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3633 $as_echo "$ac_cv_exeext" >&6; }
   3634 
   3635 rm -f conftest.$ac_ext
   3636 EXEEXT=$ac_cv_exeext
   3637 ac_exeext=$EXEEXT
   3638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 #include <stdio.h>
   3641 int
   3642 main ()
   3643 {
   3644 FILE *f = fopen ("conftest.out", "w");
   3645  return ferror (f) || fclose (f) != 0;
   3646 
   3647   ;
   3648   return 0;
   3649 }
   3650 _ACEOF
   3651 ac_clean_files="$ac_clean_files conftest.out"
   3652 # Check that the compiler produces executables we can run.  If not, either
   3653 # the compiler is broken, or we cross compile.
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3655 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3656 if test "$cross_compiling" != yes; then
   3657   { { ac_try="$ac_link"
   3658 case "(($ac_try" in
   3659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3660   *) ac_try_echo=$ac_try;;
   3661 esac
   3662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3663 $as_echo "$ac_try_echo"; } >&5
   3664   (eval "$ac_link") 2>&5
   3665   ac_status=$?
   3666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3667   test $ac_status = 0; }
   3668   if { ac_try='./conftest$ac_cv_exeext'
   3669   { { case "(($ac_try" in
   3670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3671   *) ac_try_echo=$ac_try;;
   3672 esac
   3673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3674 $as_echo "$ac_try_echo"; } >&5
   3675   (eval "$ac_try") 2>&5
   3676   ac_status=$?
   3677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3678   test $ac_status = 0; }; }; then
   3679     cross_compiling=no
   3680   else
   3681     if test "$cross_compiling" = maybe; then
   3682 	cross_compiling=yes
   3683     else
   3684 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3686 as_fn_error $? "cannot run C compiled programs.
   3687 If you meant to cross compile, use \`--host'.
   3688 See \`config.log' for more details" "$LINENO" 5; }
   3689     fi
   3690   fi
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3693 $as_echo "$cross_compiling" >&6; }
   3694 
   3695 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3696 ac_clean_files=$ac_clean_files_save
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3698 $as_echo_n "checking for suffix of object files... " >&6; }
   3699 if ${ac_cv_objext+:} false; then :
   3700   $as_echo_n "(cached) " >&6
   3701 else
   3702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3703 /* end confdefs.h.  */
   3704 
   3705 int
   3706 main ()
   3707 {
   3708 
   3709   ;
   3710   return 0;
   3711 }
   3712 _ACEOF
   3713 rm -f conftest.o conftest.obj
   3714 if { { ac_try="$ac_compile"
   3715 case "(($ac_try" in
   3716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3717   *) ac_try_echo=$ac_try;;
   3718 esac
   3719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3720 $as_echo "$ac_try_echo"; } >&5
   3721   (eval "$ac_compile") 2>&5
   3722   ac_status=$?
   3723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3724   test $ac_status = 0; }; then :
   3725   for ac_file in conftest.o conftest.obj conftest.*; do
   3726   test -f "$ac_file" || continue;
   3727   case $ac_file in
   3728     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3729     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3730        break;;
   3731   esac
   3732 done
   3733 else
   3734   $as_echo "$as_me: failed program was:" >&5
   3735 sed 's/^/| /' conftest.$ac_ext >&5
   3736 
   3737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3739 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3740 See \`config.log' for more details" "$LINENO" 5; }
   3741 fi
   3742 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3743 fi
   3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3745 $as_echo "$ac_cv_objext" >&6; }
   3746 OBJEXT=$ac_cv_objext
   3747 ac_objext=$OBJEXT
   3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3749 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3750 if ${ac_cv_c_compiler_gnu+:} false; then :
   3751   $as_echo_n "(cached) " >&6
   3752 else
   3753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3754 /* end confdefs.h.  */
   3755 
   3756 int
   3757 main ()
   3758 {
   3759 #ifndef __GNUC__
   3760        choke me
   3761 #endif
   3762 
   3763   ;
   3764   return 0;
   3765 }
   3766 _ACEOF
   3767 if ac_fn_c_try_compile "$LINENO"; then :
   3768   ac_compiler_gnu=yes
   3769 else
   3770   ac_compiler_gnu=no
   3771 fi
   3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3773 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3774 
   3775 fi
   3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3777 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3778 if test $ac_compiler_gnu = yes; then
   3779   GCC=yes
   3780 else
   3781   GCC=
   3782 fi
   3783 ac_test_CFLAGS=${CFLAGS+set}
   3784 ac_save_CFLAGS=$CFLAGS
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3786 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3787 if ${ac_cv_prog_cc_g+:} false; then :
   3788   $as_echo_n "(cached) " >&6
   3789 else
   3790   ac_save_c_werror_flag=$ac_c_werror_flag
   3791    ac_c_werror_flag=yes
   3792    ac_cv_prog_cc_g=no
   3793    CFLAGS="-g"
   3794    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3795 /* end confdefs.h.  */
   3796 
   3797 int
   3798 main ()
   3799 {
   3800 
   3801   ;
   3802   return 0;
   3803 }
   3804 _ACEOF
   3805 if ac_fn_c_try_compile "$LINENO"; then :
   3806   ac_cv_prog_cc_g=yes
   3807 else
   3808   CFLAGS=""
   3809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3810 /* end confdefs.h.  */
   3811 
   3812 int
   3813 main ()
   3814 {
   3815 
   3816   ;
   3817   return 0;
   3818 }
   3819 _ACEOF
   3820 if ac_fn_c_try_compile "$LINENO"; then :
   3821 
   3822 else
   3823   ac_c_werror_flag=$ac_save_c_werror_flag
   3824 	 CFLAGS="-g"
   3825 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3826 /* end confdefs.h.  */
   3827 
   3828 int
   3829 main ()
   3830 {
   3831 
   3832   ;
   3833   return 0;
   3834 }
   3835 _ACEOF
   3836 if ac_fn_c_try_compile "$LINENO"; then :
   3837   ac_cv_prog_cc_g=yes
   3838 fi
   3839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3840 fi
   3841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3842 fi
   3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3844    ac_c_werror_flag=$ac_save_c_werror_flag
   3845 fi
   3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3847 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3848 if test "$ac_test_CFLAGS" = set; then
   3849   CFLAGS=$ac_save_CFLAGS
   3850 elif test $ac_cv_prog_cc_g = yes; then
   3851   if test "$GCC" = yes; then
   3852     CFLAGS="-g -O2"
   3853   else
   3854     CFLAGS="-g"
   3855   fi
   3856 else
   3857   if test "$GCC" = yes; then
   3858     CFLAGS="-O2"
   3859   else
   3860     CFLAGS=
   3861   fi
   3862 fi
   3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3864 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3865 if ${ac_cv_prog_cc_c89+:} false; then :
   3866   $as_echo_n "(cached) " >&6
   3867 else
   3868   ac_cv_prog_cc_c89=no
   3869 ac_save_CC=$CC
   3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3871 /* end confdefs.h.  */
   3872 #include <stdarg.h>
   3873 #include <stdio.h>
   3874 #include <sys/types.h>
   3875 #include <sys/stat.h>
   3876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3877 struct buf { int x; };
   3878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3879 static char *e (p, i)
   3880      char **p;
   3881      int i;
   3882 {
   3883   return p[i];
   3884 }
   3885 static char *f (char * (*g) (char **, int), char **p, ...)
   3886 {
   3887   char *s;
   3888   va_list v;
   3889   va_start (v,p);
   3890   s = g (p, va_arg (v,int));
   3891   va_end (v);
   3892   return s;
   3893 }
   3894 
   3895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3896    function prototypes and stuff, but not '\xHH' hex character constants.
   3897    These don't provoke an error unfortunately, instead are silently treated
   3898    as 'x'.  The following induces an error, until -std is added to get
   3899    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3900    array size at least.  It's necessary to write '\x00'==0 to get something
   3901    that's true only with -std.  */
   3902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3903 
   3904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3905    inside strings and character constants.  */
   3906 #define FOO(x) 'x'
   3907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3908 
   3909 int test (int i, double x);
   3910 struct s1 {int (*f) (int a);};
   3911 struct s2 {int (*f) (double a);};
   3912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3913 int argc;
   3914 char **argv;
   3915 int
   3916 main ()
   3917 {
   3918 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3919   ;
   3920   return 0;
   3921 }
   3922 _ACEOF
   3923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3924 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3925 do
   3926   CC="$ac_save_CC $ac_arg"
   3927   if ac_fn_c_try_compile "$LINENO"; then :
   3928   ac_cv_prog_cc_c89=$ac_arg
   3929 fi
   3930 rm -f core conftest.err conftest.$ac_objext
   3931   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3932 done
   3933 rm -f conftest.$ac_ext
   3934 CC=$ac_save_CC
   3935 
   3936 fi
   3937 # AC_CACHE_VAL
   3938 case "x$ac_cv_prog_cc_c89" in
   3939   x)
   3940     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3941 $as_echo "none needed" >&6; } ;;
   3942   xno)
   3943     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3944 $as_echo "unsupported" >&6; } ;;
   3945   *)
   3946     CC="$CC $ac_cv_prog_cc_c89"
   3947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3948 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3949 esac
   3950 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3951 
   3952 fi
   3953 
   3954 ac_ext=c
   3955 ac_cpp='$CPP $CPPFLAGS'
   3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3959 
   3960 depcc="$CC"   am_compiler_list=
   3961 
   3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3963 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3964 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3965   $as_echo_n "(cached) " >&6
   3966 else
   3967   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3968   # We make a subdir and do the tests there.  Otherwise we can end up
   3969   # making bogus files that we don't know about and never remove.  For
   3970   # instance it was reported that on HP-UX the gcc test will end up
   3971   # making a dummy file named `D' -- because `-MD' means `put the output
   3972   # in D'.
   3973   mkdir conftest.dir
   3974   # Copy depcomp to subdir because otherwise we won't find it if we're
   3975   # using a relative directory.
   3976   cp "$am_depcomp" conftest.dir
   3977   cd conftest.dir
   3978   # We will build objects and dependencies in a subdirectory because
   3979   # it helps to detect inapplicable dependency modes.  For instance
   3980   # both Tru64's cc and ICC support -MD to output dependencies as a
   3981   # side effect of compilation, but ICC will put the dependencies in
   3982   # the current directory while Tru64 will put them in the object
   3983   # directory.
   3984   mkdir sub
   3985 
   3986   am_cv_CC_dependencies_compiler_type=none
   3987   if test "$am_compiler_list" = ""; then
   3988      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3989   fi
   3990   am__universal=false
   3991   case " $depcc " in #(
   3992      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3993      esac
   3994 
   3995   for depmode in $am_compiler_list; do
   3996     # Setup a source with many dependencies, because some compilers
   3997     # like to wrap large dependency lists on column 80 (with \), and
   3998     # we should not choose a depcomp mode which is confused by this.
   3999     #
   4000     # We need to recreate these files for each test, as the compiler may
   4001     # overwrite some of them when testing with obscure command lines.
   4002     # This happens at least with the AIX C compiler.
   4003     : > sub/conftest.c
   4004     for i in 1 2 3 4 5 6; do
   4005       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4006       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4007       # Solaris 8's {/usr,}/bin/sh.
   4008       touch sub/conftst$i.h
   4009     done
   4010     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4011 
   4012     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4013     # mode.  It turns out that the SunPro C++ compiler does not properly
   4014     # handle `-M -o', and we need to detect this.  Also, some Intel
   4015     # versions had trouble with output in subdirs
   4016     am__obj=sub/conftest.${OBJEXT-o}
   4017     am__minus_obj="-o $am__obj"
   4018     case $depmode in
   4019     gcc)
   4020       # This depmode causes a compiler race in universal mode.
   4021       test "$am__universal" = false || continue
   4022       ;;
   4023     nosideeffect)
   4024       # after this tag, mechanisms are not by side-effect, so they'll
   4025       # only be used when explicitly requested
   4026       if test "x$enable_dependency_tracking" = xyes; then
   4027 	continue
   4028       else
   4029 	break
   4030       fi
   4031       ;;
   4032     msvisualcpp | msvcmsys)
   4033       # This compiler won't grok `-c -o', but also, the minuso test has
   4034       # not run yet.  These depmodes are late enough in the game, and
   4035       # so weak that their functioning should not be impacted.
   4036       am__obj=conftest.${OBJEXT-o}
   4037       am__minus_obj=
   4038       ;;
   4039     none) break ;;
   4040     esac
   4041     if depmode=$depmode \
   4042        source=sub/conftest.c object=$am__obj \
   4043        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4044        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4045          >/dev/null 2>conftest.err &&
   4046        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4047        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4048        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4049        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4050       # icc doesn't choke on unknown options, it will just issue warnings
   4051       # or remarks (even with -Werror).  So we grep stderr for any message
   4052       # that says an option was ignored or not supported.
   4053       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4054       #   icc: Command line warning: ignoring option '-M'; no argument required
   4055       # The diagnosis changed in icc 8.0:
   4056       #   icc: Command line remark: option '-MP' not supported
   4057       if (grep 'ignoring option' conftest.err ||
   4058           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4059         am_cv_CC_dependencies_compiler_type=$depmode
   4060         break
   4061       fi
   4062     fi
   4063   done
   4064 
   4065   cd ..
   4066   rm -rf conftest.dir
   4067 else
   4068   am_cv_CC_dependencies_compiler_type=none
   4069 fi
   4070 
   4071 fi
   4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4073 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4074 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4075 
   4076  if
   4077   test "x$enable_dependency_tracking" != xno \
   4078   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4079   am__fastdepCC_TRUE=
   4080   am__fastdepCC_FALSE='#'
   4081 else
   4082   am__fastdepCC_TRUE='#'
   4083   am__fastdepCC_FALSE=
   4084 fi
   4085 
   4086 
   4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4088 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4089 if ${ac_cv_path_SED+:} false; then :
   4090   $as_echo_n "(cached) " >&6
   4091 else
   4092             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4093      for ac_i in 1 2 3 4 5 6 7; do
   4094        ac_script="$ac_script$as_nl$ac_script"
   4095      done
   4096      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4097      { ac_script=; unset ac_script;}
   4098      if test -z "$SED"; then
   4099   ac_path_SED_found=false
   4100   # Loop through the user's path and test for each of PROGNAME-LIST
   4101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4102 for as_dir in $PATH
   4103 do
   4104   IFS=$as_save_IFS
   4105   test -z "$as_dir" && as_dir=.
   4106     for ac_prog in sed gsed; do
   4107     for ac_exec_ext in '' $ac_executable_extensions; do
   4108       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4109       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4110 # Check for GNU ac_path_SED and select it if it is found.
   4111   # Check for GNU $ac_path_SED
   4112 case `"$ac_path_SED" --version 2>&1` in
   4113 *GNU*)
   4114   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4115 *)
   4116   ac_count=0
   4117   $as_echo_n 0123456789 >"conftest.in"
   4118   while :
   4119   do
   4120     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4121     mv "conftest.tmp" "conftest.in"
   4122     cp "conftest.in" "conftest.nl"
   4123     $as_echo '' >> "conftest.nl"
   4124     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4125     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4126     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4127     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4128       # Best one so far, save it but keep looking for a better one
   4129       ac_cv_path_SED="$ac_path_SED"
   4130       ac_path_SED_max=$ac_count
   4131     fi
   4132     # 10*(2^10) chars as input seems more than enough
   4133     test $ac_count -gt 10 && break
   4134   done
   4135   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4136 esac
   4137 
   4138       $ac_path_SED_found && break 3
   4139     done
   4140   done
   4141   done
   4142 IFS=$as_save_IFS
   4143   if test -z "$ac_cv_path_SED"; then
   4144     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4145   fi
   4146 else
   4147   ac_cv_path_SED=$SED
   4148 fi
   4149 
   4150 fi
   4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4152 $as_echo "$ac_cv_path_SED" >&6; }
   4153  SED="$ac_cv_path_SED"
   4154   rm -f conftest.sed
   4155 
   4156 test -z "$SED" && SED=sed
   4157 Xsed="$SED -e 1s/^X//"
   4158 
   4159 
   4160 
   4161 
   4162 
   4163 
   4164 
   4165 
   4166 
   4167 
   4168 
   4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4170 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4171 if ${ac_cv_path_GREP+:} false; then :
   4172   $as_echo_n "(cached) " >&6
   4173 else
   4174   if test -z "$GREP"; then
   4175   ac_path_GREP_found=false
   4176   # Loop through the user's path and test for each of PROGNAME-LIST
   4177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4179 do
   4180   IFS=$as_save_IFS
   4181   test -z "$as_dir" && as_dir=.
   4182     for ac_prog in grep ggrep; do
   4183     for ac_exec_ext in '' $ac_executable_extensions; do
   4184       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4185       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4186 # Check for GNU ac_path_GREP and select it if it is found.
   4187   # Check for GNU $ac_path_GREP
   4188 case `"$ac_path_GREP" --version 2>&1` in
   4189 *GNU*)
   4190   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4191 *)
   4192   ac_count=0
   4193   $as_echo_n 0123456789 >"conftest.in"
   4194   while :
   4195   do
   4196     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4197     mv "conftest.tmp" "conftest.in"
   4198     cp "conftest.in" "conftest.nl"
   4199     $as_echo 'GREP' >> "conftest.nl"
   4200     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4201     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4202     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4203     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4204       # Best one so far, save it but keep looking for a better one
   4205       ac_cv_path_GREP="$ac_path_GREP"
   4206       ac_path_GREP_max=$ac_count
   4207     fi
   4208     # 10*(2^10) chars as input seems more than enough
   4209     test $ac_count -gt 10 && break
   4210   done
   4211   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4212 esac
   4213 
   4214       $ac_path_GREP_found && break 3
   4215     done
   4216   done
   4217   done
   4218 IFS=$as_save_IFS
   4219   if test -z "$ac_cv_path_GREP"; then
   4220     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4221   fi
   4222 else
   4223   ac_cv_path_GREP=$GREP
   4224 fi
   4225 
   4226 fi
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4228 $as_echo "$ac_cv_path_GREP" >&6; }
   4229  GREP="$ac_cv_path_GREP"
   4230 
   4231 
   4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4233 $as_echo_n "checking for egrep... " >&6; }
   4234 if ${ac_cv_path_EGREP+:} false; then :
   4235   $as_echo_n "(cached) " >&6
   4236 else
   4237   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4238    then ac_cv_path_EGREP="$GREP -E"
   4239    else
   4240      if test -z "$EGREP"; then
   4241   ac_path_EGREP_found=false
   4242   # Loop through the user's path and test for each of PROGNAME-LIST
   4243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4244 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4245 do
   4246   IFS=$as_save_IFS
   4247   test -z "$as_dir" && as_dir=.
   4248     for ac_prog in egrep; do
   4249     for ac_exec_ext in '' $ac_executable_extensions; do
   4250       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4251       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4252 # Check for GNU ac_path_EGREP and select it if it is found.
   4253   # Check for GNU $ac_path_EGREP
   4254 case `"$ac_path_EGREP" --version 2>&1` in
   4255 *GNU*)
   4256   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4257 *)
   4258   ac_count=0
   4259   $as_echo_n 0123456789 >"conftest.in"
   4260   while :
   4261   do
   4262     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4263     mv "conftest.tmp" "conftest.in"
   4264     cp "conftest.in" "conftest.nl"
   4265     $as_echo 'EGREP' >> "conftest.nl"
   4266     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4267     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4268     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4269     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4270       # Best one so far, save it but keep looking for a better one
   4271       ac_cv_path_EGREP="$ac_path_EGREP"
   4272       ac_path_EGREP_max=$ac_count
   4273     fi
   4274     # 10*(2^10) chars as input seems more than enough
   4275     test $ac_count -gt 10 && break
   4276   done
   4277   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4278 esac
   4279 
   4280       $ac_path_EGREP_found && break 3
   4281     done
   4282   done
   4283   done
   4284 IFS=$as_save_IFS
   4285   if test -z "$ac_cv_path_EGREP"; then
   4286     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4287   fi
   4288 else
   4289   ac_cv_path_EGREP=$EGREP
   4290 fi
   4291 
   4292    fi
   4293 fi
   4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4295 $as_echo "$ac_cv_path_EGREP" >&6; }
   4296  EGREP="$ac_cv_path_EGREP"
   4297 
   4298 
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4300 $as_echo_n "checking for fgrep... " >&6; }
   4301 if ${ac_cv_path_FGREP+:} false; then :
   4302   $as_echo_n "(cached) " >&6
   4303 else
   4304   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4305    then ac_cv_path_FGREP="$GREP -F"
   4306    else
   4307      if test -z "$FGREP"; then
   4308   ac_path_FGREP_found=false
   4309   # Loop through the user's path and test for each of PROGNAME-LIST
   4310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4312 do
   4313   IFS=$as_save_IFS
   4314   test -z "$as_dir" && as_dir=.
   4315     for ac_prog in fgrep; do
   4316     for ac_exec_ext in '' $ac_executable_extensions; do
   4317       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4318       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4319 # Check for GNU ac_path_FGREP and select it if it is found.
   4320   # Check for GNU $ac_path_FGREP
   4321 case `"$ac_path_FGREP" --version 2>&1` in
   4322 *GNU*)
   4323   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4324 *)
   4325   ac_count=0
   4326   $as_echo_n 0123456789 >"conftest.in"
   4327   while :
   4328   do
   4329     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4330     mv "conftest.tmp" "conftest.in"
   4331     cp "conftest.in" "conftest.nl"
   4332     $as_echo 'FGREP' >> "conftest.nl"
   4333     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4335     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4336     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4337       # Best one so far, save it but keep looking for a better one
   4338       ac_cv_path_FGREP="$ac_path_FGREP"
   4339       ac_path_FGREP_max=$ac_count
   4340     fi
   4341     # 10*(2^10) chars as input seems more than enough
   4342     test $ac_count -gt 10 && break
   4343   done
   4344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4345 esac
   4346 
   4347       $ac_path_FGREP_found && break 3
   4348     done
   4349   done
   4350   done
   4351 IFS=$as_save_IFS
   4352   if test -z "$ac_cv_path_FGREP"; then
   4353     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4354   fi
   4355 else
   4356   ac_cv_path_FGREP=$FGREP
   4357 fi
   4358 
   4359    fi
   4360 fi
   4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4362 $as_echo "$ac_cv_path_FGREP" >&6; }
   4363  FGREP="$ac_cv_path_FGREP"
   4364 
   4365 
   4366 test -z "$GREP" && GREP=grep
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 
   4385 
   4386 # Check whether --with-gnu-ld was given.
   4387 if test "${with_gnu_ld+set}" = set; then :
   4388   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4389 else
   4390   with_gnu_ld=no
   4391 fi
   4392 
   4393 ac_prog=ld
   4394 if test "$GCC" = yes; then
   4395   # Check if gcc -print-prog-name=ld gives a path.
   4396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4397 $as_echo_n "checking for ld used by $CC... " >&6; }
   4398   case $host in
   4399   *-*-mingw*)
   4400     # gcc leaves a trailing carriage return which upsets mingw
   4401     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4402   *)
   4403     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4404   esac
   4405   case $ac_prog in
   4406     # Accept absolute paths.
   4407     [\\/]* | ?:[\\/]*)
   4408       re_direlt='/[^/][^/]*/\.\./'
   4409       # Canonicalize the pathname of ld
   4410       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4411       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4412 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4413       done
   4414       test -z "$LD" && LD="$ac_prog"
   4415       ;;
   4416   "")
   4417     # If it fails, then pretend we aren't using GCC.
   4418     ac_prog=ld
   4419     ;;
   4420   *)
   4421     # If it is relative, then search for the first ld in PATH.
   4422     with_gnu_ld=unknown
   4423     ;;
   4424   esac
   4425 elif test "$with_gnu_ld" = yes; then
   4426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4427 $as_echo_n "checking for GNU ld... " >&6; }
   4428 else
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4430 $as_echo_n "checking for non-GNU ld... " >&6; }
   4431 fi
   4432 if ${lt_cv_path_LD+:} false; then :
   4433   $as_echo_n "(cached) " >&6
   4434 else
   4435   if test -z "$LD"; then
   4436   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4437   for ac_dir in $PATH; do
   4438     IFS="$lt_save_ifs"
   4439     test -z "$ac_dir" && ac_dir=.
   4440     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4441       lt_cv_path_LD="$ac_dir/$ac_prog"
   4442       # Check to see if the program is GNU ld.  I'd rather use --version,
   4443       # but apparently some variants of GNU ld only accept -v.
   4444       # Break only if it was the GNU/non-GNU ld that we prefer.
   4445       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4446       *GNU* | *'with BFD'*)
   4447 	test "$with_gnu_ld" != no && break
   4448 	;;
   4449       *)
   4450 	test "$with_gnu_ld" != yes && break
   4451 	;;
   4452       esac
   4453     fi
   4454   done
   4455   IFS="$lt_save_ifs"
   4456 else
   4457   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4458 fi
   4459 fi
   4460 
   4461 LD="$lt_cv_path_LD"
   4462 if test -n "$LD"; then
   4463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4464 $as_echo "$LD" >&6; }
   4465 else
   4466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4467 $as_echo "no" >&6; }
   4468 fi
   4469 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4472 if ${lt_cv_prog_gnu_ld+:} false; then :
   4473   $as_echo_n "(cached) " >&6
   4474 else
   4475   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4476 case `$LD -v 2>&1 </dev/null` in
   4477 *GNU* | *'with BFD'*)
   4478   lt_cv_prog_gnu_ld=yes
   4479   ;;
   4480 *)
   4481   lt_cv_prog_gnu_ld=no
   4482   ;;
   4483 esac
   4484 fi
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4486 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4487 with_gnu_ld=$lt_cv_prog_gnu_ld
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 
   4495 
   4496 
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4498 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4499 if ${lt_cv_path_NM+:} false; then :
   4500   $as_echo_n "(cached) " >&6
   4501 else
   4502   if test -n "$NM"; then
   4503   # Let the user override the test.
   4504   lt_cv_path_NM="$NM"
   4505 else
   4506   lt_nm_to_check="${ac_tool_prefix}nm"
   4507   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4508     lt_nm_to_check="$lt_nm_to_check nm"
   4509   fi
   4510   for lt_tmp_nm in $lt_nm_to_check; do
   4511     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4512     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4513       IFS="$lt_save_ifs"
   4514       test -z "$ac_dir" && ac_dir=.
   4515       tmp_nm="$ac_dir/$lt_tmp_nm"
   4516       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4517 	# Check to see if the nm accepts a BSD-compat flag.
   4518 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4519 	#   nm: unknown option "B" ignored
   4520 	# Tru64's nm complains that /dev/null is an invalid object file
   4521 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4522 	*/dev/null* | *'Invalid file or object type'*)
   4523 	  lt_cv_path_NM="$tmp_nm -B"
   4524 	  break
   4525 	  ;;
   4526 	*)
   4527 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4528 	  */dev/null*)
   4529 	    lt_cv_path_NM="$tmp_nm -p"
   4530 	    break
   4531 	    ;;
   4532 	  *)
   4533 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4534 	    continue # so that we can try to find one that supports BSD flags
   4535 	    ;;
   4536 	  esac
   4537 	  ;;
   4538 	esac
   4539       fi
   4540     done
   4541     IFS="$lt_save_ifs"
   4542   done
   4543   : ${lt_cv_path_NM=no}
   4544 fi
   4545 fi
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4547 $as_echo "$lt_cv_path_NM" >&6; }
   4548 if test "$lt_cv_path_NM" != "no"; then
   4549   NM="$lt_cv_path_NM"
   4550 else
   4551   # Didn't find any BSD compatible name lister, look for dumpbin.
   4552   if test -n "$DUMPBIN"; then :
   4553     # Let the user override the test.
   4554   else
   4555     if test -n "$ac_tool_prefix"; then
   4556   for ac_prog in dumpbin "link -dump"
   4557   do
   4558     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4561 $as_echo_n "checking for $ac_word... " >&6; }
   4562 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565   if test -n "$DUMPBIN"; then
   4566   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4567 else
   4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4569 for as_dir in $PATH
   4570 do
   4571   IFS=$as_save_IFS
   4572   test -z "$as_dir" && as_dir=.
   4573     for ac_exec_ext in '' $ac_executable_extensions; do
   4574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4575     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4577     break 2
   4578   fi
   4579 done
   4580   done
   4581 IFS=$as_save_IFS
   4582 
   4583 fi
   4584 fi
   4585 DUMPBIN=$ac_cv_prog_DUMPBIN
   4586 if test -n "$DUMPBIN"; then
   4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4588 $as_echo "$DUMPBIN" >&6; }
   4589 else
   4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4591 $as_echo "no" >&6; }
   4592 fi
   4593 
   4594 
   4595     test -n "$DUMPBIN" && break
   4596   done
   4597 fi
   4598 if test -z "$DUMPBIN"; then
   4599   ac_ct_DUMPBIN=$DUMPBIN
   4600   for ac_prog in dumpbin "link -dump"
   4601 do
   4602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4603 set dummy $ac_prog; ac_word=$2
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4605 $as_echo_n "checking for $ac_word... " >&6; }
   4606 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   if test -n "$ac_ct_DUMPBIN"; then
   4610   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4611 else
   4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4613 for as_dir in $PATH
   4614 do
   4615   IFS=$as_save_IFS
   4616   test -z "$as_dir" && as_dir=.
   4617     for ac_exec_ext in '' $ac_executable_extensions; do
   4618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4619     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4621     break 2
   4622   fi
   4623 done
   4624   done
   4625 IFS=$as_save_IFS
   4626 
   4627 fi
   4628 fi
   4629 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4630 if test -n "$ac_ct_DUMPBIN"; then
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4632 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4633 else
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 fi
   4637 
   4638 
   4639   test -n "$ac_ct_DUMPBIN" && break
   4640 done
   4641 
   4642   if test "x$ac_ct_DUMPBIN" = x; then
   4643     DUMPBIN=":"
   4644   else
   4645     case $cross_compiling:$ac_tool_warned in
   4646 yes:)
   4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4649 ac_tool_warned=yes ;;
   4650 esac
   4651     DUMPBIN=$ac_ct_DUMPBIN
   4652   fi
   4653 fi
   4654 
   4655     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4656     *COFF*)
   4657       DUMPBIN="$DUMPBIN -symbols"
   4658       ;;
   4659     *)
   4660       DUMPBIN=:
   4661       ;;
   4662     esac
   4663   fi
   4664 
   4665   if test "$DUMPBIN" != ":"; then
   4666     NM="$DUMPBIN"
   4667   fi
   4668 fi
   4669 test -z "$NM" && NM=nm
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4677 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4678 if ${lt_cv_nm_interface+:} false; then :
   4679   $as_echo_n "(cached) " >&6
   4680 else
   4681   lt_cv_nm_interface="BSD nm"
   4682   echo "int some_variable = 0;" > conftest.$ac_ext
   4683   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4684   (eval "$ac_compile" 2>conftest.err)
   4685   cat conftest.err >&5
   4686   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4687   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4688   cat conftest.err >&5
   4689   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4690   cat conftest.out >&5
   4691   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4692     lt_cv_nm_interface="MS dumpbin"
   4693   fi
   4694   rm -f conftest*
   4695 fi
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4697 $as_echo "$lt_cv_nm_interface" >&6; }
   4698 
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4700 $as_echo_n "checking whether ln -s works... " >&6; }
   4701 LN_S=$as_ln_s
   4702 if test "$LN_S" = "ln -s"; then
   4703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4704 $as_echo "yes" >&6; }
   4705 else
   4706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4707 $as_echo "no, using $LN_S" >&6; }
   4708 fi
   4709 
   4710 # find the maximum length of command line arguments
   4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4712 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4713 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4714   $as_echo_n "(cached) " >&6
   4715 else
   4716     i=0
   4717   teststring="ABCD"
   4718 
   4719   case $build_os in
   4720   msdosdjgpp*)
   4721     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4722     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4723     # during glob expansion).  Even if it were fixed, the result of this
   4724     # check would be larger than it should be.
   4725     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4726     ;;
   4727 
   4728   gnu*)
   4729     # Under GNU Hurd, this test is not required because there is
   4730     # no limit to the length of command line arguments.
   4731     # Libtool will interpret -1 as no limit whatsoever
   4732     lt_cv_sys_max_cmd_len=-1;
   4733     ;;
   4734 
   4735   cygwin* | mingw* | cegcc*)
   4736     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4737     # about 5 minutes as the teststring grows exponentially.
   4738     # Worse, since 9x/ME are not pre-emptively multitasking,
   4739     # you end up with a "frozen" computer, even though with patience
   4740     # the test eventually succeeds (with a max line length of 256k).
   4741     # Instead, let's just punt: use the minimum linelength reported by
   4742     # all of the supported platforms: 8192 (on NT/2K/XP).
   4743     lt_cv_sys_max_cmd_len=8192;
   4744     ;;
   4745 
   4746   mint*)
   4747     # On MiNT this can take a long time and run out of memory.
   4748     lt_cv_sys_max_cmd_len=8192;
   4749     ;;
   4750 
   4751   amigaos*)
   4752     # On AmigaOS with pdksh, this test takes hours, literally.
   4753     # So we just punt and use a minimum line length of 8192.
   4754     lt_cv_sys_max_cmd_len=8192;
   4755     ;;
   4756 
   4757   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4758     # This has been around since 386BSD, at least.  Likely further.
   4759     if test -x /sbin/sysctl; then
   4760       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4761     elif test -x /usr/sbin/sysctl; then
   4762       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4763     else
   4764       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4765     fi
   4766     # And add a safety zone
   4767     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4768     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4769     ;;
   4770 
   4771   interix*)
   4772     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4773     lt_cv_sys_max_cmd_len=196608
   4774     ;;
   4775 
   4776   osf*)
   4777     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4778     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4779     # nice to cause kernel panics so lets avoid the loop below.
   4780     # First set a reasonable default.
   4781     lt_cv_sys_max_cmd_len=16384
   4782     #
   4783     if test -x /sbin/sysconfig; then
   4784       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4785         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4786       esac
   4787     fi
   4788     ;;
   4789   sco3.2v5*)
   4790     lt_cv_sys_max_cmd_len=102400
   4791     ;;
   4792   sysv5* | sco5v6* | sysv4.2uw2*)
   4793     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4794     if test -n "$kargmax"; then
   4795       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4796     else
   4797       lt_cv_sys_max_cmd_len=32768
   4798     fi
   4799     ;;
   4800   *)
   4801     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4802     if test -n "$lt_cv_sys_max_cmd_len"; then
   4803       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4804       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4805     else
   4806       # Make teststring a little bigger before we do anything with it.
   4807       # a 1K string should be a reasonable start.
   4808       for i in 1 2 3 4 5 6 7 8 ; do
   4809         teststring=$teststring$teststring
   4810       done
   4811       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4812       # If test is not a shell built-in, we'll probably end up computing a
   4813       # maximum length that is only half of the actual maximum length, but
   4814       # we can't tell.
   4815       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4816 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4817 	      test $i != 17 # 1/2 MB should be enough
   4818       do
   4819         i=`expr $i + 1`
   4820         teststring=$teststring$teststring
   4821       done
   4822       # Only check the string length outside the loop.
   4823       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4824       teststring=
   4825       # Add a significant safety factor because C++ compilers can tack on
   4826       # massive amounts of additional arguments before passing them to the
   4827       # linker.  It appears as though 1/2 is a usable value.
   4828       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4829     fi
   4830     ;;
   4831   esac
   4832 
   4833 fi
   4834 
   4835 if test -n $lt_cv_sys_max_cmd_len ; then
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4837 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4838 else
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4840 $as_echo "none" >&6; }
   4841 fi
   4842 max_cmd_len=$lt_cv_sys_max_cmd_len
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 : ${CP="cp -f"}
   4850 : ${MV="mv -f"}
   4851 : ${RM="rm -f"}
   4852 
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4854 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4855 # Try some XSI features
   4856 xsi_shell=no
   4857 ( _lt_dummy="a/b/c"
   4858   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4859       = c,a/b,b/c, \
   4860     && eval 'test $(( 1 + 1 )) -eq 2 \
   4861     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4862   && xsi_shell=yes
   4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4864 $as_echo "$xsi_shell" >&6; }
   4865 
   4866 
   4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4868 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4869 lt_shell_append=no
   4870 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4871     >/dev/null 2>&1 \
   4872   && lt_shell_append=yes
   4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4874 $as_echo "$lt_shell_append" >&6; }
   4875 
   4876 
   4877 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4878   lt_unset=unset
   4879 else
   4880   lt_unset=false
   4881 fi
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 # test EBCDIC or ASCII
   4888 case `echo X|tr X '\101'` in
   4889  A) # ASCII based system
   4890     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4891   lt_SP2NL='tr \040 \012'
   4892   lt_NL2SP='tr \015\012 \040\040'
   4893   ;;
   4894  *) # EBCDIC based system
   4895   lt_SP2NL='tr \100 \n'
   4896   lt_NL2SP='tr \r\n \100\100'
   4897   ;;
   4898 esac
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4909 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4910 if ${lt_cv_to_host_file_cmd+:} false; then :
   4911   $as_echo_n "(cached) " >&6
   4912 else
   4913   case $host in
   4914   *-*-mingw* )
   4915     case $build in
   4916       *-*-mingw* ) # actually msys
   4917         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4918         ;;
   4919       *-*-cygwin* )
   4920         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4921         ;;
   4922       * ) # otherwise, assume *nix
   4923         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4924         ;;
   4925     esac
   4926     ;;
   4927   *-*-cygwin* )
   4928     case $build in
   4929       *-*-mingw* ) # actually msys
   4930         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4931         ;;
   4932       *-*-cygwin* )
   4933         lt_cv_to_host_file_cmd=func_convert_file_noop
   4934         ;;
   4935       * ) # otherwise, assume *nix
   4936         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4937         ;;
   4938     esac
   4939     ;;
   4940   * ) # unhandled hosts (and "normal" native builds)
   4941     lt_cv_to_host_file_cmd=func_convert_file_noop
   4942     ;;
   4943 esac
   4944 
   4945 fi
   4946 
   4947 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4949 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4956 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4957 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   #assume ordinary cross tools, or native build.
   4961 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4962 case $host in
   4963   *-*-mingw* )
   4964     case $build in
   4965       *-*-mingw* ) # actually msys
   4966         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4967         ;;
   4968     esac
   4969     ;;
   4970 esac
   4971 
   4972 fi
   4973 
   4974 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4976 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4983 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4984 if ${lt_cv_ld_reload_flag+:} false; then :
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   lt_cv_ld_reload_flag='-r'
   4988 fi
   4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4990 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4991 reload_flag=$lt_cv_ld_reload_flag
   4992 case $reload_flag in
   4993 "" | " "*) ;;
   4994 *) reload_flag=" $reload_flag" ;;
   4995 esac
   4996 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4997 case $host_os in
   4998   cygwin* | mingw* | pw32* | cegcc*)
   4999     if test "$GCC" != yes; then
   5000       reload_cmds=false
   5001     fi
   5002     ;;
   5003   darwin*)
   5004     if test "$GCC" = yes; then
   5005       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5006     else
   5007       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5008     fi
   5009     ;;
   5010 esac
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 if test -n "$ac_tool_prefix"; then
   5021   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5022 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5024 $as_echo_n "checking for $ac_word... " >&6; }
   5025 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   if test -n "$OBJDUMP"; then
   5029   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5030 else
   5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5032 for as_dir in $PATH
   5033 do
   5034   IFS=$as_save_IFS
   5035   test -z "$as_dir" && as_dir=.
   5036     for ac_exec_ext in '' $ac_executable_extensions; do
   5037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5038     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5040     break 2
   5041   fi
   5042 done
   5043   done
   5044 IFS=$as_save_IFS
   5045 
   5046 fi
   5047 fi
   5048 OBJDUMP=$ac_cv_prog_OBJDUMP
   5049 if test -n "$OBJDUMP"; then
   5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5051 $as_echo "$OBJDUMP" >&6; }
   5052 else
   5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5054 $as_echo "no" >&6; }
   5055 fi
   5056 
   5057 
   5058 fi
   5059 if test -z "$ac_cv_prog_OBJDUMP"; then
   5060   ac_ct_OBJDUMP=$OBJDUMP
   5061   # Extract the first word of "objdump", so it can be a program name with args.
   5062 set dummy objdump; ac_word=$2
   5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5064 $as_echo_n "checking for $ac_word... " >&6; }
   5065 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5066   $as_echo_n "(cached) " >&6
   5067 else
   5068   if test -n "$ac_ct_OBJDUMP"; then
   5069   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5070 else
   5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5072 for as_dir in $PATH
   5073 do
   5074   IFS=$as_save_IFS
   5075   test -z "$as_dir" && as_dir=.
   5076     for ac_exec_ext in '' $ac_executable_extensions; do
   5077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5078     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5080     break 2
   5081   fi
   5082 done
   5083   done
   5084 IFS=$as_save_IFS
   5085 
   5086 fi
   5087 fi
   5088 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5089 if test -n "$ac_ct_OBJDUMP"; then
   5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5091 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5092 else
   5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5094 $as_echo "no" >&6; }
   5095 fi
   5096 
   5097   if test "x$ac_ct_OBJDUMP" = x; then
   5098     OBJDUMP="false"
   5099   else
   5100     case $cross_compiling:$ac_tool_warned in
   5101 yes:)
   5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5104 ac_tool_warned=yes ;;
   5105 esac
   5106     OBJDUMP=$ac_ct_OBJDUMP
   5107   fi
   5108 else
   5109   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5110 fi
   5111 
   5112 test -z "$OBJDUMP" && OBJDUMP=objdump
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5123 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5124 if ${lt_cv_deplibs_check_method+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5128 lt_cv_file_magic_test_file=
   5129 lt_cv_deplibs_check_method='unknown'
   5130 # Need to set the preceding variable on all platforms that support
   5131 # interlibrary dependencies.
   5132 # 'none' -- dependencies not supported.
   5133 # `unknown' -- same as none, but documents that we really don't know.
   5134 # 'pass_all' -- all dependencies passed with no checks.
   5135 # 'test_compile' -- check by making test program.
   5136 # 'file_magic [[regex]]' -- check by looking for files in library path
   5137 # which responds to the $file_magic_cmd with a given extended regex.
   5138 # If you have `file' or equivalent on your system and you're not sure
   5139 # whether `pass_all' will *always* work, you probably want this one.
   5140 
   5141 case $host_os in
   5142 aix[4-9]*)
   5143   lt_cv_deplibs_check_method=pass_all
   5144   ;;
   5145 
   5146 beos*)
   5147   lt_cv_deplibs_check_method=pass_all
   5148   ;;
   5149 
   5150 bsdi[45]*)
   5151   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5152   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5153   lt_cv_file_magic_test_file=/shlib/libc.so
   5154   ;;
   5155 
   5156 cygwin*)
   5157   # func_win32_libid is a shell function defined in ltmain.sh
   5158   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5159   lt_cv_file_magic_cmd='func_win32_libid'
   5160   ;;
   5161 
   5162 mingw* | pw32*)
   5163   # Base MSYS/MinGW do not provide the 'file' command needed by
   5164   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5165   # unless we find 'file', for example because we are cross-compiling.
   5166   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5167   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5168     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5169     lt_cv_file_magic_cmd='func_win32_libid'
   5170   else
   5171     # Keep this pattern in sync with the one in func_win32_libid.
   5172     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5173     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5174   fi
   5175   ;;
   5176 
   5177 cegcc*)
   5178   # use the weaker test based on 'objdump'. See mingw*.
   5179   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5180   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5181   ;;
   5182 
   5183 darwin* | rhapsody*)
   5184   lt_cv_deplibs_check_method=pass_all
   5185   ;;
   5186 
   5187 freebsd* | dragonfly*)
   5188   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5189     case $host_cpu in
   5190     i*86 )
   5191       # Not sure whether the presence of OpenBSD here was a mistake.
   5192       # Let's accept both of them until this is cleared up.
   5193       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5194       lt_cv_file_magic_cmd=/usr/bin/file
   5195       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5196       ;;
   5197     esac
   5198   else
   5199     lt_cv_deplibs_check_method=pass_all
   5200   fi
   5201   ;;
   5202 
   5203 gnu*)
   5204   lt_cv_deplibs_check_method=pass_all
   5205   ;;
   5206 
   5207 haiku*)
   5208   lt_cv_deplibs_check_method=pass_all
   5209   ;;
   5210 
   5211 hpux10.20* | hpux11*)
   5212   lt_cv_file_magic_cmd=/usr/bin/file
   5213   case $host_cpu in
   5214   ia64*)
   5215     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5216     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5217     ;;
   5218   hppa*64*)
   5219     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]'
   5220     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5221     ;;
   5222   *)
   5223     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5224     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5225     ;;
   5226   esac
   5227   ;;
   5228 
   5229 interix[3-9]*)
   5230   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5231   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5232   ;;
   5233 
   5234 irix5* | irix6* | nonstopux*)
   5235   case $LD in
   5236   *-32|*"-32 ") libmagic=32-bit;;
   5237   *-n32|*"-n32 ") libmagic=N32;;
   5238   *-64|*"-64 ") libmagic=64-bit;;
   5239   *) libmagic=never-match;;
   5240   esac
   5241   lt_cv_deplibs_check_method=pass_all
   5242   ;;
   5243 
   5244 # This must be Linux ELF.
   5245 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5246   lt_cv_deplibs_check_method=pass_all
   5247   ;;
   5248 
   5249 netbsd*)
   5250   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5251     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5252   else
   5253     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5254   fi
   5255   ;;
   5256 
   5257 newos6*)
   5258   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5259   lt_cv_file_magic_cmd=/usr/bin/file
   5260   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5261   ;;
   5262 
   5263 *nto* | *qnx*)
   5264   lt_cv_deplibs_check_method=pass_all
   5265   ;;
   5266 
   5267 openbsd*)
   5268   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5270   else
   5271     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5272   fi
   5273   ;;
   5274 
   5275 osf3* | osf4* | osf5*)
   5276   lt_cv_deplibs_check_method=pass_all
   5277   ;;
   5278 
   5279 rdos*)
   5280   lt_cv_deplibs_check_method=pass_all
   5281   ;;
   5282 
   5283 solaris*)
   5284   lt_cv_deplibs_check_method=pass_all
   5285   ;;
   5286 
   5287 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5288   lt_cv_deplibs_check_method=pass_all
   5289   ;;
   5290 
   5291 sysv4 | sysv4.3*)
   5292   case $host_vendor in
   5293   motorola)
   5294     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]'
   5295     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5296     ;;
   5297   ncr)
   5298     lt_cv_deplibs_check_method=pass_all
   5299     ;;
   5300   sequent)
   5301     lt_cv_file_magic_cmd='/bin/file'
   5302     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5303     ;;
   5304   sni)
   5305     lt_cv_file_magic_cmd='/bin/file'
   5306     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5307     lt_cv_file_magic_test_file=/lib/libc.so
   5308     ;;
   5309   siemens)
   5310     lt_cv_deplibs_check_method=pass_all
   5311     ;;
   5312   pc)
   5313     lt_cv_deplibs_check_method=pass_all
   5314     ;;
   5315   esac
   5316   ;;
   5317 
   5318 tpf*)
   5319   lt_cv_deplibs_check_method=pass_all
   5320   ;;
   5321 esac
   5322 
   5323 fi
   5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5325 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5326 
   5327 file_magic_glob=
   5328 want_nocaseglob=no
   5329 if test "$build" = "$host"; then
   5330   case $host_os in
   5331   mingw* | pw32*)
   5332     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5333       want_nocaseglob=yes
   5334     else
   5335       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5336     fi
   5337     ;;
   5338   esac
   5339 fi
   5340 
   5341 file_magic_cmd=$lt_cv_file_magic_cmd
   5342 deplibs_check_method=$lt_cv_deplibs_check_method
   5343 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 if test -n "$ac_tool_prefix"; then
   5367   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5368 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5370 $as_echo_n "checking for $ac_word... " >&6; }
   5371 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5372   $as_echo_n "(cached) " >&6
   5373 else
   5374   if test -n "$DLLTOOL"; then
   5375   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5376 else
   5377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5378 for as_dir in $PATH
   5379 do
   5380   IFS=$as_save_IFS
   5381   test -z "$as_dir" && as_dir=.
   5382     for ac_exec_ext in '' $ac_executable_extensions; do
   5383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5384     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5386     break 2
   5387   fi
   5388 done
   5389   done
   5390 IFS=$as_save_IFS
   5391 
   5392 fi
   5393 fi
   5394 DLLTOOL=$ac_cv_prog_DLLTOOL
   5395 if test -n "$DLLTOOL"; then
   5396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5397 $as_echo "$DLLTOOL" >&6; }
   5398 else
   5399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5400 $as_echo "no" >&6; }
   5401 fi
   5402 
   5403 
   5404 fi
   5405 if test -z "$ac_cv_prog_DLLTOOL"; then
   5406   ac_ct_DLLTOOL=$DLLTOOL
   5407   # Extract the first word of "dlltool", so it can be a program name with args.
   5408 set dummy dlltool; ac_word=$2
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5410 $as_echo_n "checking for $ac_word... " >&6; }
   5411 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   if test -n "$ac_ct_DLLTOOL"; then
   5415   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5416 else
   5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5418 for as_dir in $PATH
   5419 do
   5420   IFS=$as_save_IFS
   5421   test -z "$as_dir" && as_dir=.
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5424     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429   done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5435 if test -n "$ac_ct_DLLTOOL"; then
   5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5437 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5438 else
   5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 
   5443   if test "x$ac_ct_DLLTOOL" = x; then
   5444     DLLTOOL="false"
   5445   else
   5446     case $cross_compiling:$ac_tool_warned in
   5447 yes:)
   5448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5450 ac_tool_warned=yes ;;
   5451 esac
   5452     DLLTOOL=$ac_ct_DLLTOOL
   5453   fi
   5454 else
   5455   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5456 fi
   5457 
   5458 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5470 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5471 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5472   $as_echo_n "(cached) " >&6
   5473 else
   5474   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5475 
   5476 case $host_os in
   5477 cygwin* | mingw* | pw32* | cegcc*)
   5478   # two different shell functions defined in ltmain.sh
   5479   # decide which to use based on capabilities of $DLLTOOL
   5480   case `$DLLTOOL --help 2>&1` in
   5481   *--identify-strict*)
   5482     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5483     ;;
   5484   *)
   5485     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5486     ;;
   5487   esac
   5488   ;;
   5489 *)
   5490   # fallback: assume linklib IS sharedlib
   5491   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5492   ;;
   5493 esac
   5494 
   5495 fi
   5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5497 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5498 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5499 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 if test -n "$ac_tool_prefix"; then
   5509   for ac_prog in ar
   5510   do
   5511     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5514 $as_echo_n "checking for $ac_word... " >&6; }
   5515 if ${ac_cv_prog_AR+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   if test -n "$AR"; then
   5519   ac_cv_prog_AR="$AR" # Let the user override the test.
   5520 else
   5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522 for as_dir in $PATH
   5523 do
   5524   IFS=$as_save_IFS
   5525   test -z "$as_dir" && as_dir=.
   5526     for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5528     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533   done
   5534 IFS=$as_save_IFS
   5535 
   5536 fi
   5537 fi
   5538 AR=$ac_cv_prog_AR
   5539 if test -n "$AR"; then
   5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5541 $as_echo "$AR" >&6; }
   5542 else
   5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5544 $as_echo "no" >&6; }
   5545 fi
   5546 
   5547 
   5548     test -n "$AR" && break
   5549   done
   5550 fi
   5551 if test -z "$AR"; then
   5552   ac_ct_AR=$AR
   5553   for ac_prog in ar
   5554 do
   5555   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5556 set dummy $ac_prog; 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_AR+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   if test -n "$ac_ct_AR"; then
   5563   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="$ac_prog"
   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_AR=$ac_cv_prog_ac_ct_AR
   5583 if test -n "$ac_ct_AR"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5585 $as_echo "$ac_ct_AR" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 
   5591 
   5592   test -n "$ac_ct_AR" && break
   5593 done
   5594 
   5595   if test "x$ac_ct_AR" = x; then
   5596     AR="false"
   5597   else
   5598     case $cross_compiling:$ac_tool_warned in
   5599 yes:)
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5602 ac_tool_warned=yes ;;
   5603 esac
   5604     AR=$ac_ct_AR
   5605   fi
   5606 fi
   5607 
   5608 : ${AR=ar}
   5609 : ${AR_FLAGS=cru}
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5622 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5623 if ${lt_cv_ar_at_file+:} false; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   lt_cv_ar_at_file=no
   5627    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5628 /* end confdefs.h.  */
   5629 
   5630 int
   5631 main ()
   5632 {
   5633 
   5634   ;
   5635   return 0;
   5636 }
   5637 _ACEOF
   5638 if ac_fn_c_try_compile "$LINENO"; then :
   5639   echo conftest.$ac_objext > conftest.lst
   5640       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5641       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5642   (eval $lt_ar_try) 2>&5
   5643   ac_status=$?
   5644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5645   test $ac_status = 0; }
   5646       if test "$ac_status" -eq 0; then
   5647 	# Ensure the archiver fails upon bogus file names.
   5648 	rm -f conftest.$ac_objext libconftest.a
   5649 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5650   (eval $lt_ar_try) 2>&5
   5651   ac_status=$?
   5652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5653   test $ac_status = 0; }
   5654 	if test "$ac_status" -ne 0; then
   5655           lt_cv_ar_at_file=@
   5656         fi
   5657       fi
   5658       rm -f conftest.* libconftest.a
   5659 
   5660 fi
   5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5662 
   5663 fi
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5665 $as_echo "$lt_cv_ar_at_file" >&6; }
   5666 
   5667 if test "x$lt_cv_ar_at_file" = xno; then
   5668   archiver_list_spec=
   5669 else
   5670   archiver_list_spec=$lt_cv_ar_at_file
   5671 fi
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 if test -n "$ac_tool_prefix"; then
   5680   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5681 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5683 $as_echo_n "checking for $ac_word... " >&6; }
   5684 if ${ac_cv_prog_STRIP+:} false; then :
   5685   $as_echo_n "(cached) " >&6
   5686 else
   5687   if test -n "$STRIP"; then
   5688   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5689 else
   5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5691 for as_dir in $PATH
   5692 do
   5693   IFS=$as_save_IFS
   5694   test -z "$as_dir" && as_dir=.
   5695     for ac_exec_ext in '' $ac_executable_extensions; do
   5696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5697     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5699     break 2
   5700   fi
   5701 done
   5702   done
   5703 IFS=$as_save_IFS
   5704 
   5705 fi
   5706 fi
   5707 STRIP=$ac_cv_prog_STRIP
   5708 if test -n "$STRIP"; then
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5710 $as_echo "$STRIP" >&6; }
   5711 else
   5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 $as_echo "no" >&6; }
   5714 fi
   5715 
   5716 
   5717 fi
   5718 if test -z "$ac_cv_prog_STRIP"; then
   5719   ac_ct_STRIP=$STRIP
   5720   # Extract the first word of "strip", so it can be a program name with args.
   5721 set dummy strip; ac_word=$2
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5723 $as_echo_n "checking for $ac_word... " >&6; }
   5724 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5725   $as_echo_n "(cached) " >&6
   5726 else
   5727   if test -n "$ac_ct_STRIP"; then
   5728   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5729 else
   5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5731 for as_dir in $PATH
   5732 do
   5733   IFS=$as_save_IFS
   5734   test -z "$as_dir" && as_dir=.
   5735     for ac_exec_ext in '' $ac_executable_extensions; do
   5736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5737     ac_cv_prog_ac_ct_STRIP="strip"
   5738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5739     break 2
   5740   fi
   5741 done
   5742   done
   5743 IFS=$as_save_IFS
   5744 
   5745 fi
   5746 fi
   5747 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5748 if test -n "$ac_ct_STRIP"; then
   5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5750 $as_echo "$ac_ct_STRIP" >&6; }
   5751 else
   5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5753 $as_echo "no" >&6; }
   5754 fi
   5755 
   5756   if test "x$ac_ct_STRIP" = x; then
   5757     STRIP=":"
   5758   else
   5759     case $cross_compiling:$ac_tool_warned in
   5760 yes:)
   5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5763 ac_tool_warned=yes ;;
   5764 esac
   5765     STRIP=$ac_ct_STRIP
   5766   fi
   5767 else
   5768   STRIP="$ac_cv_prog_STRIP"
   5769 fi
   5770 
   5771 test -z "$STRIP" && STRIP=:
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 if test -n "$ac_tool_prefix"; then
   5779   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5780 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5782 $as_echo_n "checking for $ac_word... " >&6; }
   5783 if ${ac_cv_prog_RANLIB+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   if test -n "$RANLIB"; then
   5787   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5788 else
   5789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5790 for as_dir in $PATH
   5791 do
   5792   IFS=$as_save_IFS
   5793   test -z "$as_dir" && as_dir=.
   5794     for ac_exec_ext in '' $ac_executable_extensions; do
   5795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5796     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5798     break 2
   5799   fi
   5800 done
   5801   done
   5802 IFS=$as_save_IFS
   5803 
   5804 fi
   5805 fi
   5806 RANLIB=$ac_cv_prog_RANLIB
   5807 if test -n "$RANLIB"; then
   5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5809 $as_echo "$RANLIB" >&6; }
   5810 else
   5811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5812 $as_echo "no" >&6; }
   5813 fi
   5814 
   5815 
   5816 fi
   5817 if test -z "$ac_cv_prog_RANLIB"; then
   5818   ac_ct_RANLIB=$RANLIB
   5819   # Extract the first word of "ranlib", so it can be a program name with args.
   5820 set dummy ranlib; ac_word=$2
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5822 $as_echo_n "checking for $ac_word... " >&6; }
   5823 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5824   $as_echo_n "(cached) " >&6
   5825 else
   5826   if test -n "$ac_ct_RANLIB"; then
   5827   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5828 else
   5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5830 for as_dir in $PATH
   5831 do
   5832   IFS=$as_save_IFS
   5833   test -z "$as_dir" && as_dir=.
   5834     for ac_exec_ext in '' $ac_executable_extensions; do
   5835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5836     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5838     break 2
   5839   fi
   5840 done
   5841   done
   5842 IFS=$as_save_IFS
   5843 
   5844 fi
   5845 fi
   5846 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5847 if test -n "$ac_ct_RANLIB"; then
   5848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5849 $as_echo "$ac_ct_RANLIB" >&6; }
   5850 else
   5851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5852 $as_echo "no" >&6; }
   5853 fi
   5854 
   5855   if test "x$ac_ct_RANLIB" = x; then
   5856     RANLIB=":"
   5857   else
   5858     case $cross_compiling:$ac_tool_warned in
   5859 yes:)
   5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5862 ac_tool_warned=yes ;;
   5863 esac
   5864     RANLIB=$ac_ct_RANLIB
   5865   fi
   5866 else
   5867   RANLIB="$ac_cv_prog_RANLIB"
   5868 fi
   5869 
   5870 test -z "$RANLIB" && RANLIB=:
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 # Determine commands to create old-style static archives.
   5878 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5879 old_postinstall_cmds='chmod 644 $oldlib'
   5880 old_postuninstall_cmds=
   5881 
   5882 if test -n "$RANLIB"; then
   5883   case $host_os in
   5884   openbsd*)
   5885     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5886     ;;
   5887   *)
   5888     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5889     ;;
   5890   esac
   5891   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5892 fi
   5893 
   5894 case $host_os in
   5895   darwin*)
   5896     lock_old_archive_extraction=yes ;;
   5897   *)
   5898     lock_old_archive_extraction=no ;;
   5899 esac
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 # If no C compiler was specified, use CC.
   5940 LTCC=${LTCC-"$CC"}
   5941 
   5942 # If no C compiler flags were specified, use CFLAGS.
   5943 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5944 
   5945 # Allow CC to be a program name with arguments.
   5946 compiler=$CC
   5947 
   5948 
   5949 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5951 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5952 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5953   $as_echo_n "(cached) " >&6
   5954 else
   5955 
   5956 # These are sane defaults that work on at least a few old systems.
   5957 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5958 
   5959 # Character class describing NM global symbol codes.
   5960 symcode='[BCDEGRST]'
   5961 
   5962 # Regexp to match symbols that can be accessed directly from C.
   5963 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5964 
   5965 # Define system-specific variables.
   5966 case $host_os in
   5967 aix*)
   5968   symcode='[BCDT]'
   5969   ;;
   5970 cygwin* | mingw* | pw32* | cegcc*)
   5971   symcode='[ABCDGISTW]'
   5972   ;;
   5973 hpux*)
   5974   if test "$host_cpu" = ia64; then
   5975     symcode='[ABCDEGRST]'
   5976   fi
   5977   ;;
   5978 irix* | nonstopux*)
   5979   symcode='[BCDEGRST]'
   5980   ;;
   5981 osf*)
   5982   symcode='[BCDEGQRST]'
   5983   ;;
   5984 solaris*)
   5985   symcode='[BDRT]'
   5986   ;;
   5987 sco3.2v5*)
   5988   symcode='[DT]'
   5989   ;;
   5990 sysv4.2uw2*)
   5991   symcode='[DT]'
   5992   ;;
   5993 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5994   symcode='[ABDT]'
   5995   ;;
   5996 sysv4)
   5997   symcode='[DFNSTU]'
   5998   ;;
   5999 esac
   6000 
   6001 # If we're using GNU nm, then use its standard symbol codes.
   6002 case `$NM -V 2>&1` in
   6003 *GNU* | *'with BFD'*)
   6004   symcode='[ABCDGIRSTW]' ;;
   6005 esac
   6006 
   6007 # Transform an extracted symbol line into a proper C declaration.
   6008 # Some systems (esp. on ia64) link data and code symbols differently,
   6009 # so use this general approach.
   6010 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6011 
   6012 # Transform an extracted symbol line into symbol name and symbol address
   6013 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6014 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'"
   6015 
   6016 # Handle CRLF in mingw tool chain
   6017 opt_cr=
   6018 case $build_os in
   6019 mingw*)
   6020   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6021   ;;
   6022 esac
   6023 
   6024 # Try without a prefix underscore, then with it.
   6025 for ac_symprfx in "" "_"; do
   6026 
   6027   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6028   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6029 
   6030   # Write the raw and C identifiers.
   6031   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6032     # Fake it for dumpbin and say T for any non-static function
   6033     # and D for any global variable.
   6034     # Also find C++ and __fastcall symbols from MSVC++,
   6035     # which start with @ or ?.
   6036     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6037 "     {last_section=section; section=\$ 3};"\
   6038 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6039 "     \$ 0!~/External *\|/{next};"\
   6040 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6041 "     {if(hide[section]) next};"\
   6042 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6043 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6044 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6045 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6046 "     ' prfx=^$ac_symprfx"
   6047   else
   6048     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6049   fi
   6050   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6051 
   6052   # Check to see that the pipe works correctly.
   6053   pipe_works=no
   6054 
   6055   rm -f conftest*
   6056   cat > conftest.$ac_ext <<_LT_EOF
   6057 #ifdef __cplusplus
   6058 extern "C" {
   6059 #endif
   6060 char nm_test_var;
   6061 void nm_test_func(void);
   6062 void nm_test_func(void){}
   6063 #ifdef __cplusplus
   6064 }
   6065 #endif
   6066 int main(){nm_test_var='a';nm_test_func();return(0);}
   6067 _LT_EOF
   6068 
   6069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6070   (eval $ac_compile) 2>&5
   6071   ac_status=$?
   6072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6073   test $ac_status = 0; }; then
   6074     # Now try to grab the symbols.
   6075     nlist=conftest.nm
   6076     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6077   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6078   ac_status=$?
   6079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6080   test $ac_status = 0; } && test -s "$nlist"; then
   6081       # Try sorting and uniquifying the output.
   6082       if sort "$nlist" | uniq > "$nlist"T; then
   6083 	mv -f "$nlist"T "$nlist"
   6084       else
   6085 	rm -f "$nlist"T
   6086       fi
   6087 
   6088       # Make sure that we snagged all the symbols we need.
   6089       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6090 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6091 	  cat <<_LT_EOF > conftest.$ac_ext
   6092 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6093 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6094 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6095    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6096 # define LT_DLSYM_CONST
   6097 #elif defined(__osf__)
   6098 /* This system does not cope well with relocations in const data.  */
   6099 # define LT_DLSYM_CONST
   6100 #else
   6101 # define LT_DLSYM_CONST const
   6102 #endif
   6103 
   6104 #ifdef __cplusplus
   6105 extern "C" {
   6106 #endif
   6107 
   6108 _LT_EOF
   6109 	  # Now generate the symbol file.
   6110 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6111 
   6112 	  cat <<_LT_EOF >> conftest.$ac_ext
   6113 
   6114 /* The mapping between symbol names and symbols.  */
   6115 LT_DLSYM_CONST struct {
   6116   const char *name;
   6117   void       *address;
   6118 }
   6119 lt__PROGRAM__LTX_preloaded_symbols[] =
   6120 {
   6121   { "@PROGRAM@", (void *) 0 },
   6122 _LT_EOF
   6123 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6124 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6125   {0, (void *) 0}
   6126 };
   6127 
   6128 /* This works around a problem in FreeBSD linker */
   6129 #ifdef FREEBSD_WORKAROUND
   6130 static const void *lt_preloaded_setup() {
   6131   return lt__PROGRAM__LTX_preloaded_symbols;
   6132 }
   6133 #endif
   6134 
   6135 #ifdef __cplusplus
   6136 }
   6137 #endif
   6138 _LT_EOF
   6139 	  # Now try linking the two files.
   6140 	  mv conftest.$ac_objext conftstm.$ac_objext
   6141 	  lt_globsym_save_LIBS=$LIBS
   6142 	  lt_globsym_save_CFLAGS=$CFLAGS
   6143 	  LIBS="conftstm.$ac_objext"
   6144 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6145 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6146   (eval $ac_link) 2>&5
   6147   ac_status=$?
   6148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6149   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6150 	    pipe_works=yes
   6151 	  fi
   6152 	  LIBS=$lt_globsym_save_LIBS
   6153 	  CFLAGS=$lt_globsym_save_CFLAGS
   6154 	else
   6155 	  echo "cannot find nm_test_func in $nlist" >&5
   6156 	fi
   6157       else
   6158 	echo "cannot find nm_test_var in $nlist" >&5
   6159       fi
   6160     else
   6161       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6162     fi
   6163   else
   6164     echo "$progname: failed program was:" >&5
   6165     cat conftest.$ac_ext >&5
   6166   fi
   6167   rm -rf conftest* conftst*
   6168 
   6169   # Do not use the global_symbol_pipe unless it works.
   6170   if test "$pipe_works" = yes; then
   6171     break
   6172   else
   6173     lt_cv_sys_global_symbol_pipe=
   6174   fi
   6175 done
   6176 
   6177 fi
   6178 
   6179 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6180   lt_cv_sys_global_symbol_to_cdecl=
   6181 fi
   6182 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6184 $as_echo "failed" >&6; }
   6185 else
   6186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6187 $as_echo "ok" >&6; }
   6188 fi
   6189 
   6190 # Response file support.
   6191 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6192   nm_file_list_spec='@'
   6193 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6194   nm_file_list_spec='@'
   6195 fi
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6224 $as_echo_n "checking for sysroot... " >&6; }
   6225 
   6226 # Check whether --with-sysroot was given.
   6227 if test "${with_sysroot+set}" = set; then :
   6228   withval=$with_sysroot;
   6229 else
   6230   with_sysroot=no
   6231 fi
   6232 
   6233 
   6234 lt_sysroot=
   6235 case ${with_sysroot} in #(
   6236  yes)
   6237    if test "$GCC" = yes; then
   6238      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6239    fi
   6240    ;; #(
   6241  /*)
   6242    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6243    ;; #(
   6244  no|'')
   6245    ;; #(
   6246  *)
   6247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6248 $as_echo "${with_sysroot}" >&6; }
   6249    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6250    ;;
   6251 esac
   6252 
   6253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6254 $as_echo "${lt_sysroot:-no}" >&6; }
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 # Check whether --enable-libtool-lock was given.
   6261 if test "${enable_libtool_lock+set}" = set; then :
   6262   enableval=$enable_libtool_lock;
   6263 fi
   6264 
   6265 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6266 
   6267 # Some flags need to be propagated to the compiler or linker for good
   6268 # libtool support.
   6269 case $host in
   6270 ia64-*-hpux*)
   6271   # Find out which ABI we are using.
   6272   echo 'int i;' > conftest.$ac_ext
   6273   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6274   (eval $ac_compile) 2>&5
   6275   ac_status=$?
   6276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6277   test $ac_status = 0; }; then
   6278     case `/usr/bin/file conftest.$ac_objext` in
   6279       *ELF-32*)
   6280 	HPUX_IA64_MODE="32"
   6281 	;;
   6282       *ELF-64*)
   6283 	HPUX_IA64_MODE="64"
   6284 	;;
   6285     esac
   6286   fi
   6287   rm -rf conftest*
   6288   ;;
   6289 *-*-irix6*)
   6290   # Find out which ABI we are using.
   6291   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6292   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6293   (eval $ac_compile) 2>&5
   6294   ac_status=$?
   6295   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6296   test $ac_status = 0; }; then
   6297     if test "$lt_cv_prog_gnu_ld" = yes; then
   6298       case `/usr/bin/file conftest.$ac_objext` in
   6299 	*32-bit*)
   6300 	  LD="${LD-ld} -melf32bsmip"
   6301 	  ;;
   6302 	*N32*)
   6303 	  LD="${LD-ld} -melf32bmipn32"
   6304 	  ;;
   6305 	*64-bit*)
   6306 	  LD="${LD-ld} -melf64bmip"
   6307 	;;
   6308       esac
   6309     else
   6310       case `/usr/bin/file conftest.$ac_objext` in
   6311 	*32-bit*)
   6312 	  LD="${LD-ld} -32"
   6313 	  ;;
   6314 	*N32*)
   6315 	  LD="${LD-ld} -n32"
   6316 	  ;;
   6317 	*64-bit*)
   6318 	  LD="${LD-ld} -64"
   6319 	  ;;
   6320       esac
   6321     fi
   6322   fi
   6323   rm -rf conftest*
   6324   ;;
   6325 
   6326 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6327 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6328   # Find out which ABI we are using.
   6329   echo 'int i;' > conftest.$ac_ext
   6330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6331   (eval $ac_compile) 2>&5
   6332   ac_status=$?
   6333   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6334   test $ac_status = 0; }; then
   6335     case `/usr/bin/file conftest.o` in
   6336       *32-bit*)
   6337 	case $host in
   6338 	  x86_64-*kfreebsd*-gnu)
   6339 	    LD="${LD-ld} -m elf_i386_fbsd"
   6340 	    ;;
   6341 	  x86_64-*linux*)
   6342 	    LD="${LD-ld} -m elf_i386"
   6343 	    ;;
   6344 	  ppc64-*linux*|powerpc64-*linux*)
   6345 	    LD="${LD-ld} -m elf32ppclinux"
   6346 	    ;;
   6347 	  s390x-*linux*)
   6348 	    LD="${LD-ld} -m elf_s390"
   6349 	    ;;
   6350 	  sparc64-*linux*)
   6351 	    LD="${LD-ld} -m elf32_sparc"
   6352 	    ;;
   6353 	esac
   6354 	;;
   6355       *64-bit*)
   6356 	case $host in
   6357 	  x86_64-*kfreebsd*-gnu)
   6358 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6359 	    ;;
   6360 	  x86_64-*linux*)
   6361 	    LD="${LD-ld} -m elf_x86_64"
   6362 	    ;;
   6363 	  ppc*-*linux*|powerpc*-*linux*)
   6364 	    LD="${LD-ld} -m elf64ppc"
   6365 	    ;;
   6366 	  s390*-*linux*|s390*-*tpf*)
   6367 	    LD="${LD-ld} -m elf64_s390"
   6368 	    ;;
   6369 	  sparc*-*linux*)
   6370 	    LD="${LD-ld} -m elf64_sparc"
   6371 	    ;;
   6372 	esac
   6373 	;;
   6374     esac
   6375   fi
   6376   rm -rf conftest*
   6377   ;;
   6378 
   6379 *-*-sco3.2v5*)
   6380   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6381   SAVE_CFLAGS="$CFLAGS"
   6382   CFLAGS="$CFLAGS -belf"
   6383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6384 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6385 if ${lt_cv_cc_needs_belf+:} false; then :
   6386   $as_echo_n "(cached) " >&6
   6387 else
   6388   ac_ext=c
   6389 ac_cpp='$CPP $CPPFLAGS'
   6390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6393 
   6394      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6395 /* end confdefs.h.  */
   6396 
   6397 int
   6398 main ()
   6399 {
   6400 
   6401   ;
   6402   return 0;
   6403 }
   6404 _ACEOF
   6405 if ac_fn_c_try_link "$LINENO"; then :
   6406   lt_cv_cc_needs_belf=yes
   6407 else
   6408   lt_cv_cc_needs_belf=no
   6409 fi
   6410 rm -f core conftest.err conftest.$ac_objext \
   6411     conftest$ac_exeext conftest.$ac_ext
   6412      ac_ext=c
   6413 ac_cpp='$CPP $CPPFLAGS'
   6414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6417 
   6418 fi
   6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6420 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6421   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6422     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6423     CFLAGS="$SAVE_CFLAGS"
   6424   fi
   6425   ;;
   6426 sparc*-*solaris*)
   6427   # Find out which ABI we are using.
   6428   echo 'int i;' > conftest.$ac_ext
   6429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6430   (eval $ac_compile) 2>&5
   6431   ac_status=$?
   6432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6433   test $ac_status = 0; }; then
   6434     case `/usr/bin/file conftest.o` in
   6435     *64-bit*)
   6436       case $lt_cv_prog_gnu_ld in
   6437       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6438       *)
   6439 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6440 	  LD="${LD-ld} -64"
   6441 	fi
   6442 	;;
   6443       esac
   6444       ;;
   6445     esac
   6446   fi
   6447   rm -rf conftest*
   6448   ;;
   6449 esac
   6450 
   6451 need_locks="$enable_libtool_lock"
   6452 
   6453 if test -n "$ac_tool_prefix"; then
   6454   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6455 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6457 $as_echo_n "checking for $ac_word... " >&6; }
   6458 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6459   $as_echo_n "(cached) " >&6
   6460 else
   6461   if test -n "$MANIFEST_TOOL"; then
   6462   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6463 else
   6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6465 for as_dir in $PATH
   6466 do
   6467   IFS=$as_save_IFS
   6468   test -z "$as_dir" && as_dir=.
   6469     for ac_exec_ext in '' $ac_executable_extensions; do
   6470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6471     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6473     break 2
   6474   fi
   6475 done
   6476   done
   6477 IFS=$as_save_IFS
   6478 
   6479 fi
   6480 fi
   6481 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6482 if test -n "$MANIFEST_TOOL"; then
   6483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6484 $as_echo "$MANIFEST_TOOL" >&6; }
   6485 else
   6486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6487 $as_echo "no" >&6; }
   6488 fi
   6489 
   6490 
   6491 fi
   6492 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6493   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6494   # Extract the first word of "mt", so it can be a program name with args.
   6495 set dummy mt; ac_word=$2
   6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6497 $as_echo_n "checking for $ac_word... " >&6; }
   6498 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6499   $as_echo_n "(cached) " >&6
   6500 else
   6501   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6502   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6503 else
   6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6505 for as_dir in $PATH
   6506 do
   6507   IFS=$as_save_IFS
   6508   test -z "$as_dir" && as_dir=.
   6509     for ac_exec_ext in '' $ac_executable_extensions; do
   6510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6511     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6513     break 2
   6514   fi
   6515 done
   6516   done
   6517 IFS=$as_save_IFS
   6518 
   6519 fi
   6520 fi
   6521 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6522 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6524 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6525 else
   6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6527 $as_echo "no" >&6; }
   6528 fi
   6529 
   6530   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6531     MANIFEST_TOOL=":"
   6532   else
   6533     case $cross_compiling:$ac_tool_warned in
   6534 yes:)
   6535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6537 ac_tool_warned=yes ;;
   6538 esac
   6539     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6540   fi
   6541 else
   6542   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6543 fi
   6544 
   6545 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6547 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6548 if ${lt_cv_path_mainfest_tool+:} false; then :
   6549   $as_echo_n "(cached) " >&6
   6550 else
   6551   lt_cv_path_mainfest_tool=no
   6552   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6553   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6554   cat conftest.err >&5
   6555   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6556     lt_cv_path_mainfest_tool=yes
   6557   fi
   6558   rm -f conftest*
   6559 fi
   6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6561 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6562 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6563   MANIFEST_TOOL=:
   6564 fi
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571   case $host_os in
   6572     rhapsody* | darwin*)
   6573     if test -n "$ac_tool_prefix"; then
   6574   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6575 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6577 $as_echo_n "checking for $ac_word... " >&6; }
   6578 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6579   $as_echo_n "(cached) " >&6
   6580 else
   6581   if test -n "$DSYMUTIL"; then
   6582   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6583 else
   6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6585 for as_dir in $PATH
   6586 do
   6587   IFS=$as_save_IFS
   6588   test -z "$as_dir" && as_dir=.
   6589     for ac_exec_ext in '' $ac_executable_extensions; do
   6590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6591     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6593     break 2
   6594   fi
   6595 done
   6596   done
   6597 IFS=$as_save_IFS
   6598 
   6599 fi
   6600 fi
   6601 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6602 if test -n "$DSYMUTIL"; then
   6603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6604 $as_echo "$DSYMUTIL" >&6; }
   6605 else
   6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6607 $as_echo "no" >&6; }
   6608 fi
   6609 
   6610 
   6611 fi
   6612 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6613   ac_ct_DSYMUTIL=$DSYMUTIL
   6614   # Extract the first word of "dsymutil", so it can be a program name with args.
   6615 set dummy dsymutil; ac_word=$2
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6617 $as_echo_n "checking for $ac_word... " >&6; }
   6618 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   if test -n "$ac_ct_DSYMUTIL"; then
   6622   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6623 else
   6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6625 for as_dir in $PATH
   6626 do
   6627   IFS=$as_save_IFS
   6628   test -z "$as_dir" && as_dir=.
   6629     for ac_exec_ext in '' $ac_executable_extensions; do
   6630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6631     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6633     break 2
   6634   fi
   6635 done
   6636   done
   6637 IFS=$as_save_IFS
   6638 
   6639 fi
   6640 fi
   6641 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6642 if test -n "$ac_ct_DSYMUTIL"; then
   6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6644 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6645 else
   6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6647 $as_echo "no" >&6; }
   6648 fi
   6649 
   6650   if test "x$ac_ct_DSYMUTIL" = x; then
   6651     DSYMUTIL=":"
   6652   else
   6653     case $cross_compiling:$ac_tool_warned in
   6654 yes:)
   6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6657 ac_tool_warned=yes ;;
   6658 esac
   6659     DSYMUTIL=$ac_ct_DSYMUTIL
   6660   fi
   6661 else
   6662   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6663 fi
   6664 
   6665     if test -n "$ac_tool_prefix"; then
   6666   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6667 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6669 $as_echo_n "checking for $ac_word... " >&6; }
   6670 if ${ac_cv_prog_NMEDIT+:} false; then :
   6671   $as_echo_n "(cached) " >&6
   6672 else
   6673   if test -n "$NMEDIT"; then
   6674   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6675 else
   6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6677 for as_dir in $PATH
   6678 do
   6679   IFS=$as_save_IFS
   6680   test -z "$as_dir" && as_dir=.
   6681     for ac_exec_ext in '' $ac_executable_extensions; do
   6682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6683     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6685     break 2
   6686   fi
   6687 done
   6688   done
   6689 IFS=$as_save_IFS
   6690 
   6691 fi
   6692 fi
   6693 NMEDIT=$ac_cv_prog_NMEDIT
   6694 if test -n "$NMEDIT"; then
   6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6696 $as_echo "$NMEDIT" >&6; }
   6697 else
   6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6699 $as_echo "no" >&6; }
   6700 fi
   6701 
   6702 
   6703 fi
   6704 if test -z "$ac_cv_prog_NMEDIT"; then
   6705   ac_ct_NMEDIT=$NMEDIT
   6706   # Extract the first word of "nmedit", so it can be a program name with args.
   6707 set dummy nmedit; ac_word=$2
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6709 $as_echo_n "checking for $ac_word... " >&6; }
   6710 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   if test -n "$ac_ct_NMEDIT"; then
   6714   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6715 else
   6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6717 for as_dir in $PATH
   6718 do
   6719   IFS=$as_save_IFS
   6720   test -z "$as_dir" && as_dir=.
   6721     for ac_exec_ext in '' $ac_executable_extensions; do
   6722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6723     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6725     break 2
   6726   fi
   6727 done
   6728   done
   6729 IFS=$as_save_IFS
   6730 
   6731 fi
   6732 fi
   6733 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6734 if test -n "$ac_ct_NMEDIT"; then
   6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6736 $as_echo "$ac_ct_NMEDIT" >&6; }
   6737 else
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6739 $as_echo "no" >&6; }
   6740 fi
   6741 
   6742   if test "x$ac_ct_NMEDIT" = x; then
   6743     NMEDIT=":"
   6744   else
   6745     case $cross_compiling:$ac_tool_warned in
   6746 yes:)
   6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6749 ac_tool_warned=yes ;;
   6750 esac
   6751     NMEDIT=$ac_ct_NMEDIT
   6752   fi
   6753 else
   6754   NMEDIT="$ac_cv_prog_NMEDIT"
   6755 fi
   6756 
   6757     if test -n "$ac_tool_prefix"; then
   6758   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6759 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6761 $as_echo_n "checking for $ac_word... " >&6; }
   6762 if ${ac_cv_prog_LIPO+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   if test -n "$LIPO"; then
   6766   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6767 else
   6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6769 for as_dir in $PATH
   6770 do
   6771   IFS=$as_save_IFS
   6772   test -z "$as_dir" && as_dir=.
   6773     for ac_exec_ext in '' $ac_executable_extensions; do
   6774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6775     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6777     break 2
   6778   fi
   6779 done
   6780   done
   6781 IFS=$as_save_IFS
   6782 
   6783 fi
   6784 fi
   6785 LIPO=$ac_cv_prog_LIPO
   6786 if test -n "$LIPO"; then
   6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6788 $as_echo "$LIPO" >&6; }
   6789 else
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6791 $as_echo "no" >&6; }
   6792 fi
   6793 
   6794 
   6795 fi
   6796 if test -z "$ac_cv_prog_LIPO"; then
   6797   ac_ct_LIPO=$LIPO
   6798   # Extract the first word of "lipo", so it can be a program name with args.
   6799 set dummy lipo; ac_word=$2
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6801 $as_echo_n "checking for $ac_word... " >&6; }
   6802 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   if test -n "$ac_ct_LIPO"; then
   6806   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6807 else
   6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6809 for as_dir in $PATH
   6810 do
   6811   IFS=$as_save_IFS
   6812   test -z "$as_dir" && as_dir=.
   6813     for ac_exec_ext in '' $ac_executable_extensions; do
   6814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6815     ac_cv_prog_ac_ct_LIPO="lipo"
   6816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6817     break 2
   6818   fi
   6819 done
   6820   done
   6821 IFS=$as_save_IFS
   6822 
   6823 fi
   6824 fi
   6825 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6826 if test -n "$ac_ct_LIPO"; then
   6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6828 $as_echo "$ac_ct_LIPO" >&6; }
   6829 else
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6831 $as_echo "no" >&6; }
   6832 fi
   6833 
   6834   if test "x$ac_ct_LIPO" = x; then
   6835     LIPO=":"
   6836   else
   6837     case $cross_compiling:$ac_tool_warned in
   6838 yes:)
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6841 ac_tool_warned=yes ;;
   6842 esac
   6843     LIPO=$ac_ct_LIPO
   6844   fi
   6845 else
   6846   LIPO="$ac_cv_prog_LIPO"
   6847 fi
   6848 
   6849     if test -n "$ac_tool_prefix"; then
   6850   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6851 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6853 $as_echo_n "checking for $ac_word... " >&6; }
   6854 if ${ac_cv_prog_OTOOL+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   if test -n "$OTOOL"; then
   6858   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6859 else
   6860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6861 for as_dir in $PATH
   6862 do
   6863   IFS=$as_save_IFS
   6864   test -z "$as_dir" && as_dir=.
   6865     for ac_exec_ext in '' $ac_executable_extensions; do
   6866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6867     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6869     break 2
   6870   fi
   6871 done
   6872   done
   6873 IFS=$as_save_IFS
   6874 
   6875 fi
   6876 fi
   6877 OTOOL=$ac_cv_prog_OTOOL
   6878 if test -n "$OTOOL"; then
   6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6880 $as_echo "$OTOOL" >&6; }
   6881 else
   6882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6883 $as_echo "no" >&6; }
   6884 fi
   6885 
   6886 
   6887 fi
   6888 if test -z "$ac_cv_prog_OTOOL"; then
   6889   ac_ct_OTOOL=$OTOOL
   6890   # Extract the first word of "otool", so it can be a program name with args.
   6891 set dummy otool; ac_word=$2
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6893 $as_echo_n "checking for $ac_word... " >&6; }
   6894 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6895   $as_echo_n "(cached) " >&6
   6896 else
   6897   if test -n "$ac_ct_OTOOL"; then
   6898   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6899 else
   6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6901 for as_dir in $PATH
   6902 do
   6903   IFS=$as_save_IFS
   6904   test -z "$as_dir" && as_dir=.
   6905     for ac_exec_ext in '' $ac_executable_extensions; do
   6906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6907     ac_cv_prog_ac_ct_OTOOL="otool"
   6908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6909     break 2
   6910   fi
   6911 done
   6912   done
   6913 IFS=$as_save_IFS
   6914 
   6915 fi
   6916 fi
   6917 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6918 if test -n "$ac_ct_OTOOL"; then
   6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6920 $as_echo "$ac_ct_OTOOL" >&6; }
   6921 else
   6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6923 $as_echo "no" >&6; }
   6924 fi
   6925 
   6926   if test "x$ac_ct_OTOOL" = x; then
   6927     OTOOL=":"
   6928   else
   6929     case $cross_compiling:$ac_tool_warned in
   6930 yes:)
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6933 ac_tool_warned=yes ;;
   6934 esac
   6935     OTOOL=$ac_ct_OTOOL
   6936   fi
   6937 else
   6938   OTOOL="$ac_cv_prog_OTOOL"
   6939 fi
   6940 
   6941     if test -n "$ac_tool_prefix"; then
   6942   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6943 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6945 $as_echo_n "checking for $ac_word... " >&6; }
   6946 if ${ac_cv_prog_OTOOL64+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   if test -n "$OTOOL64"; then
   6950   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6951 else
   6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6953 for as_dir in $PATH
   6954 do
   6955   IFS=$as_save_IFS
   6956   test -z "$as_dir" && as_dir=.
   6957     for ac_exec_ext in '' $ac_executable_extensions; do
   6958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6959     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6961     break 2
   6962   fi
   6963 done
   6964   done
   6965 IFS=$as_save_IFS
   6966 
   6967 fi
   6968 fi
   6969 OTOOL64=$ac_cv_prog_OTOOL64
   6970 if test -n "$OTOOL64"; then
   6971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6972 $as_echo "$OTOOL64" >&6; }
   6973 else
   6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6975 $as_echo "no" >&6; }
   6976 fi
   6977 
   6978 
   6979 fi
   6980 if test -z "$ac_cv_prog_OTOOL64"; then
   6981   ac_ct_OTOOL64=$OTOOL64
   6982   # Extract the first word of "otool64", so it can be a program name with args.
   6983 set dummy otool64; ac_word=$2
   6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6985 $as_echo_n "checking for $ac_word... " >&6; }
   6986 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6987   $as_echo_n "(cached) " >&6
   6988 else
   6989   if test -n "$ac_ct_OTOOL64"; then
   6990   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6991 else
   6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6993 for as_dir in $PATH
   6994 do
   6995   IFS=$as_save_IFS
   6996   test -z "$as_dir" && as_dir=.
   6997     for ac_exec_ext in '' $ac_executable_extensions; do
   6998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6999     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7001     break 2
   7002   fi
   7003 done
   7004   done
   7005 IFS=$as_save_IFS
   7006 
   7007 fi
   7008 fi
   7009 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7010 if test -n "$ac_ct_OTOOL64"; then
   7011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7012 $as_echo "$ac_ct_OTOOL64" >&6; }
   7013 else
   7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7015 $as_echo "no" >&6; }
   7016 fi
   7017 
   7018   if test "x$ac_ct_OTOOL64" = x; then
   7019     OTOOL64=":"
   7020   else
   7021     case $cross_compiling:$ac_tool_warned in
   7022 yes:)
   7023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7025 ac_tool_warned=yes ;;
   7026 esac
   7027     OTOOL64=$ac_ct_OTOOL64
   7028   fi
   7029 else
   7030   OTOOL64="$ac_cv_prog_OTOOL64"
   7031 fi
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7060 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7061 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7062   $as_echo_n "(cached) " >&6
   7063 else
   7064   lt_cv_apple_cc_single_mod=no
   7065       if test -z "${LT_MULTI_MODULE}"; then
   7066 	# By default we will add the -single_module flag. You can override
   7067 	# by either setting the environment variable LT_MULTI_MODULE
   7068 	# non-empty at configure time, or by adding -multi_module to the
   7069 	# link flags.
   7070 	rm -rf libconftest.dylib*
   7071 	echo "int foo(void){return 1;}" > conftest.c
   7072 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7073 -dynamiclib -Wl,-single_module conftest.c" >&5
   7074 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7075 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7076         _lt_result=$?
   7077 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7078 	  lt_cv_apple_cc_single_mod=yes
   7079 	else
   7080 	  cat conftest.err >&5
   7081 	fi
   7082 	rm -rf libconftest.dylib*
   7083 	rm -f conftest.*
   7084       fi
   7085 fi
   7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7087 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7089 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7090 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7091   $as_echo_n "(cached) " >&6
   7092 else
   7093   lt_cv_ld_exported_symbols_list=no
   7094       save_LDFLAGS=$LDFLAGS
   7095       echo "_main" > conftest.sym
   7096       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7098 /* end confdefs.h.  */
   7099 
   7100 int
   7101 main ()
   7102 {
   7103 
   7104   ;
   7105   return 0;
   7106 }
   7107 _ACEOF
   7108 if ac_fn_c_try_link "$LINENO"; then :
   7109   lt_cv_ld_exported_symbols_list=yes
   7110 else
   7111   lt_cv_ld_exported_symbols_list=no
   7112 fi
   7113 rm -f core conftest.err conftest.$ac_objext \
   7114     conftest$ac_exeext conftest.$ac_ext
   7115 	LDFLAGS="$save_LDFLAGS"
   7116 
   7117 fi
   7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7119 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7121 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7122 if ${lt_cv_ld_force_load+:} false; then :
   7123   $as_echo_n "(cached) " >&6
   7124 else
   7125   lt_cv_ld_force_load=no
   7126       cat > conftest.c << _LT_EOF
   7127 int forced_loaded() { return 2;}
   7128 _LT_EOF
   7129       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7130       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7131       echo "$AR cru libconftest.a conftest.o" >&5
   7132       $AR cru libconftest.a conftest.o 2>&5
   7133       echo "$RANLIB libconftest.a" >&5
   7134       $RANLIB libconftest.a 2>&5
   7135       cat > conftest.c << _LT_EOF
   7136 int main() { return 0;}
   7137 _LT_EOF
   7138       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7139       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7140       _lt_result=$?
   7141       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7142 	lt_cv_ld_force_load=yes
   7143       else
   7144 	cat conftest.err >&5
   7145       fi
   7146         rm -f conftest.err libconftest.a conftest conftest.c
   7147         rm -rf conftest.dSYM
   7148 
   7149 fi
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7151 $as_echo "$lt_cv_ld_force_load" >&6; }
   7152     case $host_os in
   7153     rhapsody* | darwin1.[012])
   7154       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7155     darwin1.*)
   7156       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7157     darwin*) # darwin 5.x on
   7158       # if running on 10.5 or later, the deployment target defaults
   7159       # to the OS version, if on x86, and 10.4, the deployment
   7160       # target defaults to 10.4. Don't you love it?
   7161       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7162 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7163 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7164 	10.[012]*)
   7165 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7166 	10.*)
   7167 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7168       esac
   7169     ;;
   7170   esac
   7171     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7172       _lt_dar_single_mod='$single_module'
   7173     fi
   7174     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7175       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7176     else
   7177       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7178     fi
   7179     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7180       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7181     else
   7182       _lt_dsymutil=
   7183     fi
   7184     ;;
   7185   esac
   7186 
   7187 ac_ext=c
   7188 ac_cpp='$CPP $CPPFLAGS'
   7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7193 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7194 # On Suns, sometimes $CPP names a directory.
   7195 if test -n "$CPP" && test -d "$CPP"; then
   7196   CPP=
   7197 fi
   7198 if test -z "$CPP"; then
   7199   if ${ac_cv_prog_CPP+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202       # Double quotes because CPP needs to be expanded
   7203     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7204     do
   7205       ac_preproc_ok=false
   7206 for ac_c_preproc_warn_flag in '' yes
   7207 do
   7208   # Use a header file that comes with gcc, so configuring glibc
   7209   # with a fresh cross-compiler works.
   7210   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7211   # <limits.h> exists even on freestanding compilers.
   7212   # On the NeXT, cc -E runs the code through the compiler's parser,
   7213   # not just through cpp. "Syntax error" is here to catch this case.
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 #ifdef __STDC__
   7217 # include <limits.h>
   7218 #else
   7219 # include <assert.h>
   7220 #endif
   7221 		     Syntax error
   7222 _ACEOF
   7223 if ac_fn_c_try_cpp "$LINENO"; then :
   7224 
   7225 else
   7226   # Broken: fails on valid input.
   7227 continue
   7228 fi
   7229 rm -f conftest.err conftest.i conftest.$ac_ext
   7230 
   7231   # OK, works on sane cases.  Now check whether nonexistent headers
   7232   # can be detected and how.
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 #include <ac_nonexistent.h>
   7236 _ACEOF
   7237 if ac_fn_c_try_cpp "$LINENO"; then :
   7238   # Broken: success on invalid input.
   7239 continue
   7240 else
   7241   # Passes both tests.
   7242 ac_preproc_ok=:
   7243 break
   7244 fi
   7245 rm -f conftest.err conftest.i conftest.$ac_ext
   7246 
   7247 done
   7248 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7249 rm -f conftest.i conftest.err conftest.$ac_ext
   7250 if $ac_preproc_ok; then :
   7251   break
   7252 fi
   7253 
   7254     done
   7255     ac_cv_prog_CPP=$CPP
   7256 
   7257 fi
   7258   CPP=$ac_cv_prog_CPP
   7259 else
   7260   ac_cv_prog_CPP=$CPP
   7261 fi
   7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7263 $as_echo "$CPP" >&6; }
   7264 ac_preproc_ok=false
   7265 for ac_c_preproc_warn_flag in '' yes
   7266 do
   7267   # Use a header file that comes with gcc, so configuring glibc
   7268   # with a fresh cross-compiler works.
   7269   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7270   # <limits.h> exists even on freestanding compilers.
   7271   # On the NeXT, cc -E runs the code through the compiler's parser,
   7272   # not just through cpp. "Syntax error" is here to catch this case.
   7273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7274 /* end confdefs.h.  */
   7275 #ifdef __STDC__
   7276 # include <limits.h>
   7277 #else
   7278 # include <assert.h>
   7279 #endif
   7280 		     Syntax error
   7281 _ACEOF
   7282 if ac_fn_c_try_cpp "$LINENO"; then :
   7283 
   7284 else
   7285   # Broken: fails on valid input.
   7286 continue
   7287 fi
   7288 rm -f conftest.err conftest.i conftest.$ac_ext
   7289 
   7290   # OK, works on sane cases.  Now check whether nonexistent headers
   7291   # can be detected and how.
   7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 #include <ac_nonexistent.h>
   7295 _ACEOF
   7296 if ac_fn_c_try_cpp "$LINENO"; then :
   7297   # Broken: success on invalid input.
   7298 continue
   7299 else
   7300   # Passes both tests.
   7301 ac_preproc_ok=:
   7302 break
   7303 fi
   7304 rm -f conftest.err conftest.i conftest.$ac_ext
   7305 
   7306 done
   7307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7308 rm -f conftest.i conftest.err conftest.$ac_ext
   7309 if $ac_preproc_ok; then :
   7310 
   7311 else
   7312   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7314 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7315 See \`config.log' for more details" "$LINENO" 5; }
   7316 fi
   7317 
   7318 ac_ext=c
   7319 ac_cpp='$CPP $CPPFLAGS'
   7320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7323 
   7324 
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7326 $as_echo_n "checking for ANSI C header files... " >&6; }
   7327 if ${ac_cv_header_stdc+:} false; then :
   7328   $as_echo_n "(cached) " >&6
   7329 else
   7330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7331 /* end confdefs.h.  */
   7332 #include <stdlib.h>
   7333 #include <stdarg.h>
   7334 #include <string.h>
   7335 #include <float.h>
   7336 
   7337 int
   7338 main ()
   7339 {
   7340 
   7341   ;
   7342   return 0;
   7343 }
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"; then :
   7346   ac_cv_header_stdc=yes
   7347 else
   7348   ac_cv_header_stdc=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7351 
   7352 if test $ac_cv_header_stdc = yes; then
   7353   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7355 /* end confdefs.h.  */
   7356 #include <string.h>
   7357 
   7358 _ACEOF
   7359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7360   $EGREP "memchr" >/dev/null 2>&1; then :
   7361 
   7362 else
   7363   ac_cv_header_stdc=no
   7364 fi
   7365 rm -f conftest*
   7366 
   7367 fi
   7368 
   7369 if test $ac_cv_header_stdc = yes; then
   7370   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7372 /* end confdefs.h.  */
   7373 #include <stdlib.h>
   7374 
   7375 _ACEOF
   7376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7377   $EGREP "free" >/dev/null 2>&1; then :
   7378 
   7379 else
   7380   ac_cv_header_stdc=no
   7381 fi
   7382 rm -f conftest*
   7383 
   7384 fi
   7385 
   7386 if test $ac_cv_header_stdc = yes; then
   7387   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7388   if test "$cross_compiling" = yes; then :
   7389   :
   7390 else
   7391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7392 /* end confdefs.h.  */
   7393 #include <ctype.h>
   7394 #include <stdlib.h>
   7395 #if ((' ' & 0x0FF) == 0x020)
   7396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7398 #else
   7399 # define ISLOWER(c) \
   7400 		   (('a' <= (c) && (c) <= 'i') \
   7401 		     || ('j' <= (c) && (c) <= 'r') \
   7402 		     || ('s' <= (c) && (c) <= 'z'))
   7403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7404 #endif
   7405 
   7406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7407 int
   7408 main ()
   7409 {
   7410   int i;
   7411   for (i = 0; i < 256; i++)
   7412     if (XOR (islower (i), ISLOWER (i))
   7413 	|| toupper (i) != TOUPPER (i))
   7414       return 2;
   7415   return 0;
   7416 }
   7417 _ACEOF
   7418 if ac_fn_c_try_run "$LINENO"; then :
   7419 
   7420 else
   7421   ac_cv_header_stdc=no
   7422 fi
   7423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7424   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7425 fi
   7426 
   7427 fi
   7428 fi
   7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7430 $as_echo "$ac_cv_header_stdc" >&6; }
   7431 if test $ac_cv_header_stdc = yes; then
   7432 
   7433 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7434 
   7435 fi
   7436 
   7437 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7438 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7439 		  inttypes.h stdint.h unistd.h
   7440 do :
   7441   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7442 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7443 "
   7444 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7445   cat >>confdefs.h <<_ACEOF
   7446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7447 _ACEOF
   7448 
   7449 fi
   7450 
   7451 done
   7452 
   7453 
   7454 for ac_header in dlfcn.h
   7455 do :
   7456   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7457 "
   7458 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7459   cat >>confdefs.h <<_ACEOF
   7460 #define HAVE_DLFCN_H 1
   7461 _ACEOF
   7462 
   7463 fi
   7464 
   7465 done
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 # Set options
   7472 
   7473 
   7474 
   7475         enable_dlopen=no
   7476 
   7477 
   7478   enable_win32_dll=no
   7479 
   7480 
   7481             # Check whether --enable-shared was given.
   7482 if test "${enable_shared+set}" = set; then :
   7483   enableval=$enable_shared; p=${PACKAGE-default}
   7484     case $enableval in
   7485     yes) enable_shared=yes ;;
   7486     no) enable_shared=no ;;
   7487     *)
   7488       enable_shared=no
   7489       # Look at the argument we got.  We use all the common list separators.
   7490       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7491       for pkg in $enableval; do
   7492 	IFS="$lt_save_ifs"
   7493 	if test "X$pkg" = "X$p"; then
   7494 	  enable_shared=yes
   7495 	fi
   7496       done
   7497       IFS="$lt_save_ifs"
   7498       ;;
   7499     esac
   7500 else
   7501   enable_shared=yes
   7502 fi
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512   # Check whether --enable-static was given.
   7513 if test "${enable_static+set}" = set; then :
   7514   enableval=$enable_static; p=${PACKAGE-default}
   7515     case $enableval in
   7516     yes) enable_static=yes ;;
   7517     no) enable_static=no ;;
   7518     *)
   7519      enable_static=no
   7520       # Look at the argument we got.  We use all the common list separators.
   7521       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7522       for pkg in $enableval; do
   7523 	IFS="$lt_save_ifs"
   7524 	if test "X$pkg" = "X$p"; then
   7525 	  enable_static=yes
   7526 	fi
   7527       done
   7528       IFS="$lt_save_ifs"
   7529       ;;
   7530     esac
   7531 else
   7532   enable_static=yes
   7533 fi
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 # Check whether --with-pic was given.
   7545 if test "${with_pic+set}" = set; then :
   7546   withval=$with_pic; pic_mode="$withval"
   7547 else
   7548   pic_mode=default
   7549 fi
   7550 
   7551 
   7552 test -z "$pic_mode" && pic_mode=default
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560   # Check whether --enable-fast-install was given.
   7561 if test "${enable_fast_install+set}" = set; then :
   7562   enableval=$enable_fast_install; p=${PACKAGE-default}
   7563     case $enableval in
   7564     yes) enable_fast_install=yes ;;
   7565     no) enable_fast_install=no ;;
   7566     *)
   7567       enable_fast_install=no
   7568       # Look at the argument we got.  We use all the common list separators.
   7569       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7570       for pkg in $enableval; do
   7571 	IFS="$lt_save_ifs"
   7572 	if test "X$pkg" = "X$p"; then
   7573 	  enable_fast_install=yes
   7574 	fi
   7575       done
   7576       IFS="$lt_save_ifs"
   7577       ;;
   7578     esac
   7579 else
   7580   enable_fast_install=yes
   7581 fi
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 # This can be used to rebuild libtool when needed
   7594 LIBTOOL_DEPS="$ltmain"
   7595 
   7596 # Always use our own libtool.
   7597 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 test -z "$LN_S" && LN_S="ln -s"
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 if test -n "${ZSH_VERSION+set}" ; then
   7640    setopt NO_GLOB_SUBST
   7641 fi
   7642 
   7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7644 $as_echo_n "checking for objdir... " >&6; }
   7645 if ${lt_cv_objdir+:} false; then :
   7646   $as_echo_n "(cached) " >&6
   7647 else
   7648   rm -f .libs 2>/dev/null
   7649 mkdir .libs 2>/dev/null
   7650 if test -d .libs; then
   7651   lt_cv_objdir=.libs
   7652 else
   7653   # MS-DOS does not allow filenames that begin with a dot.
   7654   lt_cv_objdir=_libs
   7655 fi
   7656 rmdir .libs 2>/dev/null
   7657 fi
   7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7659 $as_echo "$lt_cv_objdir" >&6; }
   7660 objdir=$lt_cv_objdir
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 cat >>confdefs.h <<_ACEOF
   7667 #define LT_OBJDIR "$lt_cv_objdir/"
   7668 _ACEOF
   7669 
   7670 
   7671 
   7672 
   7673 case $host_os in
   7674 aix3*)
   7675   # AIX sometimes has problems with the GCC collect2 program.  For some
   7676   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7677   # vanish in a puff of smoke.
   7678   if test "X${COLLECT_NAMES+set}" != Xset; then
   7679     COLLECT_NAMES=
   7680     export COLLECT_NAMES
   7681   fi
   7682   ;;
   7683 esac
   7684 
   7685 # Global variables:
   7686 ofile=libtool
   7687 can_build_shared=yes
   7688 
   7689 # All known linkers require a `.a' archive for static linking (except MSVC,
   7690 # which needs '.lib').
   7691 libext=a
   7692 
   7693 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7694 
   7695 old_CC="$CC"
   7696 old_CFLAGS="$CFLAGS"
   7697 
   7698 # Set sane defaults for various variables
   7699 test -z "$CC" && CC=cc
   7700 test -z "$LTCC" && LTCC=$CC
   7701 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7702 test -z "$LD" && LD=ld
   7703 test -z "$ac_objext" && ac_objext=o
   7704 
   7705 for cc_temp in $compiler""; do
   7706   case $cc_temp in
   7707     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7708     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7709     \-*) ;;
   7710     *) break;;
   7711   esac
   7712 done
   7713 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7714 
   7715 
   7716 # Only perform the check for file, if the check method requires it
   7717 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7718 case $deplibs_check_method in
   7719 file_magic*)
   7720   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7722 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7723 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7724   $as_echo_n "(cached) " >&6
   7725 else
   7726   case $MAGIC_CMD in
   7727 [\\/*] |  ?:[\\/]*)
   7728   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7729   ;;
   7730 *)
   7731   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7732   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7733   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7734   for ac_dir in $ac_dummy; do
   7735     IFS="$lt_save_ifs"
   7736     test -z "$ac_dir" && ac_dir=.
   7737     if test -f $ac_dir/${ac_tool_prefix}file; then
   7738       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7739       if test -n "$file_magic_test_file"; then
   7740 	case $deplibs_check_method in
   7741 	"file_magic "*)
   7742 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7743 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7744 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7745 	    $EGREP "$file_magic_regex" > /dev/null; then
   7746 	    :
   7747 	  else
   7748 	    cat <<_LT_EOF 1>&2
   7749 
   7750 *** Warning: the command libtool uses to detect shared libraries,
   7751 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7752 *** The result is that libtool may fail to recognize shared libraries
   7753 *** as such.  This will affect the creation of libtool libraries that
   7754 *** depend on shared libraries, but programs linked with such libtool
   7755 *** libraries will work regardless of this problem.  Nevertheless, you
   7756 *** may want to report the problem to your system manager and/or to
   7757 *** bug-libtool@gnu.org
   7758 
   7759 _LT_EOF
   7760 	  fi ;;
   7761 	esac
   7762       fi
   7763       break
   7764     fi
   7765   done
   7766   IFS="$lt_save_ifs"
   7767   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7768   ;;
   7769 esac
   7770 fi
   7771 
   7772 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7773 if test -n "$MAGIC_CMD"; then
   7774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7775 $as_echo "$MAGIC_CMD" >&6; }
   7776 else
   7777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7778 $as_echo "no" >&6; }
   7779 fi
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7786   if test -n "$ac_tool_prefix"; then
   7787     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7788 $as_echo_n "checking for file... " >&6; }
   7789 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7790   $as_echo_n "(cached) " >&6
   7791 else
   7792   case $MAGIC_CMD in
   7793 [\\/*] |  ?:[\\/]*)
   7794   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7795   ;;
   7796 *)
   7797   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7798   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7799   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7800   for ac_dir in $ac_dummy; do
   7801     IFS="$lt_save_ifs"
   7802     test -z "$ac_dir" && ac_dir=.
   7803     if test -f $ac_dir/file; then
   7804       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7805       if test -n "$file_magic_test_file"; then
   7806 	case $deplibs_check_method in
   7807 	"file_magic "*)
   7808 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7809 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7810 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7811 	    $EGREP "$file_magic_regex" > /dev/null; then
   7812 	    :
   7813 	  else
   7814 	    cat <<_LT_EOF 1>&2
   7815 
   7816 *** Warning: the command libtool uses to detect shared libraries,
   7817 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7818 *** The result is that libtool may fail to recognize shared libraries
   7819 *** as such.  This will affect the creation of libtool libraries that
   7820 *** depend on shared libraries, but programs linked with such libtool
   7821 *** libraries will work regardless of this problem.  Nevertheless, you
   7822 *** may want to report the problem to your system manager and/or to
   7823 *** bug-libtool@gnu.org
   7824 
   7825 _LT_EOF
   7826 	  fi ;;
   7827 	esac
   7828       fi
   7829       break
   7830     fi
   7831   done
   7832   IFS="$lt_save_ifs"
   7833   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7834   ;;
   7835 esac
   7836 fi
   7837 
   7838 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7839 if test -n "$MAGIC_CMD"; then
   7840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7841 $as_echo "$MAGIC_CMD" >&6; }
   7842 else
   7843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7844 $as_echo "no" >&6; }
   7845 fi
   7846 
   7847 
   7848   else
   7849     MAGIC_CMD=:
   7850   fi
   7851 fi
   7852 
   7853   fi
   7854   ;;
   7855 esac
   7856 
   7857 # Use C for the default configuration in the libtool script
   7858 
   7859 lt_save_CC="$CC"
   7860 ac_ext=c
   7861 ac_cpp='$CPP $CPPFLAGS'
   7862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7865 
   7866 
   7867 # Source file extension for C test sources.
   7868 ac_ext=c
   7869 
   7870 # Object file extension for compiled C test sources.
   7871 objext=o
   7872 objext=$objext
   7873 
   7874 # Code to be used in simple compile tests
   7875 lt_simple_compile_test_code="int some_variable = 0;"
   7876 
   7877 # Code to be used in simple link tests
   7878 lt_simple_link_test_code='int main(){return(0);}'
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 # If no C compiler was specified, use CC.
   7887 LTCC=${LTCC-"$CC"}
   7888 
   7889 # If no C compiler flags were specified, use CFLAGS.
   7890 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7891 
   7892 # Allow CC to be a program name with arguments.
   7893 compiler=$CC
   7894 
   7895 # Save the default compiler, since it gets overwritten when the other
   7896 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7897 compiler_DEFAULT=$CC
   7898 
   7899 # save warnings/boilerplate of simple test code
   7900 ac_outfile=conftest.$ac_objext
   7901 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7902 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7903 _lt_compiler_boilerplate=`cat conftest.err`
   7904 $RM conftest*
   7905 
   7906 ac_outfile=conftest.$ac_objext
   7907 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7908 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7909 _lt_linker_boilerplate=`cat conftest.err`
   7910 $RM -r conftest*
   7911 
   7912 
   7913 if test -n "$compiler"; then
   7914 
   7915 lt_prog_compiler_no_builtin_flag=
   7916 
   7917 if test "$GCC" = yes; then
   7918   case $cc_basename in
   7919   nvcc*)
   7920     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7921   *)
   7922     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7923   esac
   7924 
   7925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7926 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7927 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   lt_cv_prog_compiler_rtti_exceptions=no
   7931    ac_outfile=conftest.$ac_objext
   7932    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7933    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7934    # Insert the option either (1) after the last *FLAGS variable, or
   7935    # (2) before a word containing "conftest.", or (3) at the end.
   7936    # Note that $ac_compile itself does not contain backslashes and begins
   7937    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7938    # The option is referenced via a variable to avoid confusing sed.
   7939    lt_compile=`echo "$ac_compile" | $SED \
   7940    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7941    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7942    -e 's:$: $lt_compiler_flag:'`
   7943    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7944    (eval "$lt_compile" 2>conftest.err)
   7945    ac_status=$?
   7946    cat conftest.err >&5
   7947    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7948    if (exit $ac_status) && test -s "$ac_outfile"; then
   7949      # The compiler can only warn and ignore the option if not recognized
   7950      # So say no if there are warnings other than the usual output.
   7951      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7952      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7953      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7954        lt_cv_prog_compiler_rtti_exceptions=yes
   7955      fi
   7956    fi
   7957    $RM conftest*
   7958 
   7959 fi
   7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7961 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7962 
   7963 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7964     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7965 else
   7966     :
   7967 fi
   7968 
   7969 fi
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976   lt_prog_compiler_wl=
   7977 lt_prog_compiler_pic=
   7978 lt_prog_compiler_static=
   7979 
   7980 
   7981   if test "$GCC" = yes; then
   7982     lt_prog_compiler_wl='-Wl,'
   7983     lt_prog_compiler_static='-static'
   7984 
   7985     case $host_os in
   7986       aix*)
   7987       # All AIX code is PIC.
   7988       if test "$host_cpu" = ia64; then
   7989 	# AIX 5 now supports IA64 processor
   7990 	lt_prog_compiler_static='-Bstatic'
   7991       fi
   7992       ;;
   7993 
   7994     amigaos*)
   7995       case $host_cpu in
   7996       powerpc)
   7997             # see comment about AmigaOS4 .so support
   7998             lt_prog_compiler_pic='-fPIC'
   7999         ;;
   8000       m68k)
   8001             # FIXME: we need at least 68020 code to build shared libraries, but
   8002             # adding the `-m68020' flag to GCC prevents building anything better,
   8003             # like `-m68040'.
   8004             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8005         ;;
   8006       esac
   8007       ;;
   8008 
   8009     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8010       # PIC is the default for these OSes.
   8011       ;;
   8012 
   8013     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8014       # This hack is so that the source file can tell whether it is being
   8015       # built for inclusion in a dll (and should export symbols for example).
   8016       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8017       # (--disable-auto-import) libraries
   8018       lt_prog_compiler_pic='-DDLL_EXPORT'
   8019       ;;
   8020 
   8021     darwin* | rhapsody*)
   8022       # PIC is the default on this platform
   8023       # Common symbols not allowed in MH_DYLIB files
   8024       lt_prog_compiler_pic='-fno-common'
   8025       ;;
   8026 
   8027     haiku*)
   8028       # PIC is the default for Haiku.
   8029       # The "-static" flag exists, but is broken.
   8030       lt_prog_compiler_static=
   8031       ;;
   8032 
   8033     hpux*)
   8034       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8035       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8036       # sets the default TLS model and affects inlining.
   8037       case $host_cpu in
   8038       hppa*64*)
   8039 	# +Z the default
   8040 	;;
   8041       *)
   8042 	lt_prog_compiler_pic='-fPIC'
   8043 	;;
   8044       esac
   8045       ;;
   8046 
   8047     interix[3-9]*)
   8048       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8049       # Instead, we relocate shared libraries at runtime.
   8050       ;;
   8051 
   8052     msdosdjgpp*)
   8053       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8054       # on systems that don't support them.
   8055       lt_prog_compiler_can_build_shared=no
   8056       enable_shared=no
   8057       ;;
   8058 
   8059     *nto* | *qnx*)
   8060       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8061       # it will coredump.
   8062       lt_prog_compiler_pic='-fPIC -shared'
   8063       ;;
   8064 
   8065     sysv4*MP*)
   8066       if test -d /usr/nec; then
   8067 	lt_prog_compiler_pic=-Kconform_pic
   8068       fi
   8069       ;;
   8070 
   8071     *)
   8072       lt_prog_compiler_pic='-fPIC'
   8073       ;;
   8074     esac
   8075 
   8076     case $cc_basename in
   8077     nvcc*) # Cuda Compiler Driver 2.2
   8078       lt_prog_compiler_wl='-Xlinker '
   8079       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8080       ;;
   8081     esac
   8082   else
   8083     # PORTME Check for flag to pass linker flags through the system compiler.
   8084     case $host_os in
   8085     aix*)
   8086       lt_prog_compiler_wl='-Wl,'
   8087       if test "$host_cpu" = ia64; then
   8088 	# AIX 5 now supports IA64 processor
   8089 	lt_prog_compiler_static='-Bstatic'
   8090       else
   8091 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8092       fi
   8093       ;;
   8094 
   8095     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8096       # This hack is so that the source file can tell whether it is being
   8097       # built for inclusion in a dll (and should export symbols for example).
   8098       lt_prog_compiler_pic='-DDLL_EXPORT'
   8099       ;;
   8100 
   8101     hpux9* | hpux10* | hpux11*)
   8102       lt_prog_compiler_wl='-Wl,'
   8103       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8104       # not for PA HP-UX.
   8105       case $host_cpu in
   8106       hppa*64*|ia64*)
   8107 	# +Z the default
   8108 	;;
   8109       *)
   8110 	lt_prog_compiler_pic='+Z'
   8111 	;;
   8112       esac
   8113       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8114       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8115       ;;
   8116 
   8117     irix5* | irix6* | nonstopux*)
   8118       lt_prog_compiler_wl='-Wl,'
   8119       # PIC (with -KPIC) is the default.
   8120       lt_prog_compiler_static='-non_shared'
   8121       ;;
   8122 
   8123     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8124       case $cc_basename in
   8125       # old Intel for x86_64 which still supported -KPIC.
   8126       ecc*)
   8127 	lt_prog_compiler_wl='-Wl,'
   8128 	lt_prog_compiler_pic='-KPIC'
   8129 	lt_prog_compiler_static='-static'
   8130         ;;
   8131       # icc used to be incompatible with GCC.
   8132       # ICC 10 doesn't accept -KPIC any more.
   8133       icc* | ifort*)
   8134 	lt_prog_compiler_wl='-Wl,'
   8135 	lt_prog_compiler_pic='-fPIC'
   8136 	lt_prog_compiler_static='-static'
   8137         ;;
   8138       # Lahey Fortran 8.1.
   8139       lf95*)
   8140 	lt_prog_compiler_wl='-Wl,'
   8141 	lt_prog_compiler_pic='--shared'
   8142 	lt_prog_compiler_static='--static'
   8143 	;;
   8144       nagfor*)
   8145 	# NAG Fortran compiler
   8146 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8147 	lt_prog_compiler_pic='-PIC'
   8148 	lt_prog_compiler_static='-Bstatic'
   8149 	;;
   8150       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8151         # Portland Group compilers (*not* the Pentium gcc compiler,
   8152 	# which looks to be a dead project)
   8153 	lt_prog_compiler_wl='-Wl,'
   8154 	lt_prog_compiler_pic='-fpic'
   8155 	lt_prog_compiler_static='-Bstatic'
   8156         ;;
   8157       ccc*)
   8158         lt_prog_compiler_wl='-Wl,'
   8159         # All Alpha code is PIC.
   8160         lt_prog_compiler_static='-non_shared'
   8161         ;;
   8162       xl* | bgxl* | bgf* | mpixl*)
   8163 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8164 	lt_prog_compiler_wl='-Wl,'
   8165 	lt_prog_compiler_pic='-qpic'
   8166 	lt_prog_compiler_static='-qstaticlink'
   8167 	;;
   8168       *)
   8169 	case `$CC -V 2>&1 | sed 5q` in
   8170 	*Sun\ F* | *Sun*Fortran*)
   8171 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8172 	  lt_prog_compiler_pic='-KPIC'
   8173 	  lt_prog_compiler_static='-Bstatic'
   8174 	  lt_prog_compiler_wl=''
   8175 	  ;;
   8176 	*Sun\ C*)
   8177 	  # Sun C 5.9
   8178 	  lt_prog_compiler_pic='-KPIC'
   8179 	  lt_prog_compiler_static='-Bstatic'
   8180 	  lt_prog_compiler_wl='-Wl,'
   8181 	  ;;
   8182 	esac
   8183 	;;
   8184       esac
   8185       ;;
   8186 
   8187     newsos6)
   8188       lt_prog_compiler_pic='-KPIC'
   8189       lt_prog_compiler_static='-Bstatic'
   8190       ;;
   8191 
   8192     *nto* | *qnx*)
   8193       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8194       # it will coredump.
   8195       lt_prog_compiler_pic='-fPIC -shared'
   8196       ;;
   8197 
   8198     osf3* | osf4* | osf5*)
   8199       lt_prog_compiler_wl='-Wl,'
   8200       # All OSF/1 code is PIC.
   8201       lt_prog_compiler_static='-non_shared'
   8202       ;;
   8203 
   8204     rdos*)
   8205       lt_prog_compiler_static='-non_shared'
   8206       ;;
   8207 
   8208     solaris*)
   8209       lt_prog_compiler_pic='-KPIC'
   8210       lt_prog_compiler_static='-Bstatic'
   8211       case $cc_basename in
   8212       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8213 	lt_prog_compiler_wl='-Qoption ld ';;
   8214       *)
   8215 	lt_prog_compiler_wl='-Wl,';;
   8216       esac
   8217       ;;
   8218 
   8219     sunos4*)
   8220       lt_prog_compiler_wl='-Qoption ld '
   8221       lt_prog_compiler_pic='-PIC'
   8222       lt_prog_compiler_static='-Bstatic'
   8223       ;;
   8224 
   8225     sysv4 | sysv4.2uw2* | sysv4.3*)
   8226       lt_prog_compiler_wl='-Wl,'
   8227       lt_prog_compiler_pic='-KPIC'
   8228       lt_prog_compiler_static='-Bstatic'
   8229       ;;
   8230 
   8231     sysv4*MP*)
   8232       if test -d /usr/nec ;then
   8233 	lt_prog_compiler_pic='-Kconform_pic'
   8234 	lt_prog_compiler_static='-Bstatic'
   8235       fi
   8236       ;;
   8237 
   8238     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8239       lt_prog_compiler_wl='-Wl,'
   8240       lt_prog_compiler_pic='-KPIC'
   8241       lt_prog_compiler_static='-Bstatic'
   8242       ;;
   8243 
   8244     unicos*)
   8245       lt_prog_compiler_wl='-Wl,'
   8246       lt_prog_compiler_can_build_shared=no
   8247       ;;
   8248 
   8249     uts4*)
   8250       lt_prog_compiler_pic='-pic'
   8251       lt_prog_compiler_static='-Bstatic'
   8252       ;;
   8253 
   8254     *)
   8255       lt_prog_compiler_can_build_shared=no
   8256       ;;
   8257     esac
   8258   fi
   8259 
   8260 case $host_os in
   8261   # For platforms which do not support PIC, -DPIC is meaningless:
   8262   *djgpp*)
   8263     lt_prog_compiler_pic=
   8264     ;;
   8265   *)
   8266     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8267     ;;
   8268 esac
   8269 
   8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8271 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8272 if ${lt_cv_prog_compiler_pic+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8276 fi
   8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8278 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8279 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8280 
   8281 #
   8282 # Check to make sure the PIC flag actually works.
   8283 #
   8284 if test -n "$lt_prog_compiler_pic"; then
   8285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8286 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8287 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8288   $as_echo_n "(cached) " >&6
   8289 else
   8290   lt_cv_prog_compiler_pic_works=no
   8291    ac_outfile=conftest.$ac_objext
   8292    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8293    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8294    # Insert the option either (1) after the last *FLAGS variable, or
   8295    # (2) before a word containing "conftest.", or (3) at the end.
   8296    # Note that $ac_compile itself does not contain backslashes and begins
   8297    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8298    # The option is referenced via a variable to avoid confusing sed.
   8299    lt_compile=`echo "$ac_compile" | $SED \
   8300    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8301    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8302    -e 's:$: $lt_compiler_flag:'`
   8303    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8304    (eval "$lt_compile" 2>conftest.err)
   8305    ac_status=$?
   8306    cat conftest.err >&5
   8307    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8308    if (exit $ac_status) && test -s "$ac_outfile"; then
   8309      # The compiler can only warn and ignore the option if not recognized
   8310      # So say no if there are warnings other than the usual output.
   8311      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8312      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8313      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8314        lt_cv_prog_compiler_pic_works=yes
   8315      fi
   8316    fi
   8317    $RM conftest*
   8318 
   8319 fi
   8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8321 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8322 
   8323 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8324     case $lt_prog_compiler_pic in
   8325      "" | " "*) ;;
   8326      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8327      esac
   8328 else
   8329     lt_prog_compiler_pic=
   8330      lt_prog_compiler_can_build_shared=no
   8331 fi
   8332 
   8333 fi
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 #
   8346 # Check to make sure the static flag actually works.
   8347 #
   8348 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8350 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8351 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8352   $as_echo_n "(cached) " >&6
   8353 else
   8354   lt_cv_prog_compiler_static_works=no
   8355    save_LDFLAGS="$LDFLAGS"
   8356    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8357    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8358    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8359      # The linker can only warn and ignore the option if not recognized
   8360      # So say no if there are warnings
   8361      if test -s conftest.err; then
   8362        # Append any errors to the config.log.
   8363        cat conftest.err 1>&5
   8364        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8365        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8366        if diff conftest.exp conftest.er2 >/dev/null; then
   8367          lt_cv_prog_compiler_static_works=yes
   8368        fi
   8369      else
   8370        lt_cv_prog_compiler_static_works=yes
   8371      fi
   8372    fi
   8373    $RM -r conftest*
   8374    LDFLAGS="$save_LDFLAGS"
   8375 
   8376 fi
   8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8378 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8379 
   8380 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8381     :
   8382 else
   8383     lt_prog_compiler_static=
   8384 fi
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8393 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8394 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8395   $as_echo_n "(cached) " >&6
   8396 else
   8397   lt_cv_prog_compiler_c_o=no
   8398    $RM -r conftest 2>/dev/null
   8399    mkdir conftest
   8400    cd conftest
   8401    mkdir out
   8402    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8403 
   8404    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8405    # Insert the option either (1) after the last *FLAGS variable, or
   8406    # (2) before a word containing "conftest.", or (3) at the end.
   8407    # Note that $ac_compile itself does not contain backslashes and begins
   8408    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8409    lt_compile=`echo "$ac_compile" | $SED \
   8410    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8411    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8412    -e 's:$: $lt_compiler_flag:'`
   8413    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8414    (eval "$lt_compile" 2>out/conftest.err)
   8415    ac_status=$?
   8416    cat out/conftest.err >&5
   8417    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8418    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8419    then
   8420      # The compiler can only warn and ignore the option if not recognized
   8421      # So say no if there are warnings
   8422      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8423      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8424      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8425        lt_cv_prog_compiler_c_o=yes
   8426      fi
   8427    fi
   8428    chmod u+w . 2>&5
   8429    $RM conftest*
   8430    # SGI C++ compiler will create directory out/ii_files/ for
   8431    # template instantiation
   8432    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8433    $RM out/* && rmdir out
   8434    cd ..
   8435    $RM -r conftest
   8436    $RM conftest*
   8437 
   8438 fi
   8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8440 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8448 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8449 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8450   $as_echo_n "(cached) " >&6
   8451 else
   8452   lt_cv_prog_compiler_c_o=no
   8453    $RM -r conftest 2>/dev/null
   8454    mkdir conftest
   8455    cd conftest
   8456    mkdir out
   8457    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8458 
   8459    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8460    # Insert the option either (1) after the last *FLAGS variable, or
   8461    # (2) before a word containing "conftest.", or (3) at the end.
   8462    # Note that $ac_compile itself does not contain backslashes and begins
   8463    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8464    lt_compile=`echo "$ac_compile" | $SED \
   8465    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8466    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8467    -e 's:$: $lt_compiler_flag:'`
   8468    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8469    (eval "$lt_compile" 2>out/conftest.err)
   8470    ac_status=$?
   8471    cat out/conftest.err >&5
   8472    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8473    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8474    then
   8475      # The compiler can only warn and ignore the option if not recognized
   8476      # So say no if there are warnings
   8477      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8478      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8479      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8480        lt_cv_prog_compiler_c_o=yes
   8481      fi
   8482    fi
   8483    chmod u+w . 2>&5
   8484    $RM conftest*
   8485    # SGI C++ compiler will create directory out/ii_files/ for
   8486    # template instantiation
   8487    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8488    $RM out/* && rmdir out
   8489    cd ..
   8490    $RM -r conftest
   8491    $RM conftest*
   8492 
   8493 fi
   8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8495 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8496 
   8497 
   8498 
   8499 
   8500 hard_links="nottested"
   8501 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8502   # do not overwrite the value of need_locks provided by the user
   8503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8504 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8505   hard_links=yes
   8506   $RM conftest*
   8507   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8508   touch conftest.a
   8509   ln conftest.a conftest.b 2>&5 || hard_links=no
   8510   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8512 $as_echo "$hard_links" >&6; }
   8513   if test "$hard_links" = no; then
   8514     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8515 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8516     need_locks=warn
   8517   fi
   8518 else
   8519   need_locks=no
   8520 fi
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8528 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8529 
   8530   runpath_var=
   8531   allow_undefined_flag=
   8532   always_export_symbols=no
   8533   archive_cmds=
   8534   archive_expsym_cmds=
   8535   compiler_needs_object=no
   8536   enable_shared_with_static_runtimes=no
   8537   export_dynamic_flag_spec=
   8538   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8539   hardcode_automatic=no
   8540   hardcode_direct=no
   8541   hardcode_direct_absolute=no
   8542   hardcode_libdir_flag_spec=
   8543   hardcode_libdir_flag_spec_ld=
   8544   hardcode_libdir_separator=
   8545   hardcode_minus_L=no
   8546   hardcode_shlibpath_var=unsupported
   8547   inherit_rpath=no
   8548   link_all_deplibs=unknown
   8549   module_cmds=
   8550   module_expsym_cmds=
   8551   old_archive_from_new_cmds=
   8552   old_archive_from_expsyms_cmds=
   8553   thread_safe_flag_spec=
   8554   whole_archive_flag_spec=
   8555   # include_expsyms should be a list of space-separated symbols to be *always*
   8556   # included in the symbol list
   8557   include_expsyms=
   8558   # exclude_expsyms can be an extended regexp of symbols to exclude
   8559   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8560   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8561   # as well as any symbol that contains `d'.
   8562   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8563   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8564   # platforms (ab)use it in PIC code, but their linkers get confused if
   8565   # the symbol is explicitly referenced.  Since portable code cannot
   8566   # rely on this symbol name, it's probably fine to never include it in
   8567   # preloaded symbol tables.
   8568   # Exclude shared library initialization/finalization symbols.
   8569   extract_expsyms_cmds=
   8570 
   8571   case $host_os in
   8572   cygwin* | mingw* | pw32* | cegcc*)
   8573     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8574     # When not using gcc, we currently assume that we are using
   8575     # Microsoft Visual C++.
   8576     if test "$GCC" != yes; then
   8577       with_gnu_ld=no
   8578     fi
   8579     ;;
   8580   interix*)
   8581     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8582     with_gnu_ld=yes
   8583     ;;
   8584   openbsd*)
   8585     with_gnu_ld=no
   8586     ;;
   8587   esac
   8588 
   8589   ld_shlibs=yes
   8590 
   8591   # On some targets, GNU ld is compatible enough with the native linker
   8592   # that we're better off using the native interface for both.
   8593   lt_use_gnu_ld_interface=no
   8594   if test "$with_gnu_ld" = yes; then
   8595     case $host_os in
   8596       aix*)
   8597 	# The AIX port of GNU ld has always aspired to compatibility
   8598 	# with the native linker.  However, as the warning in the GNU ld
   8599 	# block says, versions before 2.19.5* couldn't really create working
   8600 	# shared libraries, regardless of the interface used.
   8601 	case `$LD -v 2>&1` in
   8602 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8603 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8604 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8605 	  *)
   8606 	    lt_use_gnu_ld_interface=yes
   8607 	    ;;
   8608 	esac
   8609 	;;
   8610       *)
   8611 	lt_use_gnu_ld_interface=yes
   8612 	;;
   8613     esac
   8614   fi
   8615 
   8616   if test "$lt_use_gnu_ld_interface" = yes; then
   8617     # If archive_cmds runs LD, not CC, wlarc should be empty
   8618     wlarc='${wl}'
   8619 
   8620     # Set some defaults for GNU ld with shared library support. These
   8621     # are reset later if shared libraries are not supported. Putting them
   8622     # here allows them to be overridden if necessary.
   8623     runpath_var=LD_RUN_PATH
   8624     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8625     export_dynamic_flag_spec='${wl}--export-dynamic'
   8626     # ancient GNU ld didn't support --whole-archive et. al.
   8627     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8628       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8629     else
   8630       whole_archive_flag_spec=
   8631     fi
   8632     supports_anon_versioning=no
   8633     case `$LD -v 2>&1` in
   8634       *GNU\ gold*) supports_anon_versioning=yes ;;
   8635       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8636       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8637       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8638       *\ 2.11.*) ;; # other 2.11 versions
   8639       *) supports_anon_versioning=yes ;;
   8640     esac
   8641 
   8642     # See if GNU ld supports shared libraries.
   8643     case $host_os in
   8644     aix[3-9]*)
   8645       # On AIX/PPC, the GNU linker is very broken
   8646       if test "$host_cpu" != ia64; then
   8647 	ld_shlibs=no
   8648 	cat <<_LT_EOF 1>&2
   8649 
   8650 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8651 *** to be unable to reliably create shared libraries on AIX.
   8652 *** Therefore, libtool is disabling shared libraries support.  If you
   8653 *** really care for shared libraries, you may want to install binutils
   8654 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8655 *** You will then need to restart the configuration process.
   8656 
   8657 _LT_EOF
   8658       fi
   8659       ;;
   8660 
   8661     amigaos*)
   8662       case $host_cpu in
   8663       powerpc)
   8664             # see comment about AmigaOS4 .so support
   8665             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8666             archive_expsym_cmds=''
   8667         ;;
   8668       m68k)
   8669             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)'
   8670             hardcode_libdir_flag_spec='-L$libdir'
   8671             hardcode_minus_L=yes
   8672         ;;
   8673       esac
   8674       ;;
   8675 
   8676     beos*)
   8677       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8678 	allow_undefined_flag=unsupported
   8679 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8680 	# support --undefined.  This deserves some investigation.  FIXME
   8681 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8682       else
   8683 	ld_shlibs=no
   8684       fi
   8685       ;;
   8686 
   8687     cygwin* | mingw* | pw32* | cegcc*)
   8688       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8689       # as there is no search path for DLLs.
   8690       hardcode_libdir_flag_spec='-L$libdir'
   8691       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8692       allow_undefined_flag=unsupported
   8693       always_export_symbols=no
   8694       enable_shared_with_static_runtimes=yes
   8695       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'
   8696       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8697 
   8698       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8699         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8700 	# If the export-symbols file already is a .def file (1st line
   8701 	# is EXPORTS), use it as is; otherwise, prepend...
   8702 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8703 	  cp $export_symbols $output_objdir/$soname.def;
   8704 	else
   8705 	  echo EXPORTS > $output_objdir/$soname.def;
   8706 	  cat $export_symbols >> $output_objdir/$soname.def;
   8707 	fi~
   8708 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8709       else
   8710 	ld_shlibs=no
   8711       fi
   8712       ;;
   8713 
   8714     haiku*)
   8715       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8716       link_all_deplibs=yes
   8717       ;;
   8718 
   8719     interix[3-9]*)
   8720       hardcode_direct=no
   8721       hardcode_shlibpath_var=no
   8722       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8723       export_dynamic_flag_spec='${wl}-E'
   8724       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8725       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8726       # default) and relocated if they conflict, which is a slow very memory
   8727       # consuming and fragmenting process.  To avoid this, we pick a random,
   8728       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8729       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8730       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8731       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'
   8732       ;;
   8733 
   8734     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8735       tmp_diet=no
   8736       if test "$host_os" = linux-dietlibc; then
   8737 	case $cc_basename in
   8738 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8739 	esac
   8740       fi
   8741       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8742 	 && test "$tmp_diet" = no
   8743       then
   8744 	tmp_addflag=' $pic_flag'
   8745 	tmp_sharedflag='-shared'
   8746 	case $cc_basename,$host_cpu in
   8747         pgcc*)				# Portland Group C compiler
   8748 	  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'
   8749 	  tmp_addflag=' $pic_flag'
   8750 	  ;;
   8751 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8752 					# Portland Group f77 and f90 compilers
   8753 	  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'
   8754 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8755 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8756 	  tmp_addflag=' -i_dynamic' ;;
   8757 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8758 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8759 	ifc* | ifort*)			# Intel Fortran compiler
   8760 	  tmp_addflag=' -nofor_main' ;;
   8761 	lf95*)				# Lahey Fortran 8.1
   8762 	  whole_archive_flag_spec=
   8763 	  tmp_sharedflag='--shared' ;;
   8764 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8765 	  tmp_sharedflag='-qmkshrobj'
   8766 	  tmp_addflag= ;;
   8767 	nvcc*)	# Cuda Compiler Driver 2.2
   8768 	  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'
   8769 	  compiler_needs_object=yes
   8770 	  ;;
   8771 	esac
   8772 	case `$CC -V 2>&1 | sed 5q` in
   8773 	*Sun\ C*)			# Sun C 5.9
   8774 	  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'
   8775 	  compiler_needs_object=yes
   8776 	  tmp_sharedflag='-G' ;;
   8777 	*Sun\ F*)			# Sun Fortran 8.3
   8778 	  tmp_sharedflag='-G' ;;
   8779 	esac
   8780 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8781 
   8782         if test "x$supports_anon_versioning" = xyes; then
   8783           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8784 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8785 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8786 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8787         fi
   8788 
   8789 	case $cc_basename in
   8790 	xlf* | bgf* | bgxlf* | mpixlf*)
   8791 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8792 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8793 	  hardcode_libdir_flag_spec=
   8794 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8795 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8796 	  if test "x$supports_anon_versioning" = xyes; then
   8797 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8798 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8799 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8800 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8801 	  fi
   8802 	  ;;
   8803 	esac
   8804       else
   8805         ld_shlibs=no
   8806       fi
   8807       ;;
   8808 
   8809     netbsd*)
   8810       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8811 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8812 	wlarc=
   8813       else
   8814 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8815 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8816       fi
   8817       ;;
   8818 
   8819     solaris*)
   8820       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8821 	ld_shlibs=no
   8822 	cat <<_LT_EOF 1>&2
   8823 
   8824 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8825 *** create shared libraries on Solaris systems.  Therefore, libtool
   8826 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8827 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8828 *** your PATH or compiler configuration so that the native linker is
   8829 *** used, and then restart.
   8830 
   8831 _LT_EOF
   8832       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8833 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8834 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8835       else
   8836 	ld_shlibs=no
   8837       fi
   8838       ;;
   8839 
   8840     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8841       case `$LD -v 2>&1` in
   8842         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8843 	ld_shlibs=no
   8844 	cat <<_LT_EOF 1>&2
   8845 
   8846 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8847 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8848 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8849 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8850 *** your PATH or compiler configuration so that the native linker is
   8851 *** used, and then restart.
   8852 
   8853 _LT_EOF
   8854 	;;
   8855 	*)
   8856 	  # For security reasons, it is highly recommended that you always
   8857 	  # use absolute paths for naming shared libraries, and exclude the
   8858 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8859 	  # requires that you compile everything twice, which is a pain.
   8860 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8861 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8862 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8863 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8864 	  else
   8865 	    ld_shlibs=no
   8866 	  fi
   8867 	;;
   8868       esac
   8869       ;;
   8870 
   8871     sunos4*)
   8872       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8873       wlarc=
   8874       hardcode_direct=yes
   8875       hardcode_shlibpath_var=no
   8876       ;;
   8877 
   8878     *)
   8879       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8880 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8881 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8882       else
   8883 	ld_shlibs=no
   8884       fi
   8885       ;;
   8886     esac
   8887 
   8888     if test "$ld_shlibs" = no; then
   8889       runpath_var=
   8890       hardcode_libdir_flag_spec=
   8891       export_dynamic_flag_spec=
   8892       whole_archive_flag_spec=
   8893     fi
   8894   else
   8895     # PORTME fill in a description of your system's linker (not GNU ld)
   8896     case $host_os in
   8897     aix3*)
   8898       allow_undefined_flag=unsupported
   8899       always_export_symbols=yes
   8900       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'
   8901       # Note: this linker hardcodes the directories in LIBPATH if there
   8902       # are no directories specified by -L.
   8903       hardcode_minus_L=yes
   8904       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8905 	# Neither direct hardcoding nor static linking is supported with a
   8906 	# broken collect2.
   8907 	hardcode_direct=unsupported
   8908       fi
   8909       ;;
   8910 
   8911     aix[4-9]*)
   8912       if test "$host_cpu" = ia64; then
   8913 	# On IA64, the linker does run time linking by default, so we don't
   8914 	# have to do anything special.
   8915 	aix_use_runtimelinking=no
   8916 	exp_sym_flag='-Bexport'
   8917 	no_entry_flag=""
   8918       else
   8919 	# If we're using GNU nm, then we don't want the "-C" option.
   8920 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8921 	# Also, AIX nm treats weak defined symbols like other global
   8922 	# defined symbols, whereas GNU nm marks them as "W".
   8923 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8924 	  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'
   8925 	else
   8926 	  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'
   8927 	fi
   8928 	aix_use_runtimelinking=no
   8929 
   8930 	# Test if we are trying to use run time linking or normal
   8931 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8932 	# need to do runtime linking.
   8933 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8934 	  for ld_flag in $LDFLAGS; do
   8935 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8936 	    aix_use_runtimelinking=yes
   8937 	    break
   8938 	  fi
   8939 	  done
   8940 	  ;;
   8941 	esac
   8942 
   8943 	exp_sym_flag='-bexport'
   8944 	no_entry_flag='-bnoentry'
   8945       fi
   8946 
   8947       # When large executables or shared objects are built, AIX ld can
   8948       # have problems creating the table of contents.  If linking a library
   8949       # or program results in "error TOC overflow" add -mminimal-toc to
   8950       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8951       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8952 
   8953       archive_cmds=''
   8954       hardcode_direct=yes
   8955       hardcode_direct_absolute=yes
   8956       hardcode_libdir_separator=':'
   8957       link_all_deplibs=yes
   8958       file_list_spec='${wl}-f,'
   8959 
   8960       if test "$GCC" = yes; then
   8961 	case $host_os in aix4.[012]|aix4.[012].*)
   8962 	# We only want to do this on AIX 4.2 and lower, the check
   8963 	# below for broken collect2 doesn't work under 4.3+
   8964 	  collect2name=`${CC} -print-prog-name=collect2`
   8965 	  if test -f "$collect2name" &&
   8966 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8967 	  then
   8968 	  # We have reworked collect2
   8969 	  :
   8970 	  else
   8971 	  # We have old collect2
   8972 	  hardcode_direct=unsupported
   8973 	  # It fails to find uninstalled libraries when the uninstalled
   8974 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8975 	  # to unsupported forces relinking
   8976 	  hardcode_minus_L=yes
   8977 	  hardcode_libdir_flag_spec='-L$libdir'
   8978 	  hardcode_libdir_separator=
   8979 	  fi
   8980 	  ;;
   8981 	esac
   8982 	shared_flag='-shared'
   8983 	if test "$aix_use_runtimelinking" = yes; then
   8984 	  shared_flag="$shared_flag "'${wl}-G'
   8985 	fi
   8986       else
   8987 	# not using gcc
   8988 	if test "$host_cpu" = ia64; then
   8989 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8990 	# chokes on -Wl,-G. The following line is correct:
   8991 	  shared_flag='-G'
   8992 	else
   8993 	  if test "$aix_use_runtimelinking" = yes; then
   8994 	    shared_flag='${wl}-G'
   8995 	  else
   8996 	    shared_flag='${wl}-bM:SRE'
   8997 	  fi
   8998 	fi
   8999       fi
   9000 
   9001       export_dynamic_flag_spec='${wl}-bexpall'
   9002       # It seems that -bexpall does not export symbols beginning with
   9003       # underscore (_), so it is better to generate a list of symbols to export.
   9004       always_export_symbols=yes
   9005       if test "$aix_use_runtimelinking" = yes; then
   9006 	# Warning - without using the other runtime loading flags (-brtl),
   9007 	# -berok will link without error, but may produce a broken library.
   9008 	allow_undefined_flag='-berok'
   9009         # Determine the default libpath from the value encoded in an
   9010         # empty executable.
   9011         if test "${lt_cv_aix_libpath+set}" = set; then
   9012   aix_libpath=$lt_cv_aix_libpath
   9013 else
   9014   if ${lt_cv_aix_libpath_+:} false; then :
   9015   $as_echo_n "(cached) " >&6
   9016 else
   9017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9018 /* end confdefs.h.  */
   9019 
   9020 int
   9021 main ()
   9022 {
   9023 
   9024   ;
   9025   return 0;
   9026 }
   9027 _ACEOF
   9028 if ac_fn_c_try_link "$LINENO"; then :
   9029 
   9030   lt_aix_libpath_sed='
   9031       /Import File Strings/,/^$/ {
   9032 	  /^0/ {
   9033 	      s/^0  *\([^ ]*\) *$/\1/
   9034 	      p
   9035 	  }
   9036       }'
   9037   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9038   # Check for a 64-bit object if we didn't find anything.
   9039   if test -z "$lt_cv_aix_libpath_"; then
   9040     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9041   fi
   9042 fi
   9043 rm -f core conftest.err conftest.$ac_objext \
   9044     conftest$ac_exeext conftest.$ac_ext
   9045   if test -z "$lt_cv_aix_libpath_"; then
   9046     lt_cv_aix_libpath_="/usr/lib:/lib"
   9047   fi
   9048 
   9049 fi
   9050 
   9051   aix_libpath=$lt_cv_aix_libpath_
   9052 fi
   9053 
   9054         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9055         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"
   9056       else
   9057 	if test "$host_cpu" = ia64; then
   9058 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9059 	  allow_undefined_flag="-z nodefs"
   9060 	  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"
   9061 	else
   9062 	 # Determine the default libpath from the value encoded in an
   9063 	 # empty executable.
   9064 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9065   aix_libpath=$lt_cv_aix_libpath
   9066 else
   9067   if ${lt_cv_aix_libpath_+:} false; then :
   9068   $as_echo_n "(cached) " >&6
   9069 else
   9070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9071 /* end confdefs.h.  */
   9072 
   9073 int
   9074 main ()
   9075 {
   9076 
   9077   ;
   9078   return 0;
   9079 }
   9080 _ACEOF
   9081 if ac_fn_c_try_link "$LINENO"; then :
   9082 
   9083   lt_aix_libpath_sed='
   9084       /Import File Strings/,/^$/ {
   9085 	  /^0/ {
   9086 	      s/^0  *\([^ ]*\) *$/\1/
   9087 	      p
   9088 	  }
   9089       }'
   9090   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9091   # Check for a 64-bit object if we didn't find anything.
   9092   if test -z "$lt_cv_aix_libpath_"; then
   9093     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9094   fi
   9095 fi
   9096 rm -f core conftest.err conftest.$ac_objext \
   9097     conftest$ac_exeext conftest.$ac_ext
   9098   if test -z "$lt_cv_aix_libpath_"; then
   9099     lt_cv_aix_libpath_="/usr/lib:/lib"
   9100   fi
   9101 
   9102 fi
   9103 
   9104   aix_libpath=$lt_cv_aix_libpath_
   9105 fi
   9106 
   9107 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9108 	  # Warning - without using the other run time loading flags,
   9109 	  # -berok will link without error, but may produce a broken library.
   9110 	  no_undefined_flag=' ${wl}-bernotok'
   9111 	  allow_undefined_flag=' ${wl}-berok'
   9112 	  if test "$with_gnu_ld" = yes; then
   9113 	    # We only use this code for GNU lds that support --whole-archive.
   9114 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9115 	  else
   9116 	    # Exported symbols can be pulled into shared objects from archives
   9117 	    whole_archive_flag_spec='$convenience'
   9118 	  fi
   9119 	  archive_cmds_need_lc=yes
   9120 	  # This is similar to how AIX traditionally builds its shared libraries.
   9121 	  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'
   9122 	fi
   9123       fi
   9124       ;;
   9125 
   9126     amigaos*)
   9127       case $host_cpu in
   9128       powerpc)
   9129             # see comment about AmigaOS4 .so support
   9130             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9131             archive_expsym_cmds=''
   9132         ;;
   9133       m68k)
   9134             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)'
   9135             hardcode_libdir_flag_spec='-L$libdir'
   9136             hardcode_minus_L=yes
   9137         ;;
   9138       esac
   9139       ;;
   9140 
   9141     bsdi[45]*)
   9142       export_dynamic_flag_spec=-rdynamic
   9143       ;;
   9144 
   9145     cygwin* | mingw* | pw32* | cegcc*)
   9146       # When not using gcc, we currently assume that we are using
   9147       # Microsoft Visual C++.
   9148       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9149       # no search path for DLLs.
   9150       case $cc_basename in
   9151       cl*)
   9152 	# Native MSVC
   9153 	hardcode_libdir_flag_spec=' '
   9154 	allow_undefined_flag=unsupported
   9155 	always_export_symbols=yes
   9156 	file_list_spec='@'
   9157 	# Tell ltmain to make .lib files, not .a files.
   9158 	libext=lib
   9159 	# Tell ltmain to make .dll files, not .so files.
   9160 	shrext_cmds=".dll"
   9161 	# FIXME: Setting linknames here is a bad hack.
   9162 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9163 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9164 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9165 	  else
   9166 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9167 	  fi~
   9168 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9169 	  linknames='
   9170 	# The linker will not automatically build a static lib if we build a DLL.
   9171 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9172 	enable_shared_with_static_runtimes=yes
   9173 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9174 	# Don't use ranlib
   9175 	old_postinstall_cmds='chmod 644 $oldlib'
   9176 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9177 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9178 	  case $lt_outputfile in
   9179 	    *.exe|*.EXE) ;;
   9180 	    *)
   9181 	      lt_outputfile="$lt_outputfile.exe"
   9182 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9183 	      ;;
   9184 	  esac~
   9185 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9186 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9187 	    $RM "$lt_outputfile.manifest";
   9188 	  fi'
   9189 	;;
   9190       *)
   9191 	# Assume MSVC wrapper
   9192 	hardcode_libdir_flag_spec=' '
   9193 	allow_undefined_flag=unsupported
   9194 	# Tell ltmain to make .lib files, not .a files.
   9195 	libext=lib
   9196 	# Tell ltmain to make .dll files, not .so files.
   9197 	shrext_cmds=".dll"
   9198 	# FIXME: Setting linknames here is a bad hack.
   9199 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9200 	# The linker will automatically build a .lib file if we build a DLL.
   9201 	old_archive_from_new_cmds='true'
   9202 	# FIXME: Should let the user specify the lib program.
   9203 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9204 	enable_shared_with_static_runtimes=yes
   9205 	;;
   9206       esac
   9207       ;;
   9208 
   9209     darwin* | rhapsody*)
   9210 
   9211 
   9212   archive_cmds_need_lc=no
   9213   hardcode_direct=no
   9214   hardcode_automatic=yes
   9215   hardcode_shlibpath_var=unsupported
   9216   if test "$lt_cv_ld_force_load" = "yes"; then
   9217     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\"`'
   9218   else
   9219     whole_archive_flag_spec=''
   9220   fi
   9221   link_all_deplibs=yes
   9222   allow_undefined_flag="$_lt_dar_allow_undefined"
   9223   case $cc_basename in
   9224      ifort*) _lt_dar_can_shared=yes ;;
   9225      *) _lt_dar_can_shared=$GCC ;;
   9226   esac
   9227   if test "$_lt_dar_can_shared" = "yes"; then
   9228     output_verbose_link_cmd=func_echo_all
   9229     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9230     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9231     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}"
   9232     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}"
   9233 
   9234   else
   9235   ld_shlibs=no
   9236   fi
   9237 
   9238       ;;
   9239 
   9240     dgux*)
   9241       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9242       hardcode_libdir_flag_spec='-L$libdir'
   9243       hardcode_shlibpath_var=no
   9244       ;;
   9245 
   9246     freebsd1*)
   9247       ld_shlibs=no
   9248       ;;
   9249 
   9250     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9251     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9252     # does not break anything, and helps significantly (at the cost of a little
   9253     # extra space).
   9254     freebsd2.2*)
   9255       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9256       hardcode_libdir_flag_spec='-R$libdir'
   9257       hardcode_direct=yes
   9258       hardcode_shlibpath_var=no
   9259       ;;
   9260 
   9261     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9262     freebsd2*)
   9263       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9264       hardcode_direct=yes
   9265       hardcode_minus_L=yes
   9266       hardcode_shlibpath_var=no
   9267       ;;
   9268 
   9269     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9270     freebsd* | dragonfly*)
   9271       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9272       hardcode_libdir_flag_spec='-R$libdir'
   9273       hardcode_direct=yes
   9274       hardcode_shlibpath_var=no
   9275       ;;
   9276 
   9277     hpux9*)
   9278       if test "$GCC" = yes; then
   9279 	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'
   9280       else
   9281 	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'
   9282       fi
   9283       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9284       hardcode_libdir_separator=:
   9285       hardcode_direct=yes
   9286 
   9287       # hardcode_minus_L: Not really in the search PATH,
   9288       # but as the default location of the library.
   9289       hardcode_minus_L=yes
   9290       export_dynamic_flag_spec='${wl}-E'
   9291       ;;
   9292 
   9293     hpux10*)
   9294       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9295 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9296       else
   9297 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9298       fi
   9299       if test "$with_gnu_ld" = no; then
   9300 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9301 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9302 	hardcode_libdir_separator=:
   9303 	hardcode_direct=yes
   9304 	hardcode_direct_absolute=yes
   9305 	export_dynamic_flag_spec='${wl}-E'
   9306 	# hardcode_minus_L: Not really in the search PATH,
   9307 	# but as the default location of the library.
   9308 	hardcode_minus_L=yes
   9309       fi
   9310       ;;
   9311 
   9312     hpux11*)
   9313       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9314 	case $host_cpu in
   9315 	hppa*64*)
   9316 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9317 	  ;;
   9318 	ia64*)
   9319 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9320 	  ;;
   9321 	*)
   9322 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9323 	  ;;
   9324 	esac
   9325       else
   9326 	case $host_cpu in
   9327 	hppa*64*)
   9328 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9329 	  ;;
   9330 	ia64*)
   9331 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9332 	  ;;
   9333 	*)
   9334 
   9335 	  # Older versions of the 11.00 compiler do not understand -b yet
   9336 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9337 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9338 $as_echo_n "checking if $CC understands -b... " >&6; }
   9339 if ${lt_cv_prog_compiler__b+:} false; then :
   9340   $as_echo_n "(cached) " >&6
   9341 else
   9342   lt_cv_prog_compiler__b=no
   9343    save_LDFLAGS="$LDFLAGS"
   9344    LDFLAGS="$LDFLAGS -b"
   9345    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9346    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9347      # The linker can only warn and ignore the option if not recognized
   9348      # So say no if there are warnings
   9349      if test -s conftest.err; then
   9350        # Append any errors to the config.log.
   9351        cat conftest.err 1>&5
   9352        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9353        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9354        if diff conftest.exp conftest.er2 >/dev/null; then
   9355          lt_cv_prog_compiler__b=yes
   9356        fi
   9357      else
   9358        lt_cv_prog_compiler__b=yes
   9359      fi
   9360    fi
   9361    $RM -r conftest*
   9362    LDFLAGS="$save_LDFLAGS"
   9363 
   9364 fi
   9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9366 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9367 
   9368 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9369     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9370 else
   9371     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9372 fi
   9373 
   9374 	  ;;
   9375 	esac
   9376       fi
   9377       if test "$with_gnu_ld" = no; then
   9378 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9379 	hardcode_libdir_separator=:
   9380 
   9381 	case $host_cpu in
   9382 	hppa*64*|ia64*)
   9383 	  hardcode_direct=no
   9384 	  hardcode_shlibpath_var=no
   9385 	  ;;
   9386 	*)
   9387 	  hardcode_direct=yes
   9388 	  hardcode_direct_absolute=yes
   9389 	  export_dynamic_flag_spec='${wl}-E'
   9390 
   9391 	  # hardcode_minus_L: Not really in the search PATH,
   9392 	  # but as the default location of the library.
   9393 	  hardcode_minus_L=yes
   9394 	  ;;
   9395 	esac
   9396       fi
   9397       ;;
   9398 
   9399     irix5* | irix6* | nonstopux*)
   9400       if test "$GCC" = yes; then
   9401 	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'
   9402 	# Try to use the -exported_symbol ld option, if it does not
   9403 	# work, assume that -exports_file does not work either and
   9404 	# implicitly export all symbols.
   9405 	# This should be the same for all languages, so no per-tag cache variable.
   9406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9407 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9408 if ${lt_cv_irix_exported_symbol+:} false; then :
   9409   $as_echo_n "(cached) " >&6
   9410 else
   9411   save_LDFLAGS="$LDFLAGS"
   9412 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9413 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 int foo (void) { return 0; }
   9416 _ACEOF
   9417 if ac_fn_c_try_link "$LINENO"; then :
   9418   lt_cv_irix_exported_symbol=yes
   9419 else
   9420   lt_cv_irix_exported_symbol=no
   9421 fi
   9422 rm -f core conftest.err conftest.$ac_objext \
   9423     conftest$ac_exeext conftest.$ac_ext
   9424            LDFLAGS="$save_LDFLAGS"
   9425 fi
   9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9427 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9428 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9429           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'
   9430 	fi
   9431       else
   9432 	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'
   9433 	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'
   9434       fi
   9435       archive_cmds_need_lc='no'
   9436       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9437       hardcode_libdir_separator=:
   9438       inherit_rpath=yes
   9439       link_all_deplibs=yes
   9440       ;;
   9441 
   9442     netbsd*)
   9443       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9444 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9445       else
   9446 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9447       fi
   9448       hardcode_libdir_flag_spec='-R$libdir'
   9449       hardcode_direct=yes
   9450       hardcode_shlibpath_var=no
   9451       ;;
   9452 
   9453     newsos6)
   9454       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9455       hardcode_direct=yes
   9456       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9457       hardcode_libdir_separator=:
   9458       hardcode_shlibpath_var=no
   9459       ;;
   9460 
   9461     *nto* | *qnx*)
   9462       ;;
   9463 
   9464     openbsd*)
   9465       if test -f /usr/libexec/ld.so; then
   9466 	hardcode_direct=yes
   9467 	hardcode_shlibpath_var=no
   9468 	hardcode_direct_absolute=yes
   9469 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9470 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9471 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9472 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9473 	  export_dynamic_flag_spec='${wl}-E'
   9474 	else
   9475 	  case $host_os in
   9476 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9477 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9478 	     hardcode_libdir_flag_spec='-R$libdir'
   9479 	     ;;
   9480 	   *)
   9481 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9482 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9483 	     ;;
   9484 	  esac
   9485 	fi
   9486       else
   9487 	ld_shlibs=no
   9488       fi
   9489       ;;
   9490 
   9491     os2*)
   9492       hardcode_libdir_flag_spec='-L$libdir'
   9493       hardcode_minus_L=yes
   9494       allow_undefined_flag=unsupported
   9495       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'
   9496       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9497       ;;
   9498 
   9499     osf3*)
   9500       if test "$GCC" = yes; then
   9501 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9502 	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'
   9503       else
   9504 	allow_undefined_flag=' -expect_unresolved \*'
   9505 	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'
   9506       fi
   9507       archive_cmds_need_lc='no'
   9508       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9509       hardcode_libdir_separator=:
   9510       ;;
   9511 
   9512     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9513       if test "$GCC" = yes; then
   9514 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9515 	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'
   9516 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9517       else
   9518 	allow_undefined_flag=' -expect_unresolved \*'
   9519 	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'
   9520 	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~
   9521 	$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'
   9522 
   9523 	# Both c and cxx compiler support -rpath directly
   9524 	hardcode_libdir_flag_spec='-rpath $libdir'
   9525       fi
   9526       archive_cmds_need_lc='no'
   9527       hardcode_libdir_separator=:
   9528       ;;
   9529 
   9530     solaris*)
   9531       no_undefined_flag=' -z defs'
   9532       if test "$GCC" = yes; then
   9533 	wlarc='${wl}'
   9534 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9535 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9536 	  $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'
   9537       else
   9538 	case `$CC -V 2>&1` in
   9539 	*"Compilers 5.0"*)
   9540 	  wlarc=''
   9541 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9542 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9543 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9544 	  ;;
   9545 	*)
   9546 	  wlarc='${wl}'
   9547 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9548 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9549 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9550 	  ;;
   9551 	esac
   9552       fi
   9553       hardcode_libdir_flag_spec='-R$libdir'
   9554       hardcode_shlibpath_var=no
   9555       case $host_os in
   9556       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9557       *)
   9558 	# The compiler driver will combine and reorder linker options,
   9559 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9560 	# but is careful enough not to reorder.
   9561 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9562 	if test "$GCC" = yes; then
   9563 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9564 	else
   9565 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9566 	fi
   9567 	;;
   9568       esac
   9569       link_all_deplibs=yes
   9570       ;;
   9571 
   9572     sunos4*)
   9573       if test "x$host_vendor" = xsequent; then
   9574 	# Use $CC to link under sequent, because it throws in some extra .o
   9575 	# files that make .init and .fini sections work.
   9576 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9577       else
   9578 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9579       fi
   9580       hardcode_libdir_flag_spec='-L$libdir'
   9581       hardcode_direct=yes
   9582       hardcode_minus_L=yes
   9583       hardcode_shlibpath_var=no
   9584       ;;
   9585 
   9586     sysv4)
   9587       case $host_vendor in
   9588 	sni)
   9589 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9590 	  hardcode_direct=yes # is this really true???
   9591 	;;
   9592 	siemens)
   9593 	  ## LD is ld it makes a PLAMLIB
   9594 	  ## CC just makes a GrossModule.
   9595 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9596 	  reload_cmds='$CC -r -o $output$reload_objs'
   9597 	  hardcode_direct=no
   9598         ;;
   9599 	motorola)
   9600 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9601 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9602 	;;
   9603       esac
   9604       runpath_var='LD_RUN_PATH'
   9605       hardcode_shlibpath_var=no
   9606       ;;
   9607 
   9608     sysv4.3*)
   9609       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9610       hardcode_shlibpath_var=no
   9611       export_dynamic_flag_spec='-Bexport'
   9612       ;;
   9613 
   9614     sysv4*MP*)
   9615       if test -d /usr/nec; then
   9616 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9617 	hardcode_shlibpath_var=no
   9618 	runpath_var=LD_RUN_PATH
   9619 	hardcode_runpath_var=yes
   9620 	ld_shlibs=yes
   9621       fi
   9622       ;;
   9623 
   9624     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9625       no_undefined_flag='${wl}-z,text'
   9626       archive_cmds_need_lc=no
   9627       hardcode_shlibpath_var=no
   9628       runpath_var='LD_RUN_PATH'
   9629 
   9630       if test "$GCC" = yes; then
   9631 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9632 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9633       else
   9634 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9635 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9636       fi
   9637       ;;
   9638 
   9639     sysv5* | sco3.2v5* | sco5v6*)
   9640       # Note: We can NOT use -z defs as we might desire, because we do not
   9641       # link with -lc, and that would cause any symbols used from libc to
   9642       # always be unresolved, which means just about no library would
   9643       # ever link correctly.  If we're not using GNU ld we use -z text
   9644       # though, which does catch some bad symbols but isn't as heavy-handed
   9645       # as -z defs.
   9646       no_undefined_flag='${wl}-z,text'
   9647       allow_undefined_flag='${wl}-z,nodefs'
   9648       archive_cmds_need_lc=no
   9649       hardcode_shlibpath_var=no
   9650       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9651       hardcode_libdir_separator=':'
   9652       link_all_deplibs=yes
   9653       export_dynamic_flag_spec='${wl}-Bexport'
   9654       runpath_var='LD_RUN_PATH'
   9655 
   9656       if test "$GCC" = yes; then
   9657 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9658 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9659       else
   9660 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9661 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9662       fi
   9663       ;;
   9664 
   9665     uts4*)
   9666       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9667       hardcode_libdir_flag_spec='-L$libdir'
   9668       hardcode_shlibpath_var=no
   9669       ;;
   9670 
   9671     *)
   9672       ld_shlibs=no
   9673       ;;
   9674     esac
   9675 
   9676     if test x$host_vendor = xsni; then
   9677       case $host in
   9678       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9679 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9680 	;;
   9681       esac
   9682     fi
   9683   fi
   9684 
   9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9686 $as_echo "$ld_shlibs" >&6; }
   9687 test "$ld_shlibs" = no && can_build_shared=no
   9688 
   9689 with_gnu_ld=$with_gnu_ld
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 #
   9706 # Do we need to explicitly link libc?
   9707 #
   9708 case "x$archive_cmds_need_lc" in
   9709 x|xyes)
   9710   # Assume -lc should be added
   9711   archive_cmds_need_lc=yes
   9712 
   9713   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9714     case $archive_cmds in
   9715     *'~'*)
   9716       # FIXME: we may have to deal with multi-command sequences.
   9717       ;;
   9718     '$CC '*)
   9719       # Test whether the compiler implicitly links with -lc since on some
   9720       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9721       # to ld, don't add -lc before -lgcc.
   9722       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9723 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9724 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9725   $as_echo_n "(cached) " >&6
   9726 else
   9727   $RM conftest*
   9728 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9729 
   9730 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9731   (eval $ac_compile) 2>&5
   9732   ac_status=$?
   9733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9734   test $ac_status = 0; } 2>conftest.err; then
   9735 	  soname=conftest
   9736 	  lib=conftest
   9737 	  libobjs=conftest.$ac_objext
   9738 	  deplibs=
   9739 	  wl=$lt_prog_compiler_wl
   9740 	  pic_flag=$lt_prog_compiler_pic
   9741 	  compiler_flags=-v
   9742 	  linker_flags=-v
   9743 	  verstring=
   9744 	  output_objdir=.
   9745 	  libname=conftest
   9746 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9747 	  allow_undefined_flag=
   9748 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9749   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9750   ac_status=$?
   9751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9752   test $ac_status = 0; }
   9753 	  then
   9754 	    lt_cv_archive_cmds_need_lc=no
   9755 	  else
   9756 	    lt_cv_archive_cmds_need_lc=yes
   9757 	  fi
   9758 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9759 	else
   9760 	  cat conftest.err 1>&5
   9761 	fi
   9762 	$RM conftest*
   9763 
   9764 fi
   9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9766 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9767       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9768       ;;
   9769     esac
   9770   fi
   9771   ;;
   9772 esac
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9931 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9932 
   9933 if test "$GCC" = yes; then
   9934   case $host_os in
   9935     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9936     *) lt_awk_arg="/^libraries:/" ;;
   9937   esac
   9938   case $host_os in
   9939     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9940     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9941   esac
   9942   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9943   case $lt_search_path_spec in
   9944   *\;*)
   9945     # if the path contains ";" then we assume it to be the separator
   9946     # otherwise default to the standard path separator (i.e. ":") - it is
   9947     # assumed that no part of a normal pathname contains ";" but that should
   9948     # okay in the real world where ";" in dirpaths is itself problematic.
   9949     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9950     ;;
   9951   *)
   9952     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9953     ;;
   9954   esac
   9955   # Ok, now we have the path, separated by spaces, we can step through it
   9956   # and add multilib dir if necessary.
   9957   lt_tmp_lt_search_path_spec=
   9958   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9959   for lt_sys_path in $lt_search_path_spec; do
   9960     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9961       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9962     else
   9963       test -d "$lt_sys_path" && \
   9964 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9965     fi
   9966   done
   9967   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9968 BEGIN {RS=" "; FS="/|\n";} {
   9969   lt_foo="";
   9970   lt_count=0;
   9971   for (lt_i = NF; lt_i > 0; lt_i--) {
   9972     if ($lt_i != "" && $lt_i != ".") {
   9973       if ($lt_i == "..") {
   9974         lt_count++;
   9975       } else {
   9976         if (lt_count == 0) {
   9977           lt_foo="/" $lt_i lt_foo;
   9978         } else {
   9979           lt_count--;
   9980         }
   9981       }
   9982     }
   9983   }
   9984   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9985   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9986 }'`
   9987   # AWK program above erroneously prepends '/' to C:/dos/paths
   9988   # for these hosts.
   9989   case $host_os in
   9990     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9991       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9992   esac
   9993   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9994 else
   9995   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9996 fi
   9997 library_names_spec=
   9998 libname_spec='lib$name'
   9999 soname_spec=
   10000 shrext_cmds=".so"
   10001 postinstall_cmds=
   10002 postuninstall_cmds=
   10003 finish_cmds=
   10004 finish_eval=
   10005 shlibpath_var=
   10006 shlibpath_overrides_runpath=unknown
   10007 version_type=none
   10008 dynamic_linker="$host_os ld.so"
   10009 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10010 need_lib_prefix=unknown
   10011 hardcode_into_libs=no
   10012 
   10013 # when you set need_version to no, make sure it does not cause -set_version
   10014 # flags to be left without arguments
   10015 need_version=unknown
   10016 
   10017 case $host_os in
   10018 aix3*)
   10019   version_type=linux
   10020   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10021   shlibpath_var=LIBPATH
   10022 
   10023   # AIX 3 has no versioning support, so we append a major version to the name.
   10024   soname_spec='${libname}${release}${shared_ext}$major'
   10025   ;;
   10026 
   10027 aix[4-9]*)
   10028   version_type=linux
   10029   need_lib_prefix=no
   10030   need_version=no
   10031   hardcode_into_libs=yes
   10032   if test "$host_cpu" = ia64; then
   10033     # AIX 5 supports IA64
   10034     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10035     shlibpath_var=LD_LIBRARY_PATH
   10036   else
   10037     # With GCC up to 2.95.x, collect2 would create an import file
   10038     # for dependence libraries.  The import file would start with
   10039     # the line `#! .'.  This would cause the generated library to
   10040     # depend on `.', always an invalid library.  This was fixed in
   10041     # development snapshots of GCC prior to 3.0.
   10042     case $host_os in
   10043       aix4 | aix4.[01] | aix4.[01].*)
   10044       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10045 	   echo ' yes '
   10046 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10047 	:
   10048       else
   10049 	can_build_shared=no
   10050       fi
   10051       ;;
   10052     esac
   10053     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10054     # soname into executable. Probably we can add versioning support to
   10055     # collect2, so additional links can be useful in future.
   10056     if test "$aix_use_runtimelinking" = yes; then
   10057       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10058       # instead of lib<name>.a to let people know that these are not
   10059       # typical AIX shared libraries.
   10060       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10061     else
   10062       # We preserve .a as extension for shared libraries through AIX4.2
   10063       # and later when we are not doing run time linking.
   10064       library_names_spec='${libname}${release}.a $libname.a'
   10065       soname_spec='${libname}${release}${shared_ext}$major'
   10066     fi
   10067     shlibpath_var=LIBPATH
   10068   fi
   10069   ;;
   10070 
   10071 amigaos*)
   10072   case $host_cpu in
   10073   powerpc)
   10074     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10075     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10076     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10077     ;;
   10078   m68k)
   10079     library_names_spec='$libname.ixlibrary $libname.a'
   10080     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10081     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'
   10082     ;;
   10083   esac
   10084   ;;
   10085 
   10086 beos*)
   10087   library_names_spec='${libname}${shared_ext}'
   10088   dynamic_linker="$host_os ld.so"
   10089   shlibpath_var=LIBRARY_PATH
   10090   ;;
   10091 
   10092 bsdi[45]*)
   10093   version_type=linux
   10094   need_version=no
   10095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10096   soname_spec='${libname}${release}${shared_ext}$major'
   10097   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10098   shlibpath_var=LD_LIBRARY_PATH
   10099   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10100   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10101   # the default ld.so.conf also contains /usr/contrib/lib and
   10102   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10103   # libtool to hard-code these into programs
   10104   ;;
   10105 
   10106 cygwin* | mingw* | pw32* | cegcc*)
   10107   version_type=windows
   10108   shrext_cmds=".dll"
   10109   need_version=no
   10110   need_lib_prefix=no
   10111 
   10112   case $GCC,$cc_basename in
   10113   yes,*)
   10114     # gcc
   10115     library_names_spec='$libname.dll.a'
   10116     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10117     postinstall_cmds='base_file=`basename \${file}`~
   10118       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10119       dldir=$destdir/`dirname \$dlpath`~
   10120       test -d \$dldir || mkdir -p \$dldir~
   10121       $install_prog $dir/$dlname \$dldir/$dlname~
   10122       chmod a+x \$dldir/$dlname~
   10123       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10124         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10125       fi'
   10126     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10127       dlpath=$dir/\$dldll~
   10128        $RM \$dlpath'
   10129     shlibpath_overrides_runpath=yes
   10130 
   10131     case $host_os in
   10132     cygwin*)
   10133       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10134       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10135 
   10136       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10137       ;;
   10138     mingw* | cegcc*)
   10139       # MinGW DLLs use traditional 'lib' prefix
   10140       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10141       ;;
   10142     pw32*)
   10143       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10144       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10145       ;;
   10146     esac
   10147     dynamic_linker='Win32 ld.exe'
   10148     ;;
   10149 
   10150   *,cl*)
   10151     # Native MSVC
   10152     libname_spec='$name'
   10153     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10154     library_names_spec='${libname}.dll.lib'
   10155 
   10156     case $build_os in
   10157     mingw*)
   10158       sys_lib_search_path_spec=
   10159       lt_save_ifs=$IFS
   10160       IFS=';'
   10161       for lt_path in $LIB
   10162       do
   10163         IFS=$lt_save_ifs
   10164         # Let DOS variable expansion print the short 8.3 style file name.
   10165         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10166         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10167       done
   10168       IFS=$lt_save_ifs
   10169       # Convert to MSYS style.
   10170       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10171       ;;
   10172     cygwin*)
   10173       # Convert to unix form, then to dos form, then back to unix form
   10174       # but this time dos style (no spaces!) so that the unix form looks
   10175       # like /cygdrive/c/PROGRA~1:/cygdr...
   10176       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10177       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10178       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10179       ;;
   10180     *)
   10181       sys_lib_search_path_spec="$LIB"
   10182       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10183         # It is most probably a Windows format PATH.
   10184         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10185       else
   10186         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10187       fi
   10188       # FIXME: find the short name or the path components, as spaces are
   10189       # common. (e.g. "Program Files" -> "PROGRA~1")
   10190       ;;
   10191     esac
   10192 
   10193     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10194     postinstall_cmds='base_file=`basename \${file}`~
   10195       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10196       dldir=$destdir/`dirname \$dlpath`~
   10197       test -d \$dldir || mkdir -p \$dldir~
   10198       $install_prog $dir/$dlname \$dldir/$dlname'
   10199     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10200       dlpath=$dir/\$dldll~
   10201        $RM \$dlpath'
   10202     shlibpath_overrides_runpath=yes
   10203     dynamic_linker='Win32 link.exe'
   10204     ;;
   10205 
   10206   *)
   10207     # Assume MSVC wrapper
   10208     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10209     dynamic_linker='Win32 ld.exe'
   10210     ;;
   10211   esac
   10212   # FIXME: first we should search . and the directory the executable is in
   10213   shlibpath_var=PATH
   10214   ;;
   10215 
   10216 darwin* | rhapsody*)
   10217   dynamic_linker="$host_os dyld"
   10218   version_type=darwin
   10219   need_lib_prefix=no
   10220   need_version=no
   10221   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10222   soname_spec='${libname}${release}${major}$shared_ext'
   10223   shlibpath_overrides_runpath=yes
   10224   shlibpath_var=DYLD_LIBRARY_PATH
   10225   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10226 
   10227   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10228   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10229   ;;
   10230 
   10231 dgux*)
   10232   version_type=linux
   10233   need_lib_prefix=no
   10234   need_version=no
   10235   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10236   soname_spec='${libname}${release}${shared_ext}$major'
   10237   shlibpath_var=LD_LIBRARY_PATH
   10238   ;;
   10239 
   10240 freebsd1*)
   10241   dynamic_linker=no
   10242   ;;
   10243 
   10244 freebsd* | dragonfly*)
   10245   # DragonFly does not have aout.  When/if they implement a new
   10246   # versioning mechanism, adjust this.
   10247   if test -x /usr/bin/objformat; then
   10248     objformat=`/usr/bin/objformat`
   10249   else
   10250     case $host_os in
   10251     freebsd[123]*) objformat=aout ;;
   10252     *) objformat=elf ;;
   10253     esac
   10254   fi
   10255   version_type=freebsd-$objformat
   10256   case $version_type in
   10257     freebsd-elf*)
   10258       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10259       need_version=no
   10260       need_lib_prefix=no
   10261       ;;
   10262     freebsd-*)
   10263       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10264       need_version=yes
   10265       ;;
   10266   esac
   10267   shlibpath_var=LD_LIBRARY_PATH
   10268   case $host_os in
   10269   freebsd2*)
   10270     shlibpath_overrides_runpath=yes
   10271     ;;
   10272   freebsd3.[01]* | freebsdelf3.[01]*)
   10273     shlibpath_overrides_runpath=yes
   10274     hardcode_into_libs=yes
   10275     ;;
   10276   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10277   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10278     shlibpath_overrides_runpath=no
   10279     hardcode_into_libs=yes
   10280     ;;
   10281   *) # from 4.6 on, and DragonFly
   10282     shlibpath_overrides_runpath=yes
   10283     hardcode_into_libs=yes
   10284     ;;
   10285   esac
   10286   ;;
   10287 
   10288 gnu*)
   10289   version_type=linux
   10290   need_lib_prefix=no
   10291   need_version=no
   10292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10293   soname_spec='${libname}${release}${shared_ext}$major'
   10294   shlibpath_var=LD_LIBRARY_PATH
   10295   hardcode_into_libs=yes
   10296   ;;
   10297 
   10298 haiku*)
   10299   version_type=linux
   10300   need_lib_prefix=no
   10301   need_version=no
   10302   dynamic_linker="$host_os runtime_loader"
   10303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10304   soname_spec='${libname}${release}${shared_ext}$major'
   10305   shlibpath_var=LIBRARY_PATH
   10306   shlibpath_overrides_runpath=yes
   10307   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10308   hardcode_into_libs=yes
   10309   ;;
   10310 
   10311 hpux9* | hpux10* | hpux11*)
   10312   # Give a soname corresponding to the major version so that dld.sl refuses to
   10313   # link against other versions.
   10314   version_type=sunos
   10315   need_lib_prefix=no
   10316   need_version=no
   10317   case $host_cpu in
   10318   ia64*)
   10319     shrext_cmds='.so'
   10320     hardcode_into_libs=yes
   10321     dynamic_linker="$host_os dld.so"
   10322     shlibpath_var=LD_LIBRARY_PATH
   10323     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10324     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10325     soname_spec='${libname}${release}${shared_ext}$major'
   10326     if test "X$HPUX_IA64_MODE" = X32; then
   10327       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10328     else
   10329       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10330     fi
   10331     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10332     ;;
   10333   hppa*64*)
   10334     shrext_cmds='.sl'
   10335     hardcode_into_libs=yes
   10336     dynamic_linker="$host_os dld.sl"
   10337     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10338     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10339     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10340     soname_spec='${libname}${release}${shared_ext}$major'
   10341     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10342     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10343     ;;
   10344   *)
   10345     shrext_cmds='.sl'
   10346     dynamic_linker="$host_os dld.sl"
   10347     shlibpath_var=SHLIB_PATH
   10348     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10350     soname_spec='${libname}${release}${shared_ext}$major'
   10351     ;;
   10352   esac
   10353   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10354   postinstall_cmds='chmod 555 $lib'
   10355   # or fails outright, so override atomically:
   10356   install_override_mode=555
   10357   ;;
   10358 
   10359 interix[3-9]*)
   10360   version_type=linux
   10361   need_lib_prefix=no
   10362   need_version=no
   10363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10364   soname_spec='${libname}${release}${shared_ext}$major'
   10365   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10366   shlibpath_var=LD_LIBRARY_PATH
   10367   shlibpath_overrides_runpath=no
   10368   hardcode_into_libs=yes
   10369   ;;
   10370 
   10371 irix5* | irix6* | nonstopux*)
   10372   case $host_os in
   10373     nonstopux*) version_type=nonstopux ;;
   10374     *)
   10375 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10376 		version_type=linux
   10377 	else
   10378 		version_type=irix
   10379 	fi ;;
   10380   esac
   10381   need_lib_prefix=no
   10382   need_version=no
   10383   soname_spec='${libname}${release}${shared_ext}$major'
   10384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10385   case $host_os in
   10386   irix5* | nonstopux*)
   10387     libsuff= shlibsuff=
   10388     ;;
   10389   *)
   10390     case $LD in # libtool.m4 will add one of these switches to LD
   10391     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10392       libsuff= shlibsuff= libmagic=32-bit;;
   10393     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10394       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10395     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10396       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10397     *) libsuff= shlibsuff= libmagic=never-match;;
   10398     esac
   10399     ;;
   10400   esac
   10401   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10402   shlibpath_overrides_runpath=no
   10403   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10404   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10405   hardcode_into_libs=yes
   10406   ;;
   10407 
   10408 # No shared lib support for Linux oldld, aout, or coff.
   10409 linux*oldld* | linux*aout* | linux*coff*)
   10410   dynamic_linker=no
   10411   ;;
   10412 
   10413 # This must be Linux ELF.
   10414 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10415   version_type=linux
   10416   need_lib_prefix=no
   10417   need_version=no
   10418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10419   soname_spec='${libname}${release}${shared_ext}$major'
   10420   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10421   shlibpath_var=LD_LIBRARY_PATH
   10422   shlibpath_overrides_runpath=no
   10423 
   10424   # Some binutils ld are patched to set DT_RUNPATH
   10425   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   lt_cv_shlibpath_overrides_runpath=no
   10429     save_LDFLAGS=$LDFLAGS
   10430     save_libdir=$libdir
   10431     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10432 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10433     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10434 /* end confdefs.h.  */
   10435 
   10436 int
   10437 main ()
   10438 {
   10439 
   10440   ;
   10441   return 0;
   10442 }
   10443 _ACEOF
   10444 if ac_fn_c_try_link "$LINENO"; then :
   10445   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10446   lt_cv_shlibpath_overrides_runpath=yes
   10447 fi
   10448 fi
   10449 rm -f core conftest.err conftest.$ac_objext \
   10450     conftest$ac_exeext conftest.$ac_ext
   10451     LDFLAGS=$save_LDFLAGS
   10452     libdir=$save_libdir
   10453 
   10454 fi
   10455 
   10456   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10457 
   10458   # This implies no fast_install, which is unacceptable.
   10459   # Some rework will be needed to allow for fast_install
   10460   # before this can be enabled.
   10461   hardcode_into_libs=yes
   10462 
   10463   # Append ld.so.conf contents to the search path
   10464   if test -f /etc/ld.so.conf; then
   10465     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' ' '`
   10466     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10467   fi
   10468 
   10469   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10470   # powerpc, because MkLinux only supported shared libraries with the
   10471   # GNU dynamic linker.  Since this was broken with cross compilers,
   10472   # most powerpc-linux boxes support dynamic linking these days and
   10473   # people can always --disable-shared, the test was removed, and we
   10474   # assume the GNU/Linux dynamic linker is in use.
   10475   dynamic_linker='GNU/Linux ld.so'
   10476   ;;
   10477 
   10478 netbsd*)
   10479   version_type=sunos
   10480   need_lib_prefix=no
   10481   need_version=no
   10482   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10484     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10485     dynamic_linker='NetBSD (a.out) ld.so'
   10486   else
   10487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10488     soname_spec='${libname}${release}${shared_ext}$major'
   10489     dynamic_linker='NetBSD ld.elf_so'
   10490   fi
   10491   shlibpath_var=LD_LIBRARY_PATH
   10492   shlibpath_overrides_runpath=yes
   10493   hardcode_into_libs=yes
   10494   ;;
   10495 
   10496 newsos6)
   10497   version_type=linux
   10498   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10499   shlibpath_var=LD_LIBRARY_PATH
   10500   shlibpath_overrides_runpath=yes
   10501   ;;
   10502 
   10503 *nto* | *qnx*)
   10504   version_type=qnx
   10505   need_lib_prefix=no
   10506   need_version=no
   10507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10508   soname_spec='${libname}${release}${shared_ext}$major'
   10509   shlibpath_var=LD_LIBRARY_PATH
   10510   shlibpath_overrides_runpath=no
   10511   hardcode_into_libs=yes
   10512   dynamic_linker='ldqnx.so'
   10513   ;;
   10514 
   10515 openbsd*)
   10516   version_type=sunos
   10517   sys_lib_dlsearch_path_spec="/usr/lib"
   10518   need_lib_prefix=no
   10519   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10520   case $host_os in
   10521     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10522     *)				need_version=no  ;;
   10523   esac
   10524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10525   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10526   shlibpath_var=LD_LIBRARY_PATH
   10527   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10528     case $host_os in
   10529       openbsd2.[89] | openbsd2.[89].*)
   10530 	shlibpath_overrides_runpath=no
   10531 	;;
   10532       *)
   10533 	shlibpath_overrides_runpath=yes
   10534 	;;
   10535       esac
   10536   else
   10537     shlibpath_overrides_runpath=yes
   10538   fi
   10539   ;;
   10540 
   10541 os2*)
   10542   libname_spec='$name'
   10543   shrext_cmds=".dll"
   10544   need_lib_prefix=no
   10545   library_names_spec='$libname${shared_ext} $libname.a'
   10546   dynamic_linker='OS/2 ld.exe'
   10547   shlibpath_var=LIBPATH
   10548   ;;
   10549 
   10550 osf3* | osf4* | osf5*)
   10551   version_type=osf
   10552   need_lib_prefix=no
   10553   need_version=no
   10554   soname_spec='${libname}${release}${shared_ext}$major'
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10556   shlibpath_var=LD_LIBRARY_PATH
   10557   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10558   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10559   ;;
   10560 
   10561 rdos*)
   10562   dynamic_linker=no
   10563   ;;
   10564 
   10565 solaris*)
   10566   version_type=linux
   10567   need_lib_prefix=no
   10568   need_version=no
   10569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10570   soname_spec='${libname}${release}${shared_ext}$major'
   10571   shlibpath_var=LD_LIBRARY_PATH
   10572   shlibpath_overrides_runpath=yes
   10573   hardcode_into_libs=yes
   10574   # ldd complains unless libraries are executable
   10575   postinstall_cmds='chmod +x $lib'
   10576   ;;
   10577 
   10578 sunos4*)
   10579   version_type=sunos
   10580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10581   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10582   shlibpath_var=LD_LIBRARY_PATH
   10583   shlibpath_overrides_runpath=yes
   10584   if test "$with_gnu_ld" = yes; then
   10585     need_lib_prefix=no
   10586   fi
   10587   need_version=yes
   10588   ;;
   10589 
   10590 sysv4 | sysv4.3*)
   10591   version_type=linux
   10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10593   soname_spec='${libname}${release}${shared_ext}$major'
   10594   shlibpath_var=LD_LIBRARY_PATH
   10595   case $host_vendor in
   10596     sni)
   10597       shlibpath_overrides_runpath=no
   10598       need_lib_prefix=no
   10599       runpath_var=LD_RUN_PATH
   10600       ;;
   10601     siemens)
   10602       need_lib_prefix=no
   10603       ;;
   10604     motorola)
   10605       need_lib_prefix=no
   10606       need_version=no
   10607       shlibpath_overrides_runpath=no
   10608       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10609       ;;
   10610   esac
   10611   ;;
   10612 
   10613 sysv4*MP*)
   10614   if test -d /usr/nec ;then
   10615     version_type=linux
   10616     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10617     soname_spec='$libname${shared_ext}.$major'
   10618     shlibpath_var=LD_LIBRARY_PATH
   10619   fi
   10620   ;;
   10621 
   10622 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10623   version_type=freebsd-elf
   10624   need_lib_prefix=no
   10625   need_version=no
   10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10627   soname_spec='${libname}${release}${shared_ext}$major'
   10628   shlibpath_var=LD_LIBRARY_PATH
   10629   shlibpath_overrides_runpath=yes
   10630   hardcode_into_libs=yes
   10631   if test "$with_gnu_ld" = yes; then
   10632     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10633   else
   10634     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10635     case $host_os in
   10636       sco3.2v5*)
   10637         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10638 	;;
   10639     esac
   10640   fi
   10641   sys_lib_dlsearch_path_spec='/usr/lib'
   10642   ;;
   10643 
   10644 tpf*)
   10645   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10646   version_type=linux
   10647   need_lib_prefix=no
   10648   need_version=no
   10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10650   shlibpath_var=LD_LIBRARY_PATH
   10651   shlibpath_overrides_runpath=no
   10652   hardcode_into_libs=yes
   10653   ;;
   10654 
   10655 uts4*)
   10656   version_type=linux
   10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10658   soname_spec='${libname}${release}${shared_ext}$major'
   10659   shlibpath_var=LD_LIBRARY_PATH
   10660   ;;
   10661 
   10662 *)
   10663   dynamic_linker=no
   10664   ;;
   10665 esac
   10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10667 $as_echo "$dynamic_linker" >&6; }
   10668 test "$dynamic_linker" = no && can_build_shared=no
   10669 
   10670 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10671 if test "$GCC" = yes; then
   10672   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10673 fi
   10674 
   10675 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10676   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10677 fi
   10678 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10679   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10680 fi
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10775 hardcode_action=
   10776 if test -n "$hardcode_libdir_flag_spec" ||
   10777    test -n "$runpath_var" ||
   10778    test "X$hardcode_automatic" = "Xyes" ; then
   10779 
   10780   # We can hardcode non-existent directories.
   10781   if test "$hardcode_direct" != no &&
   10782      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10783      # have to relink, otherwise we might link with an installed library
   10784      # when we should be linking with a yet-to-be-installed one
   10785      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10786      test "$hardcode_minus_L" != no; then
   10787     # Linking always hardcodes the temporary library directory.
   10788     hardcode_action=relink
   10789   else
   10790     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10791     hardcode_action=immediate
   10792   fi
   10793 else
   10794   # We cannot hardcode anything, or else we can only hardcode existing
   10795   # directories.
   10796   hardcode_action=unsupported
   10797 fi
   10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10799 $as_echo "$hardcode_action" >&6; }
   10800 
   10801 if test "$hardcode_action" = relink ||
   10802    test "$inherit_rpath" = yes; then
   10803   # Fast installation is not supported
   10804   enable_fast_install=no
   10805 elif test "$shlibpath_overrides_runpath" = yes ||
   10806      test "$enable_shared" = no; then
   10807   # Fast installation is not necessary
   10808   enable_fast_install=needless
   10809 fi
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816   if test "x$enable_dlopen" != xyes; then
   10817   enable_dlopen=unknown
   10818   enable_dlopen_self=unknown
   10819   enable_dlopen_self_static=unknown
   10820 else
   10821   lt_cv_dlopen=no
   10822   lt_cv_dlopen_libs=
   10823 
   10824   case $host_os in
   10825   beos*)
   10826     lt_cv_dlopen="load_add_on"
   10827     lt_cv_dlopen_libs=
   10828     lt_cv_dlopen_self=yes
   10829     ;;
   10830 
   10831   mingw* | pw32* | cegcc*)
   10832     lt_cv_dlopen="LoadLibrary"
   10833     lt_cv_dlopen_libs=
   10834     ;;
   10835 
   10836   cygwin*)
   10837     lt_cv_dlopen="dlopen"
   10838     lt_cv_dlopen_libs=
   10839     ;;
   10840 
   10841   darwin*)
   10842   # if libdl is installed we need to link against it
   10843     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10845 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10846   $as_echo_n "(cached) " >&6
   10847 else
   10848   ac_check_lib_save_LIBS=$LIBS
   10849 LIBS="-ldl  $LIBS"
   10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10851 /* end confdefs.h.  */
   10852 
   10853 /* Override any GCC internal prototype to avoid an error.
   10854    Use char because int might match the return type of a GCC
   10855    builtin and then its argument prototype would still apply.  */
   10856 #ifdef __cplusplus
   10857 extern "C"
   10858 #endif
   10859 char dlopen ();
   10860 int
   10861 main ()
   10862 {
   10863 return dlopen ();
   10864   ;
   10865   return 0;
   10866 }
   10867 _ACEOF
   10868 if ac_fn_c_try_link "$LINENO"; then :
   10869   ac_cv_lib_dl_dlopen=yes
   10870 else
   10871   ac_cv_lib_dl_dlopen=no
   10872 fi
   10873 rm -f core conftest.err conftest.$ac_objext \
   10874     conftest$ac_exeext conftest.$ac_ext
   10875 LIBS=$ac_check_lib_save_LIBS
   10876 fi
   10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10879 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10880   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10881 else
   10882 
   10883     lt_cv_dlopen="dyld"
   10884     lt_cv_dlopen_libs=
   10885     lt_cv_dlopen_self=yes
   10886 
   10887 fi
   10888 
   10889     ;;
   10890 
   10891   *)
   10892     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10893 if test "x$ac_cv_func_shl_load" = xyes; then :
   10894   lt_cv_dlopen="shl_load"
   10895 else
   10896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10897 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10898 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10899   $as_echo_n "(cached) " >&6
   10900 else
   10901   ac_check_lib_save_LIBS=$LIBS
   10902 LIBS="-ldld  $LIBS"
   10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10904 /* end confdefs.h.  */
   10905 
   10906 /* Override any GCC internal prototype to avoid an error.
   10907    Use char because int might match the return type of a GCC
   10908    builtin and then its argument prototype would still apply.  */
   10909 #ifdef __cplusplus
   10910 extern "C"
   10911 #endif
   10912 char shl_load ();
   10913 int
   10914 main ()
   10915 {
   10916 return shl_load ();
   10917   ;
   10918   return 0;
   10919 }
   10920 _ACEOF
   10921 if ac_fn_c_try_link "$LINENO"; then :
   10922   ac_cv_lib_dld_shl_load=yes
   10923 else
   10924   ac_cv_lib_dld_shl_load=no
   10925 fi
   10926 rm -f core conftest.err conftest.$ac_objext \
   10927     conftest$ac_exeext conftest.$ac_ext
   10928 LIBS=$ac_check_lib_save_LIBS
   10929 fi
   10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10931 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10932 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10933   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10934 else
   10935   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10936 if test "x$ac_cv_func_dlopen" = xyes; then :
   10937   lt_cv_dlopen="dlopen"
   10938 else
   10939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10940 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10941 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10942   $as_echo_n "(cached) " >&6
   10943 else
   10944   ac_check_lib_save_LIBS=$LIBS
   10945 LIBS="-ldl  $LIBS"
   10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10947 /* end confdefs.h.  */
   10948 
   10949 /* Override any GCC internal prototype to avoid an error.
   10950    Use char because int might match the return type of a GCC
   10951    builtin and then its argument prototype would still apply.  */
   10952 #ifdef __cplusplus
   10953 extern "C"
   10954 #endif
   10955 char dlopen ();
   10956 int
   10957 main ()
   10958 {
   10959 return dlopen ();
   10960   ;
   10961   return 0;
   10962 }
   10963 _ACEOF
   10964 if ac_fn_c_try_link "$LINENO"; then :
   10965   ac_cv_lib_dl_dlopen=yes
   10966 else
   10967   ac_cv_lib_dl_dlopen=no
   10968 fi
   10969 rm -f core conftest.err conftest.$ac_objext \
   10970     conftest$ac_exeext conftest.$ac_ext
   10971 LIBS=$ac_check_lib_save_LIBS
   10972 fi
   10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10974 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10975 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10976   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10977 else
   10978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10979 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10980 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10981   $as_echo_n "(cached) " >&6
   10982 else
   10983   ac_check_lib_save_LIBS=$LIBS
   10984 LIBS="-lsvld  $LIBS"
   10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10986 /* end confdefs.h.  */
   10987 
   10988 /* Override any GCC internal prototype to avoid an error.
   10989    Use char because int might match the return type of a GCC
   10990    builtin and then its argument prototype would still apply.  */
   10991 #ifdef __cplusplus
   10992 extern "C"
   10993 #endif
   10994 char dlopen ();
   10995 int
   10996 main ()
   10997 {
   10998 return dlopen ();
   10999   ;
   11000   return 0;
   11001 }
   11002 _ACEOF
   11003 if ac_fn_c_try_link "$LINENO"; then :
   11004   ac_cv_lib_svld_dlopen=yes
   11005 else
   11006   ac_cv_lib_svld_dlopen=no
   11007 fi
   11008 rm -f core conftest.err conftest.$ac_objext \
   11009     conftest$ac_exeext conftest.$ac_ext
   11010 LIBS=$ac_check_lib_save_LIBS
   11011 fi
   11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11013 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11014 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11015   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11016 else
   11017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11018 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11019 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11020   $as_echo_n "(cached) " >&6
   11021 else
   11022   ac_check_lib_save_LIBS=$LIBS
   11023 LIBS="-ldld  $LIBS"
   11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11025 /* end confdefs.h.  */
   11026 
   11027 /* Override any GCC internal prototype to avoid an error.
   11028    Use char because int might match the return type of a GCC
   11029    builtin and then its argument prototype would still apply.  */
   11030 #ifdef __cplusplus
   11031 extern "C"
   11032 #endif
   11033 char dld_link ();
   11034 int
   11035 main ()
   11036 {
   11037 return dld_link ();
   11038   ;
   11039   return 0;
   11040 }
   11041 _ACEOF
   11042 if ac_fn_c_try_link "$LINENO"; then :
   11043   ac_cv_lib_dld_dld_link=yes
   11044 else
   11045   ac_cv_lib_dld_dld_link=no
   11046 fi
   11047 rm -f core conftest.err conftest.$ac_objext \
   11048     conftest$ac_exeext conftest.$ac_ext
   11049 LIBS=$ac_check_lib_save_LIBS
   11050 fi
   11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11052 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11053 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11054   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11055 fi
   11056 
   11057 
   11058 fi
   11059 
   11060 
   11061 fi
   11062 
   11063 
   11064 fi
   11065 
   11066 
   11067 fi
   11068 
   11069 
   11070 fi
   11071 
   11072     ;;
   11073   esac
   11074 
   11075   if test "x$lt_cv_dlopen" != xno; then
   11076     enable_dlopen=yes
   11077   else
   11078     enable_dlopen=no
   11079   fi
   11080 
   11081   case $lt_cv_dlopen in
   11082   dlopen)
   11083     save_CPPFLAGS="$CPPFLAGS"
   11084     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11085 
   11086     save_LDFLAGS="$LDFLAGS"
   11087     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11088 
   11089     save_LIBS="$LIBS"
   11090     LIBS="$lt_cv_dlopen_libs $LIBS"
   11091 
   11092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11093 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11094 if ${lt_cv_dlopen_self+:} false; then :
   11095   $as_echo_n "(cached) " >&6
   11096 else
   11097   	  if test "$cross_compiling" = yes; then :
   11098   lt_cv_dlopen_self=cross
   11099 else
   11100   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11101   lt_status=$lt_dlunknown
   11102   cat > conftest.$ac_ext <<_LT_EOF
   11103 #line $LINENO "configure"
   11104 #include "confdefs.h"
   11105 
   11106 #if HAVE_DLFCN_H
   11107 #include <dlfcn.h>
   11108 #endif
   11109 
   11110 #include <stdio.h>
   11111 
   11112 #ifdef RTLD_GLOBAL
   11113 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11114 #else
   11115 #  ifdef DL_GLOBAL
   11116 #    define LT_DLGLOBAL		DL_GLOBAL
   11117 #  else
   11118 #    define LT_DLGLOBAL		0
   11119 #  endif
   11120 #endif
   11121 
   11122 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11123    find out it does not work in some platform. */
   11124 #ifndef LT_DLLAZY_OR_NOW
   11125 #  ifdef RTLD_LAZY
   11126 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11127 #  else
   11128 #    ifdef DL_LAZY
   11129 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11130 #    else
   11131 #      ifdef RTLD_NOW
   11132 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11133 #      else
   11134 #        ifdef DL_NOW
   11135 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11136 #        else
   11137 #          define LT_DLLAZY_OR_NOW	0
   11138 #        endif
   11139 #      endif
   11140 #    endif
   11141 #  endif
   11142 #endif
   11143 
   11144 /* When -fvisbility=hidden is used, assume the code has been annotated
   11145    correspondingly for the symbols needed.  */
   11146 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11147 int fnord () __attribute__((visibility("default")));
   11148 #endif
   11149 
   11150 int fnord () { return 42; }
   11151 int main ()
   11152 {
   11153   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11154   int status = $lt_dlunknown;
   11155 
   11156   if (self)
   11157     {
   11158       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11159       else
   11160         {
   11161 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11162           else puts (dlerror ());
   11163 	}
   11164       /* dlclose (self); */
   11165     }
   11166   else
   11167     puts (dlerror ());
   11168 
   11169   return status;
   11170 }
   11171 _LT_EOF
   11172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11173   (eval $ac_link) 2>&5
   11174   ac_status=$?
   11175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11176   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11177     (./conftest; exit; ) >&5 2>/dev/null
   11178     lt_status=$?
   11179     case x$lt_status in
   11180       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11181       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11182       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11183     esac
   11184   else :
   11185     # compilation failed
   11186     lt_cv_dlopen_self=no
   11187   fi
   11188 fi
   11189 rm -fr conftest*
   11190 
   11191 
   11192 fi
   11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11194 $as_echo "$lt_cv_dlopen_self" >&6; }
   11195 
   11196     if test "x$lt_cv_dlopen_self" = xyes; then
   11197       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11199 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11200 if ${lt_cv_dlopen_self_static+:} false; then :
   11201   $as_echo_n "(cached) " >&6
   11202 else
   11203   	  if test "$cross_compiling" = yes; then :
   11204   lt_cv_dlopen_self_static=cross
   11205 else
   11206   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11207   lt_status=$lt_dlunknown
   11208   cat > conftest.$ac_ext <<_LT_EOF
   11209 #line $LINENO "configure"
   11210 #include "confdefs.h"
   11211 
   11212 #if HAVE_DLFCN_H
   11213 #include <dlfcn.h>
   11214 #endif
   11215 
   11216 #include <stdio.h>
   11217 
   11218 #ifdef RTLD_GLOBAL
   11219 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11220 #else
   11221 #  ifdef DL_GLOBAL
   11222 #    define LT_DLGLOBAL		DL_GLOBAL
   11223 #  else
   11224 #    define LT_DLGLOBAL		0
   11225 #  endif
   11226 #endif
   11227 
   11228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11229    find out it does not work in some platform. */
   11230 #ifndef LT_DLLAZY_OR_NOW
   11231 #  ifdef RTLD_LAZY
   11232 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11233 #  else
   11234 #    ifdef DL_LAZY
   11235 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11236 #    else
   11237 #      ifdef RTLD_NOW
   11238 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11239 #      else
   11240 #        ifdef DL_NOW
   11241 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11242 #        else
   11243 #          define LT_DLLAZY_OR_NOW	0
   11244 #        endif
   11245 #      endif
   11246 #    endif
   11247 #  endif
   11248 #endif
   11249 
   11250 /* When -fvisbility=hidden is used, assume the code has been annotated
   11251    correspondingly for the symbols needed.  */
   11252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11253 int fnord () __attribute__((visibility("default")));
   11254 #endif
   11255 
   11256 int fnord () { return 42; }
   11257 int main ()
   11258 {
   11259   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11260   int status = $lt_dlunknown;
   11261 
   11262   if (self)
   11263     {
   11264       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11265       else
   11266         {
   11267 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11268           else puts (dlerror ());
   11269 	}
   11270       /* dlclose (self); */
   11271     }
   11272   else
   11273     puts (dlerror ());
   11274 
   11275   return status;
   11276 }
   11277 _LT_EOF
   11278   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11279   (eval $ac_link) 2>&5
   11280   ac_status=$?
   11281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11282   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11283     (./conftest; exit; ) >&5 2>/dev/null
   11284     lt_status=$?
   11285     case x$lt_status in
   11286       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11287       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11288       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11289     esac
   11290   else :
   11291     # compilation failed
   11292     lt_cv_dlopen_self_static=no
   11293   fi
   11294 fi
   11295 rm -fr conftest*
   11296 
   11297 
   11298 fi
   11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11300 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11301     fi
   11302 
   11303     CPPFLAGS="$save_CPPFLAGS"
   11304     LDFLAGS="$save_LDFLAGS"
   11305     LIBS="$save_LIBS"
   11306     ;;
   11307   esac
   11308 
   11309   case $lt_cv_dlopen_self in
   11310   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11311   *) enable_dlopen_self=unknown ;;
   11312   esac
   11313 
   11314   case $lt_cv_dlopen_self_static in
   11315   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11316   *) enable_dlopen_self_static=unknown ;;
   11317   esac
   11318 fi
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 striplib=
   11337 old_striplib=
   11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11339 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11340 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11341   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11342   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11344 $as_echo "yes" >&6; }
   11345 else
   11346 # FIXME - insert some real tests, host_os isn't really good enough
   11347   case $host_os in
   11348   darwin*)
   11349     if test -n "$STRIP" ; then
   11350       striplib="$STRIP -x"
   11351       old_striplib="$STRIP -S"
   11352       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11353 $as_echo "yes" >&6; }
   11354     else
   11355       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11356 $as_echo "no" >&6; }
   11357     fi
   11358     ;;
   11359   *)
   11360     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11361 $as_echo "no" >&6; }
   11362     ;;
   11363   esac
   11364 fi
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377   # Report which library types will actually be built
   11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11379 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11381 $as_echo "$can_build_shared" >&6; }
   11382 
   11383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11384 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11385   test "$can_build_shared" = "no" && enable_shared=no
   11386 
   11387   # On AIX, shared libraries and static libraries use the same namespace, and
   11388   # are all built from PIC.
   11389   case $host_os in
   11390   aix3*)
   11391     test "$enable_shared" = yes && enable_static=no
   11392     if test -n "$RANLIB"; then
   11393       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11394       postinstall_cmds='$RANLIB $lib'
   11395     fi
   11396     ;;
   11397 
   11398   aix[4-9]*)
   11399     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11400       test "$enable_shared" = yes && enable_static=no
   11401     fi
   11402     ;;
   11403   esac
   11404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11405 $as_echo "$enable_shared" >&6; }
   11406 
   11407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11408 $as_echo_n "checking whether to build static libraries... " >&6; }
   11409   # Make sure either enable_shared or enable_static is yes.
   11410   test "$enable_shared" = yes || enable_static=yes
   11411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11412 $as_echo "$enable_static" >&6; }
   11413 
   11414 
   11415 
   11416 
   11417 fi
   11418 ac_ext=c
   11419 ac_cpp='$CPP $CPPFLAGS'
   11420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11423 
   11424 CC="$lt_save_CC"
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438         ac_config_commands="$ac_config_commands libtool"
   11439 
   11440 
   11441 
   11442 
   11443 # Only expand once:
   11444 
   11445 
   11446 
   11447 # Require xorg-macros minimum of 1.12 for DocBook external references
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11460 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11461 if ${ac_cv_prog_cc_c99+:} false; then :
   11462   $as_echo_n "(cached) " >&6
   11463 else
   11464   ac_cv_prog_cc_c99=no
   11465 ac_save_CC=$CC
   11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11467 /* end confdefs.h.  */
   11468 #include <stdarg.h>
   11469 #include <stdbool.h>
   11470 #include <stdlib.h>
   11471 #include <wchar.h>
   11472 #include <stdio.h>
   11473 
   11474 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11475 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11476 #define showlist(...) puts (#__VA_ARGS__)
   11477 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11478 static void
   11479 test_varargs_macros (void)
   11480 {
   11481   int x = 1234;
   11482   int y = 5678;
   11483   debug ("Flag");
   11484   debug ("X = %d\n", x);
   11485   showlist (The first, second, and third items.);
   11486   report (x>y, "x is %d but y is %d", x, y);
   11487 }
   11488 
   11489 // Check long long types.
   11490 #define BIG64 18446744073709551615ull
   11491 #define BIG32 4294967295ul
   11492 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11493 #if !BIG_OK
   11494   your preprocessor is broken;
   11495 #endif
   11496 #if BIG_OK
   11497 #else
   11498   your preprocessor is broken;
   11499 #endif
   11500 static long long int bignum = -9223372036854775807LL;
   11501 static unsigned long long int ubignum = BIG64;
   11502 
   11503 struct incomplete_array
   11504 {
   11505   int datasize;
   11506   double data[];
   11507 };
   11508 
   11509 struct named_init {
   11510   int number;
   11511   const wchar_t *name;
   11512   double average;
   11513 };
   11514 
   11515 typedef const char *ccp;
   11516 
   11517 static inline int
   11518 test_restrict (ccp restrict text)
   11519 {
   11520   // See if C++-style comments work.
   11521   // Iterate through items via the restricted pointer.
   11522   // Also check for declarations in for loops.
   11523   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11524     continue;
   11525   return 0;
   11526 }
   11527 
   11528 // Check varargs and va_copy.
   11529 static void
   11530 test_varargs (const char *format, ...)
   11531 {
   11532   va_list args;
   11533   va_start (args, format);
   11534   va_list args_copy;
   11535   va_copy (args_copy, args);
   11536 
   11537   const char *str;
   11538   int number;
   11539   float fnumber;
   11540 
   11541   while (*format)
   11542     {
   11543       switch (*format++)
   11544 	{
   11545 	case 's': // string
   11546 	  str = va_arg (args_copy, const char *);
   11547 	  break;
   11548 	case 'd': // int
   11549 	  number = va_arg (args_copy, int);
   11550 	  break;
   11551 	case 'f': // float
   11552 	  fnumber = va_arg (args_copy, double);
   11553 	  break;
   11554 	default:
   11555 	  break;
   11556 	}
   11557     }
   11558   va_end (args_copy);
   11559   va_end (args);
   11560 }
   11561 
   11562 int
   11563 main ()
   11564 {
   11565 
   11566   // Check bool.
   11567   _Bool success = false;
   11568 
   11569   // Check restrict.
   11570   if (test_restrict ("String literal") == 0)
   11571     success = true;
   11572   char *restrict newvar = "Another string";
   11573 
   11574   // Check varargs.
   11575   test_varargs ("s, d' f .", "string", 65, 34.234);
   11576   test_varargs_macros ();
   11577 
   11578   // Check flexible array members.
   11579   struct incomplete_array *ia =
   11580     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11581   ia->datasize = 10;
   11582   for (int i = 0; i < ia->datasize; ++i)
   11583     ia->data[i] = i * 1.234;
   11584 
   11585   // Check named initializers.
   11586   struct named_init ni = {
   11587     .number = 34,
   11588     .name = L"Test wide string",
   11589     .average = 543.34343,
   11590   };
   11591 
   11592   ni.number = 58;
   11593 
   11594   int dynamic_array[ni.number];
   11595   dynamic_array[ni.number - 1] = 543;
   11596 
   11597   // work around unused variable warnings
   11598   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11599 	  || dynamic_array[ni.number - 1] != 543);
   11600 
   11601   ;
   11602   return 0;
   11603 }
   11604 _ACEOF
   11605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11606 do
   11607   CC="$ac_save_CC $ac_arg"
   11608   if ac_fn_c_try_compile "$LINENO"; then :
   11609   ac_cv_prog_cc_c99=$ac_arg
   11610 fi
   11611 rm -f core conftest.err conftest.$ac_objext
   11612   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11613 done
   11614 rm -f conftest.$ac_ext
   11615 CC=$ac_save_CC
   11616 
   11617 fi
   11618 # AC_CACHE_VAL
   11619 case "x$ac_cv_prog_cc_c99" in
   11620   x)
   11621     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11622 $as_echo "none needed" >&6; } ;;
   11623   xno)
   11624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11625 $as_echo "unsupported" >&6; } ;;
   11626   *)
   11627     CC="$CC $ac_cv_prog_cc_c99"
   11628     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11629 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11630 esac
   11631 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11632 
   11633 fi
   11634 
   11635 
   11636 
   11637 
   11638 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11639 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11640   CLANGCC="yes"
   11641 else
   11642   CLANGCC="no"
   11643 fi
   11644 
   11645 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11646 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11647   INTELCC="yes"
   11648 else
   11649   INTELCC="no"
   11650 fi
   11651 
   11652 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11653 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11654   SUNCC="yes"
   11655 else
   11656   SUNCC="no"
   11657 fi
   11658 
   11659 
   11660 
   11661 
   11662 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11663 	if test -n "$ac_tool_prefix"; then
   11664   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11665 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11667 $as_echo_n "checking for $ac_word... " >&6; }
   11668 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11669   $as_echo_n "(cached) " >&6
   11670 else
   11671   case $PKG_CONFIG in
   11672   [\\/]* | ?:[\\/]*)
   11673   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11674   ;;
   11675   *)
   11676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11677 for as_dir in $PATH
   11678 do
   11679   IFS=$as_save_IFS
   11680   test -z "$as_dir" && as_dir=.
   11681     for ac_exec_ext in '' $ac_executable_extensions; do
   11682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11683     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11685     break 2
   11686   fi
   11687 done
   11688   done
   11689 IFS=$as_save_IFS
   11690 
   11691   ;;
   11692 esac
   11693 fi
   11694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11695 if test -n "$PKG_CONFIG"; then
   11696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11697 $as_echo "$PKG_CONFIG" >&6; }
   11698 else
   11699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11700 $as_echo "no" >&6; }
   11701 fi
   11702 
   11703 
   11704 fi
   11705 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11706   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11707   # Extract the first word of "pkg-config", so it can be a program name with args.
   11708 set dummy pkg-config; ac_word=$2
   11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11710 $as_echo_n "checking for $ac_word... " >&6; }
   11711 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11712   $as_echo_n "(cached) " >&6
   11713 else
   11714   case $ac_pt_PKG_CONFIG in
   11715   [\\/]* | ?:[\\/]*)
   11716   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11717   ;;
   11718   *)
   11719   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11720 for as_dir in $PATH
   11721 do
   11722   IFS=$as_save_IFS
   11723   test -z "$as_dir" && as_dir=.
   11724     for ac_exec_ext in '' $ac_executable_extensions; do
   11725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11726     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11728     break 2
   11729   fi
   11730 done
   11731   done
   11732 IFS=$as_save_IFS
   11733 
   11734   ;;
   11735 esac
   11736 fi
   11737 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11738 if test -n "$ac_pt_PKG_CONFIG"; then
   11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11740 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11741 else
   11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11743 $as_echo "no" >&6; }
   11744 fi
   11745 
   11746   if test "x$ac_pt_PKG_CONFIG" = x; then
   11747     PKG_CONFIG=""
   11748   else
   11749     case $cross_compiling:$ac_tool_warned in
   11750 yes:)
   11751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11753 ac_tool_warned=yes ;;
   11754 esac
   11755     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11756   fi
   11757 else
   11758   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11759 fi
   11760 
   11761 fi
   11762 if test -n "$PKG_CONFIG"; then
   11763 	_pkg_min_version=0.9.0
   11764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11765 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11766 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11768 $as_echo "yes" >&6; }
   11769 	else
   11770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11771 $as_echo "no" >&6; }
   11772 		PKG_CONFIG=""
   11773 	fi
   11774 
   11775 fi
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 # Check whether --enable-selective-werror was given.
   11782 if test "${enable_selective_werror+set}" = set; then :
   11783   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11784 else
   11785   SELECTIVE_WERROR=yes
   11786 fi
   11787 
   11788 
   11789 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11790 if test "x$SUNCC" = "xyes"; then
   11791     BASE_CFLAGS="-v"
   11792 else
   11793     BASE_CFLAGS=""
   11794 fi
   11795 
   11796 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 xorg_testset_save_CFLAGS="$CFLAGS"
   11803 
   11804 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11809   $as_echo_n "(cached) " >&6
   11810 else
   11811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11812 /* end confdefs.h.  */
   11813 int i;
   11814 _ACEOF
   11815 if ac_fn_c_try_compile "$LINENO"; then :
   11816   xorg_cv_cc_flag_unknown_warning_option=yes
   11817 else
   11818   xorg_cv_cc_flag_unknown_warning_option=no
   11819 fi
   11820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11821 fi
   11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11824 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11825 	CFLAGS="$xorg_testset_save_CFLAGS"
   11826 fi
   11827 
   11828 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11829 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11831 	fi
   11832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11836   $as_echo_n "(cached) " >&6
   11837 else
   11838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11839 /* end confdefs.h.  */
   11840 int i;
   11841 _ACEOF
   11842 if ac_fn_c_try_compile "$LINENO"; then :
   11843   xorg_cv_cc_flag_unused_command_line_argument=yes
   11844 else
   11845   xorg_cv_cc_flag_unused_command_line_argument=no
   11846 fi
   11847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11848 fi
   11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11851 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11852 	CFLAGS="$xorg_testset_save_CFLAGS"
   11853 fi
   11854 
   11855 found="no"
   11856 
   11857 	if test $found = "no" ; then
   11858 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11860 		fi
   11861 
   11862 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11864 		fi
   11865 
   11866 		CFLAGS="$CFLAGS -Wall"
   11867 
   11868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11869 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11870 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   11871 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11872   $as_echo_n "(cached) " >&6
   11873 else
   11874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11875 /* end confdefs.h.  */
   11876 int i;
   11877 int
   11878 main ()
   11879 {
   11880 
   11881   ;
   11882   return 0;
   11883 }
   11884 _ACEOF
   11885 if ac_fn_c_try_link "$LINENO"; then :
   11886   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11887 else
   11888   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11889 fi
   11890 rm -f core conftest.err conftest.$ac_objext \
   11891     conftest$ac_exeext conftest.$ac_ext
   11892 fi
   11893 
   11894 
   11895 		CFLAGS="$xorg_testset_save_CFLAGS"
   11896 
   11897 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11899 $as_echo "$supported" >&6; }
   11900 		if test "$supported" = "yes" ; then
   11901 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11902 			found="yes"
   11903 		fi
   11904 	fi
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 xorg_testset_save_CFLAGS="$CFLAGS"
   11913 
   11914 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11919   $as_echo_n "(cached) " >&6
   11920 else
   11921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11922 /* end confdefs.h.  */
   11923 int i;
   11924 _ACEOF
   11925 if ac_fn_c_try_compile "$LINENO"; then :
   11926   xorg_cv_cc_flag_unknown_warning_option=yes
   11927 else
   11928   xorg_cv_cc_flag_unknown_warning_option=no
   11929 fi
   11930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11931 fi
   11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11934 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11935 	CFLAGS="$xorg_testset_save_CFLAGS"
   11936 fi
   11937 
   11938 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11939 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11941 	fi
   11942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11946   $as_echo_n "(cached) " >&6
   11947 else
   11948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11949 /* end confdefs.h.  */
   11950 int i;
   11951 _ACEOF
   11952 if ac_fn_c_try_compile "$LINENO"; then :
   11953   xorg_cv_cc_flag_unused_command_line_argument=yes
   11954 else
   11955   xorg_cv_cc_flag_unused_command_line_argument=no
   11956 fi
   11957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11958 fi
   11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11961 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11962 	CFLAGS="$xorg_testset_save_CFLAGS"
   11963 fi
   11964 
   11965 found="no"
   11966 
   11967 	if test $found = "no" ; then
   11968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11970 		fi
   11971 
   11972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11974 		fi
   11975 
   11976 		CFLAGS="$CFLAGS -Wpointer-arith"
   11977 
   11978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11979 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11980 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   11981 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11982   $as_echo_n "(cached) " >&6
   11983 else
   11984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11985 /* end confdefs.h.  */
   11986 int i;
   11987 int
   11988 main ()
   11989 {
   11990 
   11991   ;
   11992   return 0;
   11993 }
   11994 _ACEOF
   11995 if ac_fn_c_try_link "$LINENO"; then :
   11996   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11997 else
   11998   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11999 fi
   12000 rm -f core conftest.err conftest.$ac_objext \
   12001     conftest$ac_exeext conftest.$ac_ext
   12002 fi
   12003 
   12004 
   12005 		CFLAGS="$xorg_testset_save_CFLAGS"
   12006 
   12007 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12009 $as_echo "$supported" >&6; }
   12010 		if test "$supported" = "yes" ; then
   12011 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12012 			found="yes"
   12013 		fi
   12014 	fi
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 xorg_testset_save_CFLAGS="$CFLAGS"
   12023 
   12024 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12025 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12027 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12028 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12029   $as_echo_n "(cached) " >&6
   12030 else
   12031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12032 /* end confdefs.h.  */
   12033 int i;
   12034 _ACEOF
   12035 if ac_fn_c_try_compile "$LINENO"; then :
   12036   xorg_cv_cc_flag_unknown_warning_option=yes
   12037 else
   12038   xorg_cv_cc_flag_unknown_warning_option=no
   12039 fi
   12040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12041 fi
   12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12043 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12044 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12045 	CFLAGS="$xorg_testset_save_CFLAGS"
   12046 fi
   12047 
   12048 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12049 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12051 	fi
   12052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12054 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12055 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12056   $as_echo_n "(cached) " >&6
   12057 else
   12058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12059 /* end confdefs.h.  */
   12060 int i;
   12061 _ACEOF
   12062 if ac_fn_c_try_compile "$LINENO"; then :
   12063   xorg_cv_cc_flag_unused_command_line_argument=yes
   12064 else
   12065   xorg_cv_cc_flag_unused_command_line_argument=no
   12066 fi
   12067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12068 fi
   12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12070 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12071 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12072 	CFLAGS="$xorg_testset_save_CFLAGS"
   12073 fi
   12074 
   12075 found="no"
   12076 
   12077 	if test $found = "no" ; then
   12078 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12080 		fi
   12081 
   12082 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12084 		fi
   12085 
   12086 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12087 
   12088 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12089 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12090 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12091 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12092   $as_echo_n "(cached) " >&6
   12093 else
   12094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12095 /* end confdefs.h.  */
   12096 int i;
   12097 int
   12098 main ()
   12099 {
   12100 
   12101   ;
   12102   return 0;
   12103 }
   12104 _ACEOF
   12105 if ac_fn_c_try_link "$LINENO"; then :
   12106   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12107 else
   12108   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12109 fi
   12110 rm -f core conftest.err conftest.$ac_objext \
   12111     conftest$ac_exeext conftest.$ac_ext
   12112 fi
   12113 
   12114 
   12115 		CFLAGS="$xorg_testset_save_CFLAGS"
   12116 
   12117 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12118 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12119 $as_echo "$supported" >&6; }
   12120 		if test "$supported" = "yes" ; then
   12121 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12122 			found="yes"
   12123 		fi
   12124 	fi
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 xorg_testset_save_CFLAGS="$CFLAGS"
   12133 
   12134 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12135 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12137 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12138 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12139   $as_echo_n "(cached) " >&6
   12140 else
   12141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12142 /* end confdefs.h.  */
   12143 int i;
   12144 _ACEOF
   12145 if ac_fn_c_try_compile "$LINENO"; then :
   12146   xorg_cv_cc_flag_unknown_warning_option=yes
   12147 else
   12148   xorg_cv_cc_flag_unknown_warning_option=no
   12149 fi
   12150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12151 fi
   12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12153 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12154 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12155 	CFLAGS="$xorg_testset_save_CFLAGS"
   12156 fi
   12157 
   12158 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12159 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12161 	fi
   12162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12164 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12165 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12166   $as_echo_n "(cached) " >&6
   12167 else
   12168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12169 /* end confdefs.h.  */
   12170 int i;
   12171 _ACEOF
   12172 if ac_fn_c_try_compile "$LINENO"; then :
   12173   xorg_cv_cc_flag_unused_command_line_argument=yes
   12174 else
   12175   xorg_cv_cc_flag_unused_command_line_argument=no
   12176 fi
   12177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12178 fi
   12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12180 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12181 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12182 	CFLAGS="$xorg_testset_save_CFLAGS"
   12183 fi
   12184 
   12185 found="no"
   12186 
   12187 	if test $found = "no" ; then
   12188 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12189 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12190 		fi
   12191 
   12192 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12193 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12194 		fi
   12195 
   12196 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12197 
   12198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12199 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12200 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12201 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12202   $as_echo_n "(cached) " >&6
   12203 else
   12204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12205 /* end confdefs.h.  */
   12206 int i;
   12207 int
   12208 main ()
   12209 {
   12210 
   12211   ;
   12212   return 0;
   12213 }
   12214 _ACEOF
   12215 if ac_fn_c_try_link "$LINENO"; then :
   12216   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12217 else
   12218   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12219 fi
   12220 rm -f core conftest.err conftest.$ac_objext \
   12221     conftest$ac_exeext conftest.$ac_ext
   12222 fi
   12223 
   12224 
   12225 		CFLAGS="$xorg_testset_save_CFLAGS"
   12226 
   12227 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12229 $as_echo "$supported" >&6; }
   12230 		if test "$supported" = "yes" ; then
   12231 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12232 			found="yes"
   12233 		fi
   12234 	fi
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 xorg_testset_save_CFLAGS="$CFLAGS"
   12243 
   12244 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12249   $as_echo_n "(cached) " >&6
   12250 else
   12251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12252 /* end confdefs.h.  */
   12253 int i;
   12254 _ACEOF
   12255 if ac_fn_c_try_compile "$LINENO"; then :
   12256   xorg_cv_cc_flag_unknown_warning_option=yes
   12257 else
   12258   xorg_cv_cc_flag_unknown_warning_option=no
   12259 fi
   12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12261 fi
   12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12264 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12265 	CFLAGS="$xorg_testset_save_CFLAGS"
   12266 fi
   12267 
   12268 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12269 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12271 	fi
   12272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12276   $as_echo_n "(cached) " >&6
   12277 else
   12278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12279 /* end confdefs.h.  */
   12280 int i;
   12281 _ACEOF
   12282 if ac_fn_c_try_compile "$LINENO"; then :
   12283   xorg_cv_cc_flag_unused_command_line_argument=yes
   12284 else
   12285   xorg_cv_cc_flag_unused_command_line_argument=no
   12286 fi
   12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12288 fi
   12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12291 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12292 	CFLAGS="$xorg_testset_save_CFLAGS"
   12293 fi
   12294 
   12295 found="no"
   12296 
   12297 	if test $found = "no" ; then
   12298 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12300 		fi
   12301 
   12302 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12304 		fi
   12305 
   12306 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12307 
   12308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12309 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12310 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   12311 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12312   $as_echo_n "(cached) " >&6
   12313 else
   12314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12315 /* end confdefs.h.  */
   12316 int i;
   12317 int
   12318 main ()
   12319 {
   12320 
   12321   ;
   12322   return 0;
   12323 }
   12324 _ACEOF
   12325 if ac_fn_c_try_link "$LINENO"; then :
   12326   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12327 else
   12328   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12329 fi
   12330 rm -f core conftest.err conftest.$ac_objext \
   12331     conftest$ac_exeext conftest.$ac_ext
   12332 fi
   12333 
   12334 
   12335 		CFLAGS="$xorg_testset_save_CFLAGS"
   12336 
   12337 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12339 $as_echo "$supported" >&6; }
   12340 		if test "$supported" = "yes" ; then
   12341 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12342 			found="yes"
   12343 		fi
   12344 	fi
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 xorg_testset_save_CFLAGS="$CFLAGS"
   12353 
   12354 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12359   $as_echo_n "(cached) " >&6
   12360 else
   12361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 int i;
   12364 _ACEOF
   12365 if ac_fn_c_try_compile "$LINENO"; then :
   12366   xorg_cv_cc_flag_unknown_warning_option=yes
   12367 else
   12368   xorg_cv_cc_flag_unknown_warning_option=no
   12369 fi
   12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12371 fi
   12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12374 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12375 	CFLAGS="$xorg_testset_save_CFLAGS"
   12376 fi
   12377 
   12378 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12379 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12381 	fi
   12382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12386   $as_echo_n "(cached) " >&6
   12387 else
   12388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12389 /* end confdefs.h.  */
   12390 int i;
   12391 _ACEOF
   12392 if ac_fn_c_try_compile "$LINENO"; then :
   12393   xorg_cv_cc_flag_unused_command_line_argument=yes
   12394 else
   12395   xorg_cv_cc_flag_unused_command_line_argument=no
   12396 fi
   12397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12398 fi
   12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12401 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12402 	CFLAGS="$xorg_testset_save_CFLAGS"
   12403 fi
   12404 
   12405 found="no"
   12406 
   12407 	if test $found = "no" ; then
   12408 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12410 		fi
   12411 
   12412 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12414 		fi
   12415 
   12416 		CFLAGS="$CFLAGS -Wnested-externs"
   12417 
   12418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12419 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12420 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12421 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12422   $as_echo_n "(cached) " >&6
   12423 else
   12424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12425 /* end confdefs.h.  */
   12426 int i;
   12427 int
   12428 main ()
   12429 {
   12430 
   12431   ;
   12432   return 0;
   12433 }
   12434 _ACEOF
   12435 if ac_fn_c_try_link "$LINENO"; then :
   12436   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12437 else
   12438   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12439 fi
   12440 rm -f core conftest.err conftest.$ac_objext \
   12441     conftest$ac_exeext conftest.$ac_ext
   12442 fi
   12443 
   12444 
   12445 		CFLAGS="$xorg_testset_save_CFLAGS"
   12446 
   12447 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12449 $as_echo "$supported" >&6; }
   12450 		if test "$supported" = "yes" ; then
   12451 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12452 			found="yes"
   12453 		fi
   12454 	fi
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 xorg_testset_save_CFLAGS="$CFLAGS"
   12463 
   12464 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12467 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12468 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12469   $as_echo_n "(cached) " >&6
   12470 else
   12471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12472 /* end confdefs.h.  */
   12473 int i;
   12474 _ACEOF
   12475 if ac_fn_c_try_compile "$LINENO"; then :
   12476   xorg_cv_cc_flag_unknown_warning_option=yes
   12477 else
   12478   xorg_cv_cc_flag_unknown_warning_option=no
   12479 fi
   12480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12481 fi
   12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12483 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12484 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12485 	CFLAGS="$xorg_testset_save_CFLAGS"
   12486 fi
   12487 
   12488 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12489 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12491 	fi
   12492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12494 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12495 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12496   $as_echo_n "(cached) " >&6
   12497 else
   12498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12499 /* end confdefs.h.  */
   12500 int i;
   12501 _ACEOF
   12502 if ac_fn_c_try_compile "$LINENO"; then :
   12503   xorg_cv_cc_flag_unused_command_line_argument=yes
   12504 else
   12505   xorg_cv_cc_flag_unused_command_line_argument=no
   12506 fi
   12507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12508 fi
   12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12510 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12511 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12512 	CFLAGS="$xorg_testset_save_CFLAGS"
   12513 fi
   12514 
   12515 found="no"
   12516 
   12517 	if test $found = "no" ; then
   12518 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12520 		fi
   12521 
   12522 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12524 		fi
   12525 
   12526 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12527 
   12528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12529 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12530 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12531 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12532   $as_echo_n "(cached) " >&6
   12533 else
   12534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12535 /* end confdefs.h.  */
   12536 int i;
   12537 int
   12538 main ()
   12539 {
   12540 
   12541   ;
   12542   return 0;
   12543 }
   12544 _ACEOF
   12545 if ac_fn_c_try_link "$LINENO"; then :
   12546   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12547 else
   12548   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12549 fi
   12550 rm -f core conftest.err conftest.$ac_objext \
   12551     conftest$ac_exeext conftest.$ac_ext
   12552 fi
   12553 
   12554 
   12555 		CFLAGS="$xorg_testset_save_CFLAGS"
   12556 
   12557 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12559 $as_echo "$supported" >&6; }
   12560 		if test "$supported" = "yes" ; then
   12561 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12562 			found="yes"
   12563 		fi
   12564 	fi
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 xorg_testset_save_CFLAGS="$CFLAGS"
   12573 
   12574 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12579   $as_echo_n "(cached) " >&6
   12580 else
   12581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12582 /* end confdefs.h.  */
   12583 int i;
   12584 _ACEOF
   12585 if ac_fn_c_try_compile "$LINENO"; then :
   12586   xorg_cv_cc_flag_unknown_warning_option=yes
   12587 else
   12588   xorg_cv_cc_flag_unknown_warning_option=no
   12589 fi
   12590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12591 fi
   12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12594 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12595 	CFLAGS="$xorg_testset_save_CFLAGS"
   12596 fi
   12597 
   12598 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12599 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12601 	fi
   12602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12606   $as_echo_n "(cached) " >&6
   12607 else
   12608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12609 /* end confdefs.h.  */
   12610 int i;
   12611 _ACEOF
   12612 if ac_fn_c_try_compile "$LINENO"; then :
   12613   xorg_cv_cc_flag_unused_command_line_argument=yes
   12614 else
   12615   xorg_cv_cc_flag_unused_command_line_argument=no
   12616 fi
   12617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12618 fi
   12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12621 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12622 	CFLAGS="$xorg_testset_save_CFLAGS"
   12623 fi
   12624 
   12625 found="no"
   12626 
   12627 	if test $found = "no" ; then
   12628 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12630 		fi
   12631 
   12632 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12634 		fi
   12635 
   12636 		CFLAGS="$CFLAGS -Wformat=2"
   12637 
   12638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12639 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12640 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12641 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12642   $as_echo_n "(cached) " >&6
   12643 else
   12644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12645 /* end confdefs.h.  */
   12646 int i;
   12647 int
   12648 main ()
   12649 {
   12650 
   12651   ;
   12652   return 0;
   12653 }
   12654 _ACEOF
   12655 if ac_fn_c_try_link "$LINENO"; then :
   12656   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12657 else
   12658   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12659 fi
   12660 rm -f core conftest.err conftest.$ac_objext \
   12661     conftest$ac_exeext conftest.$ac_ext
   12662 fi
   12663 
   12664 
   12665 		CFLAGS="$xorg_testset_save_CFLAGS"
   12666 
   12667 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12669 $as_echo "$supported" >&6; }
   12670 		if test "$supported" = "yes" ; then
   12671 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12672 			found="yes"
   12673 		fi
   12674 	fi
   12675 
   12676 	if test $found = "no" ; then
   12677 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12679 		fi
   12680 
   12681 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12683 		fi
   12684 
   12685 		CFLAGS="$CFLAGS -Wformat"
   12686 
   12687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12688 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12689 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12690 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12691   $as_echo_n "(cached) " >&6
   12692 else
   12693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12694 /* end confdefs.h.  */
   12695 int i;
   12696 int
   12697 main ()
   12698 {
   12699 
   12700   ;
   12701   return 0;
   12702 }
   12703 _ACEOF
   12704 if ac_fn_c_try_link "$LINENO"; then :
   12705   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12706 else
   12707   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12708 fi
   12709 rm -f core conftest.err conftest.$ac_objext \
   12710     conftest$ac_exeext conftest.$ac_ext
   12711 fi
   12712 
   12713 
   12714 		CFLAGS="$xorg_testset_save_CFLAGS"
   12715 
   12716 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12718 $as_echo "$supported" >&6; }
   12719 		if test "$supported" = "yes" ; then
   12720 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12721 			found="yes"
   12722 		fi
   12723 	fi
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 xorg_testset_save_CFLAGS="$CFLAGS"
   12732 
   12733 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12738   $as_echo_n "(cached) " >&6
   12739 else
   12740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12741 /* end confdefs.h.  */
   12742 int i;
   12743 _ACEOF
   12744 if ac_fn_c_try_compile "$LINENO"; then :
   12745   xorg_cv_cc_flag_unknown_warning_option=yes
   12746 else
   12747   xorg_cv_cc_flag_unknown_warning_option=no
   12748 fi
   12749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12750 fi
   12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12753 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12754 	CFLAGS="$xorg_testset_save_CFLAGS"
   12755 fi
   12756 
   12757 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12758 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12760 	fi
   12761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12765   $as_echo_n "(cached) " >&6
   12766 else
   12767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12768 /* end confdefs.h.  */
   12769 int i;
   12770 _ACEOF
   12771 if ac_fn_c_try_compile "$LINENO"; then :
   12772   xorg_cv_cc_flag_unused_command_line_argument=yes
   12773 else
   12774   xorg_cv_cc_flag_unused_command_line_argument=no
   12775 fi
   12776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12777 fi
   12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12780 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12781 	CFLAGS="$xorg_testset_save_CFLAGS"
   12782 fi
   12783 
   12784 found="no"
   12785 
   12786 	if test $found = "no" ; then
   12787 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12789 		fi
   12790 
   12791 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12793 		fi
   12794 
   12795 		CFLAGS="$CFLAGS -Wold-style-definition"
   12796 
   12797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12798 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12799 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12800 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12801   $as_echo_n "(cached) " >&6
   12802 else
   12803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12804 /* end confdefs.h.  */
   12805 int i;
   12806 int
   12807 main ()
   12808 {
   12809 
   12810   ;
   12811   return 0;
   12812 }
   12813 _ACEOF
   12814 if ac_fn_c_try_link "$LINENO"; then :
   12815   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12816 else
   12817   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12818 fi
   12819 rm -f core conftest.err conftest.$ac_objext \
   12820     conftest$ac_exeext conftest.$ac_ext
   12821 fi
   12822 
   12823 
   12824 		CFLAGS="$xorg_testset_save_CFLAGS"
   12825 
   12826 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12828 $as_echo "$supported" >&6; }
   12829 		if test "$supported" = "yes" ; then
   12830 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12831 			found="yes"
   12832 		fi
   12833 	fi
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 xorg_testset_save_CFLAGS="$CFLAGS"
   12842 
   12843 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12848   $as_echo_n "(cached) " >&6
   12849 else
   12850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12851 /* end confdefs.h.  */
   12852 int i;
   12853 _ACEOF
   12854 if ac_fn_c_try_compile "$LINENO"; then :
   12855   xorg_cv_cc_flag_unknown_warning_option=yes
   12856 else
   12857   xorg_cv_cc_flag_unknown_warning_option=no
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12860 fi
   12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12863 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12864 	CFLAGS="$xorg_testset_save_CFLAGS"
   12865 fi
   12866 
   12867 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12868 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 	fi
   12871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12875   $as_echo_n "(cached) " >&6
   12876 else
   12877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12878 /* end confdefs.h.  */
   12879 int i;
   12880 _ACEOF
   12881 if ac_fn_c_try_compile "$LINENO"; then :
   12882   xorg_cv_cc_flag_unused_command_line_argument=yes
   12883 else
   12884   xorg_cv_cc_flag_unused_command_line_argument=no
   12885 fi
   12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12887 fi
   12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12890 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12891 	CFLAGS="$xorg_testset_save_CFLAGS"
   12892 fi
   12893 
   12894 found="no"
   12895 
   12896 	if test $found = "no" ; then
   12897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12899 		fi
   12900 
   12901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12903 		fi
   12904 
   12905 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12906 
   12907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12908 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12909 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   12910 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12911   $as_echo_n "(cached) " >&6
   12912 else
   12913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 int i;
   12916 int
   12917 main ()
   12918 {
   12919 
   12920   ;
   12921   return 0;
   12922 }
   12923 _ACEOF
   12924 if ac_fn_c_try_link "$LINENO"; then :
   12925   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12926 else
   12927   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12928 fi
   12929 rm -f core conftest.err conftest.$ac_objext \
   12930     conftest$ac_exeext conftest.$ac_ext
   12931 fi
   12932 
   12933 
   12934 		CFLAGS="$xorg_testset_save_CFLAGS"
   12935 
   12936 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12938 $as_echo "$supported" >&6; }
   12939 		if test "$supported" = "yes" ; then
   12940 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12941 			found="yes"
   12942 		fi
   12943 	fi
   12944 
   12945 
   12946 
   12947 # This chunk adds additional warnings that could catch undesired effects.
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 xorg_testset_save_CFLAGS="$CFLAGS"
   12954 
   12955 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12960   $as_echo_n "(cached) " >&6
   12961 else
   12962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12963 /* end confdefs.h.  */
   12964 int i;
   12965 _ACEOF
   12966 if ac_fn_c_try_compile "$LINENO"; then :
   12967   xorg_cv_cc_flag_unknown_warning_option=yes
   12968 else
   12969   xorg_cv_cc_flag_unknown_warning_option=no
   12970 fi
   12971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12972 fi
   12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12975 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12976 	CFLAGS="$xorg_testset_save_CFLAGS"
   12977 fi
   12978 
   12979 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12980 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12982 	fi
   12983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12987   $as_echo_n "(cached) " >&6
   12988 else
   12989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12990 /* end confdefs.h.  */
   12991 int i;
   12992 _ACEOF
   12993 if ac_fn_c_try_compile "$LINENO"; then :
   12994   xorg_cv_cc_flag_unused_command_line_argument=yes
   12995 else
   12996   xorg_cv_cc_flag_unused_command_line_argument=no
   12997 fi
   12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12999 fi
   13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13002 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13003 	CFLAGS="$xorg_testset_save_CFLAGS"
   13004 fi
   13005 
   13006 found="no"
   13007 
   13008 	if test $found = "no" ; then
   13009 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13011 		fi
   13012 
   13013 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13015 		fi
   13016 
   13017 		CFLAGS="$CFLAGS -Wunused"
   13018 
   13019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13020 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13021 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   13022 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13023   $as_echo_n "(cached) " >&6
   13024 else
   13025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13026 /* end confdefs.h.  */
   13027 int i;
   13028 int
   13029 main ()
   13030 {
   13031 
   13032   ;
   13033   return 0;
   13034 }
   13035 _ACEOF
   13036 if ac_fn_c_try_link "$LINENO"; then :
   13037   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13038 else
   13039   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13040 fi
   13041 rm -f core conftest.err conftest.$ac_objext \
   13042     conftest$ac_exeext conftest.$ac_ext
   13043 fi
   13044 
   13045 
   13046 		CFLAGS="$xorg_testset_save_CFLAGS"
   13047 
   13048 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13050 $as_echo "$supported" >&6; }
   13051 		if test "$supported" = "yes" ; then
   13052 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13053 			found="yes"
   13054 		fi
   13055 	fi
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 xorg_testset_save_CFLAGS="$CFLAGS"
   13064 
   13065 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13073 /* end confdefs.h.  */
   13074 int i;
   13075 _ACEOF
   13076 if ac_fn_c_try_compile "$LINENO"; then :
   13077   xorg_cv_cc_flag_unknown_warning_option=yes
   13078 else
   13079   xorg_cv_cc_flag_unknown_warning_option=no
   13080 fi
   13081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13082 fi
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13085 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13086 	CFLAGS="$xorg_testset_save_CFLAGS"
   13087 fi
   13088 
   13089 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13090 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13092 	fi
   13093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13097   $as_echo_n "(cached) " >&6
   13098 else
   13099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13100 /* end confdefs.h.  */
   13101 int i;
   13102 _ACEOF
   13103 if ac_fn_c_try_compile "$LINENO"; then :
   13104   xorg_cv_cc_flag_unused_command_line_argument=yes
   13105 else
   13106   xorg_cv_cc_flag_unused_command_line_argument=no
   13107 fi
   13108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13109 fi
   13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13112 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13113 	CFLAGS="$xorg_testset_save_CFLAGS"
   13114 fi
   13115 
   13116 found="no"
   13117 
   13118 	if test $found = "no" ; then
   13119 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13121 		fi
   13122 
   13123 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13125 		fi
   13126 
   13127 		CFLAGS="$CFLAGS -Wuninitialized"
   13128 
   13129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13130 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13131 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   13132 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13133   $as_echo_n "(cached) " >&6
   13134 else
   13135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13136 /* end confdefs.h.  */
   13137 int i;
   13138 int
   13139 main ()
   13140 {
   13141 
   13142   ;
   13143   return 0;
   13144 }
   13145 _ACEOF
   13146 if ac_fn_c_try_link "$LINENO"; then :
   13147   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13148 else
   13149   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13150 fi
   13151 rm -f core conftest.err conftest.$ac_objext \
   13152     conftest$ac_exeext conftest.$ac_ext
   13153 fi
   13154 
   13155 
   13156 		CFLAGS="$xorg_testset_save_CFLAGS"
   13157 
   13158 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13160 $as_echo "$supported" >&6; }
   13161 		if test "$supported" = "yes" ; then
   13162 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13163 			found="yes"
   13164 		fi
   13165 	fi
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 
   13173 xorg_testset_save_CFLAGS="$CFLAGS"
   13174 
   13175 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13180   $as_echo_n "(cached) " >&6
   13181 else
   13182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13183 /* end confdefs.h.  */
   13184 int i;
   13185 _ACEOF
   13186 if ac_fn_c_try_compile "$LINENO"; then :
   13187   xorg_cv_cc_flag_unknown_warning_option=yes
   13188 else
   13189   xorg_cv_cc_flag_unknown_warning_option=no
   13190 fi
   13191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13192 fi
   13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13195 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13196 	CFLAGS="$xorg_testset_save_CFLAGS"
   13197 fi
   13198 
   13199 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13200 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13202 	fi
   13203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13207   $as_echo_n "(cached) " >&6
   13208 else
   13209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13210 /* end confdefs.h.  */
   13211 int i;
   13212 _ACEOF
   13213 if ac_fn_c_try_compile "$LINENO"; then :
   13214   xorg_cv_cc_flag_unused_command_line_argument=yes
   13215 else
   13216   xorg_cv_cc_flag_unused_command_line_argument=no
   13217 fi
   13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13219 fi
   13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13222 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13223 	CFLAGS="$xorg_testset_save_CFLAGS"
   13224 fi
   13225 
   13226 found="no"
   13227 
   13228 	if test $found = "no" ; then
   13229 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 		fi
   13232 
   13233 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13235 		fi
   13236 
   13237 		CFLAGS="$CFLAGS -Wshadow"
   13238 
   13239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13240 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13241 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13242 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13243   $as_echo_n "(cached) " >&6
   13244 else
   13245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13246 /* end confdefs.h.  */
   13247 int i;
   13248 int
   13249 main ()
   13250 {
   13251 
   13252   ;
   13253   return 0;
   13254 }
   13255 _ACEOF
   13256 if ac_fn_c_try_link "$LINENO"; then :
   13257   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13258 else
   13259   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13260 fi
   13261 rm -f core conftest.err conftest.$ac_objext \
   13262     conftest$ac_exeext conftest.$ac_ext
   13263 fi
   13264 
   13265 
   13266 		CFLAGS="$xorg_testset_save_CFLAGS"
   13267 
   13268 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13270 $as_echo "$supported" >&6; }
   13271 		if test "$supported" = "yes" ; then
   13272 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13273 			found="yes"
   13274 		fi
   13275 	fi
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 xorg_testset_save_CFLAGS="$CFLAGS"
   13284 
   13285 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13288 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13289 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13290   $as_echo_n "(cached) " >&6
   13291 else
   13292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 int i;
   13295 _ACEOF
   13296 if ac_fn_c_try_compile "$LINENO"; then :
   13297   xorg_cv_cc_flag_unknown_warning_option=yes
   13298 else
   13299   xorg_cv_cc_flag_unknown_warning_option=no
   13300 fi
   13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13302 fi
   13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13304 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13305 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13306 	CFLAGS="$xorg_testset_save_CFLAGS"
   13307 fi
   13308 
   13309 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13310 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13312 	fi
   13313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13315 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13316 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13320 /* end confdefs.h.  */
   13321 int i;
   13322 _ACEOF
   13323 if ac_fn_c_try_compile "$LINENO"; then :
   13324   xorg_cv_cc_flag_unused_command_line_argument=yes
   13325 else
   13326   xorg_cv_cc_flag_unused_command_line_argument=no
   13327 fi
   13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13329 fi
   13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13331 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13332 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13333 	CFLAGS="$xorg_testset_save_CFLAGS"
   13334 fi
   13335 
   13336 found="no"
   13337 
   13338 	if test $found = "no" ; then
   13339 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13341 		fi
   13342 
   13343 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13345 		fi
   13346 
   13347 		CFLAGS="$CFLAGS -Wcast-qual"
   13348 
   13349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13350 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13351 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13352 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13353   $as_echo_n "(cached) " >&6
   13354 else
   13355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13356 /* end confdefs.h.  */
   13357 int i;
   13358 int
   13359 main ()
   13360 {
   13361 
   13362   ;
   13363   return 0;
   13364 }
   13365 _ACEOF
   13366 if ac_fn_c_try_link "$LINENO"; then :
   13367   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13368 else
   13369   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13370 fi
   13371 rm -f core conftest.err conftest.$ac_objext \
   13372     conftest$ac_exeext conftest.$ac_ext
   13373 fi
   13374 
   13375 
   13376 		CFLAGS="$xorg_testset_save_CFLAGS"
   13377 
   13378 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13380 $as_echo "$supported" >&6; }
   13381 		if test "$supported" = "yes" ; then
   13382 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13383 			found="yes"
   13384 		fi
   13385 	fi
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 xorg_testset_save_CFLAGS="$CFLAGS"
   13394 
   13395 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13400   $as_echo_n "(cached) " >&6
   13401 else
   13402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13403 /* end confdefs.h.  */
   13404 int i;
   13405 _ACEOF
   13406 if ac_fn_c_try_compile "$LINENO"; then :
   13407   xorg_cv_cc_flag_unknown_warning_option=yes
   13408 else
   13409   xorg_cv_cc_flag_unknown_warning_option=no
   13410 fi
   13411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13412 fi
   13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13415 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13416 	CFLAGS="$xorg_testset_save_CFLAGS"
   13417 fi
   13418 
   13419 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13420 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13422 	fi
   13423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13427   $as_echo_n "(cached) " >&6
   13428 else
   13429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13430 /* end confdefs.h.  */
   13431 int i;
   13432 _ACEOF
   13433 if ac_fn_c_try_compile "$LINENO"; then :
   13434   xorg_cv_cc_flag_unused_command_line_argument=yes
   13435 else
   13436   xorg_cv_cc_flag_unused_command_line_argument=no
   13437 fi
   13438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13439 fi
   13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13442 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13443 	CFLAGS="$xorg_testset_save_CFLAGS"
   13444 fi
   13445 
   13446 found="no"
   13447 
   13448 	if test $found = "no" ; then
   13449 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13451 		fi
   13452 
   13453 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13455 		fi
   13456 
   13457 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13458 
   13459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13460 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13461 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13462 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13463   $as_echo_n "(cached) " >&6
   13464 else
   13465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13466 /* end confdefs.h.  */
   13467 int i;
   13468 int
   13469 main ()
   13470 {
   13471 
   13472   ;
   13473   return 0;
   13474 }
   13475 _ACEOF
   13476 if ac_fn_c_try_link "$LINENO"; then :
   13477   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13478 else
   13479   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13480 fi
   13481 rm -f core conftest.err conftest.$ac_objext \
   13482     conftest$ac_exeext conftest.$ac_ext
   13483 fi
   13484 
   13485 
   13486 		CFLAGS="$xorg_testset_save_CFLAGS"
   13487 
   13488 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13490 $as_echo "$supported" >&6; }
   13491 		if test "$supported" = "yes" ; then
   13492 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13493 			found="yes"
   13494 		fi
   13495 	fi
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 xorg_testset_save_CFLAGS="$CFLAGS"
   13504 
   13505 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13508 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13509 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13510   $as_echo_n "(cached) " >&6
   13511 else
   13512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13513 /* end confdefs.h.  */
   13514 int i;
   13515 _ACEOF
   13516 if ac_fn_c_try_compile "$LINENO"; then :
   13517   xorg_cv_cc_flag_unknown_warning_option=yes
   13518 else
   13519   xorg_cv_cc_flag_unknown_warning_option=no
   13520 fi
   13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13522 fi
   13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13524 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13525 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13526 	CFLAGS="$xorg_testset_save_CFLAGS"
   13527 fi
   13528 
   13529 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13530 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13532 	fi
   13533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13535 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13536 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13537   $as_echo_n "(cached) " >&6
   13538 else
   13539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13540 /* end confdefs.h.  */
   13541 int i;
   13542 _ACEOF
   13543 if ac_fn_c_try_compile "$LINENO"; then :
   13544   xorg_cv_cc_flag_unused_command_line_argument=yes
   13545 else
   13546   xorg_cv_cc_flag_unused_command_line_argument=no
   13547 fi
   13548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13549 fi
   13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13551 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13552 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13553 	CFLAGS="$xorg_testset_save_CFLAGS"
   13554 fi
   13555 
   13556 found="no"
   13557 
   13558 	if test $found = "no" ; then
   13559 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 		fi
   13562 
   13563 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13565 		fi
   13566 
   13567 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13568 
   13569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13570 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13571 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13572 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13573   $as_echo_n "(cached) " >&6
   13574 else
   13575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13576 /* end confdefs.h.  */
   13577 int i;
   13578 int
   13579 main ()
   13580 {
   13581 
   13582   ;
   13583   return 0;
   13584 }
   13585 _ACEOF
   13586 if ac_fn_c_try_link "$LINENO"; then :
   13587   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13588 else
   13589   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13590 fi
   13591 rm -f core conftest.err conftest.$ac_objext \
   13592     conftest$ac_exeext conftest.$ac_ext
   13593 fi
   13594 
   13595 
   13596 		CFLAGS="$xorg_testset_save_CFLAGS"
   13597 
   13598 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13600 $as_echo "$supported" >&6; }
   13601 		if test "$supported" = "yes" ; then
   13602 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13603 			found="yes"
   13604 		fi
   13605 	fi
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 xorg_testset_save_CFLAGS="$CFLAGS"
   13614 
   13615 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13620   $as_echo_n "(cached) " >&6
   13621 else
   13622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13623 /* end confdefs.h.  */
   13624 int i;
   13625 _ACEOF
   13626 if ac_fn_c_try_compile "$LINENO"; then :
   13627   xorg_cv_cc_flag_unknown_warning_option=yes
   13628 else
   13629   xorg_cv_cc_flag_unknown_warning_option=no
   13630 fi
   13631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13632 fi
   13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13635 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13636 	CFLAGS="$xorg_testset_save_CFLAGS"
   13637 fi
   13638 
   13639 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13640 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13642 	fi
   13643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13647   $as_echo_n "(cached) " >&6
   13648 else
   13649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13650 /* end confdefs.h.  */
   13651 int i;
   13652 _ACEOF
   13653 if ac_fn_c_try_compile "$LINENO"; then :
   13654   xorg_cv_cc_flag_unused_command_line_argument=yes
   13655 else
   13656   xorg_cv_cc_flag_unused_command_line_argument=no
   13657 fi
   13658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13659 fi
   13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13662 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13663 	CFLAGS="$xorg_testset_save_CFLAGS"
   13664 fi
   13665 
   13666 found="no"
   13667 
   13668 	if test $found = "no" ; then
   13669 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 		fi
   13672 
   13673 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13675 		fi
   13676 
   13677 		CFLAGS="$CFLAGS -Wredundant-decls"
   13678 
   13679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13680 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13681 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13682 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13683   $as_echo_n "(cached) " >&6
   13684 else
   13685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13686 /* end confdefs.h.  */
   13687 int i;
   13688 int
   13689 main ()
   13690 {
   13691 
   13692   ;
   13693   return 0;
   13694 }
   13695 _ACEOF
   13696 if ac_fn_c_try_link "$LINENO"; then :
   13697   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13698 else
   13699   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13700 fi
   13701 rm -f core conftest.err conftest.$ac_objext \
   13702     conftest$ac_exeext conftest.$ac_ext
   13703 fi
   13704 
   13705 
   13706 		CFLAGS="$xorg_testset_save_CFLAGS"
   13707 
   13708 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13710 $as_echo "$supported" >&6; }
   13711 		if test "$supported" = "yes" ; then
   13712 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13713 			found="yes"
   13714 		fi
   13715 	fi
   13716 
   13717 
   13718 
   13719 # These are currently disabled because they are noisy.  They will be enabled
   13720 # in the future once the codebase is sufficiently modernized to silence
   13721 # them.  For now, I don't want them to drown out the other warnings.
   13722 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wlogical-op])
   13723 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wparentheses])
   13724 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wcast-align])
   13725 
   13726 # Turn some warnings into errors, so we don't accidently get successful builds
   13727 # when there are problems that should be fixed.
   13728 
   13729 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 xorg_testset_save_CFLAGS="$CFLAGS"
   13736 
   13737 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13742   $as_echo_n "(cached) " >&6
   13743 else
   13744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13745 /* end confdefs.h.  */
   13746 int i;
   13747 _ACEOF
   13748 if ac_fn_c_try_compile "$LINENO"; then :
   13749   xorg_cv_cc_flag_unknown_warning_option=yes
   13750 else
   13751   xorg_cv_cc_flag_unknown_warning_option=no
   13752 fi
   13753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13754 fi
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13757 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13758 	CFLAGS="$xorg_testset_save_CFLAGS"
   13759 fi
   13760 
   13761 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13762 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13764 	fi
   13765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13769   $as_echo_n "(cached) " >&6
   13770 else
   13771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13772 /* end confdefs.h.  */
   13773 int i;
   13774 _ACEOF
   13775 if ac_fn_c_try_compile "$LINENO"; then :
   13776   xorg_cv_cc_flag_unused_command_line_argument=yes
   13777 else
   13778   xorg_cv_cc_flag_unused_command_line_argument=no
   13779 fi
   13780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13781 fi
   13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13784 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13785 	CFLAGS="$xorg_testset_save_CFLAGS"
   13786 fi
   13787 
   13788 found="no"
   13789 
   13790 	if test $found = "no" ; then
   13791 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13793 		fi
   13794 
   13795 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13797 		fi
   13798 
   13799 		CFLAGS="$CFLAGS -Werror=implicit"
   13800 
   13801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13802 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13803 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13804 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13805   $as_echo_n "(cached) " >&6
   13806 else
   13807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13808 /* end confdefs.h.  */
   13809 int i;
   13810 int
   13811 main ()
   13812 {
   13813 
   13814   ;
   13815   return 0;
   13816 }
   13817 _ACEOF
   13818 if ac_fn_c_try_link "$LINENO"; then :
   13819   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13820 else
   13821   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13822 fi
   13823 rm -f core conftest.err conftest.$ac_objext \
   13824     conftest$ac_exeext conftest.$ac_ext
   13825 fi
   13826 
   13827 
   13828 		CFLAGS="$xorg_testset_save_CFLAGS"
   13829 
   13830 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13832 $as_echo "$supported" >&6; }
   13833 		if test "$supported" = "yes" ; then
   13834 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13835 			found="yes"
   13836 		fi
   13837 	fi
   13838 
   13839 	if test $found = "no" ; then
   13840 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13841 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13842 		fi
   13843 
   13844 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13845 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13846 		fi
   13847 
   13848 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13849 
   13850 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13851 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13852 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   13853 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13854   $as_echo_n "(cached) " >&6
   13855 else
   13856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13857 /* end confdefs.h.  */
   13858 int i;
   13859 int
   13860 main ()
   13861 {
   13862 
   13863   ;
   13864   return 0;
   13865 }
   13866 _ACEOF
   13867 if ac_fn_c_try_link "$LINENO"; then :
   13868   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13869 else
   13870   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13871 fi
   13872 rm -f core conftest.err conftest.$ac_objext \
   13873     conftest$ac_exeext conftest.$ac_ext
   13874 fi
   13875 
   13876 
   13877 		CFLAGS="$xorg_testset_save_CFLAGS"
   13878 
   13879 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13881 $as_echo "$supported" >&6; }
   13882 		if test "$supported" = "yes" ; then
   13883 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13884 			found="yes"
   13885 		fi
   13886 	fi
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 xorg_testset_save_CFLAGS="$CFLAGS"
   13895 
   13896 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13899 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13900 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13901   $as_echo_n "(cached) " >&6
   13902 else
   13903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13904 /* end confdefs.h.  */
   13905 int i;
   13906 _ACEOF
   13907 if ac_fn_c_try_compile "$LINENO"; then :
   13908   xorg_cv_cc_flag_unknown_warning_option=yes
   13909 else
   13910   xorg_cv_cc_flag_unknown_warning_option=no
   13911 fi
   13912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13913 fi
   13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13915 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13916 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13917 	CFLAGS="$xorg_testset_save_CFLAGS"
   13918 fi
   13919 
   13920 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13921 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13923 	fi
   13924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13927 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13928   $as_echo_n "(cached) " >&6
   13929 else
   13930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13931 /* end confdefs.h.  */
   13932 int i;
   13933 _ACEOF
   13934 if ac_fn_c_try_compile "$LINENO"; then :
   13935   xorg_cv_cc_flag_unused_command_line_argument=yes
   13936 else
   13937   xorg_cv_cc_flag_unused_command_line_argument=no
   13938 fi
   13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13940 fi
   13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13942 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13943 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13944 	CFLAGS="$xorg_testset_save_CFLAGS"
   13945 fi
   13946 
   13947 found="no"
   13948 
   13949 	if test $found = "no" ; then
   13950 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13952 		fi
   13953 
   13954 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13956 		fi
   13957 
   13958 		CFLAGS="$CFLAGS -Werror=nonnull"
   13959 
   13960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13961 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13962 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   13963 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13964   $as_echo_n "(cached) " >&6
   13965 else
   13966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13967 /* end confdefs.h.  */
   13968 int i;
   13969 int
   13970 main ()
   13971 {
   13972 
   13973   ;
   13974   return 0;
   13975 }
   13976 _ACEOF
   13977 if ac_fn_c_try_link "$LINENO"; then :
   13978   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13979 else
   13980   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13981 fi
   13982 rm -f core conftest.err conftest.$ac_objext \
   13983     conftest$ac_exeext conftest.$ac_ext
   13984 fi
   13985 
   13986 
   13987 		CFLAGS="$xorg_testset_save_CFLAGS"
   13988 
   13989 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13991 $as_echo "$supported" >&6; }
   13992 		if test "$supported" = "yes" ; then
   13993 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   13994 			found="yes"
   13995 		fi
   13996 	fi
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 xorg_testset_save_CFLAGS="$CFLAGS"
   14005 
   14006 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14009 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14010 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14011   $as_echo_n "(cached) " >&6
   14012 else
   14013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14014 /* end confdefs.h.  */
   14015 int i;
   14016 _ACEOF
   14017 if ac_fn_c_try_compile "$LINENO"; then :
   14018   xorg_cv_cc_flag_unknown_warning_option=yes
   14019 else
   14020   xorg_cv_cc_flag_unknown_warning_option=no
   14021 fi
   14022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14023 fi
   14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14025 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14026 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14027 	CFLAGS="$xorg_testset_save_CFLAGS"
   14028 fi
   14029 
   14030 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14031 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14033 	fi
   14034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14036 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14037 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14038   $as_echo_n "(cached) " >&6
   14039 else
   14040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14041 /* end confdefs.h.  */
   14042 int i;
   14043 _ACEOF
   14044 if ac_fn_c_try_compile "$LINENO"; then :
   14045   xorg_cv_cc_flag_unused_command_line_argument=yes
   14046 else
   14047   xorg_cv_cc_flag_unused_command_line_argument=no
   14048 fi
   14049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14050 fi
   14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14052 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14053 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14054 	CFLAGS="$xorg_testset_save_CFLAGS"
   14055 fi
   14056 
   14057 found="no"
   14058 
   14059 	if test $found = "no" ; then
   14060 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14062 		fi
   14063 
   14064 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14066 		fi
   14067 
   14068 		CFLAGS="$CFLAGS -Werror=init-self"
   14069 
   14070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14071 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14072 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   14073 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14074   $as_echo_n "(cached) " >&6
   14075 else
   14076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14077 /* end confdefs.h.  */
   14078 int i;
   14079 int
   14080 main ()
   14081 {
   14082 
   14083   ;
   14084   return 0;
   14085 }
   14086 _ACEOF
   14087 if ac_fn_c_try_link "$LINENO"; then :
   14088   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14089 else
   14090   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14091 fi
   14092 rm -f core conftest.err conftest.$ac_objext \
   14093     conftest$ac_exeext conftest.$ac_ext
   14094 fi
   14095 
   14096 
   14097 		CFLAGS="$xorg_testset_save_CFLAGS"
   14098 
   14099 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14101 $as_echo "$supported" >&6; }
   14102 		if test "$supported" = "yes" ; then
   14103 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14104 			found="yes"
   14105 		fi
   14106 	fi
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 xorg_testset_save_CFLAGS="$CFLAGS"
   14115 
   14116 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14121   $as_echo_n "(cached) " >&6
   14122 else
   14123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14124 /* end confdefs.h.  */
   14125 int i;
   14126 _ACEOF
   14127 if ac_fn_c_try_compile "$LINENO"; then :
   14128   xorg_cv_cc_flag_unknown_warning_option=yes
   14129 else
   14130   xorg_cv_cc_flag_unknown_warning_option=no
   14131 fi
   14132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14133 fi
   14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14136 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14137 	CFLAGS="$xorg_testset_save_CFLAGS"
   14138 fi
   14139 
   14140 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14141 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14143 	fi
   14144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14148   $as_echo_n "(cached) " >&6
   14149 else
   14150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14151 /* end confdefs.h.  */
   14152 int i;
   14153 _ACEOF
   14154 if ac_fn_c_try_compile "$LINENO"; then :
   14155   xorg_cv_cc_flag_unused_command_line_argument=yes
   14156 else
   14157   xorg_cv_cc_flag_unused_command_line_argument=no
   14158 fi
   14159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14160 fi
   14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14163 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14164 	CFLAGS="$xorg_testset_save_CFLAGS"
   14165 fi
   14166 
   14167 found="no"
   14168 
   14169 	if test $found = "no" ; then
   14170 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14172 		fi
   14173 
   14174 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14176 		fi
   14177 
   14178 		CFLAGS="$CFLAGS -Werror=main"
   14179 
   14180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14181 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14182 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14183 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14184   $as_echo_n "(cached) " >&6
   14185 else
   14186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14187 /* end confdefs.h.  */
   14188 int i;
   14189 int
   14190 main ()
   14191 {
   14192 
   14193   ;
   14194   return 0;
   14195 }
   14196 _ACEOF
   14197 if ac_fn_c_try_link "$LINENO"; then :
   14198   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14199 else
   14200   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14201 fi
   14202 rm -f core conftest.err conftest.$ac_objext \
   14203     conftest$ac_exeext conftest.$ac_ext
   14204 fi
   14205 
   14206 
   14207 		CFLAGS="$xorg_testset_save_CFLAGS"
   14208 
   14209 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14211 $as_echo "$supported" >&6; }
   14212 		if test "$supported" = "yes" ; then
   14213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14214 			found="yes"
   14215 		fi
   14216 	fi
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 xorg_testset_save_CFLAGS="$CFLAGS"
   14225 
   14226 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14227 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14229 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14230 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14231   $as_echo_n "(cached) " >&6
   14232 else
   14233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14234 /* end confdefs.h.  */
   14235 int i;
   14236 _ACEOF
   14237 if ac_fn_c_try_compile "$LINENO"; then :
   14238   xorg_cv_cc_flag_unknown_warning_option=yes
   14239 else
   14240   xorg_cv_cc_flag_unknown_warning_option=no
   14241 fi
   14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14243 fi
   14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14245 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14246 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14247 	CFLAGS="$xorg_testset_save_CFLAGS"
   14248 fi
   14249 
   14250 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14251 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14253 	fi
   14254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14256 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14257 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14258   $as_echo_n "(cached) " >&6
   14259 else
   14260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14261 /* end confdefs.h.  */
   14262 int i;
   14263 _ACEOF
   14264 if ac_fn_c_try_compile "$LINENO"; then :
   14265   xorg_cv_cc_flag_unused_command_line_argument=yes
   14266 else
   14267   xorg_cv_cc_flag_unused_command_line_argument=no
   14268 fi
   14269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14270 fi
   14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14272 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14273 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14274 	CFLAGS="$xorg_testset_save_CFLAGS"
   14275 fi
   14276 
   14277 found="no"
   14278 
   14279 	if test $found = "no" ; then
   14280 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14282 		fi
   14283 
   14284 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14286 		fi
   14287 
   14288 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14289 
   14290 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14291 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14292 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14293 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14294   $as_echo_n "(cached) " >&6
   14295 else
   14296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14297 /* end confdefs.h.  */
   14298 int i;
   14299 int
   14300 main ()
   14301 {
   14302 
   14303   ;
   14304   return 0;
   14305 }
   14306 _ACEOF
   14307 if ac_fn_c_try_link "$LINENO"; then :
   14308   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14309 else
   14310   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14311 fi
   14312 rm -f core conftest.err conftest.$ac_objext \
   14313     conftest$ac_exeext conftest.$ac_ext
   14314 fi
   14315 
   14316 
   14317 		CFLAGS="$xorg_testset_save_CFLAGS"
   14318 
   14319 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14320 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14321 $as_echo "$supported" >&6; }
   14322 		if test "$supported" = "yes" ; then
   14323 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14324 			found="yes"
   14325 		fi
   14326 	fi
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 xorg_testset_save_CFLAGS="$CFLAGS"
   14335 
   14336 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14337 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14339 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14340 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14341   $as_echo_n "(cached) " >&6
   14342 else
   14343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14344 /* end confdefs.h.  */
   14345 int i;
   14346 _ACEOF
   14347 if ac_fn_c_try_compile "$LINENO"; then :
   14348   xorg_cv_cc_flag_unknown_warning_option=yes
   14349 else
   14350   xorg_cv_cc_flag_unknown_warning_option=no
   14351 fi
   14352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14353 fi
   14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14355 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14356 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14357 	CFLAGS="$xorg_testset_save_CFLAGS"
   14358 fi
   14359 
   14360 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14361 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14362 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14363 	fi
   14364 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14365 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14366 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14367 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14368   $as_echo_n "(cached) " >&6
   14369 else
   14370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14371 /* end confdefs.h.  */
   14372 int i;
   14373 _ACEOF
   14374 if ac_fn_c_try_compile "$LINENO"; then :
   14375   xorg_cv_cc_flag_unused_command_line_argument=yes
   14376 else
   14377   xorg_cv_cc_flag_unused_command_line_argument=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14380 fi
   14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14382 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14383 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14384 	CFLAGS="$xorg_testset_save_CFLAGS"
   14385 fi
   14386 
   14387 found="no"
   14388 
   14389 	if test $found = "no" ; then
   14390 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 		fi
   14393 
   14394 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14396 		fi
   14397 
   14398 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14399 
   14400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14401 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14402 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14403 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14404   $as_echo_n "(cached) " >&6
   14405 else
   14406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14407 /* end confdefs.h.  */
   14408 int i;
   14409 int
   14410 main ()
   14411 {
   14412 
   14413   ;
   14414   return 0;
   14415 }
   14416 _ACEOF
   14417 if ac_fn_c_try_link "$LINENO"; then :
   14418   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14419 else
   14420   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14421 fi
   14422 rm -f core conftest.err conftest.$ac_objext \
   14423     conftest$ac_exeext conftest.$ac_ext
   14424 fi
   14425 
   14426 
   14427 		CFLAGS="$xorg_testset_save_CFLAGS"
   14428 
   14429 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14431 $as_echo "$supported" >&6; }
   14432 		if test "$supported" = "yes" ; then
   14433 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14434 			found="yes"
   14435 		fi
   14436 	fi
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 xorg_testset_save_CFLAGS="$CFLAGS"
   14445 
   14446 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14451   $as_echo_n "(cached) " >&6
   14452 else
   14453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14454 /* end confdefs.h.  */
   14455 int i;
   14456 _ACEOF
   14457 if ac_fn_c_try_compile "$LINENO"; then :
   14458   xorg_cv_cc_flag_unknown_warning_option=yes
   14459 else
   14460   xorg_cv_cc_flag_unknown_warning_option=no
   14461 fi
   14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14463 fi
   14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14466 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14467 	CFLAGS="$xorg_testset_save_CFLAGS"
   14468 fi
   14469 
   14470 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14471 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 	fi
   14474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14478   $as_echo_n "(cached) " >&6
   14479 else
   14480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14481 /* end confdefs.h.  */
   14482 int i;
   14483 _ACEOF
   14484 if ac_fn_c_try_compile "$LINENO"; then :
   14485   xorg_cv_cc_flag_unused_command_line_argument=yes
   14486 else
   14487   xorg_cv_cc_flag_unused_command_line_argument=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14490 fi
   14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14493 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 found="no"
   14498 
   14499 	if test $found = "no" ; then
   14500 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14502 		fi
   14503 
   14504 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 		fi
   14507 
   14508 		CFLAGS="$CFLAGS -Werror=return-type"
   14509 
   14510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14511 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14512 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14513 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14514   $as_echo_n "(cached) " >&6
   14515 else
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 int
   14520 main ()
   14521 {
   14522 
   14523   ;
   14524   return 0;
   14525 }
   14526 _ACEOF
   14527 if ac_fn_c_try_link "$LINENO"; then :
   14528   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14529 else
   14530   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14531 fi
   14532 rm -f core conftest.err conftest.$ac_objext \
   14533     conftest$ac_exeext conftest.$ac_ext
   14534 fi
   14535 
   14536 
   14537 		CFLAGS="$xorg_testset_save_CFLAGS"
   14538 
   14539 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14541 $as_echo "$supported" >&6; }
   14542 		if test "$supported" = "yes" ; then
   14543 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14544 			found="yes"
   14545 		fi
   14546 	fi
   14547 
   14548 	if test $found = "no" ; then
   14549 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14551 		fi
   14552 
   14553 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14555 		fi
   14556 
   14557 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14558 
   14559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14560 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14561 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14562 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   14569 main ()
   14570 {
   14571 
   14572   ;
   14573   return 0;
   14574 }
   14575 _ACEOF
   14576 if ac_fn_c_try_link "$LINENO"; then :
   14577   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14578 else
   14579   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14580 fi
   14581 rm -f core conftest.err conftest.$ac_objext \
   14582     conftest$ac_exeext conftest.$ac_ext
   14583 fi
   14584 
   14585 
   14586 		CFLAGS="$xorg_testset_save_CFLAGS"
   14587 
   14588 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14590 $as_echo "$supported" >&6; }
   14591 		if test "$supported" = "yes" ; then
   14592 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14593 			found="yes"
   14594 		fi
   14595 	fi
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 xorg_testset_save_CFLAGS="$CFLAGS"
   14604 
   14605 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14610   $as_echo_n "(cached) " >&6
   14611 else
   14612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14613 /* end confdefs.h.  */
   14614 int i;
   14615 _ACEOF
   14616 if ac_fn_c_try_compile "$LINENO"; then :
   14617   xorg_cv_cc_flag_unknown_warning_option=yes
   14618 else
   14619   xorg_cv_cc_flag_unknown_warning_option=no
   14620 fi
   14621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14622 fi
   14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14625 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14626 	CFLAGS="$xorg_testset_save_CFLAGS"
   14627 fi
   14628 
   14629 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14630 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14632 	fi
   14633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14637   $as_echo_n "(cached) " >&6
   14638 else
   14639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14640 /* end confdefs.h.  */
   14641 int i;
   14642 _ACEOF
   14643 if ac_fn_c_try_compile "$LINENO"; then :
   14644   xorg_cv_cc_flag_unused_command_line_argument=yes
   14645 else
   14646   xorg_cv_cc_flag_unused_command_line_argument=no
   14647 fi
   14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14649 fi
   14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14652 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14653 	CFLAGS="$xorg_testset_save_CFLAGS"
   14654 fi
   14655 
   14656 found="no"
   14657 
   14658 	if test $found = "no" ; then
   14659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14661 		fi
   14662 
   14663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14665 		fi
   14666 
   14667 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14668 
   14669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14670 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14671 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14672 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14673   $as_echo_n "(cached) " >&6
   14674 else
   14675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14676 /* end confdefs.h.  */
   14677 int i;
   14678 int
   14679 main ()
   14680 {
   14681 
   14682   ;
   14683   return 0;
   14684 }
   14685 _ACEOF
   14686 if ac_fn_c_try_link "$LINENO"; then :
   14687   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14688 else
   14689   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14690 fi
   14691 rm -f core conftest.err conftest.$ac_objext \
   14692     conftest$ac_exeext conftest.$ac_ext
   14693 fi
   14694 
   14695 
   14696 		CFLAGS="$xorg_testset_save_CFLAGS"
   14697 
   14698 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14700 $as_echo "$supported" >&6; }
   14701 		if test "$supported" = "yes" ; then
   14702 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14703 			found="yes"
   14704 		fi
   14705 	fi
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 xorg_testset_save_CFLAGS="$CFLAGS"
   14714 
   14715 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14718 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14719 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14720   $as_echo_n "(cached) " >&6
   14721 else
   14722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14723 /* end confdefs.h.  */
   14724 int i;
   14725 _ACEOF
   14726 if ac_fn_c_try_compile "$LINENO"; then :
   14727   xorg_cv_cc_flag_unknown_warning_option=yes
   14728 else
   14729   xorg_cv_cc_flag_unknown_warning_option=no
   14730 fi
   14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14732 fi
   14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14734 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14735 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14736 	CFLAGS="$xorg_testset_save_CFLAGS"
   14737 fi
   14738 
   14739 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14740 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14742 	fi
   14743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14745 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14746 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14747   $as_echo_n "(cached) " >&6
   14748 else
   14749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14750 /* end confdefs.h.  */
   14751 int i;
   14752 _ACEOF
   14753 if ac_fn_c_try_compile "$LINENO"; then :
   14754   xorg_cv_cc_flag_unused_command_line_argument=yes
   14755 else
   14756   xorg_cv_cc_flag_unused_command_line_argument=no
   14757 fi
   14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14759 fi
   14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14761 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14762 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14763 	CFLAGS="$xorg_testset_save_CFLAGS"
   14764 fi
   14765 
   14766 found="no"
   14767 
   14768 	if test $found = "no" ; then
   14769 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14771 		fi
   14772 
   14773 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14775 		fi
   14776 
   14777 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14778 
   14779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14780 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14781 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14782 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14783   $as_echo_n "(cached) " >&6
   14784 else
   14785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14786 /* end confdefs.h.  */
   14787 int i;
   14788 int
   14789 main ()
   14790 {
   14791 
   14792   ;
   14793   return 0;
   14794 }
   14795 _ACEOF
   14796 if ac_fn_c_try_link "$LINENO"; then :
   14797   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14798 else
   14799   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14800 fi
   14801 rm -f core conftest.err conftest.$ac_objext \
   14802     conftest$ac_exeext conftest.$ac_ext
   14803 fi
   14804 
   14805 
   14806 		CFLAGS="$xorg_testset_save_CFLAGS"
   14807 
   14808 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14810 $as_echo "$supported" >&6; }
   14811 		if test "$supported" = "yes" ; then
   14812 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14813 			found="yes"
   14814 		fi
   14815 	fi
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 xorg_testset_save_CFLAGS="$CFLAGS"
   14824 
   14825 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14830   $as_echo_n "(cached) " >&6
   14831 else
   14832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14833 /* end confdefs.h.  */
   14834 int i;
   14835 _ACEOF
   14836 if ac_fn_c_try_compile "$LINENO"; then :
   14837   xorg_cv_cc_flag_unknown_warning_option=yes
   14838 else
   14839   xorg_cv_cc_flag_unknown_warning_option=no
   14840 fi
   14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14842 fi
   14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14845 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14846 	CFLAGS="$xorg_testset_save_CFLAGS"
   14847 fi
   14848 
   14849 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14850 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14852 	fi
   14853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14857   $as_echo_n "(cached) " >&6
   14858 else
   14859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 _ACEOF
   14863 if ac_fn_c_try_compile "$LINENO"; then :
   14864   xorg_cv_cc_flag_unused_command_line_argument=yes
   14865 else
   14866   xorg_cv_cc_flag_unused_command_line_argument=no
   14867 fi
   14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14869 fi
   14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14872 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14873 	CFLAGS="$xorg_testset_save_CFLAGS"
   14874 fi
   14875 
   14876 found="no"
   14877 
   14878 	if test $found = "no" ; then
   14879 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14881 		fi
   14882 
   14883 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14885 		fi
   14886 
   14887 		CFLAGS="$CFLAGS -Werror=write-strings"
   14888 
   14889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14890 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14891 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   14892 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14893   $as_echo_n "(cached) " >&6
   14894 else
   14895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14896 /* end confdefs.h.  */
   14897 int i;
   14898 int
   14899 main ()
   14900 {
   14901 
   14902   ;
   14903   return 0;
   14904 }
   14905 _ACEOF
   14906 if ac_fn_c_try_link "$LINENO"; then :
   14907   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14908 else
   14909   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14910 fi
   14911 rm -f core conftest.err conftest.$ac_objext \
   14912     conftest$ac_exeext conftest.$ac_ext
   14913 fi
   14914 
   14915 
   14916 		CFLAGS="$xorg_testset_save_CFLAGS"
   14917 
   14918 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14920 $as_echo "$supported" >&6; }
   14921 		if test "$supported" = "yes" ; then
   14922 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14923 			found="yes"
   14924 		fi
   14925 	fi
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 xorg_testset_save_CFLAGS="$CFLAGS"
   14934 
   14935 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14936 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14938 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14939 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14940   $as_echo_n "(cached) " >&6
   14941 else
   14942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14943 /* end confdefs.h.  */
   14944 int i;
   14945 _ACEOF
   14946 if ac_fn_c_try_compile "$LINENO"; then :
   14947   xorg_cv_cc_flag_unknown_warning_option=yes
   14948 else
   14949   xorg_cv_cc_flag_unknown_warning_option=no
   14950 fi
   14951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14952 fi
   14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14954 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14955 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14956 	CFLAGS="$xorg_testset_save_CFLAGS"
   14957 fi
   14958 
   14959 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14960 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14961 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14962 	fi
   14963 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14964 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14965 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14966 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14967   $as_echo_n "(cached) " >&6
   14968 else
   14969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14970 /* end confdefs.h.  */
   14971 int i;
   14972 _ACEOF
   14973 if ac_fn_c_try_compile "$LINENO"; then :
   14974   xorg_cv_cc_flag_unused_command_line_argument=yes
   14975 else
   14976   xorg_cv_cc_flag_unused_command_line_argument=no
   14977 fi
   14978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14979 fi
   14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14981 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14982 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14983 	CFLAGS="$xorg_testset_save_CFLAGS"
   14984 fi
   14985 
   14986 found="no"
   14987 
   14988 	if test $found = "no" ; then
   14989 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14991 		fi
   14992 
   14993 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14995 		fi
   14996 
   14997 		CFLAGS="$CFLAGS -Werror=address"
   14998 
   14999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15000 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15001 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   15002 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15003   $as_echo_n "(cached) " >&6
   15004 else
   15005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15006 /* end confdefs.h.  */
   15007 int i;
   15008 int
   15009 main ()
   15010 {
   15011 
   15012   ;
   15013   return 0;
   15014 }
   15015 _ACEOF
   15016 if ac_fn_c_try_link "$LINENO"; then :
   15017   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15018 else
   15019   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15020 fi
   15021 rm -f core conftest.err conftest.$ac_objext \
   15022     conftest$ac_exeext conftest.$ac_ext
   15023 fi
   15024 
   15025 
   15026 		CFLAGS="$xorg_testset_save_CFLAGS"
   15027 
   15028 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15030 $as_echo "$supported" >&6; }
   15031 		if test "$supported" = "yes" ; then
   15032 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15033 			found="yes"
   15034 		fi
   15035 	fi
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 xorg_testset_save_CFLAGS="$CFLAGS"
   15044 
   15045 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15050   $as_echo_n "(cached) " >&6
   15051 else
   15052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15053 /* end confdefs.h.  */
   15054 int i;
   15055 _ACEOF
   15056 if ac_fn_c_try_compile "$LINENO"; then :
   15057   xorg_cv_cc_flag_unknown_warning_option=yes
   15058 else
   15059   xorg_cv_cc_flag_unknown_warning_option=no
   15060 fi
   15061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15062 fi
   15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15065 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15066 	CFLAGS="$xorg_testset_save_CFLAGS"
   15067 fi
   15068 
   15069 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15070 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 	fi
   15073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15077   $as_echo_n "(cached) " >&6
   15078 else
   15079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15080 /* end confdefs.h.  */
   15081 int i;
   15082 _ACEOF
   15083 if ac_fn_c_try_compile "$LINENO"; then :
   15084   xorg_cv_cc_flag_unused_command_line_argument=yes
   15085 else
   15086   xorg_cv_cc_flag_unused_command_line_argument=no
   15087 fi
   15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15089 fi
   15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15092 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15093 	CFLAGS="$xorg_testset_save_CFLAGS"
   15094 fi
   15095 
   15096 found="no"
   15097 
   15098 	if test $found = "no" ; then
   15099 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15101 		fi
   15102 
   15103 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15105 		fi
   15106 
   15107 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15108 
   15109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15110 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15111 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15112 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15113   $as_echo_n "(cached) " >&6
   15114 else
   15115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15116 /* end confdefs.h.  */
   15117 int i;
   15118 int
   15119 main ()
   15120 {
   15121 
   15122   ;
   15123   return 0;
   15124 }
   15125 _ACEOF
   15126 if ac_fn_c_try_link "$LINENO"; then :
   15127   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15128 else
   15129   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15130 fi
   15131 rm -f core conftest.err conftest.$ac_objext \
   15132     conftest$ac_exeext conftest.$ac_ext
   15133 fi
   15134 
   15135 
   15136 		CFLAGS="$xorg_testset_save_CFLAGS"
   15137 
   15138 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15140 $as_echo "$supported" >&6; }
   15141 		if test "$supported" = "yes" ; then
   15142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15143 			found="yes"
   15144 		fi
   15145 	fi
   15146 
   15147 	if test $found = "no" ; then
   15148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15150 		fi
   15151 
   15152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15154 		fi
   15155 
   15156 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15157 
   15158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15159 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15160 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15161 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15162   $as_echo_n "(cached) " >&6
   15163 else
   15164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15165 /* end confdefs.h.  */
   15166 int i;
   15167 int
   15168 main ()
   15169 {
   15170 
   15171   ;
   15172   return 0;
   15173 }
   15174 _ACEOF
   15175 if ac_fn_c_try_link "$LINENO"; then :
   15176   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15177 else
   15178   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15179 fi
   15180 rm -f core conftest.err conftest.$ac_objext \
   15181     conftest$ac_exeext conftest.$ac_ext
   15182 fi
   15183 
   15184 
   15185 		CFLAGS="$xorg_testset_save_CFLAGS"
   15186 
   15187 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15189 $as_echo "$supported" >&6; }
   15190 		if test "$supported" = "yes" ; then
   15191 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15192 			found="yes"
   15193 		fi
   15194 	fi
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 xorg_testset_save_CFLAGS="$CFLAGS"
   15203 
   15204 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15209   $as_echo_n "(cached) " >&6
   15210 else
   15211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15212 /* end confdefs.h.  */
   15213 int i;
   15214 _ACEOF
   15215 if ac_fn_c_try_compile "$LINENO"; then :
   15216   xorg_cv_cc_flag_unknown_warning_option=yes
   15217 else
   15218   xorg_cv_cc_flag_unknown_warning_option=no
   15219 fi
   15220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15221 fi
   15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15224 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15225 	CFLAGS="$xorg_testset_save_CFLAGS"
   15226 fi
   15227 
   15228 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15229 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15231 	fi
   15232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15236   $as_echo_n "(cached) " >&6
   15237 else
   15238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15239 /* end confdefs.h.  */
   15240 int i;
   15241 _ACEOF
   15242 if ac_fn_c_try_compile "$LINENO"; then :
   15243   xorg_cv_cc_flag_unused_command_line_argument=yes
   15244 else
   15245   xorg_cv_cc_flag_unused_command_line_argument=no
   15246 fi
   15247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15248 fi
   15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15251 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15252 	CFLAGS="$xorg_testset_save_CFLAGS"
   15253 fi
   15254 
   15255 found="no"
   15256 
   15257 	if test $found = "no" ; then
   15258 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15260 		fi
   15261 
   15262 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15264 		fi
   15265 
   15266 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15267 
   15268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15269 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15270 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15271 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15272   $as_echo_n "(cached) " >&6
   15273 else
   15274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15275 /* end confdefs.h.  */
   15276 int i;
   15277 int
   15278 main ()
   15279 {
   15280 
   15281   ;
   15282   return 0;
   15283 }
   15284 _ACEOF
   15285 if ac_fn_c_try_link "$LINENO"; then :
   15286   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15287 else
   15288   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15289 fi
   15290 rm -f core conftest.err conftest.$ac_objext \
   15291     conftest$ac_exeext conftest.$ac_ext
   15292 fi
   15293 
   15294 
   15295 		CFLAGS="$xorg_testset_save_CFLAGS"
   15296 
   15297 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15299 $as_echo "$supported" >&6; }
   15300 		if test "$supported" = "yes" ; then
   15301 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15302 			found="yes"
   15303 		fi
   15304 	fi
   15305 
   15306  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15307 else
   15308 { $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
   15309 $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;}
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 xorg_testset_save_CFLAGS="$CFLAGS"
   15316 
   15317 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15322   $as_echo_n "(cached) " >&6
   15323 else
   15324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15325 /* end confdefs.h.  */
   15326 int i;
   15327 _ACEOF
   15328 if ac_fn_c_try_compile "$LINENO"; then :
   15329   xorg_cv_cc_flag_unknown_warning_option=yes
   15330 else
   15331   xorg_cv_cc_flag_unknown_warning_option=no
   15332 fi
   15333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15334 fi
   15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15337 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15338 	CFLAGS="$xorg_testset_save_CFLAGS"
   15339 fi
   15340 
   15341 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15342 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15344 	fi
   15345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15349   $as_echo_n "(cached) " >&6
   15350 else
   15351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15352 /* end confdefs.h.  */
   15353 int i;
   15354 _ACEOF
   15355 if ac_fn_c_try_compile "$LINENO"; then :
   15356   xorg_cv_cc_flag_unused_command_line_argument=yes
   15357 else
   15358   xorg_cv_cc_flag_unused_command_line_argument=no
   15359 fi
   15360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15361 fi
   15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15364 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15365 	CFLAGS="$xorg_testset_save_CFLAGS"
   15366 fi
   15367 
   15368 found="no"
   15369 
   15370 	if test $found = "no" ; then
   15371 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15373 		fi
   15374 
   15375 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15377 		fi
   15378 
   15379 		CFLAGS="$CFLAGS -Wimplicit"
   15380 
   15381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15382 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15383 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15384 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15385   $as_echo_n "(cached) " >&6
   15386 else
   15387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15388 /* end confdefs.h.  */
   15389 int i;
   15390 int
   15391 main ()
   15392 {
   15393 
   15394   ;
   15395   return 0;
   15396 }
   15397 _ACEOF
   15398 if ac_fn_c_try_link "$LINENO"; then :
   15399   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15400 else
   15401   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15402 fi
   15403 rm -f core conftest.err conftest.$ac_objext \
   15404     conftest$ac_exeext conftest.$ac_ext
   15405 fi
   15406 
   15407 
   15408 		CFLAGS="$xorg_testset_save_CFLAGS"
   15409 
   15410 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15412 $as_echo "$supported" >&6; }
   15413 		if test "$supported" = "yes" ; then
   15414 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15415 			found="yes"
   15416 		fi
   15417 	fi
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 xorg_testset_save_CFLAGS="$CFLAGS"
   15426 
   15427 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15432   $as_echo_n "(cached) " >&6
   15433 else
   15434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"; then :
   15439   xorg_cv_cc_flag_unknown_warning_option=yes
   15440 else
   15441   xorg_cv_cc_flag_unknown_warning_option=no
   15442 fi
   15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15444 fi
   15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15447 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15448 	CFLAGS="$xorg_testset_save_CFLAGS"
   15449 fi
   15450 
   15451 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15452 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15454 	fi
   15455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15459   $as_echo_n "(cached) " >&6
   15460 else
   15461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15462 /* end confdefs.h.  */
   15463 int i;
   15464 _ACEOF
   15465 if ac_fn_c_try_compile "$LINENO"; then :
   15466   xorg_cv_cc_flag_unused_command_line_argument=yes
   15467 else
   15468   xorg_cv_cc_flag_unused_command_line_argument=no
   15469 fi
   15470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15471 fi
   15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15474 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15475 	CFLAGS="$xorg_testset_save_CFLAGS"
   15476 fi
   15477 
   15478 found="no"
   15479 
   15480 	if test $found = "no" ; then
   15481 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15483 		fi
   15484 
   15485 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15487 		fi
   15488 
   15489 		CFLAGS="$CFLAGS -Wnonnull"
   15490 
   15491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15492 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15493 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15494 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15495   $as_echo_n "(cached) " >&6
   15496 else
   15497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15498 /* end confdefs.h.  */
   15499 int i;
   15500 int
   15501 main ()
   15502 {
   15503 
   15504   ;
   15505   return 0;
   15506 }
   15507 _ACEOF
   15508 if ac_fn_c_try_link "$LINENO"; then :
   15509   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15510 else
   15511   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15512 fi
   15513 rm -f core conftest.err conftest.$ac_objext \
   15514     conftest$ac_exeext conftest.$ac_ext
   15515 fi
   15516 
   15517 
   15518 		CFLAGS="$xorg_testset_save_CFLAGS"
   15519 
   15520 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15522 $as_echo "$supported" >&6; }
   15523 		if test "$supported" = "yes" ; then
   15524 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15525 			found="yes"
   15526 		fi
   15527 	fi
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 xorg_testset_save_CFLAGS="$CFLAGS"
   15536 
   15537 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15542   $as_echo_n "(cached) " >&6
   15543 else
   15544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15545 /* end confdefs.h.  */
   15546 int i;
   15547 _ACEOF
   15548 if ac_fn_c_try_compile "$LINENO"; then :
   15549   xorg_cv_cc_flag_unknown_warning_option=yes
   15550 else
   15551   xorg_cv_cc_flag_unknown_warning_option=no
   15552 fi
   15553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15554 fi
   15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15557 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15558 	CFLAGS="$xorg_testset_save_CFLAGS"
   15559 fi
   15560 
   15561 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15562 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15564 	fi
   15565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15569   $as_echo_n "(cached) " >&6
   15570 else
   15571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15572 /* end confdefs.h.  */
   15573 int i;
   15574 _ACEOF
   15575 if ac_fn_c_try_compile "$LINENO"; then :
   15576   xorg_cv_cc_flag_unused_command_line_argument=yes
   15577 else
   15578   xorg_cv_cc_flag_unused_command_line_argument=no
   15579 fi
   15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15581 fi
   15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15584 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15585 	CFLAGS="$xorg_testset_save_CFLAGS"
   15586 fi
   15587 
   15588 found="no"
   15589 
   15590 	if test $found = "no" ; then
   15591 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15593 		fi
   15594 
   15595 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15597 		fi
   15598 
   15599 		CFLAGS="$CFLAGS -Winit-self"
   15600 
   15601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15602 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15603 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15604 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15605   $as_echo_n "(cached) " >&6
   15606 else
   15607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15608 /* end confdefs.h.  */
   15609 int i;
   15610 int
   15611 main ()
   15612 {
   15613 
   15614   ;
   15615   return 0;
   15616 }
   15617 _ACEOF
   15618 if ac_fn_c_try_link "$LINENO"; then :
   15619   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15620 else
   15621   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15622 fi
   15623 rm -f core conftest.err conftest.$ac_objext \
   15624     conftest$ac_exeext conftest.$ac_ext
   15625 fi
   15626 
   15627 
   15628 		CFLAGS="$xorg_testset_save_CFLAGS"
   15629 
   15630 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15632 $as_echo "$supported" >&6; }
   15633 		if test "$supported" = "yes" ; then
   15634 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15635 			found="yes"
   15636 		fi
   15637 	fi
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 xorg_testset_save_CFLAGS="$CFLAGS"
   15646 
   15647 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15652   $as_echo_n "(cached) " >&6
   15653 else
   15654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15655 /* end confdefs.h.  */
   15656 int i;
   15657 _ACEOF
   15658 if ac_fn_c_try_compile "$LINENO"; then :
   15659   xorg_cv_cc_flag_unknown_warning_option=yes
   15660 else
   15661   xorg_cv_cc_flag_unknown_warning_option=no
   15662 fi
   15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15664 fi
   15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15667 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15668 	CFLAGS="$xorg_testset_save_CFLAGS"
   15669 fi
   15670 
   15671 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15672 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15674 	fi
   15675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15679   $as_echo_n "(cached) " >&6
   15680 else
   15681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15682 /* end confdefs.h.  */
   15683 int i;
   15684 _ACEOF
   15685 if ac_fn_c_try_compile "$LINENO"; then :
   15686   xorg_cv_cc_flag_unused_command_line_argument=yes
   15687 else
   15688   xorg_cv_cc_flag_unused_command_line_argument=no
   15689 fi
   15690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15691 fi
   15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15694 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15695 	CFLAGS="$xorg_testset_save_CFLAGS"
   15696 fi
   15697 
   15698 found="no"
   15699 
   15700 	if test $found = "no" ; then
   15701 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 		fi
   15704 
   15705 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15707 		fi
   15708 
   15709 		CFLAGS="$CFLAGS -Wmain"
   15710 
   15711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15712 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15713 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15714 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15715   $as_echo_n "(cached) " >&6
   15716 else
   15717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15718 /* end confdefs.h.  */
   15719 int i;
   15720 int
   15721 main ()
   15722 {
   15723 
   15724   ;
   15725   return 0;
   15726 }
   15727 _ACEOF
   15728 if ac_fn_c_try_link "$LINENO"; then :
   15729   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15730 else
   15731   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15732 fi
   15733 rm -f core conftest.err conftest.$ac_objext \
   15734     conftest$ac_exeext conftest.$ac_ext
   15735 fi
   15736 
   15737 
   15738 		CFLAGS="$xorg_testset_save_CFLAGS"
   15739 
   15740 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15742 $as_echo "$supported" >&6; }
   15743 		if test "$supported" = "yes" ; then
   15744 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15745 			found="yes"
   15746 		fi
   15747 	fi
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 xorg_testset_save_CFLAGS="$CFLAGS"
   15756 
   15757 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15760 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15761 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   15768 if ac_fn_c_try_compile "$LINENO"; then :
   15769   xorg_cv_cc_flag_unknown_warning_option=yes
   15770 else
   15771   xorg_cv_cc_flag_unknown_warning_option=no
   15772 fi
   15773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15774 fi
   15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15776 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15777 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15778 	CFLAGS="$xorg_testset_save_CFLAGS"
   15779 fi
   15780 
   15781 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15782 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15784 	fi
   15785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15787 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15788 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15789   $as_echo_n "(cached) " >&6
   15790 else
   15791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 int i;
   15794 _ACEOF
   15795 if ac_fn_c_try_compile "$LINENO"; then :
   15796   xorg_cv_cc_flag_unused_command_line_argument=yes
   15797 else
   15798   xorg_cv_cc_flag_unused_command_line_argument=no
   15799 fi
   15800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15801 fi
   15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15803 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15804 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15805 	CFLAGS="$xorg_testset_save_CFLAGS"
   15806 fi
   15807 
   15808 found="no"
   15809 
   15810 	if test $found = "no" ; then
   15811 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15813 		fi
   15814 
   15815 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15817 		fi
   15818 
   15819 		CFLAGS="$CFLAGS -Wmissing-braces"
   15820 
   15821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15822 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15823 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15824 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15825   $as_echo_n "(cached) " >&6
   15826 else
   15827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15828 /* end confdefs.h.  */
   15829 int i;
   15830 int
   15831 main ()
   15832 {
   15833 
   15834   ;
   15835   return 0;
   15836 }
   15837 _ACEOF
   15838 if ac_fn_c_try_link "$LINENO"; then :
   15839   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15840 else
   15841   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15842 fi
   15843 rm -f core conftest.err conftest.$ac_objext \
   15844     conftest$ac_exeext conftest.$ac_ext
   15845 fi
   15846 
   15847 
   15848 		CFLAGS="$xorg_testset_save_CFLAGS"
   15849 
   15850 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15852 $as_echo "$supported" >&6; }
   15853 		if test "$supported" = "yes" ; then
   15854 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15855 			found="yes"
   15856 		fi
   15857 	fi
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 xorg_testset_save_CFLAGS="$CFLAGS"
   15866 
   15867 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15872   $as_echo_n "(cached) " >&6
   15873 else
   15874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15875 /* end confdefs.h.  */
   15876 int i;
   15877 _ACEOF
   15878 if ac_fn_c_try_compile "$LINENO"; then :
   15879   xorg_cv_cc_flag_unknown_warning_option=yes
   15880 else
   15881   xorg_cv_cc_flag_unknown_warning_option=no
   15882 fi
   15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15884 fi
   15885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15887 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15888 	CFLAGS="$xorg_testset_save_CFLAGS"
   15889 fi
   15890 
   15891 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15892 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15894 	fi
   15895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15899   $as_echo_n "(cached) " >&6
   15900 else
   15901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15902 /* end confdefs.h.  */
   15903 int i;
   15904 _ACEOF
   15905 if ac_fn_c_try_compile "$LINENO"; then :
   15906   xorg_cv_cc_flag_unused_command_line_argument=yes
   15907 else
   15908   xorg_cv_cc_flag_unused_command_line_argument=no
   15909 fi
   15910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15911 fi
   15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15914 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15915 	CFLAGS="$xorg_testset_save_CFLAGS"
   15916 fi
   15917 
   15918 found="no"
   15919 
   15920 	if test $found = "no" ; then
   15921 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15923 		fi
   15924 
   15925 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15927 		fi
   15928 
   15929 		CFLAGS="$CFLAGS -Wsequence-point"
   15930 
   15931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   15932 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   15933 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   15934 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   15941 main ()
   15942 {
   15943 
   15944   ;
   15945   return 0;
   15946 }
   15947 _ACEOF
   15948 if ac_fn_c_try_link "$LINENO"; then :
   15949   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15950 else
   15951   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15952 fi
   15953 rm -f core conftest.err conftest.$ac_objext \
   15954     conftest$ac_exeext conftest.$ac_ext
   15955 fi
   15956 
   15957 
   15958 		CFLAGS="$xorg_testset_save_CFLAGS"
   15959 
   15960 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15962 $as_echo "$supported" >&6; }
   15963 		if test "$supported" = "yes" ; then
   15964 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   15965 			found="yes"
   15966 		fi
   15967 	fi
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 xorg_testset_save_CFLAGS="$CFLAGS"
   15976 
   15977 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15980 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15981 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15982   $as_echo_n "(cached) " >&6
   15983 else
   15984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15985 /* end confdefs.h.  */
   15986 int i;
   15987 _ACEOF
   15988 if ac_fn_c_try_compile "$LINENO"; then :
   15989   xorg_cv_cc_flag_unknown_warning_option=yes
   15990 else
   15991   xorg_cv_cc_flag_unknown_warning_option=no
   15992 fi
   15993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15994 fi
   15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15996 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15997 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15998 	CFLAGS="$xorg_testset_save_CFLAGS"
   15999 fi
   16000 
   16001 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16002 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16004 	fi
   16005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16007 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16008 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16009   $as_echo_n "(cached) " >&6
   16010 else
   16011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 int i;
   16014 _ACEOF
   16015 if ac_fn_c_try_compile "$LINENO"; then :
   16016   xorg_cv_cc_flag_unused_command_line_argument=yes
   16017 else
   16018   xorg_cv_cc_flag_unused_command_line_argument=no
   16019 fi
   16020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16021 fi
   16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16023 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16024 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16025 	CFLAGS="$xorg_testset_save_CFLAGS"
   16026 fi
   16027 
   16028 found="no"
   16029 
   16030 	if test $found = "no" ; then
   16031 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16033 		fi
   16034 
   16035 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16037 		fi
   16038 
   16039 		CFLAGS="$CFLAGS -Wreturn-type"
   16040 
   16041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16042 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16043 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16044 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16045   $as_echo_n "(cached) " >&6
   16046 else
   16047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16048 /* end confdefs.h.  */
   16049 int i;
   16050 int
   16051 main ()
   16052 {
   16053 
   16054   ;
   16055   return 0;
   16056 }
   16057 _ACEOF
   16058 if ac_fn_c_try_link "$LINENO"; then :
   16059   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16060 else
   16061   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16062 fi
   16063 rm -f core conftest.err conftest.$ac_objext \
   16064     conftest$ac_exeext conftest.$ac_ext
   16065 fi
   16066 
   16067 
   16068 		CFLAGS="$xorg_testset_save_CFLAGS"
   16069 
   16070 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16072 $as_echo "$supported" >&6; }
   16073 		if test "$supported" = "yes" ; then
   16074 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16075 			found="yes"
   16076 		fi
   16077 	fi
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 xorg_testset_save_CFLAGS="$CFLAGS"
   16086 
   16087 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16092   $as_echo_n "(cached) " >&6
   16093 else
   16094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16095 /* end confdefs.h.  */
   16096 int i;
   16097 _ACEOF
   16098 if ac_fn_c_try_compile "$LINENO"; then :
   16099   xorg_cv_cc_flag_unknown_warning_option=yes
   16100 else
   16101   xorg_cv_cc_flag_unknown_warning_option=no
   16102 fi
   16103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16104 fi
   16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16107 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16108 	CFLAGS="$xorg_testset_save_CFLAGS"
   16109 fi
   16110 
   16111 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16112 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16114 	fi
   16115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16119   $as_echo_n "(cached) " >&6
   16120 else
   16121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16122 /* end confdefs.h.  */
   16123 int i;
   16124 _ACEOF
   16125 if ac_fn_c_try_compile "$LINENO"; then :
   16126   xorg_cv_cc_flag_unused_command_line_argument=yes
   16127 else
   16128   xorg_cv_cc_flag_unused_command_line_argument=no
   16129 fi
   16130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16131 fi
   16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16134 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16135 	CFLAGS="$xorg_testset_save_CFLAGS"
   16136 fi
   16137 
   16138 found="no"
   16139 
   16140 	if test $found = "no" ; then
   16141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16143 		fi
   16144 
   16145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16147 		fi
   16148 
   16149 		CFLAGS="$CFLAGS -Wtrigraphs"
   16150 
   16151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16152 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16153 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16154 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16155   $as_echo_n "(cached) " >&6
   16156 else
   16157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16158 /* end confdefs.h.  */
   16159 int i;
   16160 int
   16161 main ()
   16162 {
   16163 
   16164   ;
   16165   return 0;
   16166 }
   16167 _ACEOF
   16168 if ac_fn_c_try_link "$LINENO"; then :
   16169   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16170 else
   16171   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16172 fi
   16173 rm -f core conftest.err conftest.$ac_objext \
   16174     conftest$ac_exeext conftest.$ac_ext
   16175 fi
   16176 
   16177 
   16178 		CFLAGS="$xorg_testset_save_CFLAGS"
   16179 
   16180 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16182 $as_echo "$supported" >&6; }
   16183 		if test "$supported" = "yes" ; then
   16184 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16185 			found="yes"
   16186 		fi
   16187 	fi
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 xorg_testset_save_CFLAGS="$CFLAGS"
   16196 
   16197 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16202   $as_echo_n "(cached) " >&6
   16203 else
   16204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16205 /* end confdefs.h.  */
   16206 int i;
   16207 _ACEOF
   16208 if ac_fn_c_try_compile "$LINENO"; then :
   16209   xorg_cv_cc_flag_unknown_warning_option=yes
   16210 else
   16211   xorg_cv_cc_flag_unknown_warning_option=no
   16212 fi
   16213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16214 fi
   16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16217 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16218 	CFLAGS="$xorg_testset_save_CFLAGS"
   16219 fi
   16220 
   16221 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16222 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16224 	fi
   16225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16229   $as_echo_n "(cached) " >&6
   16230 else
   16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16232 /* end confdefs.h.  */
   16233 int i;
   16234 _ACEOF
   16235 if ac_fn_c_try_compile "$LINENO"; then :
   16236   xorg_cv_cc_flag_unused_command_line_argument=yes
   16237 else
   16238   xorg_cv_cc_flag_unused_command_line_argument=no
   16239 fi
   16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16241 fi
   16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16244 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16245 	CFLAGS="$xorg_testset_save_CFLAGS"
   16246 fi
   16247 
   16248 found="no"
   16249 
   16250 	if test $found = "no" ; then
   16251 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 		fi
   16254 
   16255 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16257 		fi
   16258 
   16259 		CFLAGS="$CFLAGS -Warray-bounds"
   16260 
   16261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16262 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16263 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16264 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16265   $as_echo_n "(cached) " >&6
   16266 else
   16267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16268 /* end confdefs.h.  */
   16269 int i;
   16270 int
   16271 main ()
   16272 {
   16273 
   16274   ;
   16275   return 0;
   16276 }
   16277 _ACEOF
   16278 if ac_fn_c_try_link "$LINENO"; then :
   16279   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16280 else
   16281   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16282 fi
   16283 rm -f core conftest.err conftest.$ac_objext \
   16284     conftest$ac_exeext conftest.$ac_ext
   16285 fi
   16286 
   16287 
   16288 		CFLAGS="$xorg_testset_save_CFLAGS"
   16289 
   16290 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16292 $as_echo "$supported" >&6; }
   16293 		if test "$supported" = "yes" ; then
   16294 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16295 			found="yes"
   16296 		fi
   16297 	fi
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 xorg_testset_save_CFLAGS="$CFLAGS"
   16306 
   16307 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16312   $as_echo_n "(cached) " >&6
   16313 else
   16314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16315 /* end confdefs.h.  */
   16316 int i;
   16317 _ACEOF
   16318 if ac_fn_c_try_compile "$LINENO"; then :
   16319   xorg_cv_cc_flag_unknown_warning_option=yes
   16320 else
   16321   xorg_cv_cc_flag_unknown_warning_option=no
   16322 fi
   16323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16324 fi
   16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16327 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16328 	CFLAGS="$xorg_testset_save_CFLAGS"
   16329 fi
   16330 
   16331 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16332 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16334 	fi
   16335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16339   $as_echo_n "(cached) " >&6
   16340 else
   16341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16342 /* end confdefs.h.  */
   16343 int i;
   16344 _ACEOF
   16345 if ac_fn_c_try_compile "$LINENO"; then :
   16346   xorg_cv_cc_flag_unused_command_line_argument=yes
   16347 else
   16348   xorg_cv_cc_flag_unused_command_line_argument=no
   16349 fi
   16350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16351 fi
   16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16354 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16355 	CFLAGS="$xorg_testset_save_CFLAGS"
   16356 fi
   16357 
   16358 found="no"
   16359 
   16360 	if test $found = "no" ; then
   16361 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16363 		fi
   16364 
   16365 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16367 		fi
   16368 
   16369 		CFLAGS="$CFLAGS -Wwrite-strings"
   16370 
   16371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16372 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16373 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16374 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16375   $as_echo_n "(cached) " >&6
   16376 else
   16377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16378 /* end confdefs.h.  */
   16379 int i;
   16380 int
   16381 main ()
   16382 {
   16383 
   16384   ;
   16385   return 0;
   16386 }
   16387 _ACEOF
   16388 if ac_fn_c_try_link "$LINENO"; then :
   16389   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16390 else
   16391   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext \
   16394     conftest$ac_exeext conftest.$ac_ext
   16395 fi
   16396 
   16397 
   16398 		CFLAGS="$xorg_testset_save_CFLAGS"
   16399 
   16400 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16402 $as_echo "$supported" >&6; }
   16403 		if test "$supported" = "yes" ; then
   16404 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16405 			found="yes"
   16406 		fi
   16407 	fi
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 xorg_testset_save_CFLAGS="$CFLAGS"
   16416 
   16417 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16422   $as_echo_n "(cached) " >&6
   16423 else
   16424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16425 /* end confdefs.h.  */
   16426 int i;
   16427 _ACEOF
   16428 if ac_fn_c_try_compile "$LINENO"; then :
   16429   xorg_cv_cc_flag_unknown_warning_option=yes
   16430 else
   16431   xorg_cv_cc_flag_unknown_warning_option=no
   16432 fi
   16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16434 fi
   16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16437 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16438 	CFLAGS="$xorg_testset_save_CFLAGS"
   16439 fi
   16440 
   16441 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16442 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16444 	fi
   16445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16449   $as_echo_n "(cached) " >&6
   16450 else
   16451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16452 /* end confdefs.h.  */
   16453 int i;
   16454 _ACEOF
   16455 if ac_fn_c_try_compile "$LINENO"; then :
   16456   xorg_cv_cc_flag_unused_command_line_argument=yes
   16457 else
   16458   xorg_cv_cc_flag_unused_command_line_argument=no
   16459 fi
   16460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16461 fi
   16462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16464 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16465 	CFLAGS="$xorg_testset_save_CFLAGS"
   16466 fi
   16467 
   16468 found="no"
   16469 
   16470 	if test $found = "no" ; then
   16471 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16473 		fi
   16474 
   16475 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16477 		fi
   16478 
   16479 		CFLAGS="$CFLAGS -Waddress"
   16480 
   16481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16482 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16483 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16484 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16485   $as_echo_n "(cached) " >&6
   16486 else
   16487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16488 /* end confdefs.h.  */
   16489 int i;
   16490 int
   16491 main ()
   16492 {
   16493 
   16494   ;
   16495   return 0;
   16496 }
   16497 _ACEOF
   16498 if ac_fn_c_try_link "$LINENO"; then :
   16499   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16500 else
   16501   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16502 fi
   16503 rm -f core conftest.err conftest.$ac_objext \
   16504     conftest$ac_exeext conftest.$ac_ext
   16505 fi
   16506 
   16507 
   16508 		CFLAGS="$xorg_testset_save_CFLAGS"
   16509 
   16510 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16512 $as_echo "$supported" >&6; }
   16513 		if test "$supported" = "yes" ; then
   16514 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16515 			found="yes"
   16516 		fi
   16517 	fi
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 xorg_testset_save_CFLAGS="$CFLAGS"
   16526 
   16527 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16532   $as_echo_n "(cached) " >&6
   16533 else
   16534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16535 /* end confdefs.h.  */
   16536 int i;
   16537 _ACEOF
   16538 if ac_fn_c_try_compile "$LINENO"; then :
   16539   xorg_cv_cc_flag_unknown_warning_option=yes
   16540 else
   16541   xorg_cv_cc_flag_unknown_warning_option=no
   16542 fi
   16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16544 fi
   16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16547 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16548 	CFLAGS="$xorg_testset_save_CFLAGS"
   16549 fi
   16550 
   16551 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16552 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	fi
   16555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16559   $as_echo_n "(cached) " >&6
   16560 else
   16561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16562 /* end confdefs.h.  */
   16563 int i;
   16564 _ACEOF
   16565 if ac_fn_c_try_compile "$LINENO"; then :
   16566   xorg_cv_cc_flag_unused_command_line_argument=yes
   16567 else
   16568   xorg_cv_cc_flag_unused_command_line_argument=no
   16569 fi
   16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16571 fi
   16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16574 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16575 	CFLAGS="$xorg_testset_save_CFLAGS"
   16576 fi
   16577 
   16578 found="no"
   16579 
   16580 	if test $found = "no" ; then
   16581 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 		fi
   16584 
   16585 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16587 		fi
   16588 
   16589 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16590 
   16591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16592 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16593 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16594 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16595   $as_echo_n "(cached) " >&6
   16596 else
   16597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16598 /* end confdefs.h.  */
   16599 int i;
   16600 int
   16601 main ()
   16602 {
   16603 
   16604   ;
   16605   return 0;
   16606 }
   16607 _ACEOF
   16608 if ac_fn_c_try_link "$LINENO"; then :
   16609   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16610 else
   16611   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16612 fi
   16613 rm -f core conftest.err conftest.$ac_objext \
   16614     conftest$ac_exeext conftest.$ac_ext
   16615 fi
   16616 
   16617 
   16618 		CFLAGS="$xorg_testset_save_CFLAGS"
   16619 
   16620 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16622 $as_echo "$supported" >&6; }
   16623 		if test "$supported" = "yes" ; then
   16624 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16625 			found="yes"
   16626 		fi
   16627 	fi
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 xorg_testset_save_CFLAGS="$CFLAGS"
   16636 
   16637 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16640 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16641 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16642   $as_echo_n "(cached) " >&6
   16643 else
   16644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16645 /* end confdefs.h.  */
   16646 int i;
   16647 _ACEOF
   16648 if ac_fn_c_try_compile "$LINENO"; then :
   16649   xorg_cv_cc_flag_unknown_warning_option=yes
   16650 else
   16651   xorg_cv_cc_flag_unknown_warning_option=no
   16652 fi
   16653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16654 fi
   16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16656 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16657 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16658 	CFLAGS="$xorg_testset_save_CFLAGS"
   16659 fi
   16660 
   16661 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16662 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16664 	fi
   16665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16668 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16669   $as_echo_n "(cached) " >&6
   16670 else
   16671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16672 /* end confdefs.h.  */
   16673 int i;
   16674 _ACEOF
   16675 if ac_fn_c_try_compile "$LINENO"; then :
   16676   xorg_cv_cc_flag_unused_command_line_argument=yes
   16677 else
   16678   xorg_cv_cc_flag_unused_command_line_argument=no
   16679 fi
   16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16681 fi
   16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16683 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16684 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16685 	CFLAGS="$xorg_testset_save_CFLAGS"
   16686 fi
   16687 
   16688 found="no"
   16689 
   16690 	if test $found = "no" ; then
   16691 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16693 		fi
   16694 
   16695 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16697 		fi
   16698 
   16699 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16700 
   16701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16702 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16703 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16704 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16705   $as_echo_n "(cached) " >&6
   16706 else
   16707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16708 /* end confdefs.h.  */
   16709 int i;
   16710 int
   16711 main ()
   16712 {
   16713 
   16714   ;
   16715   return 0;
   16716 }
   16717 _ACEOF
   16718 if ac_fn_c_try_link "$LINENO"; then :
   16719   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16720 else
   16721   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16722 fi
   16723 rm -f core conftest.err conftest.$ac_objext \
   16724     conftest$ac_exeext conftest.$ac_ext
   16725 fi
   16726 
   16727 
   16728 		CFLAGS="$xorg_testset_save_CFLAGS"
   16729 
   16730 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16732 $as_echo "$supported" >&6; }
   16733 		if test "$supported" = "yes" ; then
   16734 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16735 			found="yes"
   16736 		fi
   16737 	fi
   16738 
   16739 
   16740 fi
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 CWARNFLAGS="$BASE_CFLAGS"
   16748 if  test "x$GCC" = xyes ; then
   16749     CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16750 fi
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 # Check whether --enable-strict-compilation was given.
   16758 if test "${enable_strict_compilation+set}" = set; then :
   16759   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16760 else
   16761   STRICT_COMPILE=no
   16762 fi
   16763 
   16764 
   16765 STRICT_CFLAGS=""
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 xorg_testset_save_CFLAGS="$CFLAGS"
   16772 
   16773 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16778   $as_echo_n "(cached) " >&6
   16779 else
   16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16781 /* end confdefs.h.  */
   16782 int i;
   16783 _ACEOF
   16784 if ac_fn_c_try_compile "$LINENO"; then :
   16785   xorg_cv_cc_flag_unknown_warning_option=yes
   16786 else
   16787   xorg_cv_cc_flag_unknown_warning_option=no
   16788 fi
   16789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16790 fi
   16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16793 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16794 	CFLAGS="$xorg_testset_save_CFLAGS"
   16795 fi
   16796 
   16797 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16798 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16800 	fi
   16801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16805   $as_echo_n "(cached) " >&6
   16806 else
   16807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16808 /* end confdefs.h.  */
   16809 int i;
   16810 _ACEOF
   16811 if ac_fn_c_try_compile "$LINENO"; then :
   16812   xorg_cv_cc_flag_unused_command_line_argument=yes
   16813 else
   16814   xorg_cv_cc_flag_unused_command_line_argument=no
   16815 fi
   16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16817 fi
   16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16820 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16821 	CFLAGS="$xorg_testset_save_CFLAGS"
   16822 fi
   16823 
   16824 found="no"
   16825 
   16826 	if test $found = "no" ; then
   16827 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16829 		fi
   16830 
   16831 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16833 		fi
   16834 
   16835 		CFLAGS="$CFLAGS -pedantic"
   16836 
   16837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   16838 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   16839 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   16840 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16841   $as_echo_n "(cached) " >&6
   16842 else
   16843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16844 /* end confdefs.h.  */
   16845 int i;
   16846 int
   16847 main ()
   16848 {
   16849 
   16850   ;
   16851   return 0;
   16852 }
   16853 _ACEOF
   16854 if ac_fn_c_try_link "$LINENO"; then :
   16855   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16856 else
   16857   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16858 fi
   16859 rm -f core conftest.err conftest.$ac_objext \
   16860     conftest$ac_exeext conftest.$ac_ext
   16861 fi
   16862 
   16863 
   16864 		CFLAGS="$xorg_testset_save_CFLAGS"
   16865 
   16866 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16868 $as_echo "$supported" >&6; }
   16869 		if test "$supported" = "yes" ; then
   16870 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   16871 			found="yes"
   16872 		fi
   16873 	fi
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 xorg_testset_save_CFLAGS="$CFLAGS"
   16882 
   16883 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16888   $as_echo_n "(cached) " >&6
   16889 else
   16890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 int i;
   16893 _ACEOF
   16894 if ac_fn_c_try_compile "$LINENO"; then :
   16895   xorg_cv_cc_flag_unknown_warning_option=yes
   16896 else
   16897   xorg_cv_cc_flag_unknown_warning_option=no
   16898 fi
   16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16900 fi
   16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16903 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16904 	CFLAGS="$xorg_testset_save_CFLAGS"
   16905 fi
   16906 
   16907 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16908 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16910 	fi
   16911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16915   $as_echo_n "(cached) " >&6
   16916 else
   16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16918 /* end confdefs.h.  */
   16919 int i;
   16920 _ACEOF
   16921 if ac_fn_c_try_compile "$LINENO"; then :
   16922   xorg_cv_cc_flag_unused_command_line_argument=yes
   16923 else
   16924   xorg_cv_cc_flag_unused_command_line_argument=no
   16925 fi
   16926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16927 fi
   16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16930 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16931 	CFLAGS="$xorg_testset_save_CFLAGS"
   16932 fi
   16933 
   16934 found="no"
   16935 
   16936 	if test $found = "no" ; then
   16937 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 		fi
   16940 
   16941 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16943 		fi
   16944 
   16945 		CFLAGS="$CFLAGS -Werror"
   16946 
   16947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   16948 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   16949 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   16950 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16951   $as_echo_n "(cached) " >&6
   16952 else
   16953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16954 /* end confdefs.h.  */
   16955 int i;
   16956 int
   16957 main ()
   16958 {
   16959 
   16960   ;
   16961   return 0;
   16962 }
   16963 _ACEOF
   16964 if ac_fn_c_try_link "$LINENO"; then :
   16965   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16966 else
   16967   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16968 fi
   16969 rm -f core conftest.err conftest.$ac_objext \
   16970     conftest$ac_exeext conftest.$ac_ext
   16971 fi
   16972 
   16973 
   16974 		CFLAGS="$xorg_testset_save_CFLAGS"
   16975 
   16976 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16978 $as_echo "$supported" >&6; }
   16979 		if test "$supported" = "yes" ; then
   16980 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   16981 			found="yes"
   16982 		fi
   16983 	fi
   16984 
   16985 	if test $found = "no" ; then
   16986 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16988 		fi
   16989 
   16990 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16992 		fi
   16993 
   16994 		CFLAGS="$CFLAGS -errwarn"
   16995 
   16996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   16997 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   16998 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   16999 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17000   $as_echo_n "(cached) " >&6
   17001 else
   17002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17003 /* end confdefs.h.  */
   17004 int i;
   17005 int
   17006 main ()
   17007 {
   17008 
   17009   ;
   17010   return 0;
   17011 }
   17012 _ACEOF
   17013 if ac_fn_c_try_link "$LINENO"; then :
   17014   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17015 else
   17016   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17017 fi
   17018 rm -f core conftest.err conftest.$ac_objext \
   17019     conftest$ac_exeext conftest.$ac_ext
   17020 fi
   17021 
   17022 
   17023 		CFLAGS="$xorg_testset_save_CFLAGS"
   17024 
   17025 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17026 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17027 $as_echo "$supported" >&6; }
   17028 		if test "$supported" = "yes" ; then
   17029 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17030 			found="yes"
   17031 		fi
   17032 	fi
   17033 
   17034 
   17035 
   17036 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17037 # activate it with -Werror, so we add it here explicitly.
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 xorg_testset_save_CFLAGS="$CFLAGS"
   17044 
   17045 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17050   $as_echo_n "(cached) " >&6
   17051 else
   17052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17053 /* end confdefs.h.  */
   17054 int i;
   17055 _ACEOF
   17056 if ac_fn_c_try_compile "$LINENO"; then :
   17057   xorg_cv_cc_flag_unknown_warning_option=yes
   17058 else
   17059   xorg_cv_cc_flag_unknown_warning_option=no
   17060 fi
   17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17062 fi
   17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17065 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17066 	CFLAGS="$xorg_testset_save_CFLAGS"
   17067 fi
   17068 
   17069 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17070 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17072 	fi
   17073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17077   $as_echo_n "(cached) " >&6
   17078 else
   17079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17080 /* end confdefs.h.  */
   17081 int i;
   17082 _ACEOF
   17083 if ac_fn_c_try_compile "$LINENO"; then :
   17084   xorg_cv_cc_flag_unused_command_line_argument=yes
   17085 else
   17086   xorg_cv_cc_flag_unused_command_line_argument=no
   17087 fi
   17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17089 fi
   17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17092 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17093 	CFLAGS="$xorg_testset_save_CFLAGS"
   17094 fi
   17095 
   17096 found="no"
   17097 
   17098 	if test $found = "no" ; then
   17099 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17101 		fi
   17102 
   17103 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17105 		fi
   17106 
   17107 		CFLAGS="$CFLAGS -Werror=attributes"
   17108 
   17109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17110 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17111 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17112 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17113   $as_echo_n "(cached) " >&6
   17114 else
   17115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17116 /* end confdefs.h.  */
   17117 int i;
   17118 int
   17119 main ()
   17120 {
   17121 
   17122   ;
   17123   return 0;
   17124 }
   17125 _ACEOF
   17126 if ac_fn_c_try_link "$LINENO"; then :
   17127   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17128 else
   17129   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17130 fi
   17131 rm -f core conftest.err conftest.$ac_objext \
   17132     conftest$ac_exeext conftest.$ac_ext
   17133 fi
   17134 
   17135 
   17136 		CFLAGS="$xorg_testset_save_CFLAGS"
   17137 
   17138 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17140 $as_echo "$supported" >&6; }
   17141 		if test "$supported" = "yes" ; then
   17142 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17143 			found="yes"
   17144 		fi
   17145 	fi
   17146 
   17147 
   17148 
   17149 if test "x$STRICT_COMPILE" = "xyes"; then
   17150     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17151     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17152 fi
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 cat >>confdefs.h <<_ACEOF
   17160 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17161 _ACEOF
   17162 
   17163 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17164 	if test "x$PVM" = "x"; then
   17165 		PVM="0"
   17166 	fi
   17167 
   17168 cat >>confdefs.h <<_ACEOF
   17169 #define PACKAGE_VERSION_MINOR $PVM
   17170 _ACEOF
   17171 
   17172 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17173 	if test "x$PVP" = "x"; then
   17174 		PVP="0"
   17175 	fi
   17176 
   17177 cat >>confdefs.h <<_ACEOF
   17178 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17179 _ACEOF
   17180 
   17181 
   17182 
   17183 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17184 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17185 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17186 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17187 
   17188 
   17189 
   17190 
   17191 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17192 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17193 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17194 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17195 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 if test x$APP_MAN_SUFFIX = x    ; then
   17203     APP_MAN_SUFFIX=1
   17204 fi
   17205 if test x$APP_MAN_DIR = x    ; then
   17206     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17207 fi
   17208 
   17209 if test x$LIB_MAN_SUFFIX = x    ; then
   17210     LIB_MAN_SUFFIX=3
   17211 fi
   17212 if test x$LIB_MAN_DIR = x    ; then
   17213     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17214 fi
   17215 
   17216 if test x$FILE_MAN_SUFFIX = x    ; then
   17217     case $host_os in
   17218 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17219 	*)		FILE_MAN_SUFFIX=5  ;;
   17220     esac
   17221 fi
   17222 if test x$FILE_MAN_DIR = x    ; then
   17223     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17224 fi
   17225 
   17226 if test x$MISC_MAN_SUFFIX = x    ; then
   17227     case $host_os in
   17228 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17229 	*)		MISC_MAN_SUFFIX=7  ;;
   17230     esac
   17231 fi
   17232 if test x$MISC_MAN_DIR = x    ; then
   17233     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17234 fi
   17235 
   17236 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17237     case $host_os in
   17238 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17239 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17240     esac
   17241 fi
   17242 if test x$DRIVER_MAN_DIR = x    ; then
   17243     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17244 fi
   17245 
   17246 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17247     case $host_os in
   17248 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17249 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17250     esac
   17251 fi
   17252 if test x$ADMIN_MAN_DIR = x    ; then
   17253     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17254 fi
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 XORG_MAN_PAGE="X Version 11"
   17271 
   17272 MAN_SUBSTS="\
   17273 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17274 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17275 	-e 's|__xservername__|Xorg|g' \
   17276 	-e 's|__xconfigfile__|xorg.conf|g' \
   17277 	-e 's|__projectroot__|\$(prefix)|g' \
   17278 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17279 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17280 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17281 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17282 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17283 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17284 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17285 
   17286 
   17287 
   17288 # Check whether --enable-silent-rules was given.
   17289 if test "${enable_silent_rules+set}" = set; then :
   17290   enableval=$enable_silent_rules;
   17291 fi
   17292 
   17293 case $enable_silent_rules in
   17294 yes) AM_DEFAULT_VERBOSITY=0;;
   17295 no)  AM_DEFAULT_VERBOSITY=1;;
   17296 *)   AM_DEFAULT_VERBOSITY=0;;
   17297 esac
   17298 AM_BACKSLASH='\'
   17299 
   17300 
   17301 
   17302 
   17303 # Check whether --enable-docs was given.
   17304 if test "${enable_docs+set}" = set; then :
   17305   enableval=$enable_docs; build_docs=$enableval
   17306 else
   17307   build_docs=yes
   17308 fi
   17309 
   17310 
   17311  if test x$build_docs = xyes; then
   17312   ENABLE_DOCS_TRUE=
   17313   ENABLE_DOCS_FALSE='#'
   17314 else
   17315   ENABLE_DOCS_TRUE='#'
   17316   ENABLE_DOCS_FALSE=
   17317 fi
   17318 
   17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   17320 $as_echo_n "checking whether to build documentation... " >&6; }
   17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   17322 $as_echo "$build_docs" >&6; }
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 # Check whether --with-xmlto was given.
   17329 if test "${with_xmlto+set}" = set; then :
   17330   withval=$with_xmlto; use_xmlto=$withval
   17331 else
   17332   use_xmlto=auto
   17333 fi
   17334 
   17335 
   17336 
   17337 if test "x$use_xmlto" = x"auto"; then
   17338    # Extract the first word of "xmlto", so it can be a program name with args.
   17339 set dummy xmlto; ac_word=$2
   17340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17341 $as_echo_n "checking for $ac_word... " >&6; }
   17342 if ${ac_cv_path_XMLTO+:} false; then :
   17343   $as_echo_n "(cached) " >&6
   17344 else
   17345   case $XMLTO in
   17346   [\\/]* | ?:[\\/]*)
   17347   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17348   ;;
   17349   *)
   17350   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17351 for as_dir in $PATH
   17352 do
   17353   IFS=$as_save_IFS
   17354   test -z "$as_dir" && as_dir=.
   17355     for ac_exec_ext in '' $ac_executable_extensions; do
   17356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17357     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17359     break 2
   17360   fi
   17361 done
   17362   done
   17363 IFS=$as_save_IFS
   17364 
   17365   ;;
   17366 esac
   17367 fi
   17368 XMLTO=$ac_cv_path_XMLTO
   17369 if test -n "$XMLTO"; then
   17370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17371 $as_echo "$XMLTO" >&6; }
   17372 else
   17373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17374 $as_echo "no" >&6; }
   17375 fi
   17376 
   17377 
   17378    if test "x$XMLTO" = "x"; then
   17379         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17380 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17381 	have_xmlto=no
   17382    else
   17383         have_xmlto=yes
   17384    fi
   17385 elif test "x$use_xmlto" = x"yes" ; then
   17386    # Extract the first word of "xmlto", so it can be a program name with args.
   17387 set dummy xmlto; ac_word=$2
   17388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17389 $as_echo_n "checking for $ac_word... " >&6; }
   17390 if ${ac_cv_path_XMLTO+:} false; then :
   17391   $as_echo_n "(cached) " >&6
   17392 else
   17393   case $XMLTO in
   17394   [\\/]* | ?:[\\/]*)
   17395   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17396   ;;
   17397   *)
   17398   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17399 for as_dir in $PATH
   17400 do
   17401   IFS=$as_save_IFS
   17402   test -z "$as_dir" && as_dir=.
   17403     for ac_exec_ext in '' $ac_executable_extensions; do
   17404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17405     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17407     break 2
   17408   fi
   17409 done
   17410   done
   17411 IFS=$as_save_IFS
   17412 
   17413   ;;
   17414 esac
   17415 fi
   17416 XMLTO=$ac_cv_path_XMLTO
   17417 if test -n "$XMLTO"; then
   17418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17419 $as_echo "$XMLTO" >&6; }
   17420 else
   17421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17422 $as_echo "no" >&6; }
   17423 fi
   17424 
   17425 
   17426    if test "x$XMLTO" = "x"; then
   17427         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17428    fi
   17429    have_xmlto=yes
   17430 elif test "x$use_xmlto" = x"no" ; then
   17431    if test "x$XMLTO" != "x"; then
   17432       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17433 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17434    fi
   17435    have_xmlto=no
   17436 else
   17437    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17438 fi
   17439 
   17440 # Test for a minimum version of xmlto, if provided.
   17441 if test "$have_xmlto" = yes; then
   17442     # scrape the xmlto version
   17443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17444 $as_echo_n "checking the xmlto version... " >&6; }
   17445     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17446     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17447 $as_echo "$xmlto_version" >&6; }
   17448     as_arg_v1=$xmlto_version
   17449 as_arg_v2=0.0.22
   17450 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17451 case $? in #(
   17452   1) :
   17453     if test "x$use_xmlto" = xauto; then
   17454             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   17455 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   17456             have_xmlto=no
   17457         else
   17458             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   17459         fi ;; #(
   17460   0) :
   17461      ;; #(
   17462   2) :
   17463      ;; #(
   17464   *) :
   17465      ;;
   17466 esac
   17467 fi
   17468 
   17469 # Test for the ability of xmlto to generate a text target
   17470 have_xmlto_text=no
   17471 cat > conftest.xml << "EOF"
   17472 EOF
   17473 if test "$have_xmlto" = yes; then :
   17474   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17475   have_xmlto_text=yes
   17476 else
   17477   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17478 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17479 fi
   17480 fi
   17481 rm -f conftest.xml
   17482  if test $have_xmlto_text = yes; then
   17483   HAVE_XMLTO_TEXT_TRUE=
   17484   HAVE_XMLTO_TEXT_FALSE='#'
   17485 else
   17486   HAVE_XMLTO_TEXT_TRUE='#'
   17487   HAVE_XMLTO_TEXT_FALSE=
   17488 fi
   17489 
   17490  if test "$have_xmlto" = yes; then
   17491   HAVE_XMLTO_TRUE=
   17492   HAVE_XMLTO_FALSE='#'
   17493 else
   17494   HAVE_XMLTO_TRUE='#'
   17495   HAVE_XMLTO_FALSE=
   17496 fi
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 # Check whether --with-fop was given.
   17504 if test "${with_fop+set}" = set; then :
   17505   withval=$with_fop; use_fop=$withval
   17506 else
   17507   use_fop=auto
   17508 fi
   17509 
   17510 
   17511 
   17512 if test "x$use_fop" = x"auto"; then
   17513    # Extract the first word of "fop", so it can be a program name with args.
   17514 set dummy fop; ac_word=$2
   17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17516 $as_echo_n "checking for $ac_word... " >&6; }
   17517 if ${ac_cv_path_FOP+:} false; then :
   17518   $as_echo_n "(cached) " >&6
   17519 else
   17520   case $FOP in
   17521   [\\/]* | ?:[\\/]*)
   17522   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17523   ;;
   17524   *)
   17525   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17526 for as_dir in $PATH
   17527 do
   17528   IFS=$as_save_IFS
   17529   test -z "$as_dir" && as_dir=.
   17530     for ac_exec_ext in '' $ac_executable_extensions; do
   17531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17532     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17534     break 2
   17535   fi
   17536 done
   17537   done
   17538 IFS=$as_save_IFS
   17539 
   17540   ;;
   17541 esac
   17542 fi
   17543 FOP=$ac_cv_path_FOP
   17544 if test -n "$FOP"; then
   17545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17546 $as_echo "$FOP" >&6; }
   17547 else
   17548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17549 $as_echo "no" >&6; }
   17550 fi
   17551 
   17552 
   17553    if test "x$FOP" = "x"; then
   17554         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   17555 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   17556 	have_fop=no
   17557    else
   17558         have_fop=yes
   17559    fi
   17560 elif test "x$use_fop" = x"yes" ; then
   17561    # Extract the first word of "fop", so it can be a program name with args.
   17562 set dummy fop; ac_word=$2
   17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17564 $as_echo_n "checking for $ac_word... " >&6; }
   17565 if ${ac_cv_path_FOP+:} false; then :
   17566   $as_echo_n "(cached) " >&6
   17567 else
   17568   case $FOP in
   17569   [\\/]* | ?:[\\/]*)
   17570   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17571   ;;
   17572   *)
   17573   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17574 for as_dir in $PATH
   17575 do
   17576   IFS=$as_save_IFS
   17577   test -z "$as_dir" && as_dir=.
   17578     for ac_exec_ext in '' $ac_executable_extensions; do
   17579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17580     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17582     break 2
   17583   fi
   17584 done
   17585   done
   17586 IFS=$as_save_IFS
   17587 
   17588   ;;
   17589 esac
   17590 fi
   17591 FOP=$ac_cv_path_FOP
   17592 if test -n "$FOP"; then
   17593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17594 $as_echo "$FOP" >&6; }
   17595 else
   17596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17597 $as_echo "no" >&6; }
   17598 fi
   17599 
   17600 
   17601    if test "x$FOP" = "x"; then
   17602         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   17603    fi
   17604    have_fop=yes
   17605 elif test "x$use_fop" = x"no" ; then
   17606    if test "x$FOP" != "x"; then
   17607       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   17608 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   17609    fi
   17610    have_fop=no
   17611 else
   17612    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   17613 fi
   17614 
   17615 # Test for a minimum version of fop, if provided.
   17616 
   17617  if test "$have_fop" = yes; then
   17618   HAVE_FOP_TRUE=
   17619   HAVE_FOP_FALSE='#'
   17620 else
   17621   HAVE_FOP_TRUE='#'
   17622   HAVE_FOP_FALSE=
   17623 fi
   17624 
   17625 
   17626 
   17627 
   17628 # Preserves the interface, should it be implemented later
   17629 
   17630 
   17631 
   17632 # Check whether --with-xsltproc was given.
   17633 if test "${with_xsltproc+set}" = set; then :
   17634   withval=$with_xsltproc; use_xsltproc=$withval
   17635 else
   17636   use_xsltproc=auto
   17637 fi
   17638 
   17639 
   17640 
   17641 if test "x$use_xsltproc" = x"auto"; then
   17642    # Extract the first word of "xsltproc", so it can be a program name with args.
   17643 set dummy xsltproc; ac_word=$2
   17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17645 $as_echo_n "checking for $ac_word... " >&6; }
   17646 if ${ac_cv_path_XSLTPROC+:} false; then :
   17647   $as_echo_n "(cached) " >&6
   17648 else
   17649   case $XSLTPROC in
   17650   [\\/]* | ?:[\\/]*)
   17651   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17652   ;;
   17653   *)
   17654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17655 for as_dir in $PATH
   17656 do
   17657   IFS=$as_save_IFS
   17658   test -z "$as_dir" && as_dir=.
   17659     for ac_exec_ext in '' $ac_executable_extensions; do
   17660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17661     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17663     break 2
   17664   fi
   17665 done
   17666   done
   17667 IFS=$as_save_IFS
   17668 
   17669   ;;
   17670 esac
   17671 fi
   17672 XSLTPROC=$ac_cv_path_XSLTPROC
   17673 if test -n "$XSLTPROC"; then
   17674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17675 $as_echo "$XSLTPROC" >&6; }
   17676 else
   17677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17678 $as_echo "no" >&6; }
   17679 fi
   17680 
   17681 
   17682    if test "x$XSLTPROC" = "x"; then
   17683         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   17684 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   17685 	have_xsltproc=no
   17686    else
   17687         have_xsltproc=yes
   17688    fi
   17689 elif test "x$use_xsltproc" = x"yes" ; then
   17690    # Extract the first word of "xsltproc", so it can be a program name with args.
   17691 set dummy xsltproc; ac_word=$2
   17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17693 $as_echo_n "checking for $ac_word... " >&6; }
   17694 if ${ac_cv_path_XSLTPROC+:} false; then :
   17695   $as_echo_n "(cached) " >&6
   17696 else
   17697   case $XSLTPROC in
   17698   [\\/]* | ?:[\\/]*)
   17699   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17700   ;;
   17701   *)
   17702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17703 for as_dir in $PATH
   17704 do
   17705   IFS=$as_save_IFS
   17706   test -z "$as_dir" && as_dir=.
   17707     for ac_exec_ext in '' $ac_executable_extensions; do
   17708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17709     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17711     break 2
   17712   fi
   17713 done
   17714   done
   17715 IFS=$as_save_IFS
   17716 
   17717   ;;
   17718 esac
   17719 fi
   17720 XSLTPROC=$ac_cv_path_XSLTPROC
   17721 if test -n "$XSLTPROC"; then
   17722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17723 $as_echo "$XSLTPROC" >&6; }
   17724 else
   17725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17726 $as_echo "no" >&6; }
   17727 fi
   17728 
   17729 
   17730    if test "x$XSLTPROC" = "x"; then
   17731         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   17732    fi
   17733    have_xsltproc=yes
   17734 elif test "x$use_xsltproc" = x"no" ; then
   17735    if test "x$XSLTPROC" != "x"; then
   17736       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   17737 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   17738    fi
   17739    have_xsltproc=no
   17740 else
   17741    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   17742 fi
   17743 
   17744  if test "$have_xsltproc" = yes; then
   17745   HAVE_XSLTPROC_TRUE=
   17746   HAVE_XSLTPROC_FALSE='#'
   17747 else
   17748   HAVE_XSLTPROC_TRUE='#'
   17749   HAVE_XSLTPROC_FALSE=
   17750 fi
   17751 
   17752 
   17753 
   17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   17755 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   17756 XORG_SGML_PATH=
   17757 if test -n "$PKG_CONFIG" && \
   17758     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   17759   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   17760   ac_status=$?
   17761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17762   test $ac_status = 0; }; then
   17763   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   17764 else
   17765   :
   17766 
   17767 fi
   17768 
   17769 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   17770 # the path and the name of the doc stylesheet
   17771 if test "x$XORG_SGML_PATH" != "x" ; then
   17772    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   17773 $as_echo "$XORG_SGML_PATH" >&6; }
   17774    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   17775    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   17776 else
   17777    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17778 $as_echo "no" >&6; }
   17779 fi
   17780 
   17781 
   17782 
   17783 
   17784  if test "x$XSL_STYLESHEET" != "x"; then
   17785   HAVE_STYLESHEETS_TRUE=
   17786   HAVE_STYLESHEETS_FALSE='#'
   17787 else
   17788   HAVE_STYLESHEETS_TRUE='#'
   17789   HAVE_STYLESHEETS_FALSE=
   17790 fi
   17791 
   17792 
   17793 
   17794 # Obtain compiler/linker options for depedencies
   17795 
   17796 pkg_failed=no
   17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
   17798 $as_echo_n "checking for SM... " >&6; }
   17799 
   17800 if test -n "$SM_CFLAGS"; then
   17801     pkg_cv_SM_CFLAGS="$SM_CFLAGS"
   17802  elif test -n "$PKG_CONFIG"; then
   17803     if test -n "$PKG_CONFIG" && \
   17804     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.0.5 xproto xtrans\""; } >&5
   17805   ($PKG_CONFIG --exists --print-errors "ice >= 1.0.5 xproto xtrans") 2>&5
   17806   ac_status=$?
   17807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17808   test $ac_status = 0; }; then
   17809   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "ice >= 1.0.5 xproto xtrans" 2>/dev/null`
   17810 else
   17811   pkg_failed=yes
   17812 fi
   17813  else
   17814     pkg_failed=untried
   17815 fi
   17816 if test -n "$SM_LIBS"; then
   17817     pkg_cv_SM_LIBS="$SM_LIBS"
   17818  elif test -n "$PKG_CONFIG"; then
   17819     if test -n "$PKG_CONFIG" && \
   17820     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.0.5 xproto xtrans\""; } >&5
   17821   ($PKG_CONFIG --exists --print-errors "ice >= 1.0.5 xproto xtrans") 2>&5
   17822   ac_status=$?
   17823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17824   test $ac_status = 0; }; then
   17825   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "ice >= 1.0.5 xproto xtrans" 2>/dev/null`
   17826 else
   17827   pkg_failed=yes
   17828 fi
   17829  else
   17830     pkg_failed=untried
   17831 fi
   17832 
   17833 
   17834 
   17835 if test $pkg_failed = yes; then
   17836 
   17837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17838         _pkg_short_errors_supported=yes
   17839 else
   17840         _pkg_short_errors_supported=no
   17841 fi
   17842         if test $_pkg_short_errors_supported = yes; then
   17843 	        SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ice >= 1.0.5 xproto xtrans" 2>&1`
   17844         else
   17845 	        SM_PKG_ERRORS=`$PKG_CONFIG --print-errors "ice >= 1.0.5 xproto xtrans" 2>&1`
   17846         fi
   17847 	# Put the nasty error message in config.log where it belongs
   17848 	echo "$SM_PKG_ERRORS" >&5
   17849 
   17850 	as_fn_error $? "Package requirements (ice >= 1.0.5 xproto xtrans) were not met:
   17851 
   17852 $SM_PKG_ERRORS
   17853 
   17854 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17855 installed software in a non-standard prefix.
   17856 
   17857 Alternatively, you may set the environment variables SM_CFLAGS
   17858 and SM_LIBS to avoid the need to call pkg-config.
   17859 See the pkg-config man page for more details.
   17860 " "$LINENO" 5
   17861 elif test $pkg_failed = untried; then
   17862 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17864 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17865 is in your PATH or set the PKG_CONFIG environment variable to the full
   17866 path to pkg-config.
   17867 
   17868 Alternatively, you may set the environment variables SM_CFLAGS
   17869 and SM_LIBS to avoid the need to call pkg-config.
   17870 See the pkg-config man page for more details.
   17871 
   17872 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17873 See \`config.log' for more details" "$LINENO" 5; }
   17874 else
   17875 	SM_CFLAGS=$pkg_cv_SM_CFLAGS
   17876 	SM_LIBS=$pkg_cv_SM_LIBS
   17877         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17878 $as_echo "yes" >&6; }
   17879 	:
   17880 fi
   17881 
   17882 # Needed to check for TCP & IPv6 support and set flags appropriately
   17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   17884 $as_echo_n "checking return type of signal handlers... " >&6; }
   17885 if ${ac_cv_type_signal+:} false; then :
   17886   $as_echo_n "(cached) " >&6
   17887 else
   17888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17889 /* end confdefs.h.  */
   17890 #include <sys/types.h>
   17891 #include <signal.h>
   17892 
   17893 int
   17894 main ()
   17895 {
   17896 return *(signal (0, 0)) (0) == 1;
   17897   ;
   17898   return 0;
   17899 }
   17900 _ACEOF
   17901 if ac_fn_c_try_compile "$LINENO"; then :
   17902   ac_cv_type_signal=int
   17903 else
   17904   ac_cv_type_signal=void
   17905 fi
   17906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17907 fi
   17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   17909 $as_echo "$ac_cv_type_signal" >&6; }
   17910 
   17911 cat >>confdefs.h <<_ACEOF
   17912 #define RETSIGTYPE $ac_cv_type_signal
   17913 _ACEOF
   17914 
   17915 
   17916 
   17917 
   17918 
   17919  case $host_os in
   17920 	mingw*)	unixdef="no"   ;;
   17921 	*)	unixdef="yes"  ;;
   17922  esac
   17923  # Check whether --enable-unix-transport was given.
   17924 if test "${enable_unix_transport+set}" = set; then :
   17925   enableval=$enable_unix_transport; UNIXCONN=$enableval
   17926 else
   17927   UNIXCONN=$unixdef
   17928 fi
   17929 
   17930  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   17931 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   17932  if test "$UNIXCONN" = "yes"; then
   17933 
   17934 $as_echo "#define UNIXCONN 1" >>confdefs.h
   17935 
   17936  fi
   17937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   17938 $as_echo "$UNIXCONN" >&6; }
   17939  # Check whether --enable-tcp-transport was given.
   17940 if test "${enable_tcp_transport+set}" = set; then :
   17941   enableval=$enable_tcp_transport; TCPCONN=$enableval
   17942 else
   17943   TCPCONN=yes
   17944 fi
   17945 
   17946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   17947 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   17948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   17949 $as_echo "$TCPCONN" >&6; }
   17950  if test "$TCPCONN" = "yes"; then
   17951 
   17952 $as_echo "#define TCPCONN 1" >>confdefs.h
   17953 
   17954 
   17955  # SVR4 hides these in libraries other than libc
   17956  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   17957 $as_echo_n "checking for library containing socket... " >&6; }
   17958 if ${ac_cv_search_socket+:} false; then :
   17959   $as_echo_n "(cached) " >&6
   17960 else
   17961   ac_func_search_save_LIBS=$LIBS
   17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17963 /* end confdefs.h.  */
   17964 
   17965 /* Override any GCC internal prototype to avoid an error.
   17966    Use char because int might match the return type of a GCC
   17967    builtin and then its argument prototype would still apply.  */
   17968 #ifdef __cplusplus
   17969 extern "C"
   17970 #endif
   17971 char socket ();
   17972 int
   17973 main ()
   17974 {
   17975 return socket ();
   17976   ;
   17977   return 0;
   17978 }
   17979 _ACEOF
   17980 for ac_lib in '' socket; do
   17981   if test -z "$ac_lib"; then
   17982     ac_res="none required"
   17983   else
   17984     ac_res=-l$ac_lib
   17985     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17986   fi
   17987   if ac_fn_c_try_link "$LINENO"; then :
   17988   ac_cv_search_socket=$ac_res
   17989 fi
   17990 rm -f core conftest.err conftest.$ac_objext \
   17991     conftest$ac_exeext
   17992   if ${ac_cv_search_socket+:} false; then :
   17993   break
   17994 fi
   17995 done
   17996 if ${ac_cv_search_socket+:} false; then :
   17997 
   17998 else
   17999   ac_cv_search_socket=no
   18000 fi
   18001 rm conftest.$ac_ext
   18002 LIBS=$ac_func_search_save_LIBS
   18003 fi
   18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   18005 $as_echo "$ac_cv_search_socket" >&6; }
   18006 ac_res=$ac_cv_search_socket
   18007 if test "$ac_res" != no; then :
   18008   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18009 
   18010 fi
   18011 
   18012  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   18013 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   18014 if ${ac_cv_search_gethostbyname+:} false; then :
   18015   $as_echo_n "(cached) " >&6
   18016 else
   18017   ac_func_search_save_LIBS=$LIBS
   18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18019 /* end confdefs.h.  */
   18020 
   18021 /* Override any GCC internal prototype to avoid an error.
   18022    Use char because int might match the return type of a GCC
   18023    builtin and then its argument prototype would still apply.  */
   18024 #ifdef __cplusplus
   18025 extern "C"
   18026 #endif
   18027 char gethostbyname ();
   18028 int
   18029 main ()
   18030 {
   18031 return gethostbyname ();
   18032   ;
   18033   return 0;
   18034 }
   18035 _ACEOF
   18036 for ac_lib in '' nsl; do
   18037   if test -z "$ac_lib"; then
   18038     ac_res="none required"
   18039   else
   18040     ac_res=-l$ac_lib
   18041     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18042   fi
   18043   if ac_fn_c_try_link "$LINENO"; then :
   18044   ac_cv_search_gethostbyname=$ac_res
   18045 fi
   18046 rm -f core conftest.err conftest.$ac_objext \
   18047     conftest$ac_exeext
   18048   if ${ac_cv_search_gethostbyname+:} false; then :
   18049   break
   18050 fi
   18051 done
   18052 if ${ac_cv_search_gethostbyname+:} false; then :
   18053 
   18054 else
   18055   ac_cv_search_gethostbyname=no
   18056 fi
   18057 rm conftest.$ac_ext
   18058 LIBS=$ac_func_search_save_LIBS
   18059 fi
   18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   18061 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   18062 ac_res=$ac_cv_search_gethostbyname
   18063 if test "$ac_res" != no; then :
   18064   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18065 
   18066 fi
   18067 
   18068  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   18069    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18070 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18071 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18072   $as_echo_n "(cached) " >&6
   18073 else
   18074   ac_check_lib_save_LIBS=$LIBS
   18075 LIBS="-lws2_32  $LIBS"
   18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18077 /* end confdefs.h.  */
   18078 
   18079 
   18080 int
   18081 main ()
   18082 {
   18083 return main ();
   18084   ;
   18085   return 0;
   18086 }
   18087 _ACEOF
   18088 if ac_fn_c_try_link "$LINENO"; then :
   18089   ac_cv_lib_ws2_32_main=yes
   18090 else
   18091   ac_cv_lib_ws2_32_main=no
   18092 fi
   18093 rm -f core conftest.err conftest.$ac_objext \
   18094     conftest$ac_exeext conftest.$ac_ext
   18095 LIBS=$ac_check_lib_save_LIBS
   18096 fi
   18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   18098 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   18099 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   18100   cat >>confdefs.h <<_ACEOF
   18101 #define HAVE_LIBWS2_32 1
   18102 _ACEOF
   18103 
   18104   LIBS="-lws2_32 $LIBS"
   18105 
   18106 fi
   18107 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   18108 
   18109  fi
   18110 
   18111  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   18112  # Check whether --enable-ipv6 was given.
   18113 if test "${enable_ipv6+set}" = set; then :
   18114   enableval=$enable_ipv6; IPV6CONN=$enableval
   18115 else
   18116   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   18117 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   18118   IPV6CONN=yes
   18119 else
   18120   IPV6CONN=no
   18121 fi
   18122 
   18123 fi
   18124 
   18125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   18126 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   18127  if test "$IPV6CONN" = "yes"; then
   18128 
   18129 $as_echo "#define IPv6 1" >>confdefs.h
   18130 
   18131  fi
   18132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   18133 $as_echo "$IPV6CONN" >&6; }
   18134 
   18135  # 4.3BSD-Reno added a new member to struct sockaddr_in
   18136  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   18137 #include <sys/types.h>
   18138 #include <sys/socket.h>
   18139 #include <netinet/in.h>
   18140 
   18141 "
   18142 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   18143 
   18144 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   18145 
   18146 fi
   18147 
   18148 
   18149  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   18150  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   18151 $ac_includes_default
   18152 #include <sys/socket.h>
   18153 "
   18154 if test "x$ac_cv_type_socklen_t" = xyes; then :
   18155 
   18156 cat >>confdefs.h <<_ACEOF
   18157 #define HAVE_SOCKLEN_T 1
   18158 _ACEOF
   18159 
   18160 
   18161 fi
   18162 
   18163 
   18164 
   18165  fi
   18166  case $host_os in
   18167 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   18168 	*)			localdef="no"  ;;
   18169  esac
   18170  # Check whether --enable-local-transport was given.
   18171 if test "${enable_local_transport+set}" = set; then :
   18172   enableval=$enable_local_transport; LOCALCONN=$enableval
   18173 else
   18174   LOCALCONN=$localdef
   18175 fi
   18176 
   18177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   18178 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   18179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   18180 $as_echo "$LOCALCONN" >&6; }
   18181  if test "$LOCALCONN" = "yes"; then
   18182 
   18183 $as_echo "#define LOCALCONN 1" >>confdefs.h
   18184 
   18185  fi
   18186 
   18187 
   18188 
   18189 
   18190 # Check whether --with-libuuid was given.
   18191 if test "${with_libuuid+set}" = set; then :
   18192   withval=$with_libuuid;
   18193 fi
   18194 
   18195 
   18196 for ac_func in uuid_create
   18197 do :
   18198   ac_fn_c_check_func "$LINENO" "uuid_create" "ac_cv_func_uuid_create"
   18199 if test "x$ac_cv_func_uuid_create" = xyes; then :
   18200   cat >>confdefs.h <<_ACEOF
   18201 #define HAVE_UUID_CREATE 1
   18202 _ACEOF
   18203 
   18204 else
   18205 
   18206     if test x"$with_libuuid" != xno && test x"$have_system_uuid" != xyes; then
   18207 
   18208 pkg_failed=no
   18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUUID" >&5
   18210 $as_echo_n "checking for LIBUUID... " >&6; }
   18211 
   18212 if test -n "$LIBUUID_CFLAGS"; then
   18213     pkg_cv_LIBUUID_CFLAGS="$LIBUUID_CFLAGS"
   18214  elif test -n "$PKG_CONFIG"; then
   18215     if test -n "$PKG_CONFIG" && \
   18216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   18217   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   18218   ac_status=$?
   18219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18220   test $ac_status = 0; }; then
   18221   pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
   18222 else
   18223   pkg_failed=yes
   18224 fi
   18225  else
   18226     pkg_failed=untried
   18227 fi
   18228 if test -n "$LIBUUID_LIBS"; then
   18229     pkg_cv_LIBUUID_LIBS="$LIBUUID_LIBS"
   18230  elif test -n "$PKG_CONFIG"; then
   18231     if test -n "$PKG_CONFIG" && \
   18232     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   18233   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   18234   ac_status=$?
   18235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18236   test $ac_status = 0; }; then
   18237   pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
   18238 else
   18239   pkg_failed=yes
   18240 fi
   18241  else
   18242     pkg_failed=untried
   18243 fi
   18244 
   18245 
   18246 
   18247 if test $pkg_failed = yes; then
   18248 
   18249 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18250         _pkg_short_errors_supported=yes
   18251 else
   18252         _pkg_short_errors_supported=no
   18253 fi
   18254         if test $_pkg_short_errors_supported = yes; then
   18255 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uuid" 2>&1`
   18256         else
   18257 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors "uuid" 2>&1`
   18258         fi
   18259 	# Put the nasty error message in config.log where it belongs
   18260 	echo "$LIBUUID_PKG_ERRORS" >&5
   18261 
   18262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18263 $as_echo "no" >&6; }
   18264                 HAVE_LIBUUID=no
   18265 elif test $pkg_failed = untried; then
   18266 	HAVE_LIBUUID=no
   18267 else
   18268 	LIBUUID_CFLAGS=$pkg_cv_LIBUUID_CFLAGS
   18269 	LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS
   18270         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18271 $as_echo "yes" >&6; }
   18272 	HAVE_LIBUUID=yes
   18273 fi
   18274     fi
   18275     if test x"$with_libuuid" = xyes && test x"$HAVE_LIBUUID" = xno; then
   18276         as_fn_error $? "requested libuuid support but uuid.pc not found" "$LINENO" 5
   18277     fi
   18278 
   18279 fi
   18280 done
   18281 
   18282 
   18283  if test x"$HAVE_LIBUUID" = xyes; then
   18284   WITH_LIBUUID_TRUE=
   18285   WITH_LIBUUID_FALSE='#'
   18286 else
   18287   WITH_LIBUUID_TRUE='#'
   18288   WITH_LIBUUID_FALSE=
   18289 fi
   18290 
   18291 
   18292 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile sm.pc"
   18293 
   18294 cat >confcache <<\_ACEOF
   18295 # This file is a shell script that caches the results of configure
   18296 # tests run on this system so they can be shared between configure
   18297 # scripts and configure runs, see configure's option --config-cache.
   18298 # It is not useful on other systems.  If it contains results you don't
   18299 # want to keep, you may remove or edit it.
   18300 #
   18301 # config.status only pays attention to the cache file if you give it
   18302 # the --recheck option to rerun configure.
   18303 #
   18304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18306 # following values.
   18307 
   18308 _ACEOF
   18309 
   18310 # The following way of writing the cache mishandles newlines in values,
   18311 # but we know of no workaround that is simple, portable, and efficient.
   18312 # So, we kill variables containing newlines.
   18313 # Ultrix sh set writes to stderr and can't be redirected directly,
   18314 # and sets the high bit in the cache file unless we assign to the vars.
   18315 (
   18316   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18317     eval ac_val=\$$ac_var
   18318     case $ac_val in #(
   18319     *${as_nl}*)
   18320       case $ac_var in #(
   18321       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18323       esac
   18324       case $ac_var in #(
   18325       _ | IFS | as_nl) ;; #(
   18326       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18327       *) { eval $ac_var=; unset $ac_var;} ;;
   18328       esac ;;
   18329     esac
   18330   done
   18331 
   18332   (set) 2>&1 |
   18333     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18334     *${as_nl}ac_space=\ *)
   18335       # `set' does not quote correctly, so add quotes: double-quote
   18336       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18337       sed -n \
   18338 	"s/'/'\\\\''/g;
   18339 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18340       ;; #(
   18341     *)
   18342       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18343       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18344       ;;
   18345     esac |
   18346     sort
   18347 ) |
   18348   sed '
   18349      /^ac_cv_env_/b end
   18350      t clear
   18351      :clear
   18352      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18353      t end
   18354      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18355      :end' >>confcache
   18356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18357   if test -w "$cache_file"; then
   18358     if test "x$cache_file" != "x/dev/null"; then
   18359       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18360 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18361       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18362 	cat confcache >"$cache_file"
   18363       else
   18364         case $cache_file in #(
   18365         */* | ?:*)
   18366 	  mv -f confcache "$cache_file"$$ &&
   18367 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18368         *)
   18369 	  mv -f confcache "$cache_file" ;;
   18370 	esac
   18371       fi
   18372     fi
   18373   else
   18374     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18376   fi
   18377 fi
   18378 rm -f confcache
   18379 
   18380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18381 # Let make expand exec_prefix.
   18382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18383 
   18384 DEFS=-DHAVE_CONFIG_H
   18385 
   18386 ac_libobjs=
   18387 ac_ltlibobjs=
   18388 U=
   18389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18390   # 1. Remove the extension, and $U if already installed.
   18391   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18392   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18393   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18394   #    will be set to the directory where LIBOBJS objects are built.
   18395   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18396   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18397 done
   18398 LIBOBJS=$ac_libobjs
   18399 
   18400 LTLIBOBJS=$ac_ltlibobjs
   18401 
   18402 
   18403  if test -n "$EXEEXT"; then
   18404   am__EXEEXT_TRUE=
   18405   am__EXEEXT_FALSE='#'
   18406 else
   18407   am__EXEEXT_TRUE='#'
   18408   am__EXEEXT_FALSE=
   18409 fi
   18410 
   18411 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18412   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18414 fi
   18415 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18416   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18418 fi
   18419 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18420   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18422 fi
   18423 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   18424   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   18425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18426 fi
   18427 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   18428   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   18429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18430 fi
   18431 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   18432   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   18433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18434 fi
   18435 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   18436   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   18437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18438 fi
   18439 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   18440   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   18441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18442 fi
   18443 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   18444   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   18445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18446 fi
   18447 if test -z "${WITH_LIBUUID_TRUE}" && test -z "${WITH_LIBUUID_FALSE}"; then
   18448   as_fn_error $? "conditional \"WITH_LIBUUID\" was never defined.
   18449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18450 fi
   18451 
   18452 : "${CONFIG_STATUS=./config.status}"
   18453 ac_write_fail=0
   18454 ac_clean_files_save=$ac_clean_files
   18455 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18457 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18458 as_write_fail=0
   18459 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18460 #! $SHELL
   18461 # Generated by $as_me.
   18462 # Run this file to recreate the current configuration.
   18463 # Compiler output produced by configure, useful for debugging
   18464 # configure, is in config.log if it exists.
   18465 
   18466 debug=false
   18467 ac_cs_recheck=false
   18468 ac_cs_silent=false
   18469 
   18470 SHELL=\${CONFIG_SHELL-$SHELL}
   18471 export SHELL
   18472 _ASEOF
   18473 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18474 ## -------------------- ##
   18475 ## M4sh Initialization. ##
   18476 ## -------------------- ##
   18477 
   18478 # Be more Bourne compatible
   18479 DUALCASE=1; export DUALCASE # for MKS sh
   18480 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18481   emulate sh
   18482   NULLCMD=:
   18483   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18484   # is contrary to our usage.  Disable this feature.
   18485   alias -g '${1+"$@"}'='"$@"'
   18486   setopt NO_GLOB_SUBST
   18487 else
   18488   case `(set -o) 2>/dev/null` in #(
   18489   *posix*) :
   18490     set -o posix ;; #(
   18491   *) :
   18492      ;;
   18493 esac
   18494 fi
   18495 
   18496 
   18497 as_nl='
   18498 '
   18499 export as_nl
   18500 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18501 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18502 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18504 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18505 # but without wasting forks for bash or zsh.
   18506 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18507     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18508   as_echo='print -r --'
   18509   as_echo_n='print -rn --'
   18510 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18511   as_echo='printf %s\n'
   18512   as_echo_n='printf %s'
   18513 else
   18514   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18515     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18516     as_echo_n='/usr/ucb/echo -n'
   18517   else
   18518     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18519     as_echo_n_body='eval
   18520       arg=$1;
   18521       case $arg in #(
   18522       *"$as_nl"*)
   18523 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18524 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18525       esac;
   18526       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18527     '
   18528     export as_echo_n_body
   18529     as_echo_n='sh -c $as_echo_n_body as_echo'
   18530   fi
   18531   export as_echo_body
   18532   as_echo='sh -c $as_echo_body as_echo'
   18533 fi
   18534 
   18535 # The user is always right.
   18536 if test "${PATH_SEPARATOR+set}" != set; then
   18537   PATH_SEPARATOR=:
   18538   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18539     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18540       PATH_SEPARATOR=';'
   18541   }
   18542 fi
   18543 
   18544 
   18545 # IFS
   18546 # We need space, tab and new line, in precisely that order.  Quoting is
   18547 # there to prevent editors from complaining about space-tab.
   18548 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18549 # splitting by setting IFS to empty value.)
   18550 IFS=" ""	$as_nl"
   18551 
   18552 # Find who we are.  Look in the path if we contain no directory separator.
   18553 as_myself=
   18554 case $0 in #((
   18555   *[\\/]* ) as_myself=$0 ;;
   18556   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18557 for as_dir in $PATH
   18558 do
   18559   IFS=$as_save_IFS
   18560   test -z "$as_dir" && as_dir=.
   18561     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18562   done
   18563 IFS=$as_save_IFS
   18564 
   18565      ;;
   18566 esac
   18567 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18568 # in which case we are not to be found in the path.
   18569 if test "x$as_myself" = x; then
   18570   as_myself=$0
   18571 fi
   18572 if test ! -f "$as_myself"; then
   18573   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18574   exit 1
   18575 fi
   18576 
   18577 # Unset variables that we do not need and which cause bugs (e.g. in
   18578 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18579 # suppresses any "Segmentation fault" message there.  '((' could
   18580 # trigger a bug in pdksh 5.2.14.
   18581 for as_var in BASH_ENV ENV MAIL MAILPATH
   18582 do eval test x\${$as_var+set} = xset \
   18583   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18584 done
   18585 PS1='$ '
   18586 PS2='> '
   18587 PS4='+ '
   18588 
   18589 # NLS nuisances.
   18590 LC_ALL=C
   18591 export LC_ALL
   18592 LANGUAGE=C
   18593 export LANGUAGE
   18594 
   18595 # CDPATH.
   18596 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18597 
   18598 
   18599 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18600 # ----------------------------------------
   18601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18603 # script with STATUS, using 1 if that was 0.
   18604 as_fn_error ()
   18605 {
   18606   as_status=$1; test $as_status -eq 0 && as_status=1
   18607   if test "$4"; then
   18608     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18609     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18610   fi
   18611   $as_echo "$as_me: error: $2" >&2
   18612   as_fn_exit $as_status
   18613 } # as_fn_error
   18614 
   18615 
   18616 # as_fn_set_status STATUS
   18617 # -----------------------
   18618 # Set $? to STATUS, without forking.
   18619 as_fn_set_status ()
   18620 {
   18621   return $1
   18622 } # as_fn_set_status
   18623 
   18624 # as_fn_exit STATUS
   18625 # -----------------
   18626 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18627 as_fn_exit ()
   18628 {
   18629   set +e
   18630   as_fn_set_status $1
   18631   exit $1
   18632 } # as_fn_exit
   18633 
   18634 # as_fn_unset VAR
   18635 # ---------------
   18636 # Portably unset VAR.
   18637 as_fn_unset ()
   18638 {
   18639   { eval $1=; unset $1;}
   18640 }
   18641 as_unset=as_fn_unset
   18642 # as_fn_append VAR VALUE
   18643 # ----------------------
   18644 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18645 # advantage of any shell optimizations that allow amortized linear growth over
   18646 # repeated appends, instead of the typical quadratic growth present in naive
   18647 # implementations.
   18648 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18649   eval 'as_fn_append ()
   18650   {
   18651     eval $1+=\$2
   18652   }'
   18653 else
   18654   as_fn_append ()
   18655   {
   18656     eval $1=\$$1\$2
   18657   }
   18658 fi # as_fn_append
   18659 
   18660 # as_fn_arith ARG...
   18661 # ------------------
   18662 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18663 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18664 # must be portable across $(()) and expr.
   18665 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18666   eval 'as_fn_arith ()
   18667   {
   18668     as_val=$(( $* ))
   18669   }'
   18670 else
   18671   as_fn_arith ()
   18672   {
   18673     as_val=`expr "$@" || test $? -eq 1`
   18674   }
   18675 fi # as_fn_arith
   18676 
   18677 
   18678 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18679    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18680   as_expr=expr
   18681 else
   18682   as_expr=false
   18683 fi
   18684 
   18685 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18686   as_basename=basename
   18687 else
   18688   as_basename=false
   18689 fi
   18690 
   18691 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18692   as_dirname=dirname
   18693 else
   18694   as_dirname=false
   18695 fi
   18696 
   18697 as_me=`$as_basename -- "$0" ||
   18698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18699 	 X"$0" : 'X\(//\)$' \| \
   18700 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18701 $as_echo X/"$0" |
   18702     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18703 	    s//\1/
   18704 	    q
   18705 	  }
   18706 	  /^X\/\(\/\/\)$/{
   18707 	    s//\1/
   18708 	    q
   18709 	  }
   18710 	  /^X\/\(\/\).*/{
   18711 	    s//\1/
   18712 	    q
   18713 	  }
   18714 	  s/.*/./; q'`
   18715 
   18716 # Avoid depending upon Character Ranges.
   18717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18720 as_cr_digits='0123456789'
   18721 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18722 
   18723 ECHO_C= ECHO_N= ECHO_T=
   18724 case `echo -n x` in #(((((
   18725 -n*)
   18726   case `echo 'xy\c'` in
   18727   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18728   xy)  ECHO_C='\c';;
   18729   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18730        ECHO_T='	';;
   18731   esac;;
   18732 *)
   18733   ECHO_N='-n';;
   18734 esac
   18735 
   18736 rm -f conf$$ conf$$.exe conf$$.file
   18737 if test -d conf$$.dir; then
   18738   rm -f conf$$.dir/conf$$.file
   18739 else
   18740   rm -f conf$$.dir
   18741   mkdir conf$$.dir 2>/dev/null
   18742 fi
   18743 if (echo >conf$$.file) 2>/dev/null; then
   18744   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18745     as_ln_s='ln -s'
   18746     # ... but there are two gotchas:
   18747     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18748     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18749     # In both cases, we have to default to `cp -p'.
   18750     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18751       as_ln_s='cp -p'
   18752   elif ln conf$$.file conf$$ 2>/dev/null; then
   18753     as_ln_s=ln
   18754   else
   18755     as_ln_s='cp -p'
   18756   fi
   18757 else
   18758   as_ln_s='cp -p'
   18759 fi
   18760 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18761 rmdir conf$$.dir 2>/dev/null
   18762 
   18763 
   18764 # as_fn_mkdir_p
   18765 # -------------
   18766 # Create "$as_dir" as a directory, including parents if necessary.
   18767 as_fn_mkdir_p ()
   18768 {
   18769 
   18770   case $as_dir in #(
   18771   -*) as_dir=./$as_dir;;
   18772   esac
   18773   test -d "$as_dir" || eval $as_mkdir_p || {
   18774     as_dirs=
   18775     while :; do
   18776       case $as_dir in #(
   18777       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18778       *) as_qdir=$as_dir;;
   18779       esac
   18780       as_dirs="'$as_qdir' $as_dirs"
   18781       as_dir=`$as_dirname -- "$as_dir" ||
   18782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18783 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18784 	 X"$as_dir" : 'X\(//\)$' \| \
   18785 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18786 $as_echo X"$as_dir" |
   18787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18788 	    s//\1/
   18789 	    q
   18790 	  }
   18791 	  /^X\(\/\/\)[^/].*/{
   18792 	    s//\1/
   18793 	    q
   18794 	  }
   18795 	  /^X\(\/\/\)$/{
   18796 	    s//\1/
   18797 	    q
   18798 	  }
   18799 	  /^X\(\/\).*/{
   18800 	    s//\1/
   18801 	    q
   18802 	  }
   18803 	  s/.*/./; q'`
   18804       test -d "$as_dir" && break
   18805     done
   18806     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18807   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18808 
   18809 
   18810 } # as_fn_mkdir_p
   18811 if mkdir -p . 2>/dev/null; then
   18812   as_mkdir_p='mkdir -p "$as_dir"'
   18813 else
   18814   test -d ./-p && rmdir ./-p
   18815   as_mkdir_p=false
   18816 fi
   18817 
   18818 if test -x / >/dev/null 2>&1; then
   18819   as_test_x='test -x'
   18820 else
   18821   if ls -dL / >/dev/null 2>&1; then
   18822     as_ls_L_option=L
   18823   else
   18824     as_ls_L_option=
   18825   fi
   18826   as_test_x='
   18827     eval sh -c '\''
   18828       if test -d "$1"; then
   18829 	test -d "$1/.";
   18830       else
   18831 	case $1 in #(
   18832 	-*)set "./$1";;
   18833 	esac;
   18834 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18835 	???[sx]*):;;*)false;;esac;fi
   18836     '\'' sh
   18837   '
   18838 fi
   18839 as_executable_p=$as_test_x
   18840 
   18841 # Sed expression to map a string onto a valid CPP name.
   18842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18843 
   18844 # Sed expression to map a string onto a valid variable name.
   18845 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18846 
   18847 
   18848 exec 6>&1
   18849 ## ----------------------------------- ##
   18850 ## Main body of $CONFIG_STATUS script. ##
   18851 ## ----------------------------------- ##
   18852 _ASEOF
   18853 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18854 
   18855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18856 # Save the log message, to keep $0 and so on meaningful, and to
   18857 # report actual input values of CONFIG_FILES etc. instead of their
   18858 # values after options handling.
   18859 ac_log="
   18860 This file was extended by libSM $as_me 1.2.1, which was
   18861 generated by GNU Autoconf 2.68.  Invocation command line was
   18862 
   18863   CONFIG_FILES    = $CONFIG_FILES
   18864   CONFIG_HEADERS  = $CONFIG_HEADERS
   18865   CONFIG_LINKS    = $CONFIG_LINKS
   18866   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18867   $ $0 $@
   18868 
   18869 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18870 "
   18871 
   18872 _ACEOF
   18873 
   18874 case $ac_config_files in *"
   18875 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18876 esac
   18877 
   18878 case $ac_config_headers in *"
   18879 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18880 esac
   18881 
   18882 
   18883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18884 # Files that config.status was made for.
   18885 config_files="$ac_config_files"
   18886 config_headers="$ac_config_headers"
   18887 config_commands="$ac_config_commands"
   18888 
   18889 _ACEOF
   18890 
   18891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18892 ac_cs_usage="\
   18893 \`$as_me' instantiates files and other configuration actions
   18894 from templates according to the current configuration.  Unless the files
   18895 and actions are specified as TAGs, all are instantiated by default.
   18896 
   18897 Usage: $0 [OPTION]... [TAG]...
   18898 
   18899   -h, --help       print this help, then exit
   18900   -V, --version    print version number and configuration settings, then exit
   18901       --config     print configuration, then exit
   18902   -q, --quiet, --silent
   18903                    do not print progress messages
   18904   -d, --debug      don't remove temporary files
   18905       --recheck    update $as_me by reconfiguring in the same conditions
   18906       --file=FILE[:TEMPLATE]
   18907                    instantiate the configuration file FILE
   18908       --header=FILE[:TEMPLATE]
   18909                    instantiate the configuration header FILE
   18910 
   18911 Configuration files:
   18912 $config_files
   18913 
   18914 Configuration headers:
   18915 $config_headers
   18916 
   18917 Configuration commands:
   18918 $config_commands
   18919 
   18920 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18921 
   18922 _ACEOF
   18923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18924 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18925 ac_cs_version="\\
   18926 libSM config.status 1.2.1
   18927 configured by $0, generated by GNU Autoconf 2.68,
   18928   with options \\"\$ac_cs_config\\"
   18929 
   18930 Copyright (C) 2010 Free Software Foundation, Inc.
   18931 This config.status script is free software; the Free Software Foundation
   18932 gives unlimited permission to copy, distribute and modify it."
   18933 
   18934 ac_pwd='$ac_pwd'
   18935 srcdir='$srcdir'
   18936 INSTALL='$INSTALL'
   18937 MKDIR_P='$MKDIR_P'
   18938 AWK='$AWK'
   18939 test -n "\$AWK" || AWK=awk
   18940 _ACEOF
   18941 
   18942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18943 # The default lists apply if the user does not specify any file.
   18944 ac_need_defaults=:
   18945 while test $# != 0
   18946 do
   18947   case $1 in
   18948   --*=?*)
   18949     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18950     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18951     ac_shift=:
   18952     ;;
   18953   --*=)
   18954     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18955     ac_optarg=
   18956     ac_shift=:
   18957     ;;
   18958   *)
   18959     ac_option=$1
   18960     ac_optarg=$2
   18961     ac_shift=shift
   18962     ;;
   18963   esac
   18964 
   18965   case $ac_option in
   18966   # Handling of the options.
   18967   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18968     ac_cs_recheck=: ;;
   18969   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18970     $as_echo "$ac_cs_version"; exit ;;
   18971   --config | --confi | --conf | --con | --co | --c )
   18972     $as_echo "$ac_cs_config"; exit ;;
   18973   --debug | --debu | --deb | --de | --d | -d )
   18974     debug=: ;;
   18975   --file | --fil | --fi | --f )
   18976     $ac_shift
   18977     case $ac_optarg in
   18978     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18979     '') as_fn_error $? "missing file argument" ;;
   18980     esac
   18981     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18982     ac_need_defaults=false;;
   18983   --header | --heade | --head | --hea )
   18984     $ac_shift
   18985     case $ac_optarg in
   18986     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18987     esac
   18988     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18989     ac_need_defaults=false;;
   18990   --he | --h)
   18991     # Conflict between --help and --header
   18992     as_fn_error $? "ambiguous option: \`$1'
   18993 Try \`$0 --help' for more information.";;
   18994   --help | --hel | -h )
   18995     $as_echo "$ac_cs_usage"; exit ;;
   18996   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18997   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18998     ac_cs_silent=: ;;
   18999 
   19000   # This is an error.
   19001   -*) as_fn_error $? "unrecognized option: \`$1'
   19002 Try \`$0 --help' for more information." ;;
   19003 
   19004   *) as_fn_append ac_config_targets " $1"
   19005      ac_need_defaults=false ;;
   19006 
   19007   esac
   19008   shift
   19009 done
   19010 
   19011 ac_configure_extra_args=
   19012 
   19013 if $ac_cs_silent; then
   19014   exec 6>/dev/null
   19015   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19016 fi
   19017 
   19018 _ACEOF
   19019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19020 if \$ac_cs_recheck; then
   19021   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19022   shift
   19023   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19024   CONFIG_SHELL='$SHELL'
   19025   export CONFIG_SHELL
   19026   exec "\$@"
   19027 fi
   19028 
   19029 _ACEOF
   19030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19031 exec 5>>config.log
   19032 {
   19033   echo
   19034   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19035 ## Running $as_me. ##
   19036 _ASBOX
   19037   $as_echo "$ac_log"
   19038 } >&5
   19039 
   19040 _ACEOF
   19041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19042 #
   19043 # INIT-COMMANDS
   19044 #
   19045 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19046 
   19047 
   19048 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19049 # if CDPATH is set.
   19050 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19051 
   19052 sed_quote_subst='$sed_quote_subst'
   19053 double_quote_subst='$double_quote_subst'
   19054 delay_variable_subst='$delay_variable_subst'
   19055 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19056 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19057 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19058 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19059 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19060 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19061 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19062 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19063 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19064 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19065 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19066 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19067 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19068 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19069 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19070 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19071 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19072 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19073 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19074 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19075 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19076 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19077 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19078 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19079 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19080 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19081 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19082 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19083 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19084 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19085 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19086 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19087 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19088 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19089 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19090 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19091 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19092 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19093 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19094 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19095 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19096 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19097 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19098 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19099 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19100 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19101 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19102 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19103 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19104 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19105 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19106 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19107 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19108 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19109 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19110 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"`'
   19111 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19112 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19113 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19114 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19115 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19116 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19117 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19118 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19119 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19120 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19121 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19122 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19123 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19124 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19125 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19126 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19127 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19128 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19129 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19130 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19131 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19132 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19133 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19134 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19135 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19136 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19137 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19138 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19139 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19140 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19141 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19142 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19143 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19144 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19145 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   19146 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19147 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19148 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19149 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19150 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19151 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19152 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19153 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19154 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19155 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19156 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19157 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19158 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19159 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19160 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19161 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19162 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19163 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19164 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19165 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19166 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19167 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19168 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19169 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19170 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19171 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19172 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19173 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19174 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19175 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19176 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19177 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19178 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19179 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19180 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19181 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19182 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19183 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19184 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19185 
   19186 LTCC='$LTCC'
   19187 LTCFLAGS='$LTCFLAGS'
   19188 compiler='$compiler_DEFAULT'
   19189 
   19190 # A function that is used when there is no print builtin or printf.
   19191 func_fallback_echo ()
   19192 {
   19193   eval 'cat <<_LTECHO_EOF
   19194 \$1
   19195 _LTECHO_EOF'
   19196 }
   19197 
   19198 # Quote evaled strings.
   19199 for var in SHELL \
   19200 ECHO \
   19201 SED \
   19202 GREP \
   19203 EGREP \
   19204 FGREP \
   19205 LD \
   19206 NM \
   19207 LN_S \
   19208 lt_SP2NL \
   19209 lt_NL2SP \
   19210 reload_flag \
   19211 OBJDUMP \
   19212 deplibs_check_method \
   19213 file_magic_cmd \
   19214 file_magic_glob \
   19215 want_nocaseglob \
   19216 DLLTOOL \
   19217 sharedlib_from_linklib_cmd \
   19218 AR \
   19219 AR_FLAGS \
   19220 archiver_list_spec \
   19221 STRIP \
   19222 RANLIB \
   19223 CC \
   19224 CFLAGS \
   19225 compiler \
   19226 lt_cv_sys_global_symbol_pipe \
   19227 lt_cv_sys_global_symbol_to_cdecl \
   19228 lt_cv_sys_global_symbol_to_c_name_address \
   19229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19230 nm_file_list_spec \
   19231 lt_prog_compiler_no_builtin_flag \
   19232 lt_prog_compiler_pic \
   19233 lt_prog_compiler_wl \
   19234 lt_prog_compiler_static \
   19235 lt_cv_prog_compiler_c_o \
   19236 need_locks \
   19237 MANIFEST_TOOL \
   19238 DSYMUTIL \
   19239 NMEDIT \
   19240 LIPO \
   19241 OTOOL \
   19242 OTOOL64 \
   19243 shrext_cmds \
   19244 export_dynamic_flag_spec \
   19245 whole_archive_flag_spec \
   19246 compiler_needs_object \
   19247 with_gnu_ld \
   19248 allow_undefined_flag \
   19249 no_undefined_flag \
   19250 hardcode_libdir_flag_spec \
   19251 hardcode_libdir_flag_spec_ld \
   19252 hardcode_libdir_separator \
   19253 exclude_expsyms \
   19254 include_expsyms \
   19255 file_list_spec \
   19256 variables_saved_for_relink \
   19257 libname_spec \
   19258 library_names_spec \
   19259 soname_spec \
   19260 install_override_mode \
   19261 finish_eval \
   19262 old_striplib \
   19263 striplib; do
   19264     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19265     *[\\\\\\\`\\"\\\$]*)
   19266       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19267       ;;
   19268     *)
   19269       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19270       ;;
   19271     esac
   19272 done
   19273 
   19274 # Double-quote double-evaled strings.
   19275 for var in reload_cmds \
   19276 old_postinstall_cmds \
   19277 old_postuninstall_cmds \
   19278 old_archive_cmds \
   19279 extract_expsyms_cmds \
   19280 old_archive_from_new_cmds \
   19281 old_archive_from_expsyms_cmds \
   19282 archive_cmds \
   19283 archive_expsym_cmds \
   19284 module_cmds \
   19285 module_expsym_cmds \
   19286 export_symbols_cmds \
   19287 prelink_cmds \
   19288 postlink_cmds \
   19289 postinstall_cmds \
   19290 postuninstall_cmds \
   19291 finish_cmds \
   19292 sys_lib_search_path_spec \
   19293 sys_lib_dlsearch_path_spec; do
   19294     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19295     *[\\\\\\\`\\"\\\$]*)
   19296       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19297       ;;
   19298     *)
   19299       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19300       ;;
   19301     esac
   19302 done
   19303 
   19304 ac_aux_dir='$ac_aux_dir'
   19305 xsi_shell='$xsi_shell'
   19306 lt_shell_append='$lt_shell_append'
   19307 
   19308 # See if we are running on zsh, and set the options which allow our
   19309 # commands through without removal of \ escapes INIT.
   19310 if test -n "\${ZSH_VERSION+set}" ; then
   19311    setopt NO_GLOB_SUBST
   19312 fi
   19313 
   19314 
   19315     PACKAGE='$PACKAGE'
   19316     VERSION='$VERSION'
   19317     TIMESTAMP='$TIMESTAMP'
   19318     RM='$RM'
   19319     ofile='$ofile'
   19320 
   19321 
   19322 
   19323 
   19324 _ACEOF
   19325 
   19326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19327 
   19328 # Handling of arguments.
   19329 for ac_config_target in $ac_config_targets
   19330 do
   19331   case $ac_config_target in
   19332     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19333     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19334     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19335     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19336     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   19337     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19338     "sm.pc") CONFIG_FILES="$CONFIG_FILES sm.pc" ;;
   19339 
   19340   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19341   esac
   19342 done
   19343 
   19344 
   19345 # If the user did not use the arguments to specify the items to instantiate,
   19346 # then the envvar interface is used.  Set only those that are not.
   19347 # We use the long form for the default assignment because of an extremely
   19348 # bizarre bug on SunOS 4.1.3.
   19349 if $ac_need_defaults; then
   19350   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19351   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19352   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19353 fi
   19354 
   19355 # Have a temporary directory for convenience.  Make it in the build tree
   19356 # simply because there is no reason against having it here, and in addition,
   19357 # creating and moving files from /tmp can sometimes cause problems.
   19358 # Hook for its removal unless debugging.
   19359 # Note that there is a small window in which the directory will not be cleaned:
   19360 # after its creation but before its name has been assigned to `$tmp'.
   19361 $debug ||
   19362 {
   19363   tmp= ac_tmp=
   19364   trap 'exit_status=$?
   19365   : "${ac_tmp:=$tmp}"
   19366   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19367 ' 0
   19368   trap 'as_fn_exit 1' 1 2 13 15
   19369 }
   19370 # Create a (secure) tmp directory for tmp files.
   19371 
   19372 {
   19373   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19374   test -d "$tmp"
   19375 }  ||
   19376 {
   19377   tmp=./conf$$-$RANDOM
   19378   (umask 077 && mkdir "$tmp")
   19379 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19380 ac_tmp=$tmp
   19381 
   19382 # Set up the scripts for CONFIG_FILES section.
   19383 # No need to generate them if there are no CONFIG_FILES.
   19384 # This happens for instance with `./config.status config.h'.
   19385 if test -n "$CONFIG_FILES"; then
   19386 
   19387 
   19388 ac_cr=`echo X | tr X '\015'`
   19389 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19390 # But we know of no other shell where ac_cr would be empty at this
   19391 # point, so we can use a bashism as a fallback.
   19392 if test "x$ac_cr" = x; then
   19393   eval ac_cr=\$\'\\r\'
   19394 fi
   19395 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19396 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19397   ac_cs_awk_cr='\\r'
   19398 else
   19399   ac_cs_awk_cr=$ac_cr
   19400 fi
   19401 
   19402 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19403 _ACEOF
   19404 
   19405 
   19406 {
   19407   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19408   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19409   echo "_ACEOF"
   19410 } >conf$$subs.sh ||
   19411   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19413 ac_delim='%!_!# '
   19414 for ac_last_try in false false false false false :; do
   19415   . ./conf$$subs.sh ||
   19416     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19417 
   19418   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19419   if test $ac_delim_n = $ac_delim_num; then
   19420     break
   19421   elif $ac_last_try; then
   19422     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19423   else
   19424     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19425   fi
   19426 done
   19427 rm -f conf$$subs.sh
   19428 
   19429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19430 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19431 _ACEOF
   19432 sed -n '
   19433 h
   19434 s/^/S["/; s/!.*/"]=/
   19435 p
   19436 g
   19437 s/^[^!]*!//
   19438 :repl
   19439 t repl
   19440 s/'"$ac_delim"'$//
   19441 t delim
   19442 :nl
   19443 h
   19444 s/\(.\{148\}\)..*/\1/
   19445 t more1
   19446 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19447 p
   19448 n
   19449 b repl
   19450 :more1
   19451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19452 p
   19453 g
   19454 s/.\{148\}//
   19455 t nl
   19456 :delim
   19457 h
   19458 s/\(.\{148\}\)..*/\1/
   19459 t more2
   19460 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19461 p
   19462 b
   19463 :more2
   19464 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19465 p
   19466 g
   19467 s/.\{148\}//
   19468 t delim
   19469 ' <conf$$subs.awk | sed '
   19470 /^[^""]/{
   19471   N
   19472   s/\n//
   19473 }
   19474 ' >>$CONFIG_STATUS || ac_write_fail=1
   19475 rm -f conf$$subs.awk
   19476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19477 _ACAWK
   19478 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19479   for (key in S) S_is_set[key] = 1
   19480   FS = ""
   19481 
   19482 }
   19483 {
   19484   line = $ 0
   19485   nfields = split(line, field, "@")
   19486   substed = 0
   19487   len = length(field[1])
   19488   for (i = 2; i < nfields; i++) {
   19489     key = field[i]
   19490     keylen = length(key)
   19491     if (S_is_set[key]) {
   19492       value = S[key]
   19493       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19494       len += length(value) + length(field[++i])
   19495       substed = 1
   19496     } else
   19497       len += 1 + keylen
   19498   }
   19499 
   19500   print line
   19501 }
   19502 
   19503 _ACAWK
   19504 _ACEOF
   19505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19506 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19507   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19508 else
   19509   cat
   19510 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19511   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19512 _ACEOF
   19513 
   19514 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19515 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19516 # trailing colons and then remove the whole line if VPATH becomes empty
   19517 # (actually we leave an empty line to preserve line numbers).
   19518 if test "x$srcdir" = x.; then
   19519   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19520 h
   19521 s///
   19522 s/^/:/
   19523 s/[	 ]*$/:/
   19524 s/:\$(srcdir):/:/g
   19525 s/:\${srcdir}:/:/g
   19526 s/:@srcdir@:/:/g
   19527 s/^:*//
   19528 s/:*$//
   19529 x
   19530 s/\(=[	 ]*\).*/\1/
   19531 G
   19532 s/\n//
   19533 s/^[^=]*=[	 ]*$//
   19534 }'
   19535 fi
   19536 
   19537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19538 fi # test -n "$CONFIG_FILES"
   19539 
   19540 # Set up the scripts for CONFIG_HEADERS section.
   19541 # No need to generate them if there are no CONFIG_HEADERS.
   19542 # This happens for instance with `./config.status Makefile'.
   19543 if test -n "$CONFIG_HEADERS"; then
   19544 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19545 BEGIN {
   19546 _ACEOF
   19547 
   19548 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19549 # here-document in config.status, that substitutes the proper values into
   19550 # config.h.in to produce config.h.
   19551 
   19552 # Create a delimiter string that does not exist in confdefs.h, to ease
   19553 # handling of long lines.
   19554 ac_delim='%!_!# '
   19555 for ac_last_try in false false :; do
   19556   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19557   if test -z "$ac_tt"; then
   19558     break
   19559   elif $ac_last_try; then
   19560     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19561   else
   19562     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19563   fi
   19564 done
   19565 
   19566 # For the awk script, D is an array of macro values keyed by name,
   19567 # likewise P contains macro parameters if any.  Preserve backslash
   19568 # newline sequences.
   19569 
   19570 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19571 sed -n '
   19572 s/.\{148\}/&'"$ac_delim"'/g
   19573 t rset
   19574 :rset
   19575 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19576 t def
   19577 d
   19578 :def
   19579 s/\\$//
   19580 t bsnl
   19581 s/["\\]/\\&/g
   19582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19583 D["\1"]=" \3"/p
   19584 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19585 d
   19586 :bsnl
   19587 s/["\\]/\\&/g
   19588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19589 D["\1"]=" \3\\\\\\n"\\/p
   19590 t cont
   19591 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19592 t cont
   19593 d
   19594 :cont
   19595 n
   19596 s/.\{148\}/&'"$ac_delim"'/g
   19597 t clear
   19598 :clear
   19599 s/\\$//
   19600 t bsnlc
   19601 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19602 d
   19603 :bsnlc
   19604 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19605 b cont
   19606 ' <confdefs.h | sed '
   19607 s/'"$ac_delim"'/"\\\
   19608 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19609 
   19610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19611   for (key in D) D_is_set[key] = 1
   19612   FS = ""
   19613 }
   19614 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19615   line = \$ 0
   19616   split(line, arg, " ")
   19617   if (arg[1] == "#") {
   19618     defundef = arg[2]
   19619     mac1 = arg[3]
   19620   } else {
   19621     defundef = substr(arg[1], 2)
   19622     mac1 = arg[2]
   19623   }
   19624   split(mac1, mac2, "(") #)
   19625   macro = mac2[1]
   19626   prefix = substr(line, 1, index(line, defundef) - 1)
   19627   if (D_is_set[macro]) {
   19628     # Preserve the white space surrounding the "#".
   19629     print prefix "define", macro P[macro] D[macro]
   19630     next
   19631   } else {
   19632     # Replace #undef with comments.  This is necessary, for example,
   19633     # in the case of _POSIX_SOURCE, which is predefined and required
   19634     # on some systems where configure will not decide to define it.
   19635     if (defundef == "undef") {
   19636       print "/*", prefix defundef, macro, "*/"
   19637       next
   19638     }
   19639   }
   19640 }
   19641 { print }
   19642 _ACAWK
   19643 _ACEOF
   19644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19645   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19646 fi # test -n "$CONFIG_HEADERS"
   19647 
   19648 
   19649 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19650 shift
   19651 for ac_tag
   19652 do
   19653   case $ac_tag in
   19654   :[FHLC]) ac_mode=$ac_tag; continue;;
   19655   esac
   19656   case $ac_mode$ac_tag in
   19657   :[FHL]*:*);;
   19658   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19659   :[FH]-) ac_tag=-:-;;
   19660   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19661   esac
   19662   ac_save_IFS=$IFS
   19663   IFS=:
   19664   set x $ac_tag
   19665   IFS=$ac_save_IFS
   19666   shift
   19667   ac_file=$1
   19668   shift
   19669 
   19670   case $ac_mode in
   19671   :L) ac_source=$1;;
   19672   :[FH])
   19673     ac_file_inputs=
   19674     for ac_f
   19675     do
   19676       case $ac_f in
   19677       -) ac_f="$ac_tmp/stdin";;
   19678       *) # Look for the file first in the build tree, then in the source tree
   19679 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19680 	 # because $ac_f cannot contain `:'.
   19681 	 test -f "$ac_f" ||
   19682 	   case $ac_f in
   19683 	   [\\/$]*) false;;
   19684 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19685 	   esac ||
   19686 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19687       esac
   19688       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19689       as_fn_append ac_file_inputs " '$ac_f'"
   19690     done
   19691 
   19692     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19693     # use $as_me), people would be surprised to read:
   19694     #    /* config.h.  Generated by config.status.  */
   19695     configure_input='Generated from '`
   19696 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19697 	`' by configure.'
   19698     if test x"$ac_file" != x-; then
   19699       configure_input="$ac_file.  $configure_input"
   19700       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19701 $as_echo "$as_me: creating $ac_file" >&6;}
   19702     fi
   19703     # Neutralize special characters interpreted by sed in replacement strings.
   19704     case $configure_input in #(
   19705     *\&* | *\|* | *\\* )
   19706        ac_sed_conf_input=`$as_echo "$configure_input" |
   19707        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19708     *) ac_sed_conf_input=$configure_input;;
   19709     esac
   19710 
   19711     case $ac_tag in
   19712     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19713       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19714     esac
   19715     ;;
   19716   esac
   19717 
   19718   ac_dir=`$as_dirname -- "$ac_file" ||
   19719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19720 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19721 	 X"$ac_file" : 'X\(//\)$' \| \
   19722 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19723 $as_echo X"$ac_file" |
   19724     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19725 	    s//\1/
   19726 	    q
   19727 	  }
   19728 	  /^X\(\/\/\)[^/].*/{
   19729 	    s//\1/
   19730 	    q
   19731 	  }
   19732 	  /^X\(\/\/\)$/{
   19733 	    s//\1/
   19734 	    q
   19735 	  }
   19736 	  /^X\(\/\).*/{
   19737 	    s//\1/
   19738 	    q
   19739 	  }
   19740 	  s/.*/./; q'`
   19741   as_dir="$ac_dir"; as_fn_mkdir_p
   19742   ac_builddir=.
   19743 
   19744 case "$ac_dir" in
   19745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19746 *)
   19747   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19748   # A ".." for each directory in $ac_dir_suffix.
   19749   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19750   case $ac_top_builddir_sub in
   19751   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19752   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19753   esac ;;
   19754 esac
   19755 ac_abs_top_builddir=$ac_pwd
   19756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19757 # for backward compatibility:
   19758 ac_top_builddir=$ac_top_build_prefix
   19759 
   19760 case $srcdir in
   19761   .)  # We are building in place.
   19762     ac_srcdir=.
   19763     ac_top_srcdir=$ac_top_builddir_sub
   19764     ac_abs_top_srcdir=$ac_pwd ;;
   19765   [\\/]* | ?:[\\/]* )  # Absolute name.
   19766     ac_srcdir=$srcdir$ac_dir_suffix;
   19767     ac_top_srcdir=$srcdir
   19768     ac_abs_top_srcdir=$srcdir ;;
   19769   *) # Relative name.
   19770     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19771     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19772     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19773 esac
   19774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19775 
   19776 
   19777   case $ac_mode in
   19778   :F)
   19779   #
   19780   # CONFIG_FILE
   19781   #
   19782 
   19783   case $INSTALL in
   19784   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19785   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19786   esac
   19787   ac_MKDIR_P=$MKDIR_P
   19788   case $MKDIR_P in
   19789   [\\/$]* | ?:[\\/]* ) ;;
   19790   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19791   esac
   19792 _ACEOF
   19793 
   19794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19795 # If the template does not know about datarootdir, expand it.
   19796 # FIXME: This hack should be removed a few years after 2.60.
   19797 ac_datarootdir_hack=; ac_datarootdir_seen=
   19798 ac_sed_dataroot='
   19799 /datarootdir/ {
   19800   p
   19801   q
   19802 }
   19803 /@datadir@/p
   19804 /@docdir@/p
   19805 /@infodir@/p
   19806 /@localedir@/p
   19807 /@mandir@/p'
   19808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19809 *datarootdir*) ac_datarootdir_seen=yes;;
   19810 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19811   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19813 _ACEOF
   19814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19815   ac_datarootdir_hack='
   19816   s&@datadir@&$datadir&g
   19817   s&@docdir@&$docdir&g
   19818   s&@infodir@&$infodir&g
   19819   s&@localedir@&$localedir&g
   19820   s&@mandir@&$mandir&g
   19821   s&\\\${datarootdir}&$datarootdir&g' ;;
   19822 esac
   19823 _ACEOF
   19824 
   19825 # Neutralize VPATH when `$srcdir' = `.'.
   19826 # Shell code in configure.ac might set extrasub.
   19827 # FIXME: do we really want to maintain this feature?
   19828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19829 ac_sed_extra="$ac_vpsub
   19830 $extrasub
   19831 _ACEOF
   19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19833 :t
   19834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19835 s|@configure_input@|$ac_sed_conf_input|;t t
   19836 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19837 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19838 s&@srcdir@&$ac_srcdir&;t t
   19839 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19840 s&@top_srcdir@&$ac_top_srcdir&;t t
   19841 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19842 s&@builddir@&$ac_builddir&;t t
   19843 s&@abs_builddir@&$ac_abs_builddir&;t t
   19844 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19845 s&@INSTALL@&$ac_INSTALL&;t t
   19846 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19847 $ac_datarootdir_hack
   19848 "
   19849 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19850   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19851 
   19852 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19853   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19854   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19855       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19856   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19857 which seems to be undefined.  Please make sure it is defined" >&5
   19858 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19859 which seems to be undefined.  Please make sure it is defined" >&2;}
   19860 
   19861   rm -f "$ac_tmp/stdin"
   19862   case $ac_file in
   19863   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19864   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19865   esac \
   19866   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19867  ;;
   19868   :H)
   19869   #
   19870   # CONFIG_HEADER
   19871   #
   19872   if test x"$ac_file" != x-; then
   19873     {
   19874       $as_echo "/* $configure_input  */" \
   19875       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19876     } >"$ac_tmp/config.h" \
   19877       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19878     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19879       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19880 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19881     else
   19882       rm -f "$ac_file"
   19883       mv "$ac_tmp/config.h" "$ac_file" \
   19884 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19885     fi
   19886   else
   19887     $as_echo "/* $configure_input  */" \
   19888       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19889       || as_fn_error $? "could not create -" "$LINENO" 5
   19890   fi
   19891 # Compute "$ac_file"'s index in $config_headers.
   19892 _am_arg="$ac_file"
   19893 _am_stamp_count=1
   19894 for _am_header in $config_headers :; do
   19895   case $_am_header in
   19896     $_am_arg | $_am_arg:* )
   19897       break ;;
   19898     * )
   19899       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19900   esac
   19901 done
   19902 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19903 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19904 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19905 	 X"$_am_arg" : 'X\(//\)$' \| \
   19906 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19907 $as_echo X"$_am_arg" |
   19908     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19909 	    s//\1/
   19910 	    q
   19911 	  }
   19912 	  /^X\(\/\/\)[^/].*/{
   19913 	    s//\1/
   19914 	    q
   19915 	  }
   19916 	  /^X\(\/\/\)$/{
   19917 	    s//\1/
   19918 	    q
   19919 	  }
   19920 	  /^X\(\/\).*/{
   19921 	    s//\1/
   19922 	    q
   19923 	  }
   19924 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19925  ;;
   19926 
   19927   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19928 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19929  ;;
   19930   esac
   19931 
   19932 
   19933   case $ac_file$ac_mode in
   19934     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19935   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19936   # are listed without --file.  Let's play safe and only enable the eval
   19937   # if we detect the quoting.
   19938   case $CONFIG_FILES in
   19939   *\'*) eval set x "$CONFIG_FILES" ;;
   19940   *)   set x $CONFIG_FILES ;;
   19941   esac
   19942   shift
   19943   for mf
   19944   do
   19945     # Strip MF so we end up with the name of the file.
   19946     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19947     # Check whether this is an Automake generated Makefile or not.
   19948     # We used to match only the files named `Makefile.in', but
   19949     # some people rename them; so instead we look at the file content.
   19950     # Grep'ing the first line is not enough: some people post-process
   19951     # each Makefile.in and add a new line on top of each file to say so.
   19952     # Grep'ing the whole file is not good either: AIX grep has a line
   19953     # limit of 2048, but all sed's we know have understand at least 4000.
   19954     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19955       dirpart=`$as_dirname -- "$mf" ||
   19956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19957 	 X"$mf" : 'X\(//\)[^/]' \| \
   19958 	 X"$mf" : 'X\(//\)$' \| \
   19959 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19960 $as_echo X"$mf" |
   19961     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19962 	    s//\1/
   19963 	    q
   19964 	  }
   19965 	  /^X\(\/\/\)[^/].*/{
   19966 	    s//\1/
   19967 	    q
   19968 	  }
   19969 	  /^X\(\/\/\)$/{
   19970 	    s//\1/
   19971 	    q
   19972 	  }
   19973 	  /^X\(\/\).*/{
   19974 	    s//\1/
   19975 	    q
   19976 	  }
   19977 	  s/.*/./; q'`
   19978     else
   19979       continue
   19980     fi
   19981     # Extract the definition of DEPDIR, am__include, and am__quote
   19982     # from the Makefile without running `make'.
   19983     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19984     test -z "$DEPDIR" && continue
   19985     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19986     test -z "am__include" && continue
   19987     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19988     # When using ansi2knr, U may be empty or an underscore; expand it
   19989     U=`sed -n 's/^U = //p' < "$mf"`
   19990     # Find all dependency output files, they are included files with
   19991     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19992     # simplest approach to changing $(DEPDIR) to its actual value in the
   19993     # expansion.
   19994     for file in `sed -n "
   19995       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19996 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19997       # Make sure the directory exists.
   19998       test -f "$dirpart/$file" && continue
   19999       fdir=`$as_dirname -- "$file" ||
   20000 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20001 	 X"$file" : 'X\(//\)[^/]' \| \
   20002 	 X"$file" : 'X\(//\)$' \| \
   20003 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20004 $as_echo X"$file" |
   20005     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20006 	    s//\1/
   20007 	    q
   20008 	  }
   20009 	  /^X\(\/\/\)[^/].*/{
   20010 	    s//\1/
   20011 	    q
   20012 	  }
   20013 	  /^X\(\/\/\)$/{
   20014 	    s//\1/
   20015 	    q
   20016 	  }
   20017 	  /^X\(\/\).*/{
   20018 	    s//\1/
   20019 	    q
   20020 	  }
   20021 	  s/.*/./; q'`
   20022       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20023       # echo "creating $dirpart/$file"
   20024       echo '# dummy' > "$dirpart/$file"
   20025     done
   20026   done
   20027 }
   20028  ;;
   20029     "libtool":C)
   20030 
   20031     # See if we are running on zsh, and set the options which allow our
   20032     # commands through without removal of \ escapes.
   20033     if test -n "${ZSH_VERSION+set}" ; then
   20034       setopt NO_GLOB_SUBST
   20035     fi
   20036 
   20037     cfgfile="${ofile}T"
   20038     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20039     $RM "$cfgfile"
   20040 
   20041     cat <<_LT_EOF >> "$cfgfile"
   20042 #! $SHELL
   20043 
   20044 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20045 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20046 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20047 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20048 #
   20049 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20050 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   20051 #                 Inc.
   20052 #   Written by Gordon Matzigkeit, 1996
   20053 #
   20054 #   This file is part of GNU Libtool.
   20055 #
   20056 # GNU Libtool is free software; you can redistribute it and/or
   20057 # modify it under the terms of the GNU General Public License as
   20058 # published by the Free Software Foundation; either version 2 of
   20059 # the License, or (at your option) any later version.
   20060 #
   20061 # As a special exception to the GNU General Public License,
   20062 # if you distribute this file as part of a program or library that
   20063 # is built using GNU Libtool, you may include this file under the
   20064 # same distribution terms that you use for the rest of that program.
   20065 #
   20066 # GNU Libtool is distributed in the hope that it will be useful,
   20067 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20068 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20069 # GNU General Public License for more details.
   20070 #
   20071 # You should have received a copy of the GNU General Public License
   20072 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20073 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20074 # obtained by writing to the Free Software Foundation, Inc.,
   20075 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20076 
   20077 
   20078 # The names of the tagged configurations supported by this script.
   20079 available_tags=""
   20080 
   20081 # ### BEGIN LIBTOOL CONFIG
   20082 
   20083 # Which release of libtool.m4 was used?
   20084 macro_version=$macro_version
   20085 macro_revision=$macro_revision
   20086 
   20087 # Whether or not to build shared libraries.
   20088 build_libtool_libs=$enable_shared
   20089 
   20090 # Whether or not to build static libraries.
   20091 build_old_libs=$enable_static
   20092 
   20093 # What type of objects to build.
   20094 pic_mode=$pic_mode
   20095 
   20096 # Whether or not to optimize for fast installation.
   20097 fast_install=$enable_fast_install
   20098 
   20099 # Shell to use when invoking shell scripts.
   20100 SHELL=$lt_SHELL
   20101 
   20102 # An echo program that protects backslashes.
   20103 ECHO=$lt_ECHO
   20104 
   20105 # The host system.
   20106 host_alias=$host_alias
   20107 host=$host
   20108 host_os=$host_os
   20109 
   20110 # The build system.
   20111 build_alias=$build_alias
   20112 build=$build
   20113 build_os=$build_os
   20114 
   20115 # A sed program that does not truncate output.
   20116 SED=$lt_SED
   20117 
   20118 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20119 Xsed="\$SED -e 1s/^X//"
   20120 
   20121 # A grep program that handles long lines.
   20122 GREP=$lt_GREP
   20123 
   20124 # An ERE matcher.
   20125 EGREP=$lt_EGREP
   20126 
   20127 # A literal string matcher.
   20128 FGREP=$lt_FGREP
   20129 
   20130 # A BSD- or MS-compatible name lister.
   20131 NM=$lt_NM
   20132 
   20133 # Whether we need soft or hard links.
   20134 LN_S=$lt_LN_S
   20135 
   20136 # What is the maximum length of a command?
   20137 max_cmd_len=$max_cmd_len
   20138 
   20139 # Object file suffix (normally "o").
   20140 objext=$ac_objext
   20141 
   20142 # Executable file suffix (normally "").
   20143 exeext=$exeext
   20144 
   20145 # whether the shell understands "unset".
   20146 lt_unset=$lt_unset
   20147 
   20148 # turn spaces into newlines.
   20149 SP2NL=$lt_lt_SP2NL
   20150 
   20151 # turn newlines into spaces.
   20152 NL2SP=$lt_lt_NL2SP
   20153 
   20154 # convert \$build file names to \$host format.
   20155 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20156 
   20157 # convert \$build files to toolchain format.
   20158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20159 
   20160 # An object symbol dumper.
   20161 OBJDUMP=$lt_OBJDUMP
   20162 
   20163 # Method to check whether dependent libraries are shared objects.
   20164 deplibs_check_method=$lt_deplibs_check_method
   20165 
   20166 # Command to use when deplibs_check_method = "file_magic".
   20167 file_magic_cmd=$lt_file_magic_cmd
   20168 
   20169 # How to find potential files when deplibs_check_method = "file_magic".
   20170 file_magic_glob=$lt_file_magic_glob
   20171 
   20172 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20173 want_nocaseglob=$lt_want_nocaseglob
   20174 
   20175 # DLL creation program.
   20176 DLLTOOL=$lt_DLLTOOL
   20177 
   20178 # Command to associate shared and link libraries.
   20179 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20180 
   20181 # The archiver.
   20182 AR=$lt_AR
   20183 
   20184 # Flags to create an archive.
   20185 AR_FLAGS=$lt_AR_FLAGS
   20186 
   20187 # How to feed a file listing to the archiver.
   20188 archiver_list_spec=$lt_archiver_list_spec
   20189 
   20190 # A symbol stripping program.
   20191 STRIP=$lt_STRIP
   20192 
   20193 # Commands used to install an old-style archive.
   20194 RANLIB=$lt_RANLIB
   20195 old_postinstall_cmds=$lt_old_postinstall_cmds
   20196 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20197 
   20198 # Whether to use a lock for old archive extraction.
   20199 lock_old_archive_extraction=$lock_old_archive_extraction
   20200 
   20201 # A C compiler.
   20202 LTCC=$lt_CC
   20203 
   20204 # LTCC compiler flags.
   20205 LTCFLAGS=$lt_CFLAGS
   20206 
   20207 # Take the output of nm and produce a listing of raw symbols and C names.
   20208 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20209 
   20210 # Transform the output of nm in a proper C declaration.
   20211 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20212 
   20213 # Transform the output of nm in a C name address pair.
   20214 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20215 
   20216 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20217 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20218 
   20219 # Specify filename containing input files for \$NM.
   20220 nm_file_list_spec=$lt_nm_file_list_spec
   20221 
   20222 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20223 lt_sysroot=$lt_sysroot
   20224 
   20225 # The name of the directory that contains temporary libtool files.
   20226 objdir=$objdir
   20227 
   20228 # Used to examine libraries when file_magic_cmd begins with "file".
   20229 MAGIC_CMD=$MAGIC_CMD
   20230 
   20231 # Must we lock files when doing compilation?
   20232 need_locks=$lt_need_locks
   20233 
   20234 # Manifest tool.
   20235 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20236 
   20237 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20238 DSYMUTIL=$lt_DSYMUTIL
   20239 
   20240 # Tool to change global to local symbols on Mac OS X.
   20241 NMEDIT=$lt_NMEDIT
   20242 
   20243 # Tool to manipulate fat objects and archives on Mac OS X.
   20244 LIPO=$lt_LIPO
   20245 
   20246 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20247 OTOOL=$lt_OTOOL
   20248 
   20249 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20250 OTOOL64=$lt_OTOOL64
   20251 
   20252 # Old archive suffix (normally "a").
   20253 libext=$libext
   20254 
   20255 # Shared library suffix (normally ".so").
   20256 shrext_cmds=$lt_shrext_cmds
   20257 
   20258 # The commands to extract the exported symbol list from a shared archive.
   20259 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20260 
   20261 # Variables whose values should be saved in libtool wrapper scripts and
   20262 # restored at link time.
   20263 variables_saved_for_relink=$lt_variables_saved_for_relink
   20264 
   20265 # Do we need the "lib" prefix for modules?
   20266 need_lib_prefix=$need_lib_prefix
   20267 
   20268 # Do we need a version for libraries?
   20269 need_version=$need_version
   20270 
   20271 # Library versioning type.
   20272 version_type=$version_type
   20273 
   20274 # Shared library runtime path variable.
   20275 runpath_var=$runpath_var
   20276 
   20277 # Shared library path variable.
   20278 shlibpath_var=$shlibpath_var
   20279 
   20280 # Is shlibpath searched before the hard-coded library search path?
   20281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20282 
   20283 # Format of library name prefix.
   20284 libname_spec=$lt_libname_spec
   20285 
   20286 # List of archive names.  First name is the real one, the rest are links.
   20287 # The last name is the one that the linker finds with -lNAME
   20288 library_names_spec=$lt_library_names_spec
   20289 
   20290 # The coded name of the library, if different from the real name.
   20291 soname_spec=$lt_soname_spec
   20292 
   20293 # Permission mode override for installation of shared libraries.
   20294 install_override_mode=$lt_install_override_mode
   20295 
   20296 # Command to use after installation of a shared archive.
   20297 postinstall_cmds=$lt_postinstall_cmds
   20298 
   20299 # Command to use after uninstallation of a shared archive.
   20300 postuninstall_cmds=$lt_postuninstall_cmds
   20301 
   20302 # Commands used to finish a libtool library installation in a directory.
   20303 finish_cmds=$lt_finish_cmds
   20304 
   20305 # As "finish_cmds", except a single script fragment to be evaled but
   20306 # not shown.
   20307 finish_eval=$lt_finish_eval
   20308 
   20309 # Whether we should hardcode library paths into libraries.
   20310 hardcode_into_libs=$hardcode_into_libs
   20311 
   20312 # Compile-time system search path for libraries.
   20313 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20314 
   20315 # Run-time system search path for libraries.
   20316 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20317 
   20318 # Whether dlopen is supported.
   20319 dlopen_support=$enable_dlopen
   20320 
   20321 # Whether dlopen of programs is supported.
   20322 dlopen_self=$enable_dlopen_self
   20323 
   20324 # Whether dlopen of statically linked programs is supported.
   20325 dlopen_self_static=$enable_dlopen_self_static
   20326 
   20327 # Commands to strip libraries.
   20328 old_striplib=$lt_old_striplib
   20329 striplib=$lt_striplib
   20330 
   20331 
   20332 # The linker used to build libraries.
   20333 LD=$lt_LD
   20334 
   20335 # How to create reloadable object files.
   20336 reload_flag=$lt_reload_flag
   20337 reload_cmds=$lt_reload_cmds
   20338 
   20339 # Commands used to build an old-style archive.
   20340 old_archive_cmds=$lt_old_archive_cmds
   20341 
   20342 # A language specific compiler.
   20343 CC=$lt_compiler
   20344 
   20345 # Is the compiler the GNU compiler?
   20346 with_gcc=$GCC
   20347 
   20348 # Compiler flag to turn off builtin functions.
   20349 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20350 
   20351 # Additional compiler flags for building library objects.
   20352 pic_flag=$lt_lt_prog_compiler_pic
   20353 
   20354 # How to pass a linker flag through the compiler.
   20355 wl=$lt_lt_prog_compiler_wl
   20356 
   20357 # Compiler flag to prevent dynamic linking.
   20358 link_static_flag=$lt_lt_prog_compiler_static
   20359 
   20360 # Does compiler simultaneously support -c and -o options?
   20361 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20362 
   20363 # Whether or not to add -lc for building shared libraries.
   20364 build_libtool_need_lc=$archive_cmds_need_lc
   20365 
   20366 # Whether or not to disallow shared libs when runtime libs are static.
   20367 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20368 
   20369 # Compiler flag to allow reflexive dlopens.
   20370 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20371 
   20372 # Compiler flag to generate shared objects directly from archives.
   20373 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20374 
   20375 # Whether the compiler copes with passing no objects directly.
   20376 compiler_needs_object=$lt_compiler_needs_object
   20377 
   20378 # Create an old-style archive from a shared archive.
   20379 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20380 
   20381 # Create a temporary old-style archive to link instead of a shared archive.
   20382 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20383 
   20384 # Commands used to build a shared archive.
   20385 archive_cmds=$lt_archive_cmds
   20386 archive_expsym_cmds=$lt_archive_expsym_cmds
   20387 
   20388 # Commands used to build a loadable module if different from building
   20389 # a shared archive.
   20390 module_cmds=$lt_module_cmds
   20391 module_expsym_cmds=$lt_module_expsym_cmds
   20392 
   20393 # Whether we are building with GNU ld or not.
   20394 with_gnu_ld=$lt_with_gnu_ld
   20395 
   20396 # Flag that allows shared libraries with undefined symbols to be built.
   20397 allow_undefined_flag=$lt_allow_undefined_flag
   20398 
   20399 # Flag that enforces no undefined symbols.
   20400 no_undefined_flag=$lt_no_undefined_flag
   20401 
   20402 # Flag to hardcode \$libdir into a binary during linking.
   20403 # This must work even if \$libdir does not exist
   20404 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20405 
   20406 # If ld is used when linking, flag to hardcode \$libdir into a binary
   20407 # during linking.  This must work even if \$libdir does not exist.
   20408 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   20409 
   20410 # Whether we need a single "-rpath" flag with a separated argument.
   20411 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20412 
   20413 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20414 # DIR into the resulting binary.
   20415 hardcode_direct=$hardcode_direct
   20416 
   20417 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20418 # DIR into the resulting binary and the resulting library dependency is
   20419 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20420 # library is relocated.
   20421 hardcode_direct_absolute=$hardcode_direct_absolute
   20422 
   20423 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20424 # into the resulting binary.
   20425 hardcode_minus_L=$hardcode_minus_L
   20426 
   20427 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20428 # into the resulting binary.
   20429 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20430 
   20431 # Set to "yes" if building a shared library automatically hardcodes DIR
   20432 # into the library and all subsequent libraries and executables linked
   20433 # against it.
   20434 hardcode_automatic=$hardcode_automatic
   20435 
   20436 # Set to yes if linker adds runtime paths of dependent libraries
   20437 # to runtime path list.
   20438 inherit_rpath=$inherit_rpath
   20439 
   20440 # Whether libtool must link a program against all its dependency libraries.
   20441 link_all_deplibs=$link_all_deplibs
   20442 
   20443 # Set to "yes" if exported symbols are required.
   20444 always_export_symbols=$always_export_symbols
   20445 
   20446 # The commands to list exported symbols.
   20447 export_symbols_cmds=$lt_export_symbols_cmds
   20448 
   20449 # Symbols that should not be listed in the preloaded symbols.
   20450 exclude_expsyms=$lt_exclude_expsyms
   20451 
   20452 # Symbols that must always be exported.
   20453 include_expsyms=$lt_include_expsyms
   20454 
   20455 # Commands necessary for linking programs (against libraries) with templates.
   20456 prelink_cmds=$lt_prelink_cmds
   20457 
   20458 # Commands necessary for finishing linking programs.
   20459 postlink_cmds=$lt_postlink_cmds
   20460 
   20461 # Specify filename containing input files.
   20462 file_list_spec=$lt_file_list_spec
   20463 
   20464 # How to hardcode a shared library path into an executable.
   20465 hardcode_action=$hardcode_action
   20466 
   20467 # ### END LIBTOOL CONFIG
   20468 
   20469 _LT_EOF
   20470 
   20471   case $host_os in
   20472   aix3*)
   20473     cat <<\_LT_EOF >> "$cfgfile"
   20474 # AIX sometimes has problems with the GCC collect2 program.  For some
   20475 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20476 # vanish in a puff of smoke.
   20477 if test "X${COLLECT_NAMES+set}" != Xset; then
   20478   COLLECT_NAMES=
   20479   export COLLECT_NAMES
   20480 fi
   20481 _LT_EOF
   20482     ;;
   20483   esac
   20484 
   20485 
   20486 ltmain="$ac_aux_dir/ltmain.sh"
   20487 
   20488 
   20489   # We use sed instead of cat because bash on DJGPP gets confused if
   20490   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20491   # text mode, it properly converts lines to CR/LF.  This bash problem
   20492   # is reportedly fixed, but why not run on old versions too?
   20493   sed '$q' "$ltmain" >> "$cfgfile" \
   20494      || (rm -f "$cfgfile"; exit 1)
   20495 
   20496   if test x"$xsi_shell" = xyes; then
   20497   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20498 func_dirname ()\
   20499 {\
   20500 \    case ${1} in\
   20501 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20502 \      *  ) func_dirname_result="${3}" ;;\
   20503 \    esac\
   20504 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20505   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20506     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20507 test 0 -eq $? || _lt_function_replace_fail=:
   20508 
   20509 
   20510   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20511 func_basename ()\
   20512 {\
   20513 \    func_basename_result="${1##*/}"\
   20514 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20515   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20516     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20517 test 0 -eq $? || _lt_function_replace_fail=:
   20518 
   20519 
   20520   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20521 func_dirname_and_basename ()\
   20522 {\
   20523 \    case ${1} in\
   20524 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20525 \      *  ) func_dirname_result="${3}" ;;\
   20526 \    esac\
   20527 \    func_basename_result="${1##*/}"\
   20528 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20529   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20530     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20531 test 0 -eq $? || _lt_function_replace_fail=:
   20532 
   20533 
   20534   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20535 func_stripname ()\
   20536 {\
   20537 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20538 \    # positional parameters, so assign one to ordinary parameter first.\
   20539 \    func_stripname_result=${3}\
   20540 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20541 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20542 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20543   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20544     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20545 test 0 -eq $? || _lt_function_replace_fail=:
   20546 
   20547 
   20548   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20549 func_split_long_opt ()\
   20550 {\
   20551 \    func_split_long_opt_name=${1%%=*}\
   20552 \    func_split_long_opt_arg=${1#*=}\
   20553 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20554   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20555     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20556 test 0 -eq $? || _lt_function_replace_fail=:
   20557 
   20558 
   20559   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20560 func_split_short_opt ()\
   20561 {\
   20562 \    func_split_short_opt_arg=${1#??}\
   20563 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20564 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20565   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20567 test 0 -eq $? || _lt_function_replace_fail=:
   20568 
   20569 
   20570   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20571 func_lo2o ()\
   20572 {\
   20573 \    case ${1} in\
   20574 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20575 \      *)    func_lo2o_result=${1} ;;\
   20576 \    esac\
   20577 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20578   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20579     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20580 test 0 -eq $? || _lt_function_replace_fail=:
   20581 
   20582 
   20583   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20584 func_xform ()\
   20585 {\
   20586     func_xform_result=${1%.*}.lo\
   20587 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20588   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20589     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20590 test 0 -eq $? || _lt_function_replace_fail=:
   20591 
   20592 
   20593   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20594 func_arith ()\
   20595 {\
   20596     func_arith_result=$(( $* ))\
   20597 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20598   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20599     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20600 test 0 -eq $? || _lt_function_replace_fail=:
   20601 
   20602 
   20603   sed -e '/^func_len ()$/,/^} # func_len /c\
   20604 func_len ()\
   20605 {\
   20606     func_len_result=${#1}\
   20607 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20608   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20609     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20610 test 0 -eq $? || _lt_function_replace_fail=:
   20611 
   20612 fi
   20613 
   20614 if test x"$lt_shell_append" = xyes; then
   20615   sed -e '/^func_append ()$/,/^} # func_append /c\
   20616 func_append ()\
   20617 {\
   20618     eval "${1}+=\\${2}"\
   20619 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20620   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20621     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20622 test 0 -eq $? || _lt_function_replace_fail=:
   20623 
   20624 
   20625   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20626 func_append_quoted ()\
   20627 {\
   20628 \    func_quote_for_eval "${2}"\
   20629 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20630 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20631   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20632     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20633 test 0 -eq $? || _lt_function_replace_fail=:
   20634 
   20635 
   20636   # Save a `func_append' function call where possible by direct use of '+='
   20637   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20638     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20639       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20640   test 0 -eq $? || _lt_function_replace_fail=:
   20641 else
   20642   # Save a `func_append' function call even when '+=' is not available
   20643   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20644     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20645       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20646   test 0 -eq $? || _lt_function_replace_fail=:
   20647 fi
   20648 
   20649 if test x"$_lt_function_replace_fail" = x":"; then
   20650   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20651 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20652 fi
   20653 
   20654 
   20655    mv -f "$cfgfile" "$ofile" ||
   20656     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20657   chmod +x "$ofile"
   20658 
   20659  ;;
   20660 
   20661   esac
   20662 done # for ac_tag
   20663 
   20664 
   20665 as_fn_exit 0
   20666 _ACEOF
   20667 ac_clean_files=$ac_clean_files_save
   20668 
   20669 test $ac_write_fail = 0 ||
   20670   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20671 
   20672 
   20673 # configure is writing to config.log, and then calls config.status.
   20674 # config.status does its own redirection, appending to config.log.
   20675 # Unfortunately, on DOS this fails, as config.log is still kept open
   20676 # by configure, so config.status won't be able to write to it; its
   20677 # output is simply discarded.  So we exec the FD to /dev/null,
   20678 # effectively closing config.log, so it can be properly (re)opened and
   20679 # appended to by config.status.  When coming back to configure, we
   20680 # need to make the FD available again.
   20681 if test "$no_create" != yes; then
   20682   ac_cs_success=:
   20683   ac_config_status_args=
   20684   test "$silent" = yes &&
   20685     ac_config_status_args="$ac_config_status_args --quiet"
   20686   exec 5>/dev/null
   20687   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20688   exec 5>>config.log
   20689   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20690   # would make configure fail if this is the last instruction.
   20691   $ac_cs_success || as_fn_exit 1
   20692 fi
   20693 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20694   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20695 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20696 fi
   20697 
   20698