Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.67 for xf86-video-chips 1.2.4.
      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 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    235 $0: about your system, including any error possibly output
    236 $0: before this message. Then install a modern shell, or
    237 $0: manually run the script under such a shell if you do
    238 $0: have one."
    239   fi
    240   exit 1
    241 fi
    242 fi
    243 fi
    244 SHELL=${CONFIG_SHELL-/bin/sh}
    245 export SHELL
    246 # Unset more variables known to interfere with behavior of common tools.
    247 CLICOLOR_FORCE= GREP_OPTIONS=
    248 unset CLICOLOR_FORCE GREP_OPTIONS
    249 
    250 ## --------------------- ##
    251 ## M4sh Shell Functions. ##
    252 ## --------------------- ##
    253 # as_fn_unset VAR
    254 # ---------------
    255 # Portably unset VAR.
    256 as_fn_unset ()
    257 {
    258   { eval $1=; unset $1;}
    259 }
    260 as_unset=as_fn_unset
    261 
    262 # as_fn_set_status STATUS
    263 # -----------------------
    264 # Set $? to STATUS, without forking.
    265 as_fn_set_status ()
    266 {
    267   return $1
    268 } # as_fn_set_status
    269 
    270 # as_fn_exit STATUS
    271 # -----------------
    272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    273 as_fn_exit ()
    274 {
    275   set +e
    276   as_fn_set_status $1
    277   exit $1
    278 } # as_fn_exit
    279 
    280 # as_fn_mkdir_p
    281 # -------------
    282 # Create "$as_dir" as a directory, including parents if necessary.
    283 as_fn_mkdir_p ()
    284 {
    285 
    286   case $as_dir in #(
    287   -*) as_dir=./$as_dir;;
    288   esac
    289   test -d "$as_dir" || eval $as_mkdir_p || {
    290     as_dirs=
    291     while :; do
    292       case $as_dir in #(
    293       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    294       *) as_qdir=$as_dir;;
    295       esac
    296       as_dirs="'$as_qdir' $as_dirs"
    297       as_dir=`$as_dirname -- "$as_dir" ||
    298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    299 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    300 	 X"$as_dir" : 'X\(//\)$' \| \
    301 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    302 $as_echo X"$as_dir" |
    303     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    304 	    s//\1/
    305 	    q
    306 	  }
    307 	  /^X\(\/\/\)[^/].*/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\).*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  s/.*/./; q'`
    320       test -d "$as_dir" && break
    321     done
    322     test -z "$as_dirs" || eval "mkdir $as_dirs"
    323   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    324 
    325 
    326 } # as_fn_mkdir_p
    327 # as_fn_append VAR VALUE
    328 # ----------------------
    329 # Append the text in VALUE to the end of the definition contained in VAR. Take
    330 # advantage of any shell optimizations that allow amortized linear growth over
    331 # repeated appends, instead of the typical quadratic growth present in naive
    332 # implementations.
    333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    334   eval 'as_fn_append ()
    335   {
    336     eval $1+=\$2
    337   }'
    338 else
    339   as_fn_append ()
    340   {
    341     eval $1=\$$1\$2
    342   }
    343 fi # as_fn_append
    344 
    345 # as_fn_arith ARG...
    346 # ------------------
    347 # Perform arithmetic evaluation on the ARGs, and store the result in the
    348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    349 # must be portable across $(()) and expr.
    350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    351   eval 'as_fn_arith ()
    352   {
    353     as_val=$(( $* ))
    354   }'
    355 else
    356   as_fn_arith ()
    357   {
    358     as_val=`expr "$@" || test $? -eq 1`
    359   }
    360 fi # as_fn_arith
    361 
    362 
    363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    364 # ----------------------------------------
    365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    367 # script with STATUS, using 1 if that was 0.
    368 as_fn_error ()
    369 {
    370   as_status=$1; test $as_status -eq 0 && as_status=1
    371   if test "$4"; then
    372     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    374   fi
    375   $as_echo "$as_me: error: $2" >&2
    376   as_fn_exit $as_status
    377 } # as_fn_error
    378 
    379 if expr a : '\(a\)' >/dev/null 2>&1 &&
    380    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    381   as_expr=expr
    382 else
    383   as_expr=false
    384 fi
    385 
    386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    387   as_basename=basename
    388 else
    389   as_basename=false
    390 fi
    391 
    392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    393   as_dirname=dirname
    394 else
    395   as_dirname=false
    396 fi
    397 
    398 as_me=`$as_basename -- "$0" ||
    399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    400 	 X"$0" : 'X\(//\)$' \| \
    401 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    402 $as_echo X/"$0" |
    403     sed '/^.*\/\([^/][^/]*\)\/*$/{
    404 	    s//\1/
    405 	    q
    406 	  }
    407 	  /^X\/\(\/\/\)$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\).*/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  s/.*/./; q'`
    416 
    417 # Avoid depending upon Character Ranges.
    418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    421 as_cr_digits='0123456789'
    422 as_cr_alnum=$as_cr_Letters$as_cr_digits
    423 
    424 
    425   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    426   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    427   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    428   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    429   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    430   sed -n '
    431     p
    432     /[$]LINENO/=
    433   ' <$as_myself |
    434     sed '
    435       s/[$]LINENO.*/&-/
    436       t lineno
    437       b
    438       :lineno
    439       N
    440       :loop
    441       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    442       t loop
    443       s/-\n.*//
    444     ' >$as_me.lineno &&
    445   chmod +x "$as_me.lineno" ||
    446     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    447 
    448   # Don't try to exec as it changes $[0], causing all sort of problems
    449   # (the dirname of $[0] is not the place where we might find the
    450   # original and so on.  Autoconf is especially sensitive to this).
    451   . "./$as_me.lineno"
    452   # Exit status is that of the last command.
    453   exit
    454 }
    455 
    456 ECHO_C= ECHO_N= ECHO_T=
    457 case `echo -n x` in #(((((
    458 -n*)
    459   case `echo 'xy\c'` in
    460   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    461   xy)  ECHO_C='\c';;
    462   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    463        ECHO_T='	';;
    464   esac;;
    465 *)
    466   ECHO_N='-n';;
    467 esac
    468 
    469 rm -f conf$$ conf$$.exe conf$$.file
    470 if test -d conf$$.dir; then
    471   rm -f conf$$.dir/conf$$.file
    472 else
    473   rm -f conf$$.dir
    474   mkdir conf$$.dir 2>/dev/null
    475 fi
    476 if (echo >conf$$.file) 2>/dev/null; then
    477   if ln -s conf$$.file conf$$ 2>/dev/null; then
    478     as_ln_s='ln -s'
    479     # ... but there are two gotchas:
    480     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    481     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    482     # In both cases, we have to default to `cp -p'.
    483     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    484       as_ln_s='cp -p'
    485   elif ln conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s=ln
    487   else
    488     as_ln_s='cp -p'
    489   fi
    490 else
    491   as_ln_s='cp -p'
    492 fi
    493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    494 rmdir conf$$.dir 2>/dev/null
    495 
    496 if mkdir -p . 2>/dev/null; then
    497   as_mkdir_p='mkdir -p "$as_dir"'
    498 else
    499   test -d ./-p && rmdir ./-p
    500   as_mkdir_p=false
    501 fi
    502 
    503 if test -x / >/dev/null 2>&1; then
    504   as_test_x='test -x'
    505 else
    506   if ls -dL / >/dev/null 2>&1; then
    507     as_ls_L_option=L
    508   else
    509     as_ls_L_option=
    510   fi
    511   as_test_x='
    512     eval sh -c '\''
    513       if test -d "$1"; then
    514 	test -d "$1/.";
    515       else
    516 	case $1 in #(
    517 	-*)set "./$1";;
    518 	esac;
    519 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    520 	???[sx]*):;;*)false;;esac;fi
    521     '\'' sh
    522   '
    523 fi
    524 as_executable_p=$as_test_x
    525 
    526 # Sed expression to map a string onto a valid CPP name.
    527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    528 
    529 # Sed expression to map a string onto a valid variable name.
    530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    531 
    532 
    533 
    534 # Check that we are running under the correct shell.
    535 SHELL=${CONFIG_SHELL-/bin/sh}
    536 
    537 case X$lt_ECHO in
    538 X*--fallback-echo)
    539   # Remove one level of quotation (which was required for Make).
    540   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    541   ;;
    542 esac
    543 
    544 ECHO=${lt_ECHO-echo}
    545 if test "X$1" = X--no-reexec; then
    546   # Discard the --no-reexec flag, and continue.
    547   shift
    548 elif test "X$1" = X--fallback-echo; then
    549   # Avoid inline document here, it may be left over
    550   :
    551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    552   # Yippee, $ECHO works!
    553   :
    554 else
    555   # Restart under the correct shell.
    556   exec $SHELL "$0" --no-reexec ${1+"$@"}
    557 fi
    558 
    559 if test "X$1" = X--fallback-echo; then
    560   # used as fallback echo
    561   shift
    562   cat <<_LT_EOF
    563 $*
    564 _LT_EOF
    565   exit 0
    566 fi
    567 
    568 # The HP-UX ksh and POSIX shell print the target directory to stdout
    569 # if CDPATH is set.
    570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    571 
    572 if test -z "$lt_ECHO"; then
    573   if test "X${echo_test_string+set}" != Xset; then
    574     # find a string as large as possible, as long as the shell can cope with it
    575     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    576       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    577       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    578 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    579       then
    580         break
    581       fi
    582     done
    583   fi
    584 
    585   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    586      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    587      test "X$echo_testing_string" = "X$echo_test_string"; then
    588     :
    589   else
    590     # The Solaris, AIX, and Digital Unix default echo programs unquote
    591     # backslashes.  This makes it impossible to quote backslashes using
    592     #   echo "$something" | sed 's/\\/\\\\/g'
    593     #
    594     # So, first we look for a working echo in the user's PATH.
    595 
    596     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    597     for dir in $PATH /usr/ucb; do
    598       IFS="$lt_save_ifs"
    599       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    600          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    601          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    602          test "X$echo_testing_string" = "X$echo_test_string"; then
    603         ECHO="$dir/echo"
    604         break
    605       fi
    606     done
    607     IFS="$lt_save_ifs"
    608 
    609     if test "X$ECHO" = Xecho; then
    610       # We didn't find a better echo, so look for alternatives.
    611       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    612          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    613          test "X$echo_testing_string" = "X$echo_test_string"; then
    614         # This shell has a builtin print -r that does the trick.
    615         ECHO='print -r'
    616       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    617 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    618         # If we have ksh, try running configure again with it.
    619         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    620         export ORIGINAL_CONFIG_SHELL
    621         CONFIG_SHELL=/bin/ksh
    622         export CONFIG_SHELL
    623         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    624       else
    625         # Try using printf.
    626         ECHO='printf %s\n'
    627         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    628 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    629 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    630 	  # Cool, printf works
    631 	  :
    632         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    633 	     test "X$echo_testing_string" = 'X\t' &&
    634 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    635 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    636 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    637 	  export CONFIG_SHELL
    638 	  SHELL="$CONFIG_SHELL"
    639 	  export SHELL
    640 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    641         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    642 	     test "X$echo_testing_string" = 'X\t' &&
    643 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    644 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    645 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    646         else
    647 	  # maybe with a smaller string...
    648 	  prev=:
    649 
    650 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    651 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    652 	    then
    653 	      break
    654 	    fi
    655 	    prev="$cmd"
    656 	  done
    657 
    658 	  if test "$prev" != 'sed 50q "$0"'; then
    659 	    echo_test_string=`eval $prev`
    660 	    export echo_test_string
    661 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    662 	  else
    663 	    # Oops.  We lost completely, so just stick with echo.
    664 	    ECHO=echo
    665 	  fi
    666         fi
    667       fi
    668     fi
    669   fi
    670 fi
    671 
    672 # Copy echo and quote the copy suitably for passing to libtool from
    673 # the Makefile, instead of quoting the original, which is used later.
    674 lt_ECHO=$ECHO
    675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    676    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    677 fi
    678 
    679 
    680 
    681 
    682 test -n "$DJDIR" || exec 7<&0 </dev/null
    683 exec 6>&1
    684 
    685 # Name of the host.
    686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    687 # so uname gets run too.
    688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    689 
    690 #
    691 # Initializations.
    692 #
    693 ac_default_prefix=/usr/local
    694 ac_clean_files=
    695 ac_config_libobj_dir=.
    696 LIBOBJS=
    697 cross_compiling=no
    698 subdirs=
    699 MFLAGS=
    700 MAKEFLAGS=
    701 
    702 # Identity of this package.
    703 PACKAGE_NAME='xf86-video-chips'
    704 PACKAGE_TARNAME='xf86-video-chips'
    705 PACKAGE_VERSION='1.2.4'
    706 PACKAGE_STRING='xf86-video-chips 1.2.4'
    707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    708 PACKAGE_URL=''
    709 
    710 ac_unique_file="Makefile.am"
    711 # Factoring default headers for most tests.
    712 ac_includes_default="\
    713 #include <stdio.h>
    714 #ifdef HAVE_SYS_TYPES_H
    715 # include <sys/types.h>
    716 #endif
    717 #ifdef HAVE_SYS_STAT_H
    718 # include <sys/stat.h>
    719 #endif
    720 #ifdef STDC_HEADERS
    721 # include <stdlib.h>
    722 # include <stddef.h>
    723 #else
    724 # ifdef HAVE_STDLIB_H
    725 #  include <stdlib.h>
    726 # endif
    727 #endif
    728 #ifdef HAVE_STRING_H
    729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    730 #  include <memory.h>
    731 # endif
    732 # include <string.h>
    733 #endif
    734 #ifdef HAVE_STRINGS_H
    735 # include <strings.h>
    736 #endif
    737 #ifdef HAVE_INTTYPES_H
    738 # include <inttypes.h>
    739 #endif
    740 #ifdef HAVE_STDINT_H
    741 # include <stdint.h>
    742 #endif
    743 #ifdef HAVE_UNISTD_H
    744 # include <unistd.h>
    745 #endif"
    746 
    747 ac_subst_vars='am__EXEEXT_FALSE
    748 am__EXEEXT_TRUE
    749 LTLIBOBJS
    750 LIBOBJS
    751 DRIVER_NAME
    752 moduledir
    753 BUILD_UTILS_FALSE
    754 BUILD_UTILS_TRUE
    755 XSERVER_LIBPCIACCESS_FALSE
    756 XSERVER_LIBPCIACCESS_TRUE
    757 PCIACCESS_LIBS
    758 PCIACCESS_CFLAGS
    759 XORG_LIBS
    760 XORG_CFLAGS
    761 OTOOL64
    762 OTOOL
    763 LIPO
    764 NMEDIT
    765 DSYMUTIL
    766 lt_ECHO
    767 RANLIB
    768 AR
    769 OBJDUMP
    770 LN_S
    771 NM
    772 ac_ct_DUMPBIN
    773 DUMPBIN
    774 LD
    775 FGREP
    776 LIBTOOL
    777 AM_BACKSLASH
    778 AM_DEFAULT_VERBOSITY
    779 MAN_SUBSTS
    780 XORG_MAN_PAGE
    781 ADMIN_MAN_DIR
    782 DRIVER_MAN_DIR
    783 MISC_MAN_DIR
    784 FILE_MAN_DIR
    785 LIB_MAN_DIR
    786 APP_MAN_DIR
    787 ADMIN_MAN_SUFFIX
    788 DRIVER_MAN_SUFFIX
    789 MISC_MAN_SUFFIX
    790 FILE_MAN_SUFFIX
    791 LIB_MAN_SUFFIX
    792 APP_MAN_SUFFIX
    793 SED
    794 host_os
    795 host_vendor
    796 host_cpu
    797 host
    798 build_os
    799 build_vendor
    800 build_cpu
    801 build
    802 INSTALL_CMD
    803 PKG_CONFIG_LIBDIR
    804 PKG_CONFIG_PATH
    805 PKG_CONFIG
    806 CHANGELOG_CMD
    807 CWARNFLAGS
    808 EGREP
    809 GREP
    810 CPP
    811 am__fastdepCC_FALSE
    812 am__fastdepCC_TRUE
    813 CCDEPMODE
    814 AMDEPBACKSLASH
    815 AMDEP_FALSE
    816 AMDEP_TRUE
    817 am__quote
    818 am__include
    819 DEPDIR
    820 OBJEXT
    821 EXEEXT
    822 ac_ct_CC
    823 CPPFLAGS
    824 LDFLAGS
    825 CFLAGS
    826 CC
    827 MAINT
    828 MAINTAINER_MODE_FALSE
    829 MAINTAINER_MODE_TRUE
    830 am__untar
    831 am__tar
    832 AMTAR
    833 am__leading_dot
    834 SET_MAKE
    835 AWK
    836 mkdir_p
    837 MKDIR_P
    838 INSTALL_STRIP_PROGRAM
    839 STRIP
    840 install_sh
    841 MAKEINFO
    842 AUTOHEADER
    843 AUTOMAKE
    844 AUTOCONF
    845 ACLOCAL
    846 VERSION
    847 PACKAGE
    848 CYGPATH_W
    849 am__isrc
    850 INSTALL_DATA
    851 INSTALL_SCRIPT
    852 INSTALL_PROGRAM
    853 target_alias
    854 host_alias
    855 build_alias
    856 LIBS
    857 ECHO_T
    858 ECHO_N
    859 ECHO_C
    860 DEFS
    861 mandir
    862 localedir
    863 libdir
    864 psdir
    865 pdfdir
    866 dvidir
    867 htmldir
    868 infodir
    869 docdir
    870 oldincludedir
    871 includedir
    872 localstatedir
    873 sharedstatedir
    874 sysconfdir
    875 datadir
    876 datarootdir
    877 libexecdir
    878 sbindir
    879 bindir
    880 program_transform_name
    881 prefix
    882 exec_prefix
    883 PACKAGE_URL
    884 PACKAGE_BUGREPORT
    885 PACKAGE_STRING
    886 PACKAGE_VERSION
    887 PACKAGE_TARNAME
    888 PACKAGE_NAME
    889 PATH_SEPARATOR
    890 SHELL'
    891 ac_subst_files=''
    892 ac_user_opts='
    893 enable_option_checking
    894 enable_maintainer_mode
    895 enable_dependency_tracking
    896 enable_strict_compilation
    897 enable_silent_rules
    898 enable_static
    899 enable_shared
    900 with_pic
    901 enable_fast_install
    902 with_gnu_ld
    903 enable_libtool_lock
    904 with_xorg_module_dir
    905 '
    906       ac_precious_vars='build_alias
    907 host_alias
    908 target_alias
    909 CC
    910 CFLAGS
    911 LDFLAGS
    912 LIBS
    913 CPPFLAGS
    914 CPP
    915 PKG_CONFIG
    916 PKG_CONFIG_PATH
    917 PKG_CONFIG_LIBDIR
    918 XORG_CFLAGS
    919 XORG_LIBS
    920 PCIACCESS_CFLAGS
    921 PCIACCESS_LIBS'
    922 
    923 
    924 # Initialize some variables set by options.
    925 ac_init_help=
    926 ac_init_version=false
    927 ac_unrecognized_opts=
    928 ac_unrecognized_sep=
    929 # The variables have the same names as the options, with
    930 # dashes changed to underlines.
    931 cache_file=/dev/null
    932 exec_prefix=NONE
    933 no_create=
    934 no_recursion=
    935 prefix=NONE
    936 program_prefix=NONE
    937 program_suffix=NONE
    938 program_transform_name=s,x,x,
    939 silent=
    940 site=
    941 srcdir=
    942 verbose=
    943 x_includes=NONE
    944 x_libraries=NONE
    945 
    946 # Installation directory options.
    947 # These are left unexpanded so users can "make install exec_prefix=/foo"
    948 # and all the variables that are supposed to be based on exec_prefix
    949 # by default will actually change.
    950 # Use braces instead of parens because sh, perl, etc. also accept them.
    951 # (The list follows the same order as the GNU Coding Standards.)
    952 bindir='${exec_prefix}/bin'
    953 sbindir='${exec_prefix}/sbin'
    954 libexecdir='${exec_prefix}/libexec'
    955 datarootdir='${prefix}/share'
    956 datadir='${datarootdir}'
    957 sysconfdir='${prefix}/etc'
    958 sharedstatedir='${prefix}/com'
    959 localstatedir='${prefix}/var'
    960 includedir='${prefix}/include'
    961 oldincludedir='/usr/include'
    962 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    963 infodir='${datarootdir}/info'
    964 htmldir='${docdir}'
    965 dvidir='${docdir}'
    966 pdfdir='${docdir}'
    967 psdir='${docdir}'
    968 libdir='${exec_prefix}/lib'
    969 localedir='${datarootdir}/locale'
    970 mandir='${datarootdir}/man'
    971 
    972 ac_prev=
    973 ac_dashdash=
    974 for ac_option
    975 do
    976   # If the previous option needs an argument, assign it.
    977   if test -n "$ac_prev"; then
    978     eval $ac_prev=\$ac_option
    979     ac_prev=
    980     continue
    981   fi
    982 
    983   case $ac_option in
    984   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    985   *=)   ac_optarg= ;;
    986   *)    ac_optarg=yes ;;
    987   esac
    988 
    989   # Accept the important Cygnus configure options, so we can diagnose typos.
    990 
    991   case $ac_dashdash$ac_option in
    992   --)
    993     ac_dashdash=yes ;;
    994 
    995   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    996     ac_prev=bindir ;;
    997   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    998     bindir=$ac_optarg ;;
    999 
   1000   -build | --build | --buil | --bui | --bu)
   1001     ac_prev=build_alias ;;
   1002   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1003     build_alias=$ac_optarg ;;
   1004 
   1005   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1006   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1007     ac_prev=cache_file ;;
   1008   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1009   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1010     cache_file=$ac_optarg ;;
   1011 
   1012   --config-cache | -C)
   1013     cache_file=config.cache ;;
   1014 
   1015   -datadir | --datadir | --datadi | --datad)
   1016     ac_prev=datadir ;;
   1017   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1018     datadir=$ac_optarg ;;
   1019 
   1020   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1021   | --dataroo | --dataro | --datar)
   1022     ac_prev=datarootdir ;;
   1023   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1024   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1025     datarootdir=$ac_optarg ;;
   1026 
   1027   -disable-* | --disable-*)
   1028     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1029     # Reject names that are not valid shell variable names.
   1030     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1031       as_fn_error $? "invalid feature name: $ac_useropt"
   1032     ac_useropt_orig=$ac_useropt
   1033     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1034     case $ac_user_opts in
   1035       *"
   1036 "enable_$ac_useropt"
   1037 "*) ;;
   1038       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1039 	 ac_unrecognized_sep=', ';;
   1040     esac
   1041     eval enable_$ac_useropt=no ;;
   1042 
   1043   -docdir | --docdir | --docdi | --doc | --do)
   1044     ac_prev=docdir ;;
   1045   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1046     docdir=$ac_optarg ;;
   1047 
   1048   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1049     ac_prev=dvidir ;;
   1050   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1051     dvidir=$ac_optarg ;;
   1052 
   1053   -enable-* | --enable-*)
   1054     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1055     # Reject names that are not valid shell variable names.
   1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1057       as_fn_error $? "invalid feature name: $ac_useropt"
   1058     ac_useropt_orig=$ac_useropt
   1059     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1060     case $ac_user_opts in
   1061       *"
   1062 "enable_$ac_useropt"
   1063 "*) ;;
   1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1065 	 ac_unrecognized_sep=', ';;
   1066     esac
   1067     eval enable_$ac_useropt=\$ac_optarg ;;
   1068 
   1069   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1070   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1071   | --exec | --exe | --ex)
   1072     ac_prev=exec_prefix ;;
   1073   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1074   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1075   | --exec=* | --exe=* | --ex=*)
   1076     exec_prefix=$ac_optarg ;;
   1077 
   1078   -gas | --gas | --ga | --g)
   1079     # Obsolete; use --with-gas.
   1080     with_gas=yes ;;
   1081 
   1082   -help | --help | --hel | --he | -h)
   1083     ac_init_help=long ;;
   1084   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1085     ac_init_help=recursive ;;
   1086   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1087     ac_init_help=short ;;
   1088 
   1089   -host | --host | --hos | --ho)
   1090     ac_prev=host_alias ;;
   1091   -host=* | --host=* | --hos=* | --ho=*)
   1092     host_alias=$ac_optarg ;;
   1093 
   1094   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1095     ac_prev=htmldir ;;
   1096   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1097   | --ht=*)
   1098     htmldir=$ac_optarg ;;
   1099 
   1100   -includedir | --includedir | --includedi | --included | --include \
   1101   | --includ | --inclu | --incl | --inc)
   1102     ac_prev=includedir ;;
   1103   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1104   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1105     includedir=$ac_optarg ;;
   1106 
   1107   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1108     ac_prev=infodir ;;
   1109   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1110     infodir=$ac_optarg ;;
   1111 
   1112   -libdir | --libdir | --libdi | --libd)
   1113     ac_prev=libdir ;;
   1114   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1115     libdir=$ac_optarg ;;
   1116 
   1117   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1118   | --libexe | --libex | --libe)
   1119     ac_prev=libexecdir ;;
   1120   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1121   | --libexe=* | --libex=* | --libe=*)
   1122     libexecdir=$ac_optarg ;;
   1123 
   1124   -localedir | --localedir | --localedi | --localed | --locale)
   1125     ac_prev=localedir ;;
   1126   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1127     localedir=$ac_optarg ;;
   1128 
   1129   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1130   | --localstate | --localstat | --localsta | --localst | --locals)
   1131     ac_prev=localstatedir ;;
   1132   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1133   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1134     localstatedir=$ac_optarg ;;
   1135 
   1136   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1137     ac_prev=mandir ;;
   1138   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1139     mandir=$ac_optarg ;;
   1140 
   1141   -nfp | --nfp | --nf)
   1142     # Obsolete; use --without-fp.
   1143     with_fp=no ;;
   1144 
   1145   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1146   | --no-cr | --no-c | -n)
   1147     no_create=yes ;;
   1148 
   1149   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1150   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1151     no_recursion=yes ;;
   1152 
   1153   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1154   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1155   | --oldin | --oldi | --old | --ol | --o)
   1156     ac_prev=oldincludedir ;;
   1157   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1158   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1159   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1160     oldincludedir=$ac_optarg ;;
   1161 
   1162   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1163     ac_prev=prefix ;;
   1164   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1165     prefix=$ac_optarg ;;
   1166 
   1167   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1168   | --program-pre | --program-pr | --program-p)
   1169     ac_prev=program_prefix ;;
   1170   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1171   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1172     program_prefix=$ac_optarg ;;
   1173 
   1174   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1175   | --program-suf | --program-su | --program-s)
   1176     ac_prev=program_suffix ;;
   1177   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1178   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1179     program_suffix=$ac_optarg ;;
   1180 
   1181   -program-transform-name | --program-transform-name \
   1182   | --program-transform-nam | --program-transform-na \
   1183   | --program-transform-n | --program-transform- \
   1184   | --program-transform | --program-transfor \
   1185   | --program-transfo | --program-transf \
   1186   | --program-trans | --program-tran \
   1187   | --progr-tra | --program-tr | --program-t)
   1188     ac_prev=program_transform_name ;;
   1189   -program-transform-name=* | --program-transform-name=* \
   1190   | --program-transform-nam=* | --program-transform-na=* \
   1191   | --program-transform-n=* | --program-transform-=* \
   1192   | --program-transform=* | --program-transfor=* \
   1193   | --program-transfo=* | --program-transf=* \
   1194   | --program-trans=* | --program-tran=* \
   1195   | --progr-tra=* | --program-tr=* | --program-t=*)
   1196     program_transform_name=$ac_optarg ;;
   1197 
   1198   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1199     ac_prev=pdfdir ;;
   1200   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1201     pdfdir=$ac_optarg ;;
   1202 
   1203   -psdir | --psdir | --psdi | --psd | --ps)
   1204     ac_prev=psdir ;;
   1205   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1206     psdir=$ac_optarg ;;
   1207 
   1208   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1209   | -silent | --silent | --silen | --sile | --sil)
   1210     silent=yes ;;
   1211 
   1212   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1213     ac_prev=sbindir ;;
   1214   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1215   | --sbi=* | --sb=*)
   1216     sbindir=$ac_optarg ;;
   1217 
   1218   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1219   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1220   | --sharedst | --shareds | --shared | --share | --shar \
   1221   | --sha | --sh)
   1222     ac_prev=sharedstatedir ;;
   1223   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1224   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1225   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1226   | --sha=* | --sh=*)
   1227     sharedstatedir=$ac_optarg ;;
   1228 
   1229   -site | --site | --sit)
   1230     ac_prev=site ;;
   1231   -site=* | --site=* | --sit=*)
   1232     site=$ac_optarg ;;
   1233 
   1234   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1235     ac_prev=srcdir ;;
   1236   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1237     srcdir=$ac_optarg ;;
   1238 
   1239   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1240   | --syscon | --sysco | --sysc | --sys | --sy)
   1241     ac_prev=sysconfdir ;;
   1242   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1243   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1244     sysconfdir=$ac_optarg ;;
   1245 
   1246   -target | --target | --targe | --targ | --tar | --ta | --t)
   1247     ac_prev=target_alias ;;
   1248   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1249     target_alias=$ac_optarg ;;
   1250 
   1251   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1252     verbose=yes ;;
   1253 
   1254   -version | --version | --versio | --versi | --vers | -V)
   1255     ac_init_version=: ;;
   1256 
   1257   -with-* | --with-*)
   1258     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1259     # Reject names that are not valid shell variable names.
   1260     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1261       as_fn_error $? "invalid package name: $ac_useropt"
   1262     ac_useropt_orig=$ac_useropt
   1263     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1264     case $ac_user_opts in
   1265       *"
   1266 "with_$ac_useropt"
   1267 "*) ;;
   1268       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1269 	 ac_unrecognized_sep=', ';;
   1270     esac
   1271     eval with_$ac_useropt=\$ac_optarg ;;
   1272 
   1273   -without-* | --without-*)
   1274     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1275     # Reject names that are not valid shell variable names.
   1276     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1277       as_fn_error $? "invalid package name: $ac_useropt"
   1278     ac_useropt_orig=$ac_useropt
   1279     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1280     case $ac_user_opts in
   1281       *"
   1282 "with_$ac_useropt"
   1283 "*) ;;
   1284       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1285 	 ac_unrecognized_sep=', ';;
   1286     esac
   1287     eval with_$ac_useropt=no ;;
   1288 
   1289   --x)
   1290     # Obsolete; use --with-x.
   1291     with_x=yes ;;
   1292 
   1293   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1294   | --x-incl | --x-inc | --x-in | --x-i)
   1295     ac_prev=x_includes ;;
   1296   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1297   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1298     x_includes=$ac_optarg ;;
   1299 
   1300   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1301   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1302     ac_prev=x_libraries ;;
   1303   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1304   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1305     x_libraries=$ac_optarg ;;
   1306 
   1307   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1308 Try \`$0 --help' for more information"
   1309     ;;
   1310 
   1311   *=*)
   1312     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1313     # Reject names that are not valid shell variable names.
   1314     case $ac_envvar in #(
   1315       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1316       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1317     esac
   1318     eval $ac_envvar=\$ac_optarg
   1319     export $ac_envvar ;;
   1320 
   1321   *)
   1322     # FIXME: should be removed in autoconf 3.0.
   1323     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1324     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1325       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1326     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1327     ;;
   1328 
   1329   esac
   1330 done
   1331 
   1332 if test -n "$ac_prev"; then
   1333   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1334   as_fn_error $? "missing argument to $ac_option"
   1335 fi
   1336 
   1337 if test -n "$ac_unrecognized_opts"; then
   1338   case $enable_option_checking in
   1339     no) ;;
   1340     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1341     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1342   esac
   1343 fi
   1344 
   1345 # Check all directory arguments for consistency.
   1346 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1347 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1348 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1349 		libdir localedir mandir
   1350 do
   1351   eval ac_val=\$$ac_var
   1352   # Remove trailing slashes.
   1353   case $ac_val in
   1354     */ )
   1355       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1356       eval $ac_var=\$ac_val;;
   1357   esac
   1358   # Be sure to have absolute directory names.
   1359   case $ac_val in
   1360     [\\/$]* | ?:[\\/]* )  continue;;
   1361     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1362   esac
   1363   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1364 done
   1365 
   1366 # There might be people who depend on the old broken behavior: `$host'
   1367 # used to hold the argument of --host etc.
   1368 # FIXME: To remove some day.
   1369 build=$build_alias
   1370 host=$host_alias
   1371 target=$target_alias
   1372 
   1373 # FIXME: To remove some day.
   1374 if test "x$host_alias" != x; then
   1375   if test "x$build_alias" = x; then
   1376     cross_compiling=maybe
   1377     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1378     If a cross compiler is detected then cross compile mode will be used" >&2
   1379   elif test "x$build_alias" != "x$host_alias"; then
   1380     cross_compiling=yes
   1381   fi
   1382 fi
   1383 
   1384 ac_tool_prefix=
   1385 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1386 
   1387 test "$silent" = yes && exec 6>/dev/null
   1388 
   1389 
   1390 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1391 ac_ls_di=`ls -di .` &&
   1392 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1393   as_fn_error $? "working directory cannot be determined"
   1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1395   as_fn_error $? "pwd does not report name of working directory"
   1396 
   1397 
   1398 # Find the source files, if location was not specified.
   1399 if test -z "$srcdir"; then
   1400   ac_srcdir_defaulted=yes
   1401   # Try the directory containing this script, then the parent directory.
   1402   ac_confdir=`$as_dirname -- "$as_myself" ||
   1403 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1404 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1405 	 X"$as_myself" : 'X\(//\)$' \| \
   1406 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1407 $as_echo X"$as_myself" |
   1408     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1409 	    s//\1/
   1410 	    q
   1411 	  }
   1412 	  /^X\(\/\/\)[^/].*/{
   1413 	    s//\1/
   1414 	    q
   1415 	  }
   1416 	  /^X\(\/\/\)$/{
   1417 	    s//\1/
   1418 	    q
   1419 	  }
   1420 	  /^X\(\/\).*/{
   1421 	    s//\1/
   1422 	    q
   1423 	  }
   1424 	  s/.*/./; q'`
   1425   srcdir=$ac_confdir
   1426   if test ! -r "$srcdir/$ac_unique_file"; then
   1427     srcdir=..
   1428   fi
   1429 else
   1430   ac_srcdir_defaulted=no
   1431 fi
   1432 if test ! -r "$srcdir/$ac_unique_file"; then
   1433   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1434   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1435 fi
   1436 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1437 ac_abs_confdir=`(
   1438 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1439 	pwd)`
   1440 # When building in place, set srcdir=.
   1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1442   srcdir=.
   1443 fi
   1444 # Remove unnecessary trailing slashes from srcdir.
   1445 # Double slashes in file names in object file debugging info
   1446 # mess up M-x gdb in Emacs.
   1447 case $srcdir in
   1448 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1449 esac
   1450 for ac_var in $ac_precious_vars; do
   1451   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1452   eval ac_env_${ac_var}_value=\$${ac_var}
   1453   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1454   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1455 done
   1456 
   1457 #
   1458 # Report the --help message.
   1459 #
   1460 if test "$ac_init_help" = "long"; then
   1461   # Omit some internal or obsolete options to make the list less imposing.
   1462   # This message is too long to be a string in the A/UX 3.1 sh.
   1463   cat <<_ACEOF
   1464 \`configure' configures xf86-video-chips 1.2.4 to adapt to many kinds of systems.
   1465 
   1466 Usage: $0 [OPTION]... [VAR=VALUE]...
   1467 
   1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1469 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1470 
   1471 Defaults for the options are specified in brackets.
   1472 
   1473 Configuration:
   1474   -h, --help              display this help and exit
   1475       --help=short        display options specific to this package
   1476       --help=recursive    display the short help of all the included packages
   1477   -V, --version           display version information and exit
   1478   -q, --quiet, --silent   do not print \`checking ...' messages
   1479       --cache-file=FILE   cache test results in FILE [disabled]
   1480   -C, --config-cache      alias for \`--cache-file=config.cache'
   1481   -n, --no-create         do not create output files
   1482       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1483 
   1484 Installation directories:
   1485   --prefix=PREFIX         install architecture-independent files in PREFIX
   1486                           [$ac_default_prefix]
   1487   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1488                           [PREFIX]
   1489 
   1490 By default, \`make install' will install all the files in
   1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1493 for instance \`--prefix=\$HOME'.
   1494 
   1495 For better control, use the options below.
   1496 
   1497 Fine tuning of the installation directories:
   1498   --bindir=DIR            user executables [EPREFIX/bin]
   1499   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1500   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1501   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1502   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1503   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1504   --libdir=DIR            object code libraries [EPREFIX/lib]
   1505   --includedir=DIR        C header files [PREFIX/include]
   1506   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1507   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1508   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1509   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1510   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1511   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1512   --docdir=DIR            documentation root
   1513                           [DATAROOTDIR/doc/xf86-video-chips]
   1514   --htmldir=DIR           html documentation [DOCDIR]
   1515   --dvidir=DIR            dvi documentation [DOCDIR]
   1516   --pdfdir=DIR            pdf documentation [DOCDIR]
   1517   --psdir=DIR             ps documentation [DOCDIR]
   1518 _ACEOF
   1519 
   1520   cat <<\_ACEOF
   1521 
   1522 Program names:
   1523   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1524   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1525   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1526 
   1527 System types:
   1528   --build=BUILD     configure for building on BUILD [guessed]
   1529   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1530 _ACEOF
   1531 fi
   1532 
   1533 if test -n "$ac_init_help"; then
   1534   case $ac_init_help in
   1535      short | recursive ) echo "Configuration of xf86-video-chips 1.2.4:";;
   1536    esac
   1537   cat <<\_ACEOF
   1538 
   1539 Optional Features:
   1540   --disable-option-checking  ignore unrecognized --enable/--with options
   1541   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1542   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1543   --enable-maintainer-mode  enable make rules and dependencies not useful
   1544 			  (and sometimes confusing) to the casual installer
   1545   --disable-dependency-tracking  speeds up one-time build
   1546   --enable-dependency-tracking   do not reject slow dependency extractors
   1547   --enable-strict-compilation
   1548                           Enable all warnings from compiler and make them
   1549                           errors (default: disabled)
   1550   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1551   --disable-silent-rules         verbose build output (undo: `make V=0')
   1552   --enable-static[=PKGS]  build static libraries [default=no]
   1553   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1554   --enable-fast-install[=PKGS]
   1555                           optimize for fast installation [default=yes]
   1556   --disable-libtool-lock  avoid locking (might break parallel builds)
   1557 
   1558 Optional Packages:
   1559   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1560   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1561   --with-pic              try to use only PIC/non-PIC objects [default=use
   1562                           both]
   1563   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1564   --with-xorg-module-dir=DIR
   1565                           Default xorg module directory
   1566                           [[default=$libdir/xorg/modules]]
   1567 
   1568 Some influential environment variables:
   1569   CC          C compiler command
   1570   CFLAGS      C compiler flags
   1571   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1572               nonstandard directory <lib dir>
   1573   LIBS        libraries to pass to the linker, e.g. -l<library>
   1574   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1575               you have headers in a nonstandard directory <include dir>
   1576   CPP         C preprocessor
   1577   PKG_CONFIG  path to pkg-config utility
   1578   PKG_CONFIG_PATH
   1579               directories to add to pkg-config's search path
   1580   PKG_CONFIG_LIBDIR
   1581               path overriding pkg-config's built-in search path
   1582   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1583   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1584   PCIACCESS_CFLAGS
   1585               C compiler flags for PCIACCESS, overriding pkg-config
   1586   PCIACCESS_LIBS
   1587               linker flags for PCIACCESS, overriding pkg-config
   1588 
   1589 Use these variables to override the choices made by `configure' or to help
   1590 it to find libraries and programs with nonstandard names/locations.
   1591 
   1592 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1593 _ACEOF
   1594 ac_status=$?
   1595 fi
   1596 
   1597 if test "$ac_init_help" = "recursive"; then
   1598   # If there are subdirs, report their specific --help.
   1599   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1600     test -d "$ac_dir" ||
   1601       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1602       continue
   1603     ac_builddir=.
   1604 
   1605 case "$ac_dir" in
   1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1607 *)
   1608   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1609   # A ".." for each directory in $ac_dir_suffix.
   1610   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1611   case $ac_top_builddir_sub in
   1612   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1613   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1614   esac ;;
   1615 esac
   1616 ac_abs_top_builddir=$ac_pwd
   1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1618 # for backward compatibility:
   1619 ac_top_builddir=$ac_top_build_prefix
   1620 
   1621 case $srcdir in
   1622   .)  # We are building in place.
   1623     ac_srcdir=.
   1624     ac_top_srcdir=$ac_top_builddir_sub
   1625     ac_abs_top_srcdir=$ac_pwd ;;
   1626   [\\/]* | ?:[\\/]* )  # Absolute name.
   1627     ac_srcdir=$srcdir$ac_dir_suffix;
   1628     ac_top_srcdir=$srcdir
   1629     ac_abs_top_srcdir=$srcdir ;;
   1630   *) # Relative name.
   1631     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1632     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1633     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1634 esac
   1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1636 
   1637     cd "$ac_dir" || { ac_status=$?; continue; }
   1638     # Check for guested configure.
   1639     if test -f "$ac_srcdir/configure.gnu"; then
   1640       echo &&
   1641       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1642     elif test -f "$ac_srcdir/configure"; then
   1643       echo &&
   1644       $SHELL "$ac_srcdir/configure" --help=recursive
   1645     else
   1646       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1647     fi || ac_status=$?
   1648     cd "$ac_pwd" || { ac_status=$?; break; }
   1649   done
   1650 fi
   1651 
   1652 test -n "$ac_init_help" && exit $ac_status
   1653 if $ac_init_version; then
   1654   cat <<\_ACEOF
   1655 xf86-video-chips configure 1.2.4
   1656 generated by GNU Autoconf 2.67
   1657 
   1658 Copyright (C) 2010 Free Software Foundation, Inc.
   1659 This configure script is free software; the Free Software Foundation
   1660 gives unlimited permission to copy, distribute and modify it.
   1661 _ACEOF
   1662   exit
   1663 fi
   1664 
   1665 ## ------------------------ ##
   1666 ## Autoconf initialization. ##
   1667 ## ------------------------ ##
   1668 
   1669 # ac_fn_c_try_compile LINENO
   1670 # --------------------------
   1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1672 ac_fn_c_try_compile ()
   1673 {
   1674   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1675   rm -f conftest.$ac_objext
   1676   if { { ac_try="$ac_compile"
   1677 case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_compile") 2>conftest.err
   1684   ac_status=$?
   1685   if test -s conftest.err; then
   1686     grep -v '^ *+' conftest.err >conftest.er1
   1687     cat conftest.er1 >&5
   1688     mv -f conftest.er1 conftest.err
   1689   fi
   1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1691   test $ac_status = 0; } && {
   1692 	 test -z "$ac_c_werror_flag" ||
   1693 	 test ! -s conftest.err
   1694        } && test -s conftest.$ac_objext; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700 	ac_retval=1
   1701 fi
   1702   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_compile
   1706 
   1707 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1708 # ---------------------------------------------
   1709 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1710 # accordingly.
   1711 ac_fn_c_check_decl ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1715   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1717 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1718 if eval "test \"\${$3+set}\"" = set; then :
   1719   $as_echo_n "(cached) " >&6
   1720 else
   1721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1722 /* end confdefs.h.  */
   1723 $4
   1724 int
   1725 main ()
   1726 {
   1727 #ifndef $as_decl_name
   1728 #ifdef __cplusplus
   1729   (void) $as_decl_use;
   1730 #else
   1731   (void) $as_decl_name;
   1732 #endif
   1733 #endif
   1734 
   1735   ;
   1736   return 0;
   1737 }
   1738 _ACEOF
   1739 if ac_fn_c_try_compile "$LINENO"; then :
   1740   eval "$3=yes"
   1741 else
   1742   eval "$3=no"
   1743 fi
   1744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1745 fi
   1746 eval ac_res=\$$3
   1747 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1748 $as_echo "$ac_res" >&6; }
   1749   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1750 
   1751 } # ac_fn_c_check_decl
   1752 
   1753 # ac_fn_c_try_cpp LINENO
   1754 # ----------------------
   1755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1756 ac_fn_c_try_cpp ()
   1757 {
   1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1759   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1760 case "(($ac_try" in
   1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1762   *) ac_try_echo=$ac_try;;
   1763 esac
   1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1765 $as_echo "$ac_try_echo"; } >&5
   1766   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1767   ac_status=$?
   1768   if test -s conftest.err; then
   1769     grep -v '^ *+' conftest.err >conftest.er1
   1770     cat conftest.er1 >&5
   1771     mv -f conftest.er1 conftest.err
   1772   fi
   1773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1774   test $ac_status = 0; } > conftest.i && {
   1775 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1776 	 test ! -s conftest.err
   1777        }; then :
   1778   ac_retval=0
   1779 else
   1780   $as_echo "$as_me: failed program was:" >&5
   1781 sed 's/^/| /' conftest.$ac_ext >&5
   1782 
   1783     ac_retval=1
   1784 fi
   1785   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1786   as_fn_set_status $ac_retval
   1787 
   1788 } # ac_fn_c_try_cpp
   1789 
   1790 # ac_fn_c_try_run LINENO
   1791 # ----------------------
   1792 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1793 # that executables *can* be run.
   1794 ac_fn_c_try_run ()
   1795 {
   1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1797   if { { ac_try="$ac_link"
   1798 case "(($ac_try" in
   1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1800   *) ac_try_echo=$ac_try;;
   1801 esac
   1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1803 $as_echo "$ac_try_echo"; } >&5
   1804   (eval "$ac_link") 2>&5
   1805   ac_status=$?
   1806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1807   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1808   { { case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_try") 2>&5
   1815   ac_status=$?
   1816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1817   test $ac_status = 0; }; }; then :
   1818   ac_retval=0
   1819 else
   1820   $as_echo "$as_me: program exited with status $ac_status" >&5
   1821        $as_echo "$as_me: failed program was:" >&5
   1822 sed 's/^/| /' conftest.$ac_ext >&5
   1823 
   1824        ac_retval=$ac_status
   1825 fi
   1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1827   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_c_try_run
   1831 
   1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1833 # -------------------------------------------------------
   1834 # Tests whether HEADER exists and can be compiled using the include files in
   1835 # INCLUDES, setting the cache variable VAR accordingly.
   1836 ac_fn_c_check_header_compile ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1840 $as_echo_n "checking for $2... " >&6; }
   1841 if eval "test \"\${$3+set}\"" = set; then :
   1842   $as_echo_n "(cached) " >&6
   1843 else
   1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1845 /* end confdefs.h.  */
   1846 $4
   1847 #include <$2>
   1848 _ACEOF
   1849 if ac_fn_c_try_compile "$LINENO"; then :
   1850   eval "$3=yes"
   1851 else
   1852   eval "$3=no"
   1853 fi
   1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1855 fi
   1856 eval ac_res=\$$3
   1857 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1858 $as_echo "$ac_res" >&6; }
   1859   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1860 
   1861 } # ac_fn_c_check_header_compile
   1862 
   1863 # ac_fn_c_try_link LINENO
   1864 # -----------------------
   1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1866 ac_fn_c_try_link ()
   1867 {
   1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1869   rm -f conftest.$ac_objext conftest$ac_exeext
   1870   if { { ac_try="$ac_link"
   1871 case "(($ac_try" in
   1872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1873   *) ac_try_echo=$ac_try;;
   1874 esac
   1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1876 $as_echo "$ac_try_echo"; } >&5
   1877   (eval "$ac_link") 2>conftest.err
   1878   ac_status=$?
   1879   if test -s conftest.err; then
   1880     grep -v '^ *+' conftest.err >conftest.er1
   1881     cat conftest.er1 >&5
   1882     mv -f conftest.er1 conftest.err
   1883   fi
   1884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1885   test $ac_status = 0; } && {
   1886 	 test -z "$ac_c_werror_flag" ||
   1887 	 test ! -s conftest.err
   1888        } && test -s conftest$ac_exeext && {
   1889 	 test "$cross_compiling" = yes ||
   1890 	 $as_test_x conftest$ac_exeext
   1891        }; then :
   1892   ac_retval=0
   1893 else
   1894   $as_echo "$as_me: failed program was:" >&5
   1895 sed 's/^/| /' conftest.$ac_ext >&5
   1896 
   1897 	ac_retval=1
   1898 fi
   1899   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1900   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1901   # interfere with the next link command; also delete a directory that is
   1902   # left behind by Apple's compiler.  We do this before executing the actions.
   1903   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1904   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1905   as_fn_set_status $ac_retval
   1906 
   1907 } # ac_fn_c_try_link
   1908 
   1909 # ac_fn_c_check_func LINENO FUNC VAR
   1910 # ----------------------------------
   1911 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1912 ac_fn_c_check_func ()
   1913 {
   1914   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1916 $as_echo_n "checking for $2... " >&6; }
   1917 if eval "test \"\${$3+set}\"" = set; then :
   1918   $as_echo_n "(cached) " >&6
   1919 else
   1920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1921 /* end confdefs.h.  */
   1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1924 #define $2 innocuous_$2
   1925 
   1926 /* System header to define __stub macros and hopefully few prototypes,
   1927     which can conflict with char $2 (); below.
   1928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1929     <limits.h> exists even on freestanding compilers.  */
   1930 
   1931 #ifdef __STDC__
   1932 # include <limits.h>
   1933 #else
   1934 # include <assert.h>
   1935 #endif
   1936 
   1937 #undef $2
   1938 
   1939 /* Override any GCC internal prototype to avoid an error.
   1940    Use char because int might match the return type of a GCC
   1941    builtin and then its argument prototype would still apply.  */
   1942 #ifdef __cplusplus
   1943 extern "C"
   1944 #endif
   1945 char $2 ();
   1946 /* The GNU C library defines this for functions which it implements
   1947     to always fail with ENOSYS.  Some functions are actually named
   1948     something starting with __ and the normal name is an alias.  */
   1949 #if defined __stub_$2 || defined __stub___$2
   1950 choke me
   1951 #endif
   1952 
   1953 int
   1954 main ()
   1955 {
   1956 return $2 ();
   1957   ;
   1958   return 0;
   1959 }
   1960 _ACEOF
   1961 if ac_fn_c_try_link "$LINENO"; then :
   1962   eval "$3=yes"
   1963 else
   1964   eval "$3=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext \
   1967     conftest$ac_exeext conftest.$ac_ext
   1968 fi
   1969 eval ac_res=\$$3
   1970 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1971 $as_echo "$ac_res" >&6; }
   1972   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1973 
   1974 } # ac_fn_c_check_func
   1975 
   1976 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1977 # -------------------------------------------------------
   1978 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1979 # the include files in INCLUDES and setting the cache variable VAR
   1980 # accordingly.
   1981 ac_fn_c_check_header_mongrel ()
   1982 {
   1983   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1984   if eval "test \"\${$3+set}\"" = set; then :
   1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1986 $as_echo_n "checking for $2... " >&6; }
   1987 if eval "test \"\${$3+set}\"" = set; then :
   1988   $as_echo_n "(cached) " >&6
   1989 fi
   1990 eval ac_res=\$$3
   1991 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1992 $as_echo "$ac_res" >&6; }
   1993 else
   1994   # Is the header compilable?
   1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1996 $as_echo_n "checking $2 usability... " >&6; }
   1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1998 /* end confdefs.h.  */
   1999 $4
   2000 #include <$2>
   2001 _ACEOF
   2002 if ac_fn_c_try_compile "$LINENO"; then :
   2003   ac_header_compiler=yes
   2004 else
   2005   ac_header_compiler=no
   2006 fi
   2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2009 $as_echo "$ac_header_compiler" >&6; }
   2010 
   2011 # Is the header present?
   2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2013 $as_echo_n "checking $2 presence... " >&6; }
   2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2015 /* end confdefs.h.  */
   2016 #include <$2>
   2017 _ACEOF
   2018 if ac_fn_c_try_cpp "$LINENO"; then :
   2019   ac_header_preproc=yes
   2020 else
   2021   ac_header_preproc=no
   2022 fi
   2023 rm -f conftest.err conftest.i conftest.$ac_ext
   2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2025 $as_echo "$ac_header_preproc" >&6; }
   2026 
   2027 # So?  What about this header?
   2028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2029   yes:no: )
   2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2031 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2034     ;;
   2035   no:yes:* )
   2036     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2037 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2038     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2039 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2040     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2041 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2042     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2043 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2046 ( $as_echo "## ---------------------------------------------------------------------- ##
   2047 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2048 ## ---------------------------------------------------------------------- ##"
   2049      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2050     ;;
   2051 esac
   2052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2053 $as_echo_n "checking for $2... " >&6; }
   2054 if eval "test \"\${$3+set}\"" = set; then :
   2055   $as_echo_n "(cached) " >&6
   2056 else
   2057   eval "$3=\$ac_header_compiler"
   2058 fi
   2059 eval ac_res=\$$3
   2060 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2061 $as_echo "$ac_res" >&6; }
   2062 fi
   2063   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2064 
   2065 } # ac_fn_c_check_header_mongrel
   2066 cat >config.log <<_ACEOF
   2067 This file contains any messages produced by compilers while
   2068 running configure, to aid debugging if configure makes a mistake.
   2069 
   2070 It was created by xf86-video-chips $as_me 1.2.4, which was
   2071 generated by GNU Autoconf 2.67.  Invocation command line was
   2072 
   2073   $ $0 $@
   2074 
   2075 _ACEOF
   2076 exec 5>>config.log
   2077 {
   2078 cat <<_ASUNAME
   2079 ## --------- ##
   2080 ## Platform. ##
   2081 ## --------- ##
   2082 
   2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2088 
   2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2090 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2091 
   2092 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2093 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2095 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2096 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2097 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2098 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2099 
   2100 _ASUNAME
   2101 
   2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2103 for as_dir in $PATH
   2104 do
   2105   IFS=$as_save_IFS
   2106   test -z "$as_dir" && as_dir=.
   2107     $as_echo "PATH: $as_dir"
   2108   done
   2109 IFS=$as_save_IFS
   2110 
   2111 } >&5
   2112 
   2113 cat >&5 <<_ACEOF
   2114 
   2115 
   2116 ## ----------- ##
   2117 ## Core tests. ##
   2118 ## ----------- ##
   2119 
   2120 _ACEOF
   2121 
   2122 
   2123 # Keep a trace of the command line.
   2124 # Strip out --no-create and --no-recursion so they do not pile up.
   2125 # Strip out --silent because we don't want to record it for future runs.
   2126 # Also quote any args containing shell meta-characters.
   2127 # Make two passes to allow for proper duplicate-argument suppression.
   2128 ac_configure_args=
   2129 ac_configure_args0=
   2130 ac_configure_args1=
   2131 ac_must_keep_next=false
   2132 for ac_pass in 1 2
   2133 do
   2134   for ac_arg
   2135   do
   2136     case $ac_arg in
   2137     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2138     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2139     | -silent | --silent | --silen | --sile | --sil)
   2140       continue ;;
   2141     *\'*)
   2142       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2143     esac
   2144     case $ac_pass in
   2145     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2146     2)
   2147       as_fn_append ac_configure_args1 " '$ac_arg'"
   2148       if test $ac_must_keep_next = true; then
   2149 	ac_must_keep_next=false # Got value, back to normal.
   2150       else
   2151 	case $ac_arg in
   2152 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2153 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2154 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2155 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2156 	    case "$ac_configure_args0 " in
   2157 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2158 	    esac
   2159 	    ;;
   2160 	  -* ) ac_must_keep_next=true ;;
   2161 	esac
   2162       fi
   2163       as_fn_append ac_configure_args " '$ac_arg'"
   2164       ;;
   2165     esac
   2166   done
   2167 done
   2168 { ac_configure_args0=; unset ac_configure_args0;}
   2169 { ac_configure_args1=; unset ac_configure_args1;}
   2170 
   2171 # When interrupted or exit'd, cleanup temporary files, and complete
   2172 # config.log.  We remove comments because anyway the quotes in there
   2173 # would cause problems or look ugly.
   2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2176 trap 'exit_status=$?
   2177   # Save into config.log some information that might help in debugging.
   2178   {
   2179     echo
   2180 
   2181     $as_echo "## ---------------- ##
   2182 ## Cache variables. ##
   2183 ## ---------------- ##"
   2184     echo
   2185     # The following way of writing the cache mishandles newlines in values,
   2186 (
   2187   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2188     eval ac_val=\$$ac_var
   2189     case $ac_val in #(
   2190     *${as_nl}*)
   2191       case $ac_var in #(
   2192       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2194       esac
   2195       case $ac_var in #(
   2196       _ | IFS | as_nl) ;; #(
   2197       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2198       *) { eval $ac_var=; unset $ac_var;} ;;
   2199       esac ;;
   2200     esac
   2201   done
   2202   (set) 2>&1 |
   2203     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2204     *${as_nl}ac_space=\ *)
   2205       sed -n \
   2206 	"s/'\''/'\''\\\\'\'''\''/g;
   2207 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2208       ;; #(
   2209     *)
   2210       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2211       ;;
   2212     esac |
   2213     sort
   2214 )
   2215     echo
   2216 
   2217     $as_echo "## ----------------- ##
   2218 ## Output variables. ##
   2219 ## ----------------- ##"
   2220     echo
   2221     for ac_var in $ac_subst_vars
   2222     do
   2223       eval ac_val=\$$ac_var
   2224       case $ac_val in
   2225       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2226       esac
   2227       $as_echo "$ac_var='\''$ac_val'\''"
   2228     done | sort
   2229     echo
   2230 
   2231     if test -n "$ac_subst_files"; then
   2232       $as_echo "## ------------------- ##
   2233 ## File substitutions. ##
   2234 ## ------------------- ##"
   2235       echo
   2236       for ac_var in $ac_subst_files
   2237       do
   2238 	eval ac_val=\$$ac_var
   2239 	case $ac_val in
   2240 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2241 	esac
   2242 	$as_echo "$ac_var='\''$ac_val'\''"
   2243       done | sort
   2244       echo
   2245     fi
   2246 
   2247     if test -s confdefs.h; then
   2248       $as_echo "## ----------- ##
   2249 ## confdefs.h. ##
   2250 ## ----------- ##"
   2251       echo
   2252       cat confdefs.h
   2253       echo
   2254     fi
   2255     test "$ac_signal" != 0 &&
   2256       $as_echo "$as_me: caught signal $ac_signal"
   2257     $as_echo "$as_me: exit $exit_status"
   2258   } >&5
   2259   rm -f core *.core core.conftest.* &&
   2260     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2261     exit $exit_status
   2262 ' 0
   2263 for ac_signal in 1 2 13 15; do
   2264   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2265 done
   2266 ac_signal=0
   2267 
   2268 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2269 rm -f -r conftest* confdefs.h
   2270 
   2271 $as_echo "/* confdefs.h */" > confdefs.h
   2272 
   2273 # Predefined preprocessor variables.
   2274 
   2275 cat >>confdefs.h <<_ACEOF
   2276 #define PACKAGE_NAME "$PACKAGE_NAME"
   2277 _ACEOF
   2278 
   2279 cat >>confdefs.h <<_ACEOF
   2280 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2281 _ACEOF
   2282 
   2283 cat >>confdefs.h <<_ACEOF
   2284 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2285 _ACEOF
   2286 
   2287 cat >>confdefs.h <<_ACEOF
   2288 #define PACKAGE_STRING "$PACKAGE_STRING"
   2289 _ACEOF
   2290 
   2291 cat >>confdefs.h <<_ACEOF
   2292 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2293 _ACEOF
   2294 
   2295 cat >>confdefs.h <<_ACEOF
   2296 #define PACKAGE_URL "$PACKAGE_URL"
   2297 _ACEOF
   2298 
   2299 
   2300 # Let the site file select an alternate cache file if it wants to.
   2301 # Prefer an explicitly selected file to automatically selected ones.
   2302 ac_site_file1=NONE
   2303 ac_site_file2=NONE
   2304 if test -n "$CONFIG_SITE"; then
   2305   # We do not want a PATH search for config.site.
   2306   case $CONFIG_SITE in #((
   2307     -*)  ac_site_file1=./$CONFIG_SITE;;
   2308     */*) ac_site_file1=$CONFIG_SITE;;
   2309     *)   ac_site_file1=./$CONFIG_SITE;;
   2310   esac
   2311 elif test "x$prefix" != xNONE; then
   2312   ac_site_file1=$prefix/share/config.site
   2313   ac_site_file2=$prefix/etc/config.site
   2314 else
   2315   ac_site_file1=$ac_default_prefix/share/config.site
   2316   ac_site_file2=$ac_default_prefix/etc/config.site
   2317 fi
   2318 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2319 do
   2320   test "x$ac_site_file" = xNONE && continue
   2321   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2322     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2323 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2324     sed 's/^/| /' "$ac_site_file" >&5
   2325     . "$ac_site_file" \
   2326       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2328 as_fn_error $? "failed to load site script $ac_site_file
   2329 See \`config.log' for more details" "$LINENO" 5 ; }
   2330   fi
   2331 done
   2332 
   2333 if test -r "$cache_file"; then
   2334   # Some versions of bash will fail to source /dev/null (special files
   2335   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2336   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2337     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2338 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2339     case $cache_file in
   2340       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2341       *)                      . "./$cache_file";;
   2342     esac
   2343   fi
   2344 else
   2345   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2346 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2347   >$cache_file
   2348 fi
   2349 
   2350 # Check that the precious variables saved in the cache have kept the same
   2351 # value.
   2352 ac_cache_corrupted=false
   2353 for ac_var in $ac_precious_vars; do
   2354   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2355   eval ac_new_set=\$ac_env_${ac_var}_set
   2356   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2357   eval ac_new_val=\$ac_env_${ac_var}_value
   2358   case $ac_old_set,$ac_new_set in
   2359     set,)
   2360       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2361 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2362       ac_cache_corrupted=: ;;
   2363     ,set)
   2364       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2365 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2366       ac_cache_corrupted=: ;;
   2367     ,);;
   2368     *)
   2369       if test "x$ac_old_val" != "x$ac_new_val"; then
   2370 	# differences in whitespace do not lead to failure.
   2371 	ac_old_val_w=`echo x $ac_old_val`
   2372 	ac_new_val_w=`echo x $ac_new_val`
   2373 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2374 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2375 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2376 	  ac_cache_corrupted=:
   2377 	else
   2378 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2379 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2380 	  eval $ac_var=\$ac_old_val
   2381 	fi
   2382 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2383 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2384 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2385 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2386       fi;;
   2387   esac
   2388   # Pass precious variables to config.status.
   2389   if test "$ac_new_set" = set; then
   2390     case $ac_new_val in
   2391     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2392     *) ac_arg=$ac_var=$ac_new_val ;;
   2393     esac
   2394     case " $ac_configure_args " in
   2395       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2396       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2397     esac
   2398   fi
   2399 done
   2400 if $ac_cache_corrupted; then
   2401   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2403   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2404 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2405   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2406 fi
   2407 ## -------------------- ##
   2408 ## Main body of script. ##
   2409 ## -------------------- ##
   2410 
   2411 ac_ext=c
   2412 ac_cpp='$CPP $CPPFLAGS'
   2413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2416 
   2417 
   2418 
   2419 ac_config_headers="$ac_config_headers config.h"
   2420 
   2421 ac_aux_dir=
   2422 for ac_dir in . "$srcdir"/.; do
   2423   if test -f "$ac_dir/install-sh"; then
   2424     ac_aux_dir=$ac_dir
   2425     ac_install_sh="$ac_aux_dir/install-sh -c"
   2426     break
   2427   elif test -f "$ac_dir/install.sh"; then
   2428     ac_aux_dir=$ac_dir
   2429     ac_install_sh="$ac_aux_dir/install.sh -c"
   2430     break
   2431   elif test -f "$ac_dir/shtool"; then
   2432     ac_aux_dir=$ac_dir
   2433     ac_install_sh="$ac_aux_dir/shtool install -c"
   2434     break
   2435   fi
   2436 done
   2437 if test -z "$ac_aux_dir"; then
   2438   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2439 fi
   2440 
   2441 # These three variables are undocumented and unsupported,
   2442 # and are intended to be withdrawn in a future Autoconf release.
   2443 # They can cause serious problems if a builder's source tree is in a directory
   2444 # whose full name contains unusual characters.
   2445 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2446 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2447 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2448 
   2449 
   2450 
   2451 # Initialize Automake
   2452 am__api_version='1.11'
   2453 
   2454 # Find a good install program.  We prefer a C program (faster),
   2455 # so one script is as good as another.  But avoid the broken or
   2456 # incompatible versions:
   2457 # SysV /etc/install, /usr/sbin/install
   2458 # SunOS /usr/etc/install
   2459 # IRIX /sbin/install
   2460 # AIX /bin/install
   2461 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2462 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2465 # OS/2's system install, which has a completely different semantic
   2466 # ./install, which can be erroneously created by make from ./install.sh.
   2467 # Reject install programs that cannot install multiple files.
   2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2470 if test -z "$INSTALL"; then
   2471 if test "${ac_cv_path_install+set}" = set; then :
   2472   $as_echo_n "(cached) " >&6
   2473 else
   2474   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     # Account for people who put trailing slashes in PATH elements.
   2480 case $as_dir/ in #((
   2481   ./ | .// | /[cC]/* | \
   2482   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2483   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2484   /usr/ucb/* ) ;;
   2485   *)
   2486     # OSF1 and SCO ODT 3.0 have their own names for install.
   2487     # Don't use installbsd from OSF since it installs stuff as root
   2488     # by default.
   2489     for ac_prog in ginstall scoinst install; do
   2490       for ac_exec_ext in '' $ac_executable_extensions; do
   2491 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2492 	  if test $ac_prog = install &&
   2493 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2494 	    # AIX install.  It has an incompatible calling convention.
   2495 	    :
   2496 	  elif test $ac_prog = install &&
   2497 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2498 	    # program-specific install script used by HP pwplus--don't use.
   2499 	    :
   2500 	  else
   2501 	    rm -rf conftest.one conftest.two conftest.dir
   2502 	    echo one > conftest.one
   2503 	    echo two > conftest.two
   2504 	    mkdir conftest.dir
   2505 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2506 	      test -s conftest.one && test -s conftest.two &&
   2507 	      test -s conftest.dir/conftest.one &&
   2508 	      test -s conftest.dir/conftest.two
   2509 	    then
   2510 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2511 	      break 3
   2512 	    fi
   2513 	  fi
   2514 	fi
   2515       done
   2516     done
   2517     ;;
   2518 esac
   2519 
   2520   done
   2521 IFS=$as_save_IFS
   2522 
   2523 rm -rf conftest.one conftest.two conftest.dir
   2524 
   2525 fi
   2526   if test "${ac_cv_path_install+set}" = set; then
   2527     INSTALL=$ac_cv_path_install
   2528   else
   2529     # As a last resort, use the slow shell script.  Don't cache a
   2530     # value for INSTALL within a source directory, because that will
   2531     # break other packages using the cache if that directory is
   2532     # removed, or if the value is a relative name.
   2533     INSTALL=$ac_install_sh
   2534   fi
   2535 fi
   2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2537 $as_echo "$INSTALL" >&6; }
   2538 
   2539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2540 # It thinks the first close brace ends the variable substitution.
   2541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2542 
   2543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2544 
   2545 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2546 
   2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2548 $as_echo_n "checking whether build environment is sane... " >&6; }
   2549 # Just in case
   2550 sleep 1
   2551 echo timestamp > conftest.file
   2552 # Reject unsafe characters in $srcdir or the absolute working directory
   2553 # name.  Accept space and tab only in the latter.
   2554 am_lf='
   2555 '
   2556 case `pwd` in
   2557   *[\\\"\#\$\&\'\`$am_lf]*)
   2558     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
   2559 esac
   2560 case $srcdir in
   2561   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2562     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
   2563 esac
   2564 
   2565 # Do `set' in a subshell so we don't clobber the current shell's
   2566 # arguments.  Must try -L first in case configure is actually a
   2567 # symlink; some systems play weird games with the mod time of symlinks
   2568 # (eg FreeBSD returns the mod time of the symlink's containing
   2569 # directory).
   2570 if (
   2571    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2572    if test "$*" = "X"; then
   2573       # -L didn't work.
   2574       set X `ls -t "$srcdir/configure" conftest.file`
   2575    fi
   2576    rm -f conftest.file
   2577    if test "$*" != "X $srcdir/configure conftest.file" \
   2578       && test "$*" != "X conftest.file $srcdir/configure"; then
   2579 
   2580       # If neither matched, then we have a broken ls.  This can happen
   2581       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2582       # broken ls alias from the environment.  This has actually
   2583       # happened.  Such a system could not be considered "sane".
   2584       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2585 alias in your environment" "$LINENO" 5
   2586    fi
   2587 
   2588    test "$2" = conftest.file
   2589    )
   2590 then
   2591    # Ok.
   2592    :
   2593 else
   2594    as_fn_error $? "newly created file is older than distributed files!
   2595 Check your system clock" "$LINENO" 5
   2596 fi
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2598 $as_echo "yes" >&6; }
   2599 test "$program_prefix" != NONE &&
   2600   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2601 # Use a double $ so make ignores it.
   2602 test "$program_suffix" != NONE &&
   2603   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2604 # Double any \ or $.
   2605 # By default was `s,x,x', remove it if useless.
   2606 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2607 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2608 
   2609 # expand $ac_aux_dir to an absolute path
   2610 am_aux_dir=`cd $ac_aux_dir && pwd`
   2611 
   2612 if test x"${MISSING+set}" != xset; then
   2613   case $am_aux_dir in
   2614   *\ * | *\	*)
   2615     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2616   *)
   2617     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2618   esac
   2619 fi
   2620 # Use eval to expand $SHELL
   2621 if eval "$MISSING --run true"; then
   2622   am_missing_run="$MISSING --run "
   2623 else
   2624   am_missing_run=
   2625   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2626 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2627 fi
   2628 
   2629 if test x"${install_sh}" != xset; then
   2630   case $am_aux_dir in
   2631   *\ * | *\	*)
   2632     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2633   *)
   2634     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2635   esac
   2636 fi
   2637 
   2638 # Installed binaries are usually stripped using `strip' when the user
   2639 # run `make install-strip'.  However `strip' might not be the right
   2640 # tool to use in cross-compilation environments, therefore Automake
   2641 # will honor the `STRIP' environment variable to overrule this program.
   2642 if test "$cross_compiling" != no; then
   2643   if test -n "$ac_tool_prefix"; then
   2644   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2645 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2647 $as_echo_n "checking for $ac_word... " >&6; }
   2648 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2649   $as_echo_n "(cached) " >&6
   2650 else
   2651   if test -n "$STRIP"; then
   2652   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2653 else
   2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2655 for as_dir in $PATH
   2656 do
   2657   IFS=$as_save_IFS
   2658   test -z "$as_dir" && as_dir=.
   2659     for ac_exec_ext in '' $ac_executable_extensions; do
   2660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2661     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2663     break 2
   2664   fi
   2665 done
   2666   done
   2667 IFS=$as_save_IFS
   2668 
   2669 fi
   2670 fi
   2671 STRIP=$ac_cv_prog_STRIP
   2672 if test -n "$STRIP"; then
   2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2674 $as_echo "$STRIP" >&6; }
   2675 else
   2676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2677 $as_echo "no" >&6; }
   2678 fi
   2679 
   2680 
   2681 fi
   2682 if test -z "$ac_cv_prog_STRIP"; then
   2683   ac_ct_STRIP=$STRIP
   2684   # Extract the first word of "strip", so it can be a program name with args.
   2685 set dummy strip; ac_word=$2
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2687 $as_echo_n "checking for $ac_word... " >&6; }
   2688 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   if test -n "$ac_ct_STRIP"; then
   2692   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2693 else
   2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2695 for as_dir in $PATH
   2696 do
   2697   IFS=$as_save_IFS
   2698   test -z "$as_dir" && as_dir=.
   2699     for ac_exec_ext in '' $ac_executable_extensions; do
   2700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2701     ac_cv_prog_ac_ct_STRIP="strip"
   2702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2703     break 2
   2704   fi
   2705 done
   2706   done
   2707 IFS=$as_save_IFS
   2708 
   2709 fi
   2710 fi
   2711 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2712 if test -n "$ac_ct_STRIP"; then
   2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2714 $as_echo "$ac_ct_STRIP" >&6; }
   2715 else
   2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2717 $as_echo "no" >&6; }
   2718 fi
   2719 
   2720   if test "x$ac_ct_STRIP" = x; then
   2721     STRIP=":"
   2722   else
   2723     case $cross_compiling:$ac_tool_warned in
   2724 yes:)
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2727 ac_tool_warned=yes ;;
   2728 esac
   2729     STRIP=$ac_ct_STRIP
   2730   fi
   2731 else
   2732   STRIP="$ac_cv_prog_STRIP"
   2733 fi
   2734 
   2735 fi
   2736 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2737 
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2739 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2740 if test -z "$MKDIR_P"; then
   2741   if test "${ac_cv_path_mkdir+set}" = set; then :
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2745 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2746 do
   2747   IFS=$as_save_IFS
   2748   test -z "$as_dir" && as_dir=.
   2749     for ac_prog in mkdir gmkdir; do
   2750 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2751 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2752 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2753 	     'mkdir (GNU coreutils) '* | \
   2754 	     'mkdir (coreutils) '* | \
   2755 	     'mkdir (fileutils) '4.1*)
   2756 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2757 	       break 3;;
   2758 	   esac
   2759 	 done
   2760        done
   2761   done
   2762 IFS=$as_save_IFS
   2763 
   2764 fi
   2765 
   2766   test -d ./--version && rmdir ./--version
   2767   if test "${ac_cv_path_mkdir+set}" = set; then
   2768     MKDIR_P="$ac_cv_path_mkdir -p"
   2769   else
   2770     # As a last resort, use the slow shell script.  Don't cache a
   2771     # value for MKDIR_P within a source directory, because that will
   2772     # break other packages using the cache if that directory is
   2773     # removed, or if the value is a relative name.
   2774     MKDIR_P="$ac_install_sh -d"
   2775   fi
   2776 fi
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2778 $as_echo "$MKDIR_P" >&6; }
   2779 
   2780 mkdir_p="$MKDIR_P"
   2781 case $mkdir_p in
   2782   [\\/$]* | ?:[\\/]*) ;;
   2783   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2784 esac
   2785 
   2786 for ac_prog in gawk mawk nawk awk
   2787 do
   2788   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2789 set dummy $ac_prog; ac_word=$2
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2791 $as_echo_n "checking for $ac_word... " >&6; }
   2792 if test "${ac_cv_prog_AWK+set}" = set; then :
   2793   $as_echo_n "(cached) " >&6
   2794 else
   2795   if test -n "$AWK"; then
   2796   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2797 else
   2798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2799 for as_dir in $PATH
   2800 do
   2801   IFS=$as_save_IFS
   2802   test -z "$as_dir" && as_dir=.
   2803     for ac_exec_ext in '' $ac_executable_extensions; do
   2804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2805     ac_cv_prog_AWK="$ac_prog"
   2806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2807     break 2
   2808   fi
   2809 done
   2810   done
   2811 IFS=$as_save_IFS
   2812 
   2813 fi
   2814 fi
   2815 AWK=$ac_cv_prog_AWK
   2816 if test -n "$AWK"; then
   2817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2818 $as_echo "$AWK" >&6; }
   2819 else
   2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2821 $as_echo "no" >&6; }
   2822 fi
   2823 
   2824 
   2825   test -n "$AWK" && break
   2826 done
   2827 
   2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2829 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2830 set x ${MAKE-make}
   2831 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2832 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
   2833   $as_echo_n "(cached) " >&6
   2834 else
   2835   cat >conftest.make <<\_ACEOF
   2836 SHELL = /bin/sh
   2837 all:
   2838 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2839 _ACEOF
   2840 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2842   *@@@%%%=?*=@@@%%%*)
   2843     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2844   *)
   2845     eval ac_cv_prog_make_${ac_make}_set=no;;
   2846 esac
   2847 rm -f conftest.make
   2848 fi
   2849 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2851 $as_echo "yes" >&6; }
   2852   SET_MAKE=
   2853 else
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2855 $as_echo "no" >&6; }
   2856   SET_MAKE="MAKE=${MAKE-make}"
   2857 fi
   2858 
   2859 rm -rf .tst 2>/dev/null
   2860 mkdir .tst 2>/dev/null
   2861 if test -d .tst; then
   2862   am__leading_dot=.
   2863 else
   2864   am__leading_dot=_
   2865 fi
   2866 rmdir .tst 2>/dev/null
   2867 
   2868 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2869   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2870   # is not polluted with repeated "-I."
   2871   am__isrc=' -I$(srcdir)'
   2872   # test to see if srcdir already configured
   2873   if test -f $srcdir/config.status; then
   2874     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2875   fi
   2876 fi
   2877 
   2878 # test whether we have cygpath
   2879 if test -z "$CYGPATH_W"; then
   2880   if (cygpath --version) >/dev/null 2>/dev/null; then
   2881     CYGPATH_W='cygpath -w'
   2882   else
   2883     CYGPATH_W=echo
   2884   fi
   2885 fi
   2886 
   2887 
   2888 # Define the identity of the package.
   2889  PACKAGE='xf86-video-chips'
   2890  VERSION='1.2.4'
   2891 
   2892 
   2893 cat >>confdefs.h <<_ACEOF
   2894 #define PACKAGE "$PACKAGE"
   2895 _ACEOF
   2896 
   2897 
   2898 cat >>confdefs.h <<_ACEOF
   2899 #define VERSION "$VERSION"
   2900 _ACEOF
   2901 
   2902 # Some tools Automake needs.
   2903 
   2904 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2905 
   2906 
   2907 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2908 
   2909 
   2910 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2911 
   2912 
   2913 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2914 
   2915 
   2916 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2917 
   2918 # We need awk for the "check" target.  The system "awk" is bad on
   2919 # some platforms.
   2920 # Always define AMTAR for backward compatibility.
   2921 
   2922 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2923 
   2924 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2925 
   2926 
   2927 
   2928 
   2929 
   2930 
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2932 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2933     # Check whether --enable-maintainer-mode was given.
   2934 if test "${enable_maintainer_mode+set}" = set; then :
   2935   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2936 else
   2937   USE_MAINTAINER_MODE=no
   2938 fi
   2939 
   2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2941 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2942    if test $USE_MAINTAINER_MODE = yes; then
   2943   MAINTAINER_MODE_TRUE=
   2944   MAINTAINER_MODE_FALSE='#'
   2945 else
   2946   MAINTAINER_MODE_TRUE='#'
   2947   MAINTAINER_MODE_FALSE=
   2948 fi
   2949 
   2950   MAINT=$MAINTAINER_MODE_TRUE
   2951 
   2952 
   2953 
   2954 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 
   2965 
   2966 DEPDIR="${am__leading_dot}deps"
   2967 
   2968 ac_config_commands="$ac_config_commands depfiles"
   2969 
   2970 
   2971 am_make=${MAKE-make}
   2972 cat > confinc << 'END'
   2973 am__doit:
   2974 	@echo this is the am__doit target
   2975 .PHONY: am__doit
   2976 END
   2977 # If we don't find an include directive, just comment out the code.
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2979 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2980 am__include="#"
   2981 am__quote=
   2982 _am_result=none
   2983 # First try GNU make style include.
   2984 echo "include confinc" > confmf
   2985 # Ignore all kinds of additional output from `make'.
   2986 case `$am_make -s -f confmf 2> /dev/null` in #(
   2987 *the\ am__doit\ target*)
   2988   am__include=include
   2989   am__quote=
   2990   _am_result=GNU
   2991   ;;
   2992 esac
   2993 # Now try BSD make style include.
   2994 if test "$am__include" = "#"; then
   2995    echo '.include "confinc"' > confmf
   2996    case `$am_make -s -f confmf 2> /dev/null` in #(
   2997    *the\ am__doit\ target*)
   2998      am__include=.include
   2999      am__quote="\""
   3000      _am_result=BSD
   3001      ;;
   3002    esac
   3003 fi
   3004 
   3005 
   3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3007 $as_echo "$_am_result" >&6; }
   3008 rm -f confinc confmf
   3009 
   3010 # Check whether --enable-dependency-tracking was given.
   3011 if test "${enable_dependency_tracking+set}" = set; then :
   3012   enableval=$enable_dependency_tracking;
   3013 fi
   3014 
   3015 if test "x$enable_dependency_tracking" != xno; then
   3016   am_depcomp="$ac_aux_dir/depcomp"
   3017   AMDEPBACKSLASH='\'
   3018 fi
   3019  if test "x$enable_dependency_tracking" != xno; then
   3020   AMDEP_TRUE=
   3021   AMDEP_FALSE='#'
   3022 else
   3023   AMDEP_TRUE='#'
   3024   AMDEP_FALSE=
   3025 fi
   3026 
   3027 
   3028 ac_ext=c
   3029 ac_cpp='$CPP $CPPFLAGS'
   3030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3033 if test -n "$ac_tool_prefix"; then
   3034   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3035 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if test "${ac_cv_prog_CC+set}" = set; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$CC"; then
   3042   ac_cv_prog_CC="$CC" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3051     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi
   3060 fi
   3061 CC=$ac_cv_prog_CC
   3062 if test -n "$CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3064 $as_echo "$CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070 
   3071 fi
   3072 if test -z "$ac_cv_prog_CC"; then
   3073   ac_ct_CC=$CC
   3074   # Extract the first word of "gcc", so it can be a program name with args.
   3075 set dummy gcc; ac_word=$2
   3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$ac_ct_CC"; then
   3082   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3083 else
   3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3085 for as_dir in $PATH
   3086 do
   3087   IFS=$as_save_IFS
   3088   test -z "$as_dir" && as_dir=.
   3089     for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3091     ac_cv_prog_ac_ct_CC="gcc"
   3092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096   done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi
   3100 fi
   3101 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3102 if test -n "$ac_ct_CC"; then
   3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3104 $as_echo "$ac_ct_CC" >&6; }
   3105 else
   3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3107 $as_echo "no" >&6; }
   3108 fi
   3109 
   3110   if test "x$ac_ct_CC" = x; then
   3111     CC=""
   3112   else
   3113     case $cross_compiling:$ac_tool_warned in
   3114 yes:)
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3117 ac_tool_warned=yes ;;
   3118 esac
   3119     CC=$ac_ct_CC
   3120   fi
   3121 else
   3122   CC="$ac_cv_prog_CC"
   3123 fi
   3124 
   3125 if test -z "$CC"; then
   3126           if test -n "$ac_tool_prefix"; then
   3127     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3128 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3130 $as_echo_n "checking for $ac_word... " >&6; }
   3131 if test "${ac_cv_prog_CC+set}" = set; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   if test -n "$CC"; then
   3135   ac_cv_prog_CC="$CC" # Let the user override the test.
   3136 else
   3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   test -z "$as_dir" && as_dir=.
   3142     for ac_exec_ext in '' $ac_executable_extensions; do
   3143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3144     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3146     break 2
   3147   fi
   3148 done
   3149   done
   3150 IFS=$as_save_IFS
   3151 
   3152 fi
   3153 fi
   3154 CC=$ac_cv_prog_CC
   3155 if test -n "$CC"; then
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3157 $as_echo "$CC" >&6; }
   3158 else
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3160 $as_echo "no" >&6; }
   3161 fi
   3162 
   3163 
   3164   fi
   3165 fi
   3166 if test -z "$CC"; then
   3167   # Extract the first word of "cc", so it can be a program name with args.
   3168 set dummy cc; ac_word=$2
   3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3170 $as_echo_n "checking for $ac_word... " >&6; }
   3171 if test "${ac_cv_prog_CC+set}" = set; then :
   3172   $as_echo_n "(cached) " >&6
   3173 else
   3174   if test -n "$CC"; then
   3175   ac_cv_prog_CC="$CC" # Let the user override the test.
   3176 else
   3177   ac_prog_rejected=no
   3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3179 for as_dir in $PATH
   3180 do
   3181   IFS=$as_save_IFS
   3182   test -z "$as_dir" && as_dir=.
   3183     for ac_exec_ext in '' $ac_executable_extensions; do
   3184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3185     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3186        ac_prog_rejected=yes
   3187        continue
   3188      fi
   3189     ac_cv_prog_CC="cc"
   3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3191     break 2
   3192   fi
   3193 done
   3194   done
   3195 IFS=$as_save_IFS
   3196 
   3197 if test $ac_prog_rejected = yes; then
   3198   # We found a bogon in the path, so make sure we never use it.
   3199   set dummy $ac_cv_prog_CC
   3200   shift
   3201   if test $# != 0; then
   3202     # We chose a different compiler from the bogus one.
   3203     # However, it has the same basename, so the bogon will be chosen
   3204     # first if we set CC to just the basename; use the full file name.
   3205     shift
   3206     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3207   fi
   3208 fi
   3209 fi
   3210 fi
   3211 CC=$ac_cv_prog_CC
   3212 if test -n "$CC"; then
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3214 $as_echo "$CC" >&6; }
   3215 else
   3216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3217 $as_echo "no" >&6; }
   3218 fi
   3219 
   3220 
   3221 fi
   3222 if test -z "$CC"; then
   3223   if test -n "$ac_tool_prefix"; then
   3224   for ac_prog in cl.exe
   3225   do
   3226     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3229 $as_echo_n "checking for $ac_word... " >&6; }
   3230 if test "${ac_cv_prog_CC+set}" = set; then :
   3231   $as_echo_n "(cached) " >&6
   3232 else
   3233   if test -n "$CC"; then
   3234   ac_cv_prog_CC="$CC" # Let the user override the test.
   3235 else
   3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3237 for as_dir in $PATH
   3238 do
   3239   IFS=$as_save_IFS
   3240   test -z "$as_dir" && as_dir=.
   3241     for ac_exec_ext in '' $ac_executable_extensions; do
   3242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3243     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3245     break 2
   3246   fi
   3247 done
   3248   done
   3249 IFS=$as_save_IFS
   3250 
   3251 fi
   3252 fi
   3253 CC=$ac_cv_prog_CC
   3254 if test -n "$CC"; then
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3256 $as_echo "$CC" >&6; }
   3257 else
   3258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3259 $as_echo "no" >&6; }
   3260 fi
   3261 
   3262 
   3263     test -n "$CC" && break
   3264   done
   3265 fi
   3266 if test -z "$CC"; then
   3267   ac_ct_CC=$CC
   3268   for ac_prog in cl.exe
   3269 do
   3270   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3271 set dummy $ac_prog; ac_word=$2
   3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3273 $as_echo_n "checking for $ac_word... " >&6; }
   3274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3275   $as_echo_n "(cached) " >&6
   3276 else
   3277   if test -n "$ac_ct_CC"; then
   3278   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3279 else
   3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3281 for as_dir in $PATH
   3282 do
   3283   IFS=$as_save_IFS
   3284   test -z "$as_dir" && as_dir=.
   3285     for ac_exec_ext in '' $ac_executable_extensions; do
   3286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3287     ac_cv_prog_ac_ct_CC="$ac_prog"
   3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3289     break 2
   3290   fi
   3291 done
   3292   done
   3293 IFS=$as_save_IFS
   3294 
   3295 fi
   3296 fi
   3297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3298 if test -n "$ac_ct_CC"; then
   3299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3300 $as_echo "$ac_ct_CC" >&6; }
   3301 else
   3302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 $as_echo "no" >&6; }
   3304 fi
   3305 
   3306 
   3307   test -n "$ac_ct_CC" && break
   3308 done
   3309 
   3310   if test "x$ac_ct_CC" = x; then
   3311     CC=""
   3312   else
   3313     case $cross_compiling:$ac_tool_warned in
   3314 yes:)
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3317 ac_tool_warned=yes ;;
   3318 esac
   3319     CC=$ac_ct_CC
   3320   fi
   3321 fi
   3322 
   3323 fi
   3324 
   3325 
   3326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 as_fn_error $? "no acceptable C compiler found in \$PATH
   3329 See \`config.log' for more details" "$LINENO" 5 ; }
   3330 
   3331 # Provide some information about the compiler.
   3332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3333 set X $ac_compile
   3334 ac_compiler=$2
   3335 for ac_option in --version -v -V -qversion; do
   3336   { { ac_try="$ac_compiler $ac_option >&5"
   3337 case "(($ac_try" in
   3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3339   *) ac_try_echo=$ac_try;;
   3340 esac
   3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3342 $as_echo "$ac_try_echo"; } >&5
   3343   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3344   ac_status=$?
   3345   if test -s conftest.err; then
   3346     sed '10a\
   3347 ... rest of stderr output deleted ...
   3348          10q' conftest.err >conftest.er1
   3349     cat conftest.er1 >&5
   3350   fi
   3351   rm -f conftest.er1 conftest.err
   3352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3353   test $ac_status = 0; }
   3354 done
   3355 
   3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3357 /* end confdefs.h.  */
   3358 
   3359 int
   3360 main ()
   3361 {
   3362 
   3363   ;
   3364   return 0;
   3365 }
   3366 _ACEOF
   3367 ac_clean_files_save=$ac_clean_files
   3368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3369 # Try to create an executable without -o first, disregard a.out.
   3370 # It will help us diagnose broken compilers, and finding out an intuition
   3371 # of exeext.
   3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3373 $as_echo_n "checking whether the C compiler works... " >&6; }
   3374 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3375 
   3376 # The possible output files:
   3377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3378 
   3379 ac_rmfiles=
   3380 for ac_file in $ac_files
   3381 do
   3382   case $ac_file in
   3383     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3384     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3385   esac
   3386 done
   3387 rm -f $ac_rmfiles
   3388 
   3389 if { { ac_try="$ac_link_default"
   3390 case "(($ac_try" in
   3391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3392   *) ac_try_echo=$ac_try;;
   3393 esac
   3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3395 $as_echo "$ac_try_echo"; } >&5
   3396   (eval "$ac_link_default") 2>&5
   3397   ac_status=$?
   3398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3399   test $ac_status = 0; }; then :
   3400   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3402 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3403 # so that the user can short-circuit this test for compilers unknown to
   3404 # Autoconf.
   3405 for ac_file in $ac_files ''
   3406 do
   3407   test -f "$ac_file" || continue
   3408   case $ac_file in
   3409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3410 	;;
   3411     [ab].out )
   3412 	# We found the default executable, but exeext='' is most
   3413 	# certainly right.
   3414 	break;;
   3415     *.* )
   3416 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3417 	then :; else
   3418 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3419 	fi
   3420 	# We set ac_cv_exeext here because the later test for it is not
   3421 	# safe: cross compilers may not add the suffix if given an `-o'
   3422 	# argument, so we may need to know it at that point already.
   3423 	# Even if this section looks crufty: it has the advantage of
   3424 	# actually working.
   3425 	break;;
   3426     * )
   3427 	break;;
   3428   esac
   3429 done
   3430 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3431 
   3432 else
   3433   ac_file=''
   3434 fi
   3435 if test -z "$ac_file"; then :
   3436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3437 $as_echo "no" >&6; }
   3438 $as_echo "$as_me: failed program was:" >&5
   3439 sed 's/^/| /' conftest.$ac_ext >&5
   3440 
   3441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3443 as_fn_error 77 "C compiler cannot create executables
   3444 See \`config.log' for more details" "$LINENO" 5 ; }
   3445 else
   3446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3447 $as_echo "yes" >&6; }
   3448 fi
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3450 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3452 $as_echo "$ac_file" >&6; }
   3453 ac_exeext=$ac_cv_exeext
   3454 
   3455 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3456 ac_clean_files=$ac_clean_files_save
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3458 $as_echo_n "checking for suffix of executables... " >&6; }
   3459 if { { ac_try="$ac_link"
   3460 case "(($ac_try" in
   3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3462   *) ac_try_echo=$ac_try;;
   3463 esac
   3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3465 $as_echo "$ac_try_echo"; } >&5
   3466   (eval "$ac_link") 2>&5
   3467   ac_status=$?
   3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3469   test $ac_status = 0; }; then :
   3470   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3471 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3472 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3473 # `rm'.
   3474 for ac_file in conftest.exe conftest conftest.*; do
   3475   test -f "$ac_file" || continue
   3476   case $ac_file in
   3477     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3478     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3479 	  break;;
   3480     * ) break;;
   3481   esac
   3482 done
   3483 else
   3484   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3486 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3487 See \`config.log' for more details" "$LINENO" 5 ; }
   3488 fi
   3489 rm -f conftest conftest$ac_cv_exeext
   3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3491 $as_echo "$ac_cv_exeext" >&6; }
   3492 
   3493 rm -f conftest.$ac_ext
   3494 EXEEXT=$ac_cv_exeext
   3495 ac_exeext=$EXEEXT
   3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3497 /* end confdefs.h.  */
   3498 #include <stdio.h>
   3499 int
   3500 main ()
   3501 {
   3502 FILE *f = fopen ("conftest.out", "w");
   3503  return ferror (f) || fclose (f) != 0;
   3504 
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 ac_clean_files="$ac_clean_files conftest.out"
   3510 # Check that the compiler produces executables we can run.  If not, either
   3511 # the compiler is broken, or we cross compile.
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3513 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3514 if test "$cross_compiling" != yes; then
   3515   { { ac_try="$ac_link"
   3516 case "(($ac_try" in
   3517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3518   *) ac_try_echo=$ac_try;;
   3519 esac
   3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3521 $as_echo "$ac_try_echo"; } >&5
   3522   (eval "$ac_link") 2>&5
   3523   ac_status=$?
   3524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3525   test $ac_status = 0; }
   3526   if { ac_try='./conftest$ac_cv_exeext'
   3527   { { case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3532 $as_echo "$ac_try_echo"; } >&5
   3533   (eval "$ac_try") 2>&5
   3534   ac_status=$?
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }; }; then
   3537     cross_compiling=no
   3538   else
   3539     if test "$cross_compiling" = maybe; then
   3540 	cross_compiling=yes
   3541     else
   3542 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3544 as_fn_error $? "cannot run C compiled programs.
   3545 If you meant to cross compile, use \`--host'.
   3546 See \`config.log' for more details" "$LINENO" 5 ; }
   3547     fi
   3548   fi
   3549 fi
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3551 $as_echo "$cross_compiling" >&6; }
   3552 
   3553 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3554 ac_clean_files=$ac_clean_files_save
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3556 $as_echo_n "checking for suffix of object files... " >&6; }
   3557 if test "${ac_cv_objext+set}" = set; then :
   3558   $as_echo_n "(cached) " >&6
   3559 else
   3560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3561 /* end confdefs.h.  */
   3562 
   3563 int
   3564 main ()
   3565 {
   3566 
   3567   ;
   3568   return 0;
   3569 }
   3570 _ACEOF
   3571 rm -f conftest.o conftest.obj
   3572 if { { ac_try="$ac_compile"
   3573 case "(($ac_try" in
   3574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3575   *) ac_try_echo=$ac_try;;
   3576 esac
   3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3578 $as_echo "$ac_try_echo"; } >&5
   3579   (eval "$ac_compile") 2>&5
   3580   ac_status=$?
   3581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3582   test $ac_status = 0; }; then :
   3583   for ac_file in conftest.o conftest.obj conftest.*; do
   3584   test -f "$ac_file" || continue;
   3585   case $ac_file in
   3586     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3587     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3588        break;;
   3589   esac
   3590 done
   3591 else
   3592   $as_echo "$as_me: failed program was:" >&5
   3593 sed 's/^/| /' conftest.$ac_ext >&5
   3594 
   3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3597 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3598 See \`config.log' for more details" "$LINENO" 5 ; }
   3599 fi
   3600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3601 fi
   3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3603 $as_echo "$ac_cv_objext" >&6; }
   3604 OBJEXT=$ac_cv_objext
   3605 ac_objext=$OBJEXT
   3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3607 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3608 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3609   $as_echo_n "(cached) " >&6
   3610 else
   3611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3612 /* end confdefs.h.  */
   3613 
   3614 int
   3615 main ()
   3616 {
   3617 #ifndef __GNUC__
   3618        choke me
   3619 #endif
   3620 
   3621   ;
   3622   return 0;
   3623 }
   3624 _ACEOF
   3625 if ac_fn_c_try_compile "$LINENO"; then :
   3626   ac_compiler_gnu=yes
   3627 else
   3628   ac_compiler_gnu=no
   3629 fi
   3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3631 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3632 
   3633 fi
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3635 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3636 if test $ac_compiler_gnu = yes; then
   3637   GCC=yes
   3638 else
   3639   GCC=
   3640 fi
   3641 ac_test_CFLAGS=${CFLAGS+set}
   3642 ac_save_CFLAGS=$CFLAGS
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3644 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3645 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   ac_save_c_werror_flag=$ac_c_werror_flag
   3649    ac_c_werror_flag=yes
   3650    ac_cv_prog_cc_g=no
   3651    CFLAGS="-g"
   3652    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3653 /* end confdefs.h.  */
   3654 
   3655 int
   3656 main ()
   3657 {
   3658 
   3659   ;
   3660   return 0;
   3661 }
   3662 _ACEOF
   3663 if ac_fn_c_try_compile "$LINENO"; then :
   3664   ac_cv_prog_cc_g=yes
   3665 else
   3666   CFLAGS=""
   3667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3668 /* end confdefs.h.  */
   3669 
   3670 int
   3671 main ()
   3672 {
   3673 
   3674   ;
   3675   return 0;
   3676 }
   3677 _ACEOF
   3678 if ac_fn_c_try_compile "$LINENO"; then :
   3679 
   3680 else
   3681   ac_c_werror_flag=$ac_save_c_werror_flag
   3682 	 CFLAGS="-g"
   3683 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3684 /* end confdefs.h.  */
   3685 
   3686 int
   3687 main ()
   3688 {
   3689 
   3690   ;
   3691   return 0;
   3692 }
   3693 _ACEOF
   3694 if ac_fn_c_try_compile "$LINENO"; then :
   3695   ac_cv_prog_cc_g=yes
   3696 fi
   3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3698 fi
   3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3700 fi
   3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3702    ac_c_werror_flag=$ac_save_c_werror_flag
   3703 fi
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3705 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3706 if test "$ac_test_CFLAGS" = set; then
   3707   CFLAGS=$ac_save_CFLAGS
   3708 elif test $ac_cv_prog_cc_g = yes; then
   3709   if test "$GCC" = yes; then
   3710     CFLAGS="-g -O2"
   3711   else
   3712     CFLAGS="-g"
   3713   fi
   3714 else
   3715   if test "$GCC" = yes; then
   3716     CFLAGS="-O2"
   3717   else
   3718     CFLAGS=
   3719   fi
   3720 fi
   3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3722 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3723 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3724   $as_echo_n "(cached) " >&6
   3725 else
   3726   ac_cv_prog_cc_c89=no
   3727 ac_save_CC=$CC
   3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3729 /* end confdefs.h.  */
   3730 #include <stdarg.h>
   3731 #include <stdio.h>
   3732 #include <sys/types.h>
   3733 #include <sys/stat.h>
   3734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3735 struct buf { int x; };
   3736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3737 static char *e (p, i)
   3738      char **p;
   3739      int i;
   3740 {
   3741   return p[i];
   3742 }
   3743 static char *f (char * (*g) (char **, int), char **p, ...)
   3744 {
   3745   char *s;
   3746   va_list v;
   3747   va_start (v,p);
   3748   s = g (p, va_arg (v,int));
   3749   va_end (v);
   3750   return s;
   3751 }
   3752 
   3753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3754    function prototypes and stuff, but not '\xHH' hex character constants.
   3755    These don't provoke an error unfortunately, instead are silently treated
   3756    as 'x'.  The following induces an error, until -std is added to get
   3757    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3758    array size at least.  It's necessary to write '\x00'==0 to get something
   3759    that's true only with -std.  */
   3760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3761 
   3762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3763    inside strings and character constants.  */
   3764 #define FOO(x) 'x'
   3765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3766 
   3767 int test (int i, double x);
   3768 struct s1 {int (*f) (int a);};
   3769 struct s2 {int (*f) (double a);};
   3770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3771 int argc;
   3772 char **argv;
   3773 int
   3774 main ()
   3775 {
   3776 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3777   ;
   3778   return 0;
   3779 }
   3780 _ACEOF
   3781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3782 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3783 do
   3784   CC="$ac_save_CC $ac_arg"
   3785   if ac_fn_c_try_compile "$LINENO"; then :
   3786   ac_cv_prog_cc_c89=$ac_arg
   3787 fi
   3788 rm -f core conftest.err conftest.$ac_objext
   3789   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3790 done
   3791 rm -f conftest.$ac_ext
   3792 CC=$ac_save_CC
   3793 
   3794 fi
   3795 # AC_CACHE_VAL
   3796 case "x$ac_cv_prog_cc_c89" in
   3797   x)
   3798     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3799 $as_echo "none needed" >&6; } ;;
   3800   xno)
   3801     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3802 $as_echo "unsupported" >&6; } ;;
   3803   *)
   3804     CC="$CC $ac_cv_prog_cc_c89"
   3805     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3807 esac
   3808 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3809 
   3810 fi
   3811 
   3812 ac_ext=c
   3813 ac_cpp='$CPP $CPPFLAGS'
   3814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3817 
   3818 depcc="$CC"   am_compiler_list=
   3819 
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3821 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3822 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   3823   $as_echo_n "(cached) " >&6
   3824 else
   3825   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3826   # We make a subdir and do the tests there.  Otherwise we can end up
   3827   # making bogus files that we don't know about and never remove.  For
   3828   # instance it was reported that on HP-UX the gcc test will end up
   3829   # making a dummy file named `D' -- because `-MD' means `put the output
   3830   # in D'.
   3831   mkdir conftest.dir
   3832   # Copy depcomp to subdir because otherwise we won't find it if we're
   3833   # using a relative directory.
   3834   cp "$am_depcomp" conftest.dir
   3835   cd conftest.dir
   3836   # We will build objects and dependencies in a subdirectory because
   3837   # it helps to detect inapplicable dependency modes.  For instance
   3838   # both Tru64's cc and ICC support -MD to output dependencies as a
   3839   # side effect of compilation, but ICC will put the dependencies in
   3840   # the current directory while Tru64 will put them in the object
   3841   # directory.
   3842   mkdir sub
   3843 
   3844   am_cv_CC_dependencies_compiler_type=none
   3845   if test "$am_compiler_list" = ""; then
   3846      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3847   fi
   3848   am__universal=false
   3849   case " $depcc " in #(
   3850      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3851      esac
   3852 
   3853   for depmode in $am_compiler_list; do
   3854     # Setup a source with many dependencies, because some compilers
   3855     # like to wrap large dependency lists on column 80 (with \), and
   3856     # we should not choose a depcomp mode which is confused by this.
   3857     #
   3858     # We need to recreate these files for each test, as the compiler may
   3859     # overwrite some of them when testing with obscure command lines.
   3860     # This happens at least with the AIX C compiler.
   3861     : > sub/conftest.c
   3862     for i in 1 2 3 4 5 6; do
   3863       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3864       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3865       # Solaris 8's {/usr,}/bin/sh.
   3866       touch sub/conftst$i.h
   3867     done
   3868     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3869 
   3870     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3871     # mode.  It turns out that the SunPro C++ compiler does not properly
   3872     # handle `-M -o', and we need to detect this.  Also, some Intel
   3873     # versions had trouble with output in subdirs
   3874     am__obj=sub/conftest.${OBJEXT-o}
   3875     am__minus_obj="-o $am__obj"
   3876     case $depmode in
   3877     gcc)
   3878       # This depmode causes a compiler race in universal mode.
   3879       test "$am__universal" = false || continue
   3880       ;;
   3881     nosideeffect)
   3882       # after this tag, mechanisms are not by side-effect, so they'll
   3883       # only be used when explicitly requested
   3884       if test "x$enable_dependency_tracking" = xyes; then
   3885 	continue
   3886       else
   3887 	break
   3888       fi
   3889       ;;
   3890     msvisualcpp | msvcmsys)
   3891       # This compiler won't grok `-c -o', but also, the minuso test has
   3892       # not run yet.  These depmodes are late enough in the game, and
   3893       # so weak that their functioning should not be impacted.
   3894       am__obj=conftest.${OBJEXT-o}
   3895       am__minus_obj=
   3896       ;;
   3897     none) break ;;
   3898     esac
   3899     if depmode=$depmode \
   3900        source=sub/conftest.c object=$am__obj \
   3901        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3902        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3903          >/dev/null 2>conftest.err &&
   3904        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3905        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3906        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3907        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3908       # icc doesn't choke on unknown options, it will just issue warnings
   3909       # or remarks (even with -Werror).  So we grep stderr for any message
   3910       # that says an option was ignored or not supported.
   3911       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3912       #   icc: Command line warning: ignoring option '-M'; no argument required
   3913       # The diagnosis changed in icc 8.0:
   3914       #   icc: Command line remark: option '-MP' not supported
   3915       if (grep 'ignoring option' conftest.err ||
   3916           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3917         am_cv_CC_dependencies_compiler_type=$depmode
   3918         break
   3919       fi
   3920     fi
   3921   done
   3922 
   3923   cd ..
   3924   rm -rf conftest.dir
   3925 else
   3926   am_cv_CC_dependencies_compiler_type=none
   3927 fi
   3928 
   3929 fi
   3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3931 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3932 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3933 
   3934  if
   3935   test "x$enable_dependency_tracking" != xno \
   3936   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3937   am__fastdepCC_TRUE=
   3938   am__fastdepCC_FALSE='#'
   3939 else
   3940   am__fastdepCC_TRUE='#'
   3941   am__fastdepCC_FALSE=
   3942 fi
   3943 
   3944 
   3945    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3946 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3947 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   ac_cv_prog_cc_c99=no
   3951 ac_save_CC=$CC
   3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3953 /* end confdefs.h.  */
   3954 #include <stdarg.h>
   3955 #include <stdbool.h>
   3956 #include <stdlib.h>
   3957 #include <wchar.h>
   3958 #include <stdio.h>
   3959 
   3960 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3961 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3962 #define showlist(...) puts (#__VA_ARGS__)
   3963 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3964 static void
   3965 test_varargs_macros (void)
   3966 {
   3967   int x = 1234;
   3968   int y = 5678;
   3969   debug ("Flag");
   3970   debug ("X = %d\n", x);
   3971   showlist (The first, second, and third items.);
   3972   report (x>y, "x is %d but y is %d", x, y);
   3973 }
   3974 
   3975 // Check long long types.
   3976 #define BIG64 18446744073709551615ull
   3977 #define BIG32 4294967295ul
   3978 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3979 #if !BIG_OK
   3980   your preprocessor is broken;
   3981 #endif
   3982 #if BIG_OK
   3983 #else
   3984   your preprocessor is broken;
   3985 #endif
   3986 static long long int bignum = -9223372036854775807LL;
   3987 static unsigned long long int ubignum = BIG64;
   3988 
   3989 struct incomplete_array
   3990 {
   3991   int datasize;
   3992   double data[];
   3993 };
   3994 
   3995 struct named_init {
   3996   int number;
   3997   const wchar_t *name;
   3998   double average;
   3999 };
   4000 
   4001 typedef const char *ccp;
   4002 
   4003 static inline int
   4004 test_restrict (ccp restrict text)
   4005 {
   4006   // See if C++-style comments work.
   4007   // Iterate through items via the restricted pointer.
   4008   // Also check for declarations in for loops.
   4009   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4010     continue;
   4011   return 0;
   4012 }
   4013 
   4014 // Check varargs and va_copy.
   4015 static void
   4016 test_varargs (const char *format, ...)
   4017 {
   4018   va_list args;
   4019   va_start (args, format);
   4020   va_list args_copy;
   4021   va_copy (args_copy, args);
   4022 
   4023   const char *str;
   4024   int number;
   4025   float fnumber;
   4026 
   4027   while (*format)
   4028     {
   4029       switch (*format++)
   4030 	{
   4031 	case 's': // string
   4032 	  str = va_arg (args_copy, const char *);
   4033 	  break;
   4034 	case 'd': // int
   4035 	  number = va_arg (args_copy, int);
   4036 	  break;
   4037 	case 'f': // float
   4038 	  fnumber = va_arg (args_copy, double);
   4039 	  break;
   4040 	default:
   4041 	  break;
   4042 	}
   4043     }
   4044   va_end (args_copy);
   4045   va_end (args);
   4046 }
   4047 
   4048 int
   4049 main ()
   4050 {
   4051 
   4052   // Check bool.
   4053   _Bool success = false;
   4054 
   4055   // Check restrict.
   4056   if (test_restrict ("String literal") == 0)
   4057     success = true;
   4058   char *restrict newvar = "Another string";
   4059 
   4060   // Check varargs.
   4061   test_varargs ("s, d' f .", "string", 65, 34.234);
   4062   test_varargs_macros ();
   4063 
   4064   // Check flexible array members.
   4065   struct incomplete_array *ia =
   4066     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4067   ia->datasize = 10;
   4068   for (int i = 0; i < ia->datasize; ++i)
   4069     ia->data[i] = i * 1.234;
   4070 
   4071   // Check named initializers.
   4072   struct named_init ni = {
   4073     .number = 34,
   4074     .name = L"Test wide string",
   4075     .average = 543.34343,
   4076   };
   4077 
   4078   ni.number = 58;
   4079 
   4080   int dynamic_array[ni.number];
   4081   dynamic_array[ni.number - 1] = 543;
   4082 
   4083   // work around unused variable warnings
   4084   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4085 	  || dynamic_array[ni.number - 1] != 543);
   4086 
   4087   ;
   4088   return 0;
   4089 }
   4090 _ACEOF
   4091 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   4092 do
   4093   CC="$ac_save_CC $ac_arg"
   4094   if ac_fn_c_try_compile "$LINENO"; then :
   4095   ac_cv_prog_cc_c99=$ac_arg
   4096 fi
   4097 rm -f core conftest.err conftest.$ac_objext
   4098   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4099 done
   4100 rm -f conftest.$ac_ext
   4101 CC=$ac_save_CC
   4102 
   4103 fi
   4104 # AC_CACHE_VAL
   4105 case "x$ac_cv_prog_cc_c99" in
   4106   x)
   4107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4108 $as_echo "none needed" >&6; } ;;
   4109   xno)
   4110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4111 $as_echo "unsupported" >&6; } ;;
   4112   *)
   4113     CC="$CC $ac_cv_prog_cc_c99"
   4114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4115 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4116 esac
   4117 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4118 
   4119 fi
   4120 
   4121 
   4122 
   4123 ac_ext=c
   4124 ac_cpp='$CPP $CPPFLAGS'
   4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4129 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4130 # On Suns, sometimes $CPP names a directory.
   4131 if test -n "$CPP" && test -d "$CPP"; then
   4132   CPP=
   4133 fi
   4134 if test -z "$CPP"; then
   4135   if test "${ac_cv_prog_CPP+set}" = set; then :
   4136   $as_echo_n "(cached) " >&6
   4137 else
   4138       # Double quotes because CPP needs to be expanded
   4139     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4140     do
   4141       ac_preproc_ok=false
   4142 for ac_c_preproc_warn_flag in '' yes
   4143 do
   4144   # Use a header file that comes with gcc, so configuring glibc
   4145   # with a fresh cross-compiler works.
   4146   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4147   # <limits.h> exists even on freestanding compilers.
   4148   # On the NeXT, cc -E runs the code through the compiler's parser,
   4149   # not just through cpp. "Syntax error" is here to catch this case.
   4150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4151 /* end confdefs.h.  */
   4152 #ifdef __STDC__
   4153 # include <limits.h>
   4154 #else
   4155 # include <assert.h>
   4156 #endif
   4157 		     Syntax error
   4158 _ACEOF
   4159 if ac_fn_c_try_cpp "$LINENO"; then :
   4160 
   4161 else
   4162   # Broken: fails on valid input.
   4163 continue
   4164 fi
   4165 rm -f conftest.err conftest.i conftest.$ac_ext
   4166 
   4167   # OK, works on sane cases.  Now check whether nonexistent headers
   4168   # can be detected and how.
   4169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4170 /* end confdefs.h.  */
   4171 #include <ac_nonexistent.h>
   4172 _ACEOF
   4173 if ac_fn_c_try_cpp "$LINENO"; then :
   4174   # Broken: success on invalid input.
   4175 continue
   4176 else
   4177   # Passes both tests.
   4178 ac_preproc_ok=:
   4179 break
   4180 fi
   4181 rm -f conftest.err conftest.i conftest.$ac_ext
   4182 
   4183 done
   4184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4185 rm -f conftest.i conftest.err conftest.$ac_ext
   4186 if $ac_preproc_ok; then :
   4187   break
   4188 fi
   4189 
   4190     done
   4191     ac_cv_prog_CPP=$CPP
   4192 
   4193 fi
   4194   CPP=$ac_cv_prog_CPP
   4195 else
   4196   ac_cv_prog_CPP=$CPP
   4197 fi
   4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4199 $as_echo "$CPP" >&6; }
   4200 ac_preproc_ok=false
   4201 for ac_c_preproc_warn_flag in '' yes
   4202 do
   4203   # Use a header file that comes with gcc, so configuring glibc
   4204   # with a fresh cross-compiler works.
   4205   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4206   # <limits.h> exists even on freestanding compilers.
   4207   # On the NeXT, cc -E runs the code through the compiler's parser,
   4208   # not just through cpp. "Syntax error" is here to catch this case.
   4209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4210 /* end confdefs.h.  */
   4211 #ifdef __STDC__
   4212 # include <limits.h>
   4213 #else
   4214 # include <assert.h>
   4215 #endif
   4216 		     Syntax error
   4217 _ACEOF
   4218 if ac_fn_c_try_cpp "$LINENO"; then :
   4219 
   4220 else
   4221   # Broken: fails on valid input.
   4222 continue
   4223 fi
   4224 rm -f conftest.err conftest.i conftest.$ac_ext
   4225 
   4226   # OK, works on sane cases.  Now check whether nonexistent headers
   4227   # can be detected and how.
   4228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4229 /* end confdefs.h.  */
   4230 #include <ac_nonexistent.h>
   4231 _ACEOF
   4232 if ac_fn_c_try_cpp "$LINENO"; then :
   4233   # Broken: success on invalid input.
   4234 continue
   4235 else
   4236   # Passes both tests.
   4237 ac_preproc_ok=:
   4238 break
   4239 fi
   4240 rm -f conftest.err conftest.i conftest.$ac_ext
   4241 
   4242 done
   4243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4244 rm -f conftest.i conftest.err conftest.$ac_ext
   4245 if $ac_preproc_ok; then :
   4246 
   4247 else
   4248   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4250 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4251 See \`config.log' for more details" "$LINENO" 5 ; }
   4252 fi
   4253 
   4254 ac_ext=c
   4255 ac_cpp='$CPP $CPPFLAGS'
   4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4259 
   4260 
   4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4263 if test "${ac_cv_path_GREP+set}" = set; then :
   4264   $as_echo_n "(cached) " >&6
   4265 else
   4266   if test -z "$GREP"; then
   4267   ac_path_GREP_found=false
   4268   # Loop through the user's path and test for each of PROGNAME-LIST
   4269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4271 do
   4272   IFS=$as_save_IFS
   4273   test -z "$as_dir" && as_dir=.
   4274     for ac_prog in grep ggrep; do
   4275     for ac_exec_ext in '' $ac_executable_extensions; do
   4276       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4277       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4278 # Check for GNU ac_path_GREP and select it if it is found.
   4279   # Check for GNU $ac_path_GREP
   4280 case `"$ac_path_GREP" --version 2>&1` in
   4281 *GNU*)
   4282   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4283 *)
   4284   ac_count=0
   4285   $as_echo_n 0123456789 >"conftest.in"
   4286   while :
   4287   do
   4288     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4289     mv "conftest.tmp" "conftest.in"
   4290     cp "conftest.in" "conftest.nl"
   4291     $as_echo 'GREP' >> "conftest.nl"
   4292     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4293     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4294     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4295     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4296       # Best one so far, save it but keep looking for a better one
   4297       ac_cv_path_GREP="$ac_path_GREP"
   4298       ac_path_GREP_max=$ac_count
   4299     fi
   4300     # 10*(2^10) chars as input seems more than enough
   4301     test $ac_count -gt 10 && break
   4302   done
   4303   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4304 esac
   4305 
   4306       $ac_path_GREP_found && break 3
   4307     done
   4308   done
   4309   done
   4310 IFS=$as_save_IFS
   4311   if test -z "$ac_cv_path_GREP"; then
   4312     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4313   fi
   4314 else
   4315   ac_cv_path_GREP=$GREP
   4316 fi
   4317 
   4318 fi
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4320 $as_echo "$ac_cv_path_GREP" >&6; }
   4321  GREP="$ac_cv_path_GREP"
   4322 
   4323 
   4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4325 $as_echo_n "checking for egrep... " >&6; }
   4326 if test "${ac_cv_path_EGREP+set}" = set; then :
   4327   $as_echo_n "(cached) " >&6
   4328 else
   4329   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4330    then ac_cv_path_EGREP="$GREP -E"
   4331    else
   4332      if test -z "$EGREP"; then
   4333   ac_path_EGREP_found=false
   4334   # Loop through the user's path and test for each of PROGNAME-LIST
   4335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4337 do
   4338   IFS=$as_save_IFS
   4339   test -z "$as_dir" && as_dir=.
   4340     for ac_prog in egrep; do
   4341     for ac_exec_ext in '' $ac_executable_extensions; do
   4342       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4343       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4344 # Check for GNU ac_path_EGREP and select it if it is found.
   4345   # Check for GNU $ac_path_EGREP
   4346 case `"$ac_path_EGREP" --version 2>&1` in
   4347 *GNU*)
   4348   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4349 *)
   4350   ac_count=0
   4351   $as_echo_n 0123456789 >"conftest.in"
   4352   while :
   4353   do
   4354     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4355     mv "conftest.tmp" "conftest.in"
   4356     cp "conftest.in" "conftest.nl"
   4357     $as_echo 'EGREP' >> "conftest.nl"
   4358     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4359     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4360     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4361     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4362       # Best one so far, save it but keep looking for a better one
   4363       ac_cv_path_EGREP="$ac_path_EGREP"
   4364       ac_path_EGREP_max=$ac_count
   4365     fi
   4366     # 10*(2^10) chars as input seems more than enough
   4367     test $ac_count -gt 10 && break
   4368   done
   4369   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4370 esac
   4371 
   4372       $ac_path_EGREP_found && break 3
   4373     done
   4374   done
   4375   done
   4376 IFS=$as_save_IFS
   4377   if test -z "$ac_cv_path_EGREP"; then
   4378     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4379   fi
   4380 else
   4381   ac_cv_path_EGREP=$EGREP
   4382 fi
   4383 
   4384    fi
   4385 fi
   4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4387 $as_echo "$ac_cv_path_EGREP" >&6; }
   4388  EGREP="$ac_cv_path_EGREP"
   4389 
   4390 
   4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4392 $as_echo_n "checking for ANSI C header files... " >&6; }
   4393 if test "${ac_cv_header_stdc+set}" = set; then :
   4394   $as_echo_n "(cached) " >&6
   4395 else
   4396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4397 /* end confdefs.h.  */
   4398 #include <stdlib.h>
   4399 #include <stdarg.h>
   4400 #include <string.h>
   4401 #include <float.h>
   4402 
   4403 int
   4404 main ()
   4405 {
   4406 
   4407   ;
   4408   return 0;
   4409 }
   4410 _ACEOF
   4411 if ac_fn_c_try_compile "$LINENO"; then :
   4412   ac_cv_header_stdc=yes
   4413 else
   4414   ac_cv_header_stdc=no
   4415 fi
   4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4417 
   4418 if test $ac_cv_header_stdc = yes; then
   4419   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4421 /* end confdefs.h.  */
   4422 #include <string.h>
   4423 
   4424 _ACEOF
   4425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4426   $EGREP "memchr" >/dev/null 2>&1; then :
   4427 
   4428 else
   4429   ac_cv_header_stdc=no
   4430 fi
   4431 rm -f conftest*
   4432 
   4433 fi
   4434 
   4435 if test $ac_cv_header_stdc = yes; then
   4436   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4438 /* end confdefs.h.  */
   4439 #include <stdlib.h>
   4440 
   4441 _ACEOF
   4442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4443   $EGREP "free" >/dev/null 2>&1; then :
   4444 
   4445 else
   4446   ac_cv_header_stdc=no
   4447 fi
   4448 rm -f conftest*
   4449 
   4450 fi
   4451 
   4452 if test $ac_cv_header_stdc = yes; then
   4453   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4454   if test "$cross_compiling" = yes; then :
   4455   :
   4456 else
   4457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4458 /* end confdefs.h.  */
   4459 #include <ctype.h>
   4460 #include <stdlib.h>
   4461 #if ((' ' & 0x0FF) == 0x020)
   4462 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4463 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4464 #else
   4465 # define ISLOWER(c) \
   4466 		   (('a' <= (c) && (c) <= 'i') \
   4467 		     || ('j' <= (c) && (c) <= 'r') \
   4468 		     || ('s' <= (c) && (c) <= 'z'))
   4469 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4470 #endif
   4471 
   4472 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4473 int
   4474 main ()
   4475 {
   4476   int i;
   4477   for (i = 0; i < 256; i++)
   4478     if (XOR (islower (i), ISLOWER (i))
   4479 	|| toupper (i) != TOUPPER (i))
   4480       return 2;
   4481   return 0;
   4482 }
   4483 _ACEOF
   4484 if ac_fn_c_try_run "$LINENO"; then :
   4485 
   4486 else
   4487   ac_cv_header_stdc=no
   4488 fi
   4489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4490   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4491 fi
   4492 
   4493 fi
   4494 fi
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4496 $as_echo "$ac_cv_header_stdc" >&6; }
   4497 if test $ac_cv_header_stdc = yes; then
   4498 
   4499 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4500 
   4501 fi
   4502 
   4503 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4504 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4505 		  inttypes.h stdint.h unistd.h
   4506 do :
   4507   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4508 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4509 "
   4510 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4511   cat >>confdefs.h <<_ACEOF
   4512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4513 _ACEOF
   4514 
   4515 fi
   4516 
   4517 done
   4518 
   4519 
   4520 
   4521 
   4522 
   4523 
   4524 
   4525 
   4526 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4527 	if test -n "$ac_tool_prefix"; then
   4528   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4529 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4531 $as_echo_n "checking for $ac_word... " >&6; }
   4532 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   4533   $as_echo_n "(cached) " >&6
   4534 else
   4535   case $PKG_CONFIG in
   4536   [\\/]* | ?:[\\/]*)
   4537   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4538   ;;
   4539   *)
   4540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4541 for as_dir in $PATH
   4542 do
   4543   IFS=$as_save_IFS
   4544   test -z "$as_dir" && as_dir=.
   4545     for ac_exec_ext in '' $ac_executable_extensions; do
   4546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4547     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4549     break 2
   4550   fi
   4551 done
   4552   done
   4553 IFS=$as_save_IFS
   4554 
   4555   ;;
   4556 esac
   4557 fi
   4558 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4559 if test -n "$PKG_CONFIG"; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4561 $as_echo "$PKG_CONFIG" >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4564 $as_echo "no" >&6; }
   4565 fi
   4566 
   4567 
   4568 fi
   4569 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4570   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4571   # Extract the first word of "pkg-config", so it can be a program name with args.
   4572 set dummy pkg-config; ac_word=$2
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4574 $as_echo_n "checking for $ac_word... " >&6; }
   4575 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   4576   $as_echo_n "(cached) " >&6
   4577 else
   4578   case $ac_pt_PKG_CONFIG in
   4579   [\\/]* | ?:[\\/]*)
   4580   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4581   ;;
   4582   *)
   4583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4584 for as_dir in $PATH
   4585 do
   4586   IFS=$as_save_IFS
   4587   test -z "$as_dir" && as_dir=.
   4588     for ac_exec_ext in '' $ac_executable_extensions; do
   4589   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4590     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4592     break 2
   4593   fi
   4594 done
   4595   done
   4596 IFS=$as_save_IFS
   4597 
   4598   ;;
   4599 esac
   4600 fi
   4601 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4602 if test -n "$ac_pt_PKG_CONFIG"; then
   4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4604 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4605 else
   4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4607 $as_echo "no" >&6; }
   4608 fi
   4609 
   4610   if test "x$ac_pt_PKG_CONFIG" = x; then
   4611     PKG_CONFIG=""
   4612   else
   4613     case $cross_compiling:$ac_tool_warned in
   4614 yes:)
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4617 ac_tool_warned=yes ;;
   4618 esac
   4619     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4620   fi
   4621 else
   4622   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4623 fi
   4624 
   4625 fi
   4626 if test -n "$PKG_CONFIG"; then
   4627 	_pkg_min_version=0.9.0
   4628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4629 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4630 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4632 $as_echo "yes" >&6; }
   4633 	else
   4634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 		PKG_CONFIG=""
   4637 	fi
   4638 fi
   4639 # Make sure we can run config.sub.
   4640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4641   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4642 
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4644 $as_echo_n "checking build system type... " >&6; }
   4645 if test "${ac_cv_build+set}" = set; then :
   4646   $as_echo_n "(cached) " >&6
   4647 else
   4648   ac_build_alias=$build_alias
   4649 test "x$ac_build_alias" = x &&
   4650   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4651 test "x$ac_build_alias" = x &&
   4652   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4653 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4654   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4655 
   4656 fi
   4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4658 $as_echo "$ac_cv_build" >&6; }
   4659 case $ac_cv_build in
   4660 *-*-*) ;;
   4661 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
   4662 esac
   4663 build=$ac_cv_build
   4664 ac_save_IFS=$IFS; IFS='-'
   4665 set x $ac_cv_build
   4666 shift
   4667 build_cpu=$1
   4668 build_vendor=$2
   4669 shift; shift
   4670 # Remember, the first character of IFS is used to create $*,
   4671 # except with old shells:
   4672 build_os=$*
   4673 IFS=$ac_save_IFS
   4674 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4675 
   4676 
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4678 $as_echo_n "checking host system type... " >&6; }
   4679 if test "${ac_cv_host+set}" = set; then :
   4680   $as_echo_n "(cached) " >&6
   4681 else
   4682   if test "x$host_alias" = x; then
   4683   ac_cv_host=$ac_cv_build
   4684 else
   4685   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4686     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4687 fi
   4688 
   4689 fi
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4691 $as_echo "$ac_cv_host" >&6; }
   4692 case $ac_cv_host in
   4693 *-*-*) ;;
   4694 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
   4695 esac
   4696 host=$ac_cv_host
   4697 ac_save_IFS=$IFS; IFS='-'
   4698 set x $ac_cv_host
   4699 shift
   4700 host_cpu=$1
   4701 host_vendor=$2
   4702 shift; shift
   4703 # Remember, the first character of IFS is used to create $*,
   4704 # except with old shells:
   4705 host_os=$*
   4706 IFS=$ac_save_IFS
   4707 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4708 
   4709 
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4711 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4712 if test "${ac_cv_path_SED+set}" = set; then :
   4713   $as_echo_n "(cached) " >&6
   4714 else
   4715             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4716      for ac_i in 1 2 3 4 5 6 7; do
   4717        ac_script="$ac_script$as_nl$ac_script"
   4718      done
   4719      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4720      { ac_script=; unset ac_script;}
   4721      if test -z "$SED"; then
   4722   ac_path_SED_found=false
   4723   # Loop through the user's path and test for each of PROGNAME-LIST
   4724   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4725 for as_dir in $PATH
   4726 do
   4727   IFS=$as_save_IFS
   4728   test -z "$as_dir" && as_dir=.
   4729     for ac_prog in sed gsed; do
   4730     for ac_exec_ext in '' $ac_executable_extensions; do
   4731       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4732       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4733 # Check for GNU ac_path_SED and select it if it is found.
   4734   # Check for GNU $ac_path_SED
   4735 case `"$ac_path_SED" --version 2>&1` in
   4736 *GNU*)
   4737   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4738 *)
   4739   ac_count=0
   4740   $as_echo_n 0123456789 >"conftest.in"
   4741   while :
   4742   do
   4743     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4744     mv "conftest.tmp" "conftest.in"
   4745     cp "conftest.in" "conftest.nl"
   4746     $as_echo '' >> "conftest.nl"
   4747     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4748     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4749     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4750     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4751       # Best one so far, save it but keep looking for a better one
   4752       ac_cv_path_SED="$ac_path_SED"
   4753       ac_path_SED_max=$ac_count
   4754     fi
   4755     # 10*(2^10) chars as input seems more than enough
   4756     test $ac_count -gt 10 && break
   4757   done
   4758   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4759 esac
   4760 
   4761       $ac_path_SED_found && break 3
   4762     done
   4763   done
   4764   done
   4765 IFS=$as_save_IFS
   4766   if test -z "$ac_cv_path_SED"; then
   4767     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4768   fi
   4769 else
   4770   ac_cv_path_SED=$SED
   4771 fi
   4772 
   4773 fi
   4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4775 $as_echo "$ac_cv_path_SED" >&6; }
   4776  SED="$ac_cv_path_SED"
   4777   rm -f conftest.sed
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 if  test "x$GCC" = xyes ; then
   4784     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4785 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4786 -Wbad-function-cast -Wformat=2"
   4787     case `$CC -dumpversion` in
   4788     3.4.* | 4.*)
   4789 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4790 	;;
   4791     esac
   4792 else
   4793     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4794 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4795   SUNCC="yes"
   4796 else
   4797   SUNCC="no"
   4798 fi
   4799 
   4800     if test "x$SUNCC" = "xyes"; then
   4801 	CWARNFLAGS="-v"
   4802     fi
   4803 fi
   4804 
   4805 
   4806 
   4807 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4808 
   4809 
   4810 
   4811 # Check whether --enable-strict-compilation was given.
   4812 if test "${enable_strict_compilation+set}" = set; then :
   4813   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4814 else
   4815   STRICT_COMPILE=no
   4816 fi
   4817 
   4818 if test "x$STRICT_COMPILE" = "xyes"; then
   4819 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4820 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   4821   SUNCC="yes"
   4822 else
   4823   SUNCC="no"
   4824 fi
   4825 
   4826 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4827 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
   4828   INTELCC="yes"
   4829 else
   4830   INTELCC="no"
   4831 fi
   4832 
   4833 	if test "x$GCC" = xyes ; then
   4834 		STRICT_CFLAGS="-pedantic -Werror"
   4835 	elif test "x$SUNCC" = "xyes"; then
   4836 		STRICT_CFLAGS="-errwarn"
   4837     elif test "x$INTELCC" = "xyes"; then
   4838 		STRICT_CFLAGS="-Werror"
   4839 	fi
   4840 fi
   4841 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4842 
   4843 
   4844 
   4845 
   4846 cat >>confdefs.h <<_ACEOF
   4847 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4848 _ACEOF
   4849 
   4850 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4851 	if test "x$PVM" = "x"; then
   4852 		PVM="0"
   4853 	fi
   4854 
   4855 cat >>confdefs.h <<_ACEOF
   4856 #define PACKAGE_VERSION_MINOR $PVM
   4857 _ACEOF
   4858 
   4859 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4860 	if test "x$PVP" = "x"; then
   4861 		PVP="0"
   4862 	fi
   4863 
   4864 cat >>confdefs.h <<_ACEOF
   4865 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4866 _ACEOF
   4867 
   4868 
   4869 
   4870 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4871 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4872 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4873 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4874 
   4875 
   4876 
   4877 
   4878 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4879 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4880 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4881 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4882 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 if test x$APP_MAN_SUFFIX = x    ; then
   4890     APP_MAN_SUFFIX=1
   4891 fi
   4892 if test x$APP_MAN_DIR = x    ; then
   4893     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4894 fi
   4895 
   4896 if test x$LIB_MAN_SUFFIX = x    ; then
   4897     LIB_MAN_SUFFIX=3
   4898 fi
   4899 if test x$LIB_MAN_DIR = x    ; then
   4900     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4901 fi
   4902 
   4903 if test x$FILE_MAN_SUFFIX = x    ; then
   4904     case $host_os in
   4905 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4906 	*)		FILE_MAN_SUFFIX=5  ;;
   4907     esac
   4908 fi
   4909 if test x$FILE_MAN_DIR = x    ; then
   4910     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4911 fi
   4912 
   4913 if test x$MISC_MAN_SUFFIX = x    ; then
   4914     case $host_os in
   4915 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4916 	*)		MISC_MAN_SUFFIX=7  ;;
   4917     esac
   4918 fi
   4919 if test x$MISC_MAN_DIR = x    ; then
   4920     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4921 fi
   4922 
   4923 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4924     case $host_os in
   4925 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4926 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4927     esac
   4928 fi
   4929 if test x$DRIVER_MAN_DIR = x    ; then
   4930     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4931 fi
   4932 
   4933 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4934     case $host_os in
   4935 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4936 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4937     esac
   4938 fi
   4939 if test x$ADMIN_MAN_DIR = x    ; then
   4940     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4941 fi
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 XORG_MAN_PAGE="X Version 11"
   4958 
   4959 MAN_SUBSTS="\
   4960 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4961 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4962 	-e 's|__xservername__|Xorg|g' \
   4963 	-e 's|__xconfigfile__|xorg.conf|g' \
   4964 	-e 's|__projectroot__|\$(prefix)|g' \
   4965 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4966 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4967 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4968 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4969 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4970 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4971 
   4972 
   4973 
   4974 # Check whether --enable-silent-rules was given.
   4975 if test "${enable_silent_rules+set}" = set; then :
   4976   enableval=$enable_silent_rules;
   4977 fi
   4978 
   4979 case $enable_silent_rules in
   4980 yes) AM_DEFAULT_VERBOSITY=0;;
   4981 no)  AM_DEFAULT_VERBOSITY=1;;
   4982 *)   AM_DEFAULT_VERBOSITY=0;;
   4983 esac
   4984 AM_BACKSLASH='\'
   4985 
   4986 
   4987 
   4988 # Initialize libtool
   4989 # Check whether --enable-static was given.
   4990 if test "${enable_static+set}" = set; then :
   4991   enableval=$enable_static; p=${PACKAGE-default}
   4992     case $enableval in
   4993     yes) enable_static=yes ;;
   4994     no) enable_static=no ;;
   4995     *)
   4996      enable_static=no
   4997       # Look at the argument we got.  We use all the common list separators.
   4998       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4999       for pkg in $enableval; do
   5000 	IFS="$lt_save_ifs"
   5001 	if test "X$pkg" = "X$p"; then
   5002 	  enable_static=yes
   5003 	fi
   5004       done
   5005       IFS="$lt_save_ifs"
   5006       ;;
   5007     esac
   5008 else
   5009   enable_static=no
   5010 fi
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 case `pwd` in
   5021   *\ * | *\	*)
   5022     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5023 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5024 esac
   5025 
   5026 
   5027 
   5028 macro_version='2.2.6b'
   5029 macro_revision='1.3017'
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 ltmain="$ac_aux_dir/ltmain.sh"
   5044 
   5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5046 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5047 if test "${ac_cv_path_SED+set}" = set; then :
   5048   $as_echo_n "(cached) " >&6
   5049 else
   5050             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5051      for ac_i in 1 2 3 4 5 6 7; do
   5052        ac_script="$ac_script$as_nl$ac_script"
   5053      done
   5054      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5055      { ac_script=; unset ac_script;}
   5056      if test -z "$SED"; then
   5057   ac_path_SED_found=false
   5058   # Loop through the user's path and test for each of PROGNAME-LIST
   5059   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5060 for as_dir in $PATH
   5061 do
   5062   IFS=$as_save_IFS
   5063   test -z "$as_dir" && as_dir=.
   5064     for ac_prog in sed gsed; do
   5065     for ac_exec_ext in '' $ac_executable_extensions; do
   5066       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5067       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5068 # Check for GNU ac_path_SED and select it if it is found.
   5069   # Check for GNU $ac_path_SED
   5070 case `"$ac_path_SED" --version 2>&1` in
   5071 *GNU*)
   5072   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5073 *)
   5074   ac_count=0
   5075   $as_echo_n 0123456789 >"conftest.in"
   5076   while :
   5077   do
   5078     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5079     mv "conftest.tmp" "conftest.in"
   5080     cp "conftest.in" "conftest.nl"
   5081     $as_echo '' >> "conftest.nl"
   5082     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5083     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5084     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5085     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5086       # Best one so far, save it but keep looking for a better one
   5087       ac_cv_path_SED="$ac_path_SED"
   5088       ac_path_SED_max=$ac_count
   5089     fi
   5090     # 10*(2^10) chars as input seems more than enough
   5091     test $ac_count -gt 10 && break
   5092   done
   5093   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5094 esac
   5095 
   5096       $ac_path_SED_found && break 3
   5097     done
   5098   done
   5099   done
   5100 IFS=$as_save_IFS
   5101   if test -z "$ac_cv_path_SED"; then
   5102     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5103   fi
   5104 else
   5105   ac_cv_path_SED=$SED
   5106 fi
   5107 
   5108 fi
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5110 $as_echo "$ac_cv_path_SED" >&6; }
   5111  SED="$ac_cv_path_SED"
   5112   rm -f conftest.sed
   5113 
   5114 test -z "$SED" && SED=sed
   5115 Xsed="$SED -e 1s/^X//"
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5128 $as_echo_n "checking for fgrep... " >&6; }
   5129 if test "${ac_cv_path_FGREP+set}" = set; then :
   5130   $as_echo_n "(cached) " >&6
   5131 else
   5132   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5133    then ac_cv_path_FGREP="$GREP -F"
   5134    else
   5135      if test -z "$FGREP"; then
   5136   ac_path_FGREP_found=false
   5137   # Loop through the user's path and test for each of PROGNAME-LIST
   5138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5139 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5140 do
   5141   IFS=$as_save_IFS
   5142   test -z "$as_dir" && as_dir=.
   5143     for ac_prog in fgrep; do
   5144     for ac_exec_ext in '' $ac_executable_extensions; do
   5145       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5146       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5147 # Check for GNU ac_path_FGREP and select it if it is found.
   5148   # Check for GNU $ac_path_FGREP
   5149 case `"$ac_path_FGREP" --version 2>&1` in
   5150 *GNU*)
   5151   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5152 *)
   5153   ac_count=0
   5154   $as_echo_n 0123456789 >"conftest.in"
   5155   while :
   5156   do
   5157     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5158     mv "conftest.tmp" "conftest.in"
   5159     cp "conftest.in" "conftest.nl"
   5160     $as_echo 'FGREP' >> "conftest.nl"
   5161     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5162     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5163     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5164     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5165       # Best one so far, save it but keep looking for a better one
   5166       ac_cv_path_FGREP="$ac_path_FGREP"
   5167       ac_path_FGREP_max=$ac_count
   5168     fi
   5169     # 10*(2^10) chars as input seems more than enough
   5170     test $ac_count -gt 10 && break
   5171   done
   5172   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5173 esac
   5174 
   5175       $ac_path_FGREP_found && break 3
   5176     done
   5177   done
   5178   done
   5179 IFS=$as_save_IFS
   5180   if test -z "$ac_cv_path_FGREP"; then
   5181     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5182   fi
   5183 else
   5184   ac_cv_path_FGREP=$FGREP
   5185 fi
   5186 
   5187    fi
   5188 fi
   5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5190 $as_echo "$ac_cv_path_FGREP" >&6; }
   5191  FGREP="$ac_cv_path_FGREP"
   5192 
   5193 
   5194 test -z "$GREP" && GREP=grep
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 # Check whether --with-gnu-ld was given.
   5215 if test "${with_gnu_ld+set}" = set; then :
   5216   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5217 else
   5218   with_gnu_ld=no
   5219 fi
   5220 
   5221 ac_prog=ld
   5222 if test "$GCC" = yes; then
   5223   # Check if gcc -print-prog-name=ld gives a path.
   5224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5225 $as_echo_n "checking for ld used by $CC... " >&6; }
   5226   case $host in
   5227   *-*-mingw*)
   5228     # gcc leaves a trailing carriage return which upsets mingw
   5229     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5230   *)
   5231     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5232   esac
   5233   case $ac_prog in
   5234     # Accept absolute paths.
   5235     [\\/]* | ?:[\\/]*)
   5236       re_direlt='/[^/][^/]*/\.\./'
   5237       # Canonicalize the pathname of ld
   5238       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5239       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5240 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5241       done
   5242       test -z "$LD" && LD="$ac_prog"
   5243       ;;
   5244   "")
   5245     # If it fails, then pretend we aren't using GCC.
   5246     ac_prog=ld
   5247     ;;
   5248   *)
   5249     # If it is relative, then search for the first ld in PATH.
   5250     with_gnu_ld=unknown
   5251     ;;
   5252   esac
   5253 elif test "$with_gnu_ld" = yes; then
   5254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5255 $as_echo_n "checking for GNU ld... " >&6; }
   5256 else
   5257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5258 $as_echo_n "checking for non-GNU ld... " >&6; }
   5259 fi
   5260 if test "${lt_cv_path_LD+set}" = set; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   if test -z "$LD"; then
   5264   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5265   for ac_dir in $PATH; do
   5266     IFS="$lt_save_ifs"
   5267     test -z "$ac_dir" && ac_dir=.
   5268     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5269       lt_cv_path_LD="$ac_dir/$ac_prog"
   5270       # Check to see if the program is GNU ld.  I'd rather use --version,
   5271       # but apparently some variants of GNU ld only accept -v.
   5272       # Break only if it was the GNU/non-GNU ld that we prefer.
   5273       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5274       *GNU* | *'with BFD'*)
   5275 	test "$with_gnu_ld" != no && break
   5276 	;;
   5277       *)
   5278 	test "$with_gnu_ld" != yes && break
   5279 	;;
   5280       esac
   5281     fi
   5282   done
   5283   IFS="$lt_save_ifs"
   5284 else
   5285   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5286 fi
   5287 fi
   5288 
   5289 LD="$lt_cv_path_LD"
   5290 if test -n "$LD"; then
   5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5292 $as_echo "$LD" >&6; }
   5293 else
   5294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5295 $as_echo "no" >&6; }
   5296 fi
   5297 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5300 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5304 case `$LD -v 2>&1 </dev/null` in
   5305 *GNU* | *'with BFD'*)
   5306   lt_cv_prog_gnu_ld=yes
   5307   ;;
   5308 *)
   5309   lt_cv_prog_gnu_ld=no
   5310   ;;
   5311 esac
   5312 fi
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5314 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5315 with_gnu_ld=$lt_cv_prog_gnu_ld
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5326 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5327 if test "${lt_cv_path_NM+set}" = set; then :
   5328   $as_echo_n "(cached) " >&6
   5329 else
   5330   if test -n "$NM"; then
   5331   # Let the user override the test.
   5332   lt_cv_path_NM="$NM"
   5333 else
   5334   lt_nm_to_check="${ac_tool_prefix}nm"
   5335   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5336     lt_nm_to_check="$lt_nm_to_check nm"
   5337   fi
   5338   for lt_tmp_nm in $lt_nm_to_check; do
   5339     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5340     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5341       IFS="$lt_save_ifs"
   5342       test -z "$ac_dir" && ac_dir=.
   5343       tmp_nm="$ac_dir/$lt_tmp_nm"
   5344       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5345 	# Check to see if the nm accepts a BSD-compat flag.
   5346 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5347 	#   nm: unknown option "B" ignored
   5348 	# Tru64's nm complains that /dev/null is an invalid object file
   5349 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5350 	*/dev/null* | *'Invalid file or object type'*)
   5351 	  lt_cv_path_NM="$tmp_nm -B"
   5352 	  break
   5353 	  ;;
   5354 	*)
   5355 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5356 	  */dev/null*)
   5357 	    lt_cv_path_NM="$tmp_nm -p"
   5358 	    break
   5359 	    ;;
   5360 	  *)
   5361 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5362 	    continue # so that we can try to find one that supports BSD flags
   5363 	    ;;
   5364 	  esac
   5365 	  ;;
   5366 	esac
   5367       fi
   5368     done
   5369     IFS="$lt_save_ifs"
   5370   done
   5371   : ${lt_cv_path_NM=no}
   5372 fi
   5373 fi
   5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5375 $as_echo "$lt_cv_path_NM" >&6; }
   5376 if test "$lt_cv_path_NM" != "no"; then
   5377   NM="$lt_cv_path_NM"
   5378 else
   5379   # Didn't find any BSD compatible name lister, look for dumpbin.
   5380   if test -n "$ac_tool_prefix"; then
   5381   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5382   do
   5383     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5384 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5386 $as_echo_n "checking for $ac_word... " >&6; }
   5387 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5388   $as_echo_n "(cached) " >&6
   5389 else
   5390   if test -n "$DUMPBIN"; then
   5391   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5392 else
   5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5394 for as_dir in $PATH
   5395 do
   5396   IFS=$as_save_IFS
   5397   test -z "$as_dir" && as_dir=.
   5398     for ac_exec_ext in '' $ac_executable_extensions; do
   5399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5400     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5402     break 2
   5403   fi
   5404 done
   5405   done
   5406 IFS=$as_save_IFS
   5407 
   5408 fi
   5409 fi
   5410 DUMPBIN=$ac_cv_prog_DUMPBIN
   5411 if test -n "$DUMPBIN"; then
   5412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5413 $as_echo "$DUMPBIN" >&6; }
   5414 else
   5415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5416 $as_echo "no" >&6; }
   5417 fi
   5418 
   5419 
   5420     test -n "$DUMPBIN" && break
   5421   done
   5422 fi
   5423 if test -z "$DUMPBIN"; then
   5424   ac_ct_DUMPBIN=$DUMPBIN
   5425   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5426 do
   5427   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5428 set dummy $ac_prog; ac_word=$2
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5430 $as_echo_n "checking for $ac_word... " >&6; }
   5431 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5432   $as_echo_n "(cached) " >&6
   5433 else
   5434   if test -n "$ac_ct_DUMPBIN"; then
   5435   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5436 else
   5437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5438 for as_dir in $PATH
   5439 do
   5440   IFS=$as_save_IFS
   5441   test -z "$as_dir" && as_dir=.
   5442     for ac_exec_ext in '' $ac_executable_extensions; do
   5443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5444     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5446     break 2
   5447   fi
   5448 done
   5449   done
   5450 IFS=$as_save_IFS
   5451 
   5452 fi
   5453 fi
   5454 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5455 if test -n "$ac_ct_DUMPBIN"; then
   5456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5457 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5458 else
   5459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5460 $as_echo "no" >&6; }
   5461 fi
   5462 
   5463 
   5464   test -n "$ac_ct_DUMPBIN" && break
   5465 done
   5466 
   5467   if test "x$ac_ct_DUMPBIN" = x; then
   5468     DUMPBIN=":"
   5469   else
   5470     case $cross_compiling:$ac_tool_warned in
   5471 yes:)
   5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5474 ac_tool_warned=yes ;;
   5475 esac
   5476     DUMPBIN=$ac_ct_DUMPBIN
   5477   fi
   5478 fi
   5479 
   5480 
   5481   if test "$DUMPBIN" != ":"; then
   5482     NM="$DUMPBIN"
   5483   fi
   5484 fi
   5485 test -z "$NM" && NM=nm
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5493 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5494 if test "${lt_cv_nm_interface+set}" = set; then :
   5495   $as_echo_n "(cached) " >&6
   5496 else
   5497   lt_cv_nm_interface="BSD nm"
   5498   echo "int some_variable = 0;" > conftest.$ac_ext
   5499   (eval echo "\"\$as_me:5499: $ac_compile\"" >&5)
   5500   (eval "$ac_compile" 2>conftest.err)
   5501   cat conftest.err >&5
   5502   (eval echo "\"\$as_me:5502: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5503   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5504   cat conftest.err >&5
   5505   (eval echo "\"\$as_me:5505: output\"" >&5)
   5506   cat conftest.out >&5
   5507   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5508     lt_cv_nm_interface="MS dumpbin"
   5509   fi
   5510   rm -f conftest*
   5511 fi
   5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5513 $as_echo "$lt_cv_nm_interface" >&6; }
   5514 
   5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5516 $as_echo_n "checking whether ln -s works... " >&6; }
   5517 LN_S=$as_ln_s
   5518 if test "$LN_S" = "ln -s"; then
   5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5520 $as_echo "yes" >&6; }
   5521 else
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5523 $as_echo "no, using $LN_S" >&6; }
   5524 fi
   5525 
   5526 # find the maximum length of command line arguments
   5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5528 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5529 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5530   $as_echo_n "(cached) " >&6
   5531 else
   5532     i=0
   5533   teststring="ABCD"
   5534 
   5535   case $build_os in
   5536   msdosdjgpp*)
   5537     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5538     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5539     # during glob expansion).  Even if it were fixed, the result of this
   5540     # check would be larger than it should be.
   5541     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5542     ;;
   5543 
   5544   gnu*)
   5545     # Under GNU Hurd, this test is not required because there is
   5546     # no limit to the length of command line arguments.
   5547     # Libtool will interpret -1 as no limit whatsoever
   5548     lt_cv_sys_max_cmd_len=-1;
   5549     ;;
   5550 
   5551   cygwin* | mingw* | cegcc*)
   5552     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5553     # about 5 minutes as the teststring grows exponentially.
   5554     # Worse, since 9x/ME are not pre-emptively multitasking,
   5555     # you end up with a "frozen" computer, even though with patience
   5556     # the test eventually succeeds (with a max line length of 256k).
   5557     # Instead, let's just punt: use the minimum linelength reported by
   5558     # all of the supported platforms: 8192 (on NT/2K/XP).
   5559     lt_cv_sys_max_cmd_len=8192;
   5560     ;;
   5561 
   5562   amigaos*)
   5563     # On AmigaOS with pdksh, this test takes hours, literally.
   5564     # So we just punt and use a minimum line length of 8192.
   5565     lt_cv_sys_max_cmd_len=8192;
   5566     ;;
   5567 
   5568   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5569     # This has been around since 386BSD, at least.  Likely further.
   5570     if test -x /sbin/sysctl; then
   5571       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5572     elif test -x /usr/sbin/sysctl; then
   5573       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5574     else
   5575       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5576     fi
   5577     # And add a safety zone
   5578     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5579     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5580     ;;
   5581 
   5582   interix*)
   5583     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5584     lt_cv_sys_max_cmd_len=196608
   5585     ;;
   5586 
   5587   osf*)
   5588     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5589     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5590     # nice to cause kernel panics so lets avoid the loop below.
   5591     # First set a reasonable default.
   5592     lt_cv_sys_max_cmd_len=16384
   5593     #
   5594     if test -x /sbin/sysconfig; then
   5595       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5596         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5597       esac
   5598     fi
   5599     ;;
   5600   sco3.2v5*)
   5601     lt_cv_sys_max_cmd_len=102400
   5602     ;;
   5603   sysv5* | sco5v6* | sysv4.2uw2*)
   5604     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5605     if test -n "$kargmax"; then
   5606       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5607     else
   5608       lt_cv_sys_max_cmd_len=32768
   5609     fi
   5610     ;;
   5611   *)
   5612     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5613     if test -n "$lt_cv_sys_max_cmd_len"; then
   5614       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5615       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5616     else
   5617       # Make teststring a little bigger before we do anything with it.
   5618       # a 1K string should be a reasonable start.
   5619       for i in 1 2 3 4 5 6 7 8 ; do
   5620         teststring=$teststring$teststring
   5621       done
   5622       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5623       # If test is not a shell built-in, we'll probably end up computing a
   5624       # maximum length that is only half of the actual maximum length, but
   5625       # we can't tell.
   5626       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5627 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5628 	      test $i != 17 # 1/2 MB should be enough
   5629       do
   5630         i=`expr $i + 1`
   5631         teststring=$teststring$teststring
   5632       done
   5633       # Only check the string length outside the loop.
   5634       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5635       teststring=
   5636       # Add a significant safety factor because C++ compilers can tack on
   5637       # massive amounts of additional arguments before passing them to the
   5638       # linker.  It appears as though 1/2 is a usable value.
   5639       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5640     fi
   5641     ;;
   5642   esac
   5643 
   5644 fi
   5645 
   5646 if test -n $lt_cv_sys_max_cmd_len ; then
   5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5649 else
   5650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5651 $as_echo "none" >&6; }
   5652 fi
   5653 max_cmd_len=$lt_cv_sys_max_cmd_len
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 : ${CP="cp -f"}
   5661 : ${MV="mv -f"}
   5662 : ${RM="rm -f"}
   5663 
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5665 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5666 # Try some XSI features
   5667 xsi_shell=no
   5668 ( _lt_dummy="a/b/c"
   5669   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5670       = c,a/b,, \
   5671     && eval 'test $(( 1 + 1 )) -eq 2 \
   5672     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5673   && xsi_shell=yes
   5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5675 $as_echo "$xsi_shell" >&6; }
   5676 
   5677 
   5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5679 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5680 lt_shell_append=no
   5681 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5682     >/dev/null 2>&1 \
   5683   && lt_shell_append=yes
   5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5685 $as_echo "$lt_shell_append" >&6; }
   5686 
   5687 
   5688 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5689   lt_unset=unset
   5690 else
   5691   lt_unset=false
   5692 fi
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 # test EBCDIC or ASCII
   5699 case `echo X|tr X '\101'` in
   5700  A) # ASCII based system
   5701     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5702   lt_SP2NL='tr \040 \012'
   5703   lt_NL2SP='tr \015\012 \040\040'
   5704   ;;
   5705  *) # EBCDIC based system
   5706   lt_SP2NL='tr \100 \n'
   5707   lt_NL2SP='tr \r\n \100\100'
   5708   ;;
   5709 esac
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5721 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5722   $as_echo_n "(cached) " >&6
   5723 else
   5724   lt_cv_ld_reload_flag='-r'
   5725 fi
   5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5728 reload_flag=$lt_cv_ld_reload_flag
   5729 case $reload_flag in
   5730 "" | " "*) ;;
   5731 *) reload_flag=" $reload_flag" ;;
   5732 esac
   5733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5734 case $host_os in
   5735   darwin*)
   5736     if test "$GCC" = yes; then
   5737       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5738     else
   5739       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5740     fi
   5741     ;;
   5742 esac
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 if test -n "$ac_tool_prefix"; then
   5753   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5754 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5756 $as_echo_n "checking for $ac_word... " >&6; }
   5757 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -n "$OBJDUMP"; then
   5761   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5762 else
   5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5770     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775   done
   5776 IFS=$as_save_IFS
   5777 
   5778 fi
   5779 fi
   5780 OBJDUMP=$ac_cv_prog_OBJDUMP
   5781 if test -n "$OBJDUMP"; then
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5783 $as_echo "$OBJDUMP" >&6; }
   5784 else
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5786 $as_echo "no" >&6; }
   5787 fi
   5788 
   5789 
   5790 fi
   5791 if test -z "$ac_cv_prog_OBJDUMP"; then
   5792   ac_ct_OBJDUMP=$OBJDUMP
   5793   # Extract the first word of "objdump", so it can be a program name with args.
   5794 set dummy objdump; ac_word=$2
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5796 $as_echo_n "checking for $ac_word... " >&6; }
   5797 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5798   $as_echo_n "(cached) " >&6
   5799 else
   5800   if test -n "$ac_ct_OBJDUMP"; then
   5801   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5802 else
   5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5804 for as_dir in $PATH
   5805 do
   5806   IFS=$as_save_IFS
   5807   test -z "$as_dir" && as_dir=.
   5808     for ac_exec_ext in '' $ac_executable_extensions; do
   5809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5810     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5812     break 2
   5813   fi
   5814 done
   5815   done
   5816 IFS=$as_save_IFS
   5817 
   5818 fi
   5819 fi
   5820 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5821 if test -n "$ac_ct_OBJDUMP"; then
   5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5823 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5824 else
   5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5826 $as_echo "no" >&6; }
   5827 fi
   5828 
   5829   if test "x$ac_ct_OBJDUMP" = x; then
   5830     OBJDUMP="false"
   5831   else
   5832     case $cross_compiling:$ac_tool_warned in
   5833 yes:)
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5836 ac_tool_warned=yes ;;
   5837 esac
   5838     OBJDUMP=$ac_ct_OBJDUMP
   5839   fi
   5840 else
   5841   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5842 fi
   5843 
   5844 test -z "$OBJDUMP" && OBJDUMP=objdump
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5855 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5856 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5857   $as_echo_n "(cached) " >&6
   5858 else
   5859   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5860 lt_cv_file_magic_test_file=
   5861 lt_cv_deplibs_check_method='unknown'
   5862 # Need to set the preceding variable on all platforms that support
   5863 # interlibrary dependencies.
   5864 # 'none' -- dependencies not supported.
   5865 # `unknown' -- same as none, but documents that we really don't know.
   5866 # 'pass_all' -- all dependencies passed with no checks.
   5867 # 'test_compile' -- check by making test program.
   5868 # 'file_magic [[regex]]' -- check by looking for files in library path
   5869 # which responds to the $file_magic_cmd with a given extended regex.
   5870 # If you have `file' or equivalent on your system and you're not sure
   5871 # whether `pass_all' will *always* work, you probably want this one.
   5872 
   5873 case $host_os in
   5874 aix[4-9]*)
   5875   lt_cv_deplibs_check_method=pass_all
   5876   ;;
   5877 
   5878 beos*)
   5879   lt_cv_deplibs_check_method=pass_all
   5880   ;;
   5881 
   5882 bsdi[45]*)
   5883   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5884   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5885   lt_cv_file_magic_test_file=/shlib/libc.so
   5886   ;;
   5887 
   5888 cygwin*)
   5889   # func_win32_libid is a shell function defined in ltmain.sh
   5890   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5891   lt_cv_file_magic_cmd='func_win32_libid'
   5892   ;;
   5893 
   5894 mingw* | pw32*)
   5895   # Base MSYS/MinGW do not provide the 'file' command needed by
   5896   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5897   # unless we find 'file', for example because we are cross-compiling.
   5898   if ( file / ) >/dev/null 2>&1; then
   5899     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5900     lt_cv_file_magic_cmd='func_win32_libid'
   5901   else
   5902     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5903     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5904   fi
   5905   ;;
   5906 
   5907 cegcc)
   5908   # use the weaker test based on 'objdump'. See mingw*.
   5909   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5910   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5911   ;;
   5912 
   5913 darwin* | rhapsody*)
   5914   lt_cv_deplibs_check_method=pass_all
   5915   ;;
   5916 
   5917 freebsd* | dragonfly*)
   5918   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5919     case $host_cpu in
   5920     i*86 )
   5921       # Not sure whether the presence of OpenBSD here was a mistake.
   5922       # Let's accept both of them until this is cleared up.
   5923       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5924       lt_cv_file_magic_cmd=/usr/bin/file
   5925       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5926       ;;
   5927     esac
   5928   else
   5929     lt_cv_deplibs_check_method=pass_all
   5930   fi
   5931   ;;
   5932 
   5933 gnu*)
   5934   lt_cv_deplibs_check_method=pass_all
   5935   ;;
   5936 
   5937 hpux10.20* | hpux11*)
   5938   lt_cv_file_magic_cmd=/usr/bin/file
   5939   case $host_cpu in
   5940   ia64*)
   5941     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5942     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5943     ;;
   5944   hppa*64*)
   5945     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5946     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5947     ;;
   5948   *)
   5949     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5950     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5951     ;;
   5952   esac
   5953   ;;
   5954 
   5955 interix[3-9]*)
   5956   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5957   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5958   ;;
   5959 
   5960 irix5* | irix6* | nonstopux*)
   5961   case $LD in
   5962   *-32|*"-32 ") libmagic=32-bit;;
   5963   *-n32|*"-n32 ") libmagic=N32;;
   5964   *-64|*"-64 ") libmagic=64-bit;;
   5965   *) libmagic=never-match;;
   5966   esac
   5967   lt_cv_deplibs_check_method=pass_all
   5968   ;;
   5969 
   5970 # This must be Linux ELF.
   5971 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5972   lt_cv_deplibs_check_method=pass_all
   5973   ;;
   5974 
   5975 netbsd* | netbsdelf*-gnu)
   5976   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5977     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5978   else
   5979     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5980   fi
   5981   ;;
   5982 
   5983 newos6*)
   5984   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5985   lt_cv_file_magic_cmd=/usr/bin/file
   5986   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5987   ;;
   5988 
   5989 *nto* | *qnx*)
   5990   lt_cv_deplibs_check_method=pass_all
   5991   ;;
   5992 
   5993 openbsd*)
   5994   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5995     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5996   else
   5997     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5998   fi
   5999   ;;
   6000 
   6001 osf3* | osf4* | osf5*)
   6002   lt_cv_deplibs_check_method=pass_all
   6003   ;;
   6004 
   6005 rdos*)
   6006   lt_cv_deplibs_check_method=pass_all
   6007   ;;
   6008 
   6009 solaris*)
   6010   lt_cv_deplibs_check_method=pass_all
   6011   ;;
   6012 
   6013 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6014   lt_cv_deplibs_check_method=pass_all
   6015   ;;
   6016 
   6017 sysv4 | sysv4.3*)
   6018   case $host_vendor in
   6019   motorola)
   6020     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]'
   6021     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6022     ;;
   6023   ncr)
   6024     lt_cv_deplibs_check_method=pass_all
   6025     ;;
   6026   sequent)
   6027     lt_cv_file_magic_cmd='/bin/file'
   6028     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6029     ;;
   6030   sni)
   6031     lt_cv_file_magic_cmd='/bin/file'
   6032     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6033     lt_cv_file_magic_test_file=/lib/libc.so
   6034     ;;
   6035   siemens)
   6036     lt_cv_deplibs_check_method=pass_all
   6037     ;;
   6038   pc)
   6039     lt_cv_deplibs_check_method=pass_all
   6040     ;;
   6041   esac
   6042   ;;
   6043 
   6044 tpf*)
   6045   lt_cv_deplibs_check_method=pass_all
   6046   ;;
   6047 esac
   6048 
   6049 fi
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6051 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6052 file_magic_cmd=$lt_cv_file_magic_cmd
   6053 deplibs_check_method=$lt_cv_deplibs_check_method
   6054 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 if test -n "$ac_tool_prefix"; then
   6068   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6069 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6071 $as_echo_n "checking for $ac_word... " >&6; }
   6072 if test "${ac_cv_prog_AR+set}" = set; then :
   6073   $as_echo_n "(cached) " >&6
   6074 else
   6075   if test -n "$AR"; then
   6076   ac_cv_prog_AR="$AR" # Let the user override the test.
   6077 else
   6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6079 for as_dir in $PATH
   6080 do
   6081   IFS=$as_save_IFS
   6082   test -z "$as_dir" && as_dir=.
   6083     for ac_exec_ext in '' $ac_executable_extensions; do
   6084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6085     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6087     break 2
   6088   fi
   6089 done
   6090   done
   6091 IFS=$as_save_IFS
   6092 
   6093 fi
   6094 fi
   6095 AR=$ac_cv_prog_AR
   6096 if test -n "$AR"; then
   6097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6098 $as_echo "$AR" >&6; }
   6099 else
   6100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6101 $as_echo "no" >&6; }
   6102 fi
   6103 
   6104 
   6105 fi
   6106 if test -z "$ac_cv_prog_AR"; then
   6107   ac_ct_AR=$AR
   6108   # Extract the first word of "ar", so it can be a program name with args.
   6109 set dummy ar; ac_word=$2
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6111 $as_echo_n "checking for $ac_word... " >&6; }
   6112 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   6113   $as_echo_n "(cached) " >&6
   6114 else
   6115   if test -n "$ac_ct_AR"; then
   6116   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6117 else
   6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6119 for as_dir in $PATH
   6120 do
   6121   IFS=$as_save_IFS
   6122   test -z "$as_dir" && as_dir=.
   6123     for ac_exec_ext in '' $ac_executable_extensions; do
   6124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6125     ac_cv_prog_ac_ct_AR="ar"
   6126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6127     break 2
   6128   fi
   6129 done
   6130   done
   6131 IFS=$as_save_IFS
   6132 
   6133 fi
   6134 fi
   6135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6136 if test -n "$ac_ct_AR"; then
   6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6138 $as_echo "$ac_ct_AR" >&6; }
   6139 else
   6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6141 $as_echo "no" >&6; }
   6142 fi
   6143 
   6144   if test "x$ac_ct_AR" = x; then
   6145     AR="false"
   6146   else
   6147     case $cross_compiling:$ac_tool_warned in
   6148 yes:)
   6149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6151 ac_tool_warned=yes ;;
   6152 esac
   6153     AR=$ac_ct_AR
   6154   fi
   6155 else
   6156   AR="$ac_cv_prog_AR"
   6157 fi
   6158 
   6159 test -z "$AR" && AR=ar
   6160 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 if test -n "$ac_tool_prefix"; then
   6173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6174 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6176 $as_echo_n "checking for $ac_word... " >&6; }
   6177 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6178   $as_echo_n "(cached) " >&6
   6179 else
   6180   if test -n "$STRIP"; then
   6181   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6182 else
   6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6184 for as_dir in $PATH
   6185 do
   6186   IFS=$as_save_IFS
   6187   test -z "$as_dir" && as_dir=.
   6188     for ac_exec_ext in '' $ac_executable_extensions; do
   6189   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6190     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6192     break 2
   6193   fi
   6194 done
   6195   done
   6196 IFS=$as_save_IFS
   6197 
   6198 fi
   6199 fi
   6200 STRIP=$ac_cv_prog_STRIP
   6201 if test -n "$STRIP"; then
   6202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6203 $as_echo "$STRIP" >&6; }
   6204 else
   6205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6206 $as_echo "no" >&6; }
   6207 fi
   6208 
   6209 
   6210 fi
   6211 if test -z "$ac_cv_prog_STRIP"; then
   6212   ac_ct_STRIP=$STRIP
   6213   # Extract the first word of "strip", so it can be a program name with args.
   6214 set dummy strip; ac_word=$2
   6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6216 $as_echo_n "checking for $ac_word... " >&6; }
   6217 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   if test -n "$ac_ct_STRIP"; then
   6221   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6222 else
   6223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6224 for as_dir in $PATH
   6225 do
   6226   IFS=$as_save_IFS
   6227   test -z "$as_dir" && as_dir=.
   6228     for ac_exec_ext in '' $ac_executable_extensions; do
   6229   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6230     ac_cv_prog_ac_ct_STRIP="strip"
   6231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6232     break 2
   6233   fi
   6234 done
   6235   done
   6236 IFS=$as_save_IFS
   6237 
   6238 fi
   6239 fi
   6240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6241 if test -n "$ac_ct_STRIP"; then
   6242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6243 $as_echo "$ac_ct_STRIP" >&6; }
   6244 else
   6245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6246 $as_echo "no" >&6; }
   6247 fi
   6248 
   6249   if test "x$ac_ct_STRIP" = x; then
   6250     STRIP=":"
   6251   else
   6252     case $cross_compiling:$ac_tool_warned in
   6253 yes:)
   6254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6256 ac_tool_warned=yes ;;
   6257 esac
   6258     STRIP=$ac_ct_STRIP
   6259   fi
   6260 else
   6261   STRIP="$ac_cv_prog_STRIP"
   6262 fi
   6263 
   6264 test -z "$STRIP" && STRIP=:
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 if test -n "$ac_tool_prefix"; then
   6272   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6273 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6275 $as_echo_n "checking for $ac_word... " >&6; }
   6276 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6277   $as_echo_n "(cached) " >&6
   6278 else
   6279   if test -n "$RANLIB"; then
   6280   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6281 else
   6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6283 for as_dir in $PATH
   6284 do
   6285   IFS=$as_save_IFS
   6286   test -z "$as_dir" && as_dir=.
   6287     for ac_exec_ext in '' $ac_executable_extensions; do
   6288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6289     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6291     break 2
   6292   fi
   6293 done
   6294   done
   6295 IFS=$as_save_IFS
   6296 
   6297 fi
   6298 fi
   6299 RANLIB=$ac_cv_prog_RANLIB
   6300 if test -n "$RANLIB"; then
   6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6302 $as_echo "$RANLIB" >&6; }
   6303 else
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6305 $as_echo "no" >&6; }
   6306 fi
   6307 
   6308 
   6309 fi
   6310 if test -z "$ac_cv_prog_RANLIB"; then
   6311   ac_ct_RANLIB=$RANLIB
   6312   # Extract the first word of "ranlib", so it can be a program name with args.
   6313 set dummy ranlib; ac_word=$2
   6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6315 $as_echo_n "checking for $ac_word... " >&6; }
   6316 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   if test -n "$ac_ct_RANLIB"; then
   6320   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6321 else
   6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6323 for as_dir in $PATH
   6324 do
   6325   IFS=$as_save_IFS
   6326   test -z "$as_dir" && as_dir=.
   6327     for ac_exec_ext in '' $ac_executable_extensions; do
   6328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6329     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6331     break 2
   6332   fi
   6333 done
   6334   done
   6335 IFS=$as_save_IFS
   6336 
   6337 fi
   6338 fi
   6339 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6340 if test -n "$ac_ct_RANLIB"; then
   6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6342 $as_echo "$ac_ct_RANLIB" >&6; }
   6343 else
   6344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6345 $as_echo "no" >&6; }
   6346 fi
   6347 
   6348   if test "x$ac_ct_RANLIB" = x; then
   6349     RANLIB=":"
   6350   else
   6351     case $cross_compiling:$ac_tool_warned in
   6352 yes:)
   6353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6355 ac_tool_warned=yes ;;
   6356 esac
   6357     RANLIB=$ac_ct_RANLIB
   6358   fi
   6359 else
   6360   RANLIB="$ac_cv_prog_RANLIB"
   6361 fi
   6362 
   6363 test -z "$RANLIB" && RANLIB=:
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 # Determine commands to create old-style static archives.
   6371 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6372 old_postinstall_cmds='chmod 644 $oldlib'
   6373 old_postuninstall_cmds=
   6374 
   6375 if test -n "$RANLIB"; then
   6376   case $host_os in
   6377   openbsd*)
   6378     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6379     ;;
   6380   *)
   6381     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6382     ;;
   6383   esac
   6384   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6385 fi
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 # If no C compiler was specified, use CC.
   6421 LTCC=${LTCC-"$CC"}
   6422 
   6423 # If no C compiler flags were specified, use CFLAGS.
   6424 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6425 
   6426 # Allow CC to be a program name with arguments.
   6427 compiler=$CC
   6428 
   6429 
   6430 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6432 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6433 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6434   $as_echo_n "(cached) " >&6
   6435 else
   6436 
   6437 # These are sane defaults that work on at least a few old systems.
   6438 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6439 
   6440 # Character class describing NM global symbol codes.
   6441 symcode='[BCDEGRST]'
   6442 
   6443 # Regexp to match symbols that can be accessed directly from C.
   6444 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6445 
   6446 # Define system-specific variables.
   6447 case $host_os in
   6448 aix*)
   6449   symcode='[BCDT]'
   6450   ;;
   6451 cygwin* | mingw* | pw32* | cegcc*)
   6452   symcode='[ABCDGISTW]'
   6453   ;;
   6454 hpux*)
   6455   if test "$host_cpu" = ia64; then
   6456     symcode='[ABCDEGRST]'
   6457   fi
   6458   ;;
   6459 irix* | nonstopux*)
   6460   symcode='[BCDEGRST]'
   6461   ;;
   6462 osf*)
   6463   symcode='[BCDEGQRST]'
   6464   ;;
   6465 solaris*)
   6466   symcode='[BDRT]'
   6467   ;;
   6468 sco3.2v5*)
   6469   symcode='[DT]'
   6470   ;;
   6471 sysv4.2uw2*)
   6472   symcode='[DT]'
   6473   ;;
   6474 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6475   symcode='[ABDT]'
   6476   ;;
   6477 sysv4)
   6478   symcode='[DFNSTU]'
   6479   ;;
   6480 esac
   6481 
   6482 # If we're using GNU nm, then use its standard symbol codes.
   6483 case `$NM -V 2>&1` in
   6484 *GNU* | *'with BFD'*)
   6485   symcode='[ABCDGIRSTW]' ;;
   6486 esac
   6487 
   6488 # Transform an extracted symbol line into a proper C declaration.
   6489 # Some systems (esp. on ia64) link data and code symbols differently,
   6490 # so use this general approach.
   6491 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6492 
   6493 # Transform an extracted symbol line into symbol name and symbol address
   6494 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6495 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'"
   6496 
   6497 # Handle CRLF in mingw tool chain
   6498 opt_cr=
   6499 case $build_os in
   6500 mingw*)
   6501   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6502   ;;
   6503 esac
   6504 
   6505 # Try without a prefix underscore, then with it.
   6506 for ac_symprfx in "" "_"; do
   6507 
   6508   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6509   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6510 
   6511   # Write the raw and C identifiers.
   6512   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6513     # Fake it for dumpbin and say T for any non-static function
   6514     # and D for any global variable.
   6515     # Also find C++ and __fastcall symbols from MSVC++,
   6516     # which start with @ or ?.
   6517     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6518 "     {last_section=section; section=\$ 3};"\
   6519 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6520 "     \$ 0!~/External *\|/{next};"\
   6521 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6522 "     {if(hide[section]) next};"\
   6523 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6524 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6525 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6526 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6527 "     ' prfx=^$ac_symprfx"
   6528   else
   6529     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6530   fi
   6531 
   6532   # Check to see that the pipe works correctly.
   6533   pipe_works=no
   6534 
   6535   rm -f conftest*
   6536   cat > conftest.$ac_ext <<_LT_EOF
   6537 #ifdef __cplusplus
   6538 extern "C" {
   6539 #endif
   6540 char nm_test_var;
   6541 void nm_test_func(void);
   6542 void nm_test_func(void){}
   6543 #ifdef __cplusplus
   6544 }
   6545 #endif
   6546 int main(){nm_test_var='a';nm_test_func();return(0);}
   6547 _LT_EOF
   6548 
   6549   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6550   (eval $ac_compile) 2>&5
   6551   ac_status=$?
   6552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6553   test $ac_status = 0; }; then
   6554     # Now try to grab the symbols.
   6555     nlist=conftest.nm
   6556     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6557   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6558   ac_status=$?
   6559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6560   test $ac_status = 0; } && test -s "$nlist"; then
   6561       # Try sorting and uniquifying the output.
   6562       if sort "$nlist" | uniq > "$nlist"T; then
   6563 	mv -f "$nlist"T "$nlist"
   6564       else
   6565 	rm -f "$nlist"T
   6566       fi
   6567 
   6568       # Make sure that we snagged all the symbols we need.
   6569       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6570 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6571 	  cat <<_LT_EOF > conftest.$ac_ext
   6572 #ifdef __cplusplus
   6573 extern "C" {
   6574 #endif
   6575 
   6576 _LT_EOF
   6577 	  # Now generate the symbol file.
   6578 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6579 
   6580 	  cat <<_LT_EOF >> conftest.$ac_ext
   6581 
   6582 /* The mapping between symbol names and symbols.  */
   6583 const struct {
   6584   const char *name;
   6585   void       *address;
   6586 }
   6587 lt__PROGRAM__LTX_preloaded_symbols[] =
   6588 {
   6589   { "@PROGRAM@", (void *) 0 },
   6590 _LT_EOF
   6591 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6592 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6593   {0, (void *) 0}
   6594 };
   6595 
   6596 /* This works around a problem in FreeBSD linker */
   6597 #ifdef FREEBSD_WORKAROUND
   6598 static const void *lt_preloaded_setup() {
   6599   return lt__PROGRAM__LTX_preloaded_symbols;
   6600 }
   6601 #endif
   6602 
   6603 #ifdef __cplusplus
   6604 }
   6605 #endif
   6606 _LT_EOF
   6607 	  # Now try linking the two files.
   6608 	  mv conftest.$ac_objext conftstm.$ac_objext
   6609 	  lt_save_LIBS="$LIBS"
   6610 	  lt_save_CFLAGS="$CFLAGS"
   6611 	  LIBS="conftstm.$ac_objext"
   6612 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6613 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6614   (eval $ac_link) 2>&5
   6615   ac_status=$?
   6616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6617   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6618 	    pipe_works=yes
   6619 	  fi
   6620 	  LIBS="$lt_save_LIBS"
   6621 	  CFLAGS="$lt_save_CFLAGS"
   6622 	else
   6623 	  echo "cannot find nm_test_func in $nlist" >&5
   6624 	fi
   6625       else
   6626 	echo "cannot find nm_test_var in $nlist" >&5
   6627       fi
   6628     else
   6629       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6630     fi
   6631   else
   6632     echo "$progname: failed program was:" >&5
   6633     cat conftest.$ac_ext >&5
   6634   fi
   6635   rm -rf conftest* conftst*
   6636 
   6637   # Do not use the global_symbol_pipe unless it works.
   6638   if test "$pipe_works" = yes; then
   6639     break
   6640   else
   6641     lt_cv_sys_global_symbol_pipe=
   6642   fi
   6643 done
   6644 
   6645 fi
   6646 
   6647 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6648   lt_cv_sys_global_symbol_to_cdecl=
   6649 fi
   6650 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6652 $as_echo "failed" >&6; }
   6653 else
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6655 $as_echo "ok" >&6; }
   6656 fi
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 # Check whether --enable-libtool-lock was given.
   6680 if test "${enable_libtool_lock+set}" = set; then :
   6681   enableval=$enable_libtool_lock;
   6682 fi
   6683 
   6684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6685 
   6686 # Some flags need to be propagated to the compiler or linker for good
   6687 # libtool support.
   6688 case $host in
   6689 ia64-*-hpux*)
   6690   # Find out which ABI we are using.
   6691   echo 'int i;' > conftest.$ac_ext
   6692   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6693   (eval $ac_compile) 2>&5
   6694   ac_status=$?
   6695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6696   test $ac_status = 0; }; then
   6697     case `/usr/bin/file conftest.$ac_objext` in
   6698       *ELF-32*)
   6699 	HPUX_IA64_MODE="32"
   6700 	;;
   6701       *ELF-64*)
   6702 	HPUX_IA64_MODE="64"
   6703 	;;
   6704     esac
   6705   fi
   6706   rm -rf conftest*
   6707   ;;
   6708 *-*-irix6*)
   6709   # Find out which ABI we are using.
   6710   echo '#line 6710 "configure"' > conftest.$ac_ext
   6711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6712   (eval $ac_compile) 2>&5
   6713   ac_status=$?
   6714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6715   test $ac_status = 0; }; then
   6716     if test "$lt_cv_prog_gnu_ld" = yes; then
   6717       case `/usr/bin/file conftest.$ac_objext` in
   6718 	*32-bit*)
   6719 	  LD="${LD-ld} -melf32bsmip"
   6720 	  ;;
   6721 	*N32*)
   6722 	  LD="${LD-ld} -melf32bmipn32"
   6723 	  ;;
   6724 	*64-bit*)
   6725 	  LD="${LD-ld} -melf64bmip"
   6726 	;;
   6727       esac
   6728     else
   6729       case `/usr/bin/file conftest.$ac_objext` in
   6730 	*32-bit*)
   6731 	  LD="${LD-ld} -32"
   6732 	  ;;
   6733 	*N32*)
   6734 	  LD="${LD-ld} -n32"
   6735 	  ;;
   6736 	*64-bit*)
   6737 	  LD="${LD-ld} -64"
   6738 	  ;;
   6739       esac
   6740     fi
   6741   fi
   6742   rm -rf conftest*
   6743   ;;
   6744 
   6745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6747   # Find out which ABI we are using.
   6748   echo 'int i;' > conftest.$ac_ext
   6749   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6750   (eval $ac_compile) 2>&5
   6751   ac_status=$?
   6752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6753   test $ac_status = 0; }; then
   6754     case `/usr/bin/file conftest.o` in
   6755       *32-bit*)
   6756 	case $host in
   6757 	  x86_64-*kfreebsd*-gnu)
   6758 	    LD="${LD-ld} -m elf_i386_fbsd"
   6759 	    ;;
   6760 	  x86_64-*linux*)
   6761 	    LD="${LD-ld} -m elf_i386"
   6762 	    ;;
   6763 	  ppc64-*linux*|powerpc64-*linux*)
   6764 	    LD="${LD-ld} -m elf32ppclinux"
   6765 	    ;;
   6766 	  s390x-*linux*)
   6767 	    LD="${LD-ld} -m elf_s390"
   6768 	    ;;
   6769 	  sparc64-*linux*)
   6770 	    LD="${LD-ld} -m elf32_sparc"
   6771 	    ;;
   6772 	esac
   6773 	;;
   6774       *64-bit*)
   6775 	case $host in
   6776 	  x86_64-*kfreebsd*-gnu)
   6777 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6778 	    ;;
   6779 	  x86_64-*linux*)
   6780 	    LD="${LD-ld} -m elf_x86_64"
   6781 	    ;;
   6782 	  ppc*-*linux*|powerpc*-*linux*)
   6783 	    LD="${LD-ld} -m elf64ppc"
   6784 	    ;;
   6785 	  s390*-*linux*|s390*-*tpf*)
   6786 	    LD="${LD-ld} -m elf64_s390"
   6787 	    ;;
   6788 	  sparc*-*linux*)
   6789 	    LD="${LD-ld} -m elf64_sparc"
   6790 	    ;;
   6791 	esac
   6792 	;;
   6793     esac
   6794   fi
   6795   rm -rf conftest*
   6796   ;;
   6797 
   6798 *-*-sco3.2v5*)
   6799   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6800   SAVE_CFLAGS="$CFLAGS"
   6801   CFLAGS="$CFLAGS -belf"
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6803 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6804 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6805   $as_echo_n "(cached) " >&6
   6806 else
   6807   ac_ext=c
   6808 ac_cpp='$CPP $CPPFLAGS'
   6809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6812 
   6813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6814 /* end confdefs.h.  */
   6815 
   6816 int
   6817 main ()
   6818 {
   6819 
   6820   ;
   6821   return 0;
   6822 }
   6823 _ACEOF
   6824 if ac_fn_c_try_link "$LINENO"; then :
   6825   lt_cv_cc_needs_belf=yes
   6826 else
   6827   lt_cv_cc_needs_belf=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext \
   6830     conftest$ac_exeext conftest.$ac_ext
   6831      ac_ext=c
   6832 ac_cpp='$CPP $CPPFLAGS'
   6833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6836 
   6837 fi
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6839 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6840   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6841     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6842     CFLAGS="$SAVE_CFLAGS"
   6843   fi
   6844   ;;
   6845 sparc*-*solaris*)
   6846   # Find out which ABI we are using.
   6847   echo 'int i;' > conftest.$ac_ext
   6848   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6849   (eval $ac_compile) 2>&5
   6850   ac_status=$?
   6851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6852   test $ac_status = 0; }; then
   6853     case `/usr/bin/file conftest.o` in
   6854     *64-bit*)
   6855       case $lt_cv_prog_gnu_ld in
   6856       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6857       *)
   6858 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6859 	  LD="${LD-ld} -64"
   6860 	fi
   6861 	;;
   6862       esac
   6863       ;;
   6864     esac
   6865   fi
   6866   rm -rf conftest*
   6867   ;;
   6868 esac
   6869 
   6870 need_locks="$enable_libtool_lock"
   6871 
   6872 
   6873   case $host_os in
   6874     rhapsody* | darwin*)
   6875     if test -n "$ac_tool_prefix"; then
   6876   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6877 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6879 $as_echo_n "checking for $ac_word... " >&6; }
   6880 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6881   $as_echo_n "(cached) " >&6
   6882 else
   6883   if test -n "$DSYMUTIL"; then
   6884   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6885 else
   6886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6887 for as_dir in $PATH
   6888 do
   6889   IFS=$as_save_IFS
   6890   test -z "$as_dir" && as_dir=.
   6891     for ac_exec_ext in '' $ac_executable_extensions; do
   6892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6893     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6895     break 2
   6896   fi
   6897 done
   6898   done
   6899 IFS=$as_save_IFS
   6900 
   6901 fi
   6902 fi
   6903 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6904 if test -n "$DSYMUTIL"; then
   6905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6906 $as_echo "$DSYMUTIL" >&6; }
   6907 else
   6908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6909 $as_echo "no" >&6; }
   6910 fi
   6911 
   6912 
   6913 fi
   6914 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6915   ac_ct_DSYMUTIL=$DSYMUTIL
   6916   # Extract the first word of "dsymutil", so it can be a program name with args.
   6917 set dummy dsymutil; ac_word=$2
   6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6919 $as_echo_n "checking for $ac_word... " >&6; }
   6920 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6921   $as_echo_n "(cached) " >&6
   6922 else
   6923   if test -n "$ac_ct_DSYMUTIL"; then
   6924   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6925 else
   6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6927 for as_dir in $PATH
   6928 do
   6929   IFS=$as_save_IFS
   6930   test -z "$as_dir" && as_dir=.
   6931     for ac_exec_ext in '' $ac_executable_extensions; do
   6932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6933     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6935     break 2
   6936   fi
   6937 done
   6938   done
   6939 IFS=$as_save_IFS
   6940 
   6941 fi
   6942 fi
   6943 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6944 if test -n "$ac_ct_DSYMUTIL"; then
   6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6946 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6947 else
   6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6949 $as_echo "no" >&6; }
   6950 fi
   6951 
   6952   if test "x$ac_ct_DSYMUTIL" = x; then
   6953     DSYMUTIL=":"
   6954   else
   6955     case $cross_compiling:$ac_tool_warned in
   6956 yes:)
   6957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6959 ac_tool_warned=yes ;;
   6960 esac
   6961     DSYMUTIL=$ac_ct_DSYMUTIL
   6962   fi
   6963 else
   6964   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6965 fi
   6966 
   6967     if test -n "$ac_tool_prefix"; then
   6968   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6969 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6971 $as_echo_n "checking for $ac_word... " >&6; }
   6972 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6973   $as_echo_n "(cached) " >&6
   6974 else
   6975   if test -n "$NMEDIT"; then
   6976   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6977 else
   6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6979 for as_dir in $PATH
   6980 do
   6981   IFS=$as_save_IFS
   6982   test -z "$as_dir" && as_dir=.
   6983     for ac_exec_ext in '' $ac_executable_extensions; do
   6984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6985     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6987     break 2
   6988   fi
   6989 done
   6990   done
   6991 IFS=$as_save_IFS
   6992 
   6993 fi
   6994 fi
   6995 NMEDIT=$ac_cv_prog_NMEDIT
   6996 if test -n "$NMEDIT"; then
   6997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6998 $as_echo "$NMEDIT" >&6; }
   6999 else
   7000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7001 $as_echo "no" >&6; }
   7002 fi
   7003 
   7004 
   7005 fi
   7006 if test -z "$ac_cv_prog_NMEDIT"; then
   7007   ac_ct_NMEDIT=$NMEDIT
   7008   # Extract the first word of "nmedit", so it can be a program name with args.
   7009 set dummy nmedit; ac_word=$2
   7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7011 $as_echo_n "checking for $ac_word... " >&6; }
   7012 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   if test -n "$ac_ct_NMEDIT"; then
   7016   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7017 else
   7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7019 for as_dir in $PATH
   7020 do
   7021   IFS=$as_save_IFS
   7022   test -z "$as_dir" && as_dir=.
   7023     for ac_exec_ext in '' $ac_executable_extensions; do
   7024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7025     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7027     break 2
   7028   fi
   7029 done
   7030   done
   7031 IFS=$as_save_IFS
   7032 
   7033 fi
   7034 fi
   7035 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7036 if test -n "$ac_ct_NMEDIT"; then
   7037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7038 $as_echo "$ac_ct_NMEDIT" >&6; }
   7039 else
   7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7041 $as_echo "no" >&6; }
   7042 fi
   7043 
   7044   if test "x$ac_ct_NMEDIT" = x; then
   7045     NMEDIT=":"
   7046   else
   7047     case $cross_compiling:$ac_tool_warned in
   7048 yes:)
   7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7051 ac_tool_warned=yes ;;
   7052 esac
   7053     NMEDIT=$ac_ct_NMEDIT
   7054   fi
   7055 else
   7056   NMEDIT="$ac_cv_prog_NMEDIT"
   7057 fi
   7058 
   7059     if test -n "$ac_tool_prefix"; then
   7060   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7061 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7063 $as_echo_n "checking for $ac_word... " >&6; }
   7064 if test "${ac_cv_prog_LIPO+set}" = set; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   if test -n "$LIPO"; then
   7068   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7069 else
   7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7071 for as_dir in $PATH
   7072 do
   7073   IFS=$as_save_IFS
   7074   test -z "$as_dir" && as_dir=.
   7075     for ac_exec_ext in '' $ac_executable_extensions; do
   7076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7077     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7079     break 2
   7080   fi
   7081 done
   7082   done
   7083 IFS=$as_save_IFS
   7084 
   7085 fi
   7086 fi
   7087 LIPO=$ac_cv_prog_LIPO
   7088 if test -n "$LIPO"; then
   7089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7090 $as_echo "$LIPO" >&6; }
   7091 else
   7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7093 $as_echo "no" >&6; }
   7094 fi
   7095 
   7096 
   7097 fi
   7098 if test -z "$ac_cv_prog_LIPO"; then
   7099   ac_ct_LIPO=$LIPO
   7100   # Extract the first word of "lipo", so it can be a program name with args.
   7101 set dummy lipo; ac_word=$2
   7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7103 $as_echo_n "checking for $ac_word... " >&6; }
   7104 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   7105   $as_echo_n "(cached) " >&6
   7106 else
   7107   if test -n "$ac_ct_LIPO"; then
   7108   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7109 else
   7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7111 for as_dir in $PATH
   7112 do
   7113   IFS=$as_save_IFS
   7114   test -z "$as_dir" && as_dir=.
   7115     for ac_exec_ext in '' $ac_executable_extensions; do
   7116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7117     ac_cv_prog_ac_ct_LIPO="lipo"
   7118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7119     break 2
   7120   fi
   7121 done
   7122   done
   7123 IFS=$as_save_IFS
   7124 
   7125 fi
   7126 fi
   7127 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7128 if test -n "$ac_ct_LIPO"; then
   7129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7130 $as_echo "$ac_ct_LIPO" >&6; }
   7131 else
   7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7133 $as_echo "no" >&6; }
   7134 fi
   7135 
   7136   if test "x$ac_ct_LIPO" = x; then
   7137     LIPO=":"
   7138   else
   7139     case $cross_compiling:$ac_tool_warned in
   7140 yes:)
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7143 ac_tool_warned=yes ;;
   7144 esac
   7145     LIPO=$ac_ct_LIPO
   7146   fi
   7147 else
   7148   LIPO="$ac_cv_prog_LIPO"
   7149 fi
   7150 
   7151     if test -n "$ac_tool_prefix"; then
   7152   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7153 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7155 $as_echo_n "checking for $ac_word... " >&6; }
   7156 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7157   $as_echo_n "(cached) " >&6
   7158 else
   7159   if test -n "$OTOOL"; then
   7160   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7161 else
   7162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7163 for as_dir in $PATH
   7164 do
   7165   IFS=$as_save_IFS
   7166   test -z "$as_dir" && as_dir=.
   7167     for ac_exec_ext in '' $ac_executable_extensions; do
   7168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7169     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7171     break 2
   7172   fi
   7173 done
   7174   done
   7175 IFS=$as_save_IFS
   7176 
   7177 fi
   7178 fi
   7179 OTOOL=$ac_cv_prog_OTOOL
   7180 if test -n "$OTOOL"; then
   7181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7182 $as_echo "$OTOOL" >&6; }
   7183 else
   7184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7185 $as_echo "no" >&6; }
   7186 fi
   7187 
   7188 
   7189 fi
   7190 if test -z "$ac_cv_prog_OTOOL"; then
   7191   ac_ct_OTOOL=$OTOOL
   7192   # Extract the first word of "otool", so it can be a program name with args.
   7193 set dummy otool; ac_word=$2
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7195 $as_echo_n "checking for $ac_word... " >&6; }
   7196 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   if test -n "$ac_ct_OTOOL"; then
   7200   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7201 else
   7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7203 for as_dir in $PATH
   7204 do
   7205   IFS=$as_save_IFS
   7206   test -z "$as_dir" && as_dir=.
   7207     for ac_exec_ext in '' $ac_executable_extensions; do
   7208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7209     ac_cv_prog_ac_ct_OTOOL="otool"
   7210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7211     break 2
   7212   fi
   7213 done
   7214   done
   7215 IFS=$as_save_IFS
   7216 
   7217 fi
   7218 fi
   7219 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7220 if test -n "$ac_ct_OTOOL"; then
   7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7222 $as_echo "$ac_ct_OTOOL" >&6; }
   7223 else
   7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7225 $as_echo "no" >&6; }
   7226 fi
   7227 
   7228   if test "x$ac_ct_OTOOL" = x; then
   7229     OTOOL=":"
   7230   else
   7231     case $cross_compiling:$ac_tool_warned in
   7232 yes:)
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7235 ac_tool_warned=yes ;;
   7236 esac
   7237     OTOOL=$ac_ct_OTOOL
   7238   fi
   7239 else
   7240   OTOOL="$ac_cv_prog_OTOOL"
   7241 fi
   7242 
   7243     if test -n "$ac_tool_prefix"; then
   7244   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7245 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7247 $as_echo_n "checking for $ac_word... " >&6; }
   7248 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   if test -n "$OTOOL64"; then
   7252   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7253 else
   7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7255 for as_dir in $PATH
   7256 do
   7257   IFS=$as_save_IFS
   7258   test -z "$as_dir" && as_dir=.
   7259     for ac_exec_ext in '' $ac_executable_extensions; do
   7260   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7261     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7263     break 2
   7264   fi
   7265 done
   7266   done
   7267 IFS=$as_save_IFS
   7268 
   7269 fi
   7270 fi
   7271 OTOOL64=$ac_cv_prog_OTOOL64
   7272 if test -n "$OTOOL64"; then
   7273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7274 $as_echo "$OTOOL64" >&6; }
   7275 else
   7276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7277 $as_echo "no" >&6; }
   7278 fi
   7279 
   7280 
   7281 fi
   7282 if test -z "$ac_cv_prog_OTOOL64"; then
   7283   ac_ct_OTOOL64=$OTOOL64
   7284   # Extract the first word of "otool64", so it can be a program name with args.
   7285 set dummy otool64; ac_word=$2
   7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7287 $as_echo_n "checking for $ac_word... " >&6; }
   7288 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7289   $as_echo_n "(cached) " >&6
   7290 else
   7291   if test -n "$ac_ct_OTOOL64"; then
   7292   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7293 else
   7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7295 for as_dir in $PATH
   7296 do
   7297   IFS=$as_save_IFS
   7298   test -z "$as_dir" && as_dir=.
   7299     for ac_exec_ext in '' $ac_executable_extensions; do
   7300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7301     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7303     break 2
   7304   fi
   7305 done
   7306   done
   7307 IFS=$as_save_IFS
   7308 
   7309 fi
   7310 fi
   7311 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7312 if test -n "$ac_ct_OTOOL64"; then
   7313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7314 $as_echo "$ac_ct_OTOOL64" >&6; }
   7315 else
   7316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7317 $as_echo "no" >&6; }
   7318 fi
   7319 
   7320   if test "x$ac_ct_OTOOL64" = x; then
   7321     OTOOL64=":"
   7322   else
   7323     case $cross_compiling:$ac_tool_warned in
   7324 yes:)
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7327 ac_tool_warned=yes ;;
   7328 esac
   7329     OTOOL64=$ac_ct_OTOOL64
   7330   fi
   7331 else
   7332   OTOOL64="$ac_cv_prog_OTOOL64"
   7333 fi
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7362 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7363 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7364   $as_echo_n "(cached) " >&6
   7365 else
   7366   lt_cv_apple_cc_single_mod=no
   7367       if test -z "${LT_MULTI_MODULE}"; then
   7368 	# By default we will add the -single_module flag. You can override
   7369 	# by either setting the environment variable LT_MULTI_MODULE
   7370 	# non-empty at configure time, or by adding -multi_module to the
   7371 	# link flags.
   7372 	rm -rf libconftest.dylib*
   7373 	echo "int foo(void){return 1;}" > conftest.c
   7374 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7375 -dynamiclib -Wl,-single_module conftest.c" >&5
   7376 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7377 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7378         _lt_result=$?
   7379 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7380 	  lt_cv_apple_cc_single_mod=yes
   7381 	else
   7382 	  cat conftest.err >&5
   7383 	fi
   7384 	rm -rf libconftest.dylib*
   7385 	rm -f conftest.*
   7386       fi
   7387 fi
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7389 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7392 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395   lt_cv_ld_exported_symbols_list=no
   7396       save_LDFLAGS=$LDFLAGS
   7397       echo "_main" > conftest.sym
   7398       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7400 /* end confdefs.h.  */
   7401 
   7402 int
   7403 main ()
   7404 {
   7405 
   7406   ;
   7407   return 0;
   7408 }
   7409 _ACEOF
   7410 if ac_fn_c_try_link "$LINENO"; then :
   7411   lt_cv_ld_exported_symbols_list=yes
   7412 else
   7413   lt_cv_ld_exported_symbols_list=no
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext \
   7416     conftest$ac_exeext conftest.$ac_ext
   7417 	LDFLAGS="$save_LDFLAGS"
   7418 
   7419 fi
   7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7421 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7422     case $host_os in
   7423     rhapsody* | darwin1.[012])
   7424       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7425     darwin1.*)
   7426       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7427     darwin*) # darwin 5.x on
   7428       # if running on 10.5 or later, the deployment target defaults
   7429       # to the OS version, if on x86, and 10.4, the deployment
   7430       # target defaults to 10.4. Don't you love it?
   7431       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7432 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7433 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7434 	10.[012]*)
   7435 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7436 	10.*)
   7437 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7438       esac
   7439     ;;
   7440   esac
   7441     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7442       _lt_dar_single_mod='$single_module'
   7443     fi
   7444     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7445       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7446     else
   7447       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7448     fi
   7449     if test "$DSYMUTIL" != ":"; then
   7450       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7451     else
   7452       _lt_dsymutil=
   7453     fi
   7454     ;;
   7455   esac
   7456 
   7457 for ac_header in dlfcn.h
   7458 do :
   7459   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7460 "
   7461 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7462   cat >>confdefs.h <<_ACEOF
   7463 #define HAVE_DLFCN_H 1
   7464 _ACEOF
   7465 
   7466 fi
   7467 
   7468 done
   7469 
   7470 
   7471 
   7472 # Set options
   7473 
   7474 
   7475 
   7476         enable_dlopen=no
   7477 
   7478 
   7479   enable_win32_dll=no
   7480 
   7481 
   7482             # Check whether --enable-shared was given.
   7483 if test "${enable_shared+set}" = set; then :
   7484   enableval=$enable_shared; p=${PACKAGE-default}
   7485     case $enableval in
   7486     yes) enable_shared=yes ;;
   7487     no) enable_shared=no ;;
   7488     *)
   7489       enable_shared=no
   7490       # Look at the argument we got.  We use all the common list separators.
   7491       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7492       for pkg in $enableval; do
   7493 	IFS="$lt_save_ifs"
   7494 	if test "X$pkg" = "X$p"; then
   7495 	  enable_shared=yes
   7496 	fi
   7497       done
   7498       IFS="$lt_save_ifs"
   7499       ;;
   7500     esac
   7501 else
   7502   enable_shared=yes
   7503 fi
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 # Check whether --with-pic was given.
   7516 if test "${with_pic+set}" = set; then :
   7517   withval=$with_pic; pic_mode="$withval"
   7518 else
   7519   pic_mode=default
   7520 fi
   7521 
   7522 
   7523 test -z "$pic_mode" && pic_mode=default
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531   # Check whether --enable-fast-install was given.
   7532 if test "${enable_fast_install+set}" = set; then :
   7533   enableval=$enable_fast_install; p=${PACKAGE-default}
   7534     case $enableval in
   7535     yes) enable_fast_install=yes ;;
   7536     no) enable_fast_install=no ;;
   7537     *)
   7538       enable_fast_install=no
   7539       # Look at the argument we got.  We use all the common list separators.
   7540       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7541       for pkg in $enableval; do
   7542 	IFS="$lt_save_ifs"
   7543 	if test "X$pkg" = "X$p"; then
   7544 	  enable_fast_install=yes
   7545 	fi
   7546       done
   7547       IFS="$lt_save_ifs"
   7548       ;;
   7549     esac
   7550 else
   7551   enable_fast_install=yes
   7552 fi
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 # This can be used to rebuild libtool when needed
   7565 LIBTOOL_DEPS="$ltmain"
   7566 
   7567 # Always use our own libtool.
   7568 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 test -z "$LN_S" && LN_S="ln -s"
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 if test -n "${ZSH_VERSION+set}" ; then
   7610    setopt NO_GLOB_SUBST
   7611 fi
   7612 
   7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7614 $as_echo_n "checking for objdir... " >&6; }
   7615 if test "${lt_cv_objdir+set}" = set; then :
   7616   $as_echo_n "(cached) " >&6
   7617 else
   7618   rm -f .libs 2>/dev/null
   7619 mkdir .libs 2>/dev/null
   7620 if test -d .libs; then
   7621   lt_cv_objdir=.libs
   7622 else
   7623   # MS-DOS does not allow filenames that begin with a dot.
   7624   lt_cv_objdir=_libs
   7625 fi
   7626 rmdir .libs 2>/dev/null
   7627 fi
   7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7629 $as_echo "$lt_cv_objdir" >&6; }
   7630 objdir=$lt_cv_objdir
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 cat >>confdefs.h <<_ACEOF
   7637 #define LT_OBJDIR "$lt_cv_objdir/"
   7638 _ACEOF
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 case $host_os in
   7657 aix3*)
   7658   # AIX sometimes has problems with the GCC collect2 program.  For some
   7659   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7660   # vanish in a puff of smoke.
   7661   if test "X${COLLECT_NAMES+set}" != Xset; then
   7662     COLLECT_NAMES=
   7663     export COLLECT_NAMES
   7664   fi
   7665   ;;
   7666 esac
   7667 
   7668 # Sed substitution that helps us do robust quoting.  It backslashifies
   7669 # metacharacters that are still active within double-quoted strings.
   7670 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7671 
   7672 # Same as above, but do not quote variable references.
   7673 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7674 
   7675 # Sed substitution to delay expansion of an escaped shell variable in a
   7676 # double_quote_subst'ed string.
   7677 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7678 
   7679 # Sed substitution to delay expansion of an escaped single quote.
   7680 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7681 
   7682 # Sed substitution to avoid accidental globbing in evaled expressions
   7683 no_glob_subst='s/\*/\\\*/g'
   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 "X$cc_temp" | $Xsed -e 's%.*/%%' -e "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 test "${lt_cv_path_MAGIC_CMD+set}" = set; 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 test "${lt_cv_path_MAGIC_CMD+set}" = set; 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   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7919 
   7920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7921 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7922 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7923   $as_echo_n "(cached) " >&6
   7924 else
   7925   lt_cv_prog_compiler_rtti_exceptions=no
   7926    ac_outfile=conftest.$ac_objext
   7927    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7928    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7929    # Insert the option either (1) after the last *FLAGS variable, or
   7930    # (2) before a word containing "conftest.", or (3) at the end.
   7931    # Note that $ac_compile itself does not contain backslashes and begins
   7932    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7933    # The option is referenced via a variable to avoid confusing sed.
   7934    lt_compile=`echo "$ac_compile" | $SED \
   7935    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7936    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7937    -e 's:$: $lt_compiler_flag:'`
   7938    (eval echo "\"\$as_me:7938: $lt_compile\"" >&5)
   7939    (eval "$lt_compile" 2>conftest.err)
   7940    ac_status=$?
   7941    cat conftest.err >&5
   7942    echo "$as_me:7942: \$? = $ac_status" >&5
   7943    if (exit $ac_status) && test -s "$ac_outfile"; then
   7944      # The compiler can only warn and ignore the option if not recognized
   7945      # So say no if there are warnings other than the usual output.
   7946      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7947      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7948      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7949        lt_cv_prog_compiler_rtti_exceptions=yes
   7950      fi
   7951    fi
   7952    $RM conftest*
   7953 
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7956 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7957 
   7958 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7959     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7960 else
   7961     :
   7962 fi
   7963 
   7964 fi
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971   lt_prog_compiler_wl=
   7972 lt_prog_compiler_pic=
   7973 lt_prog_compiler_static=
   7974 
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7976 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7977 
   7978   if test "$GCC" = yes; then
   7979     lt_prog_compiler_wl='-Wl,'
   7980     lt_prog_compiler_static='-static'
   7981 
   7982     case $host_os in
   7983       aix*)
   7984       # All AIX code is PIC.
   7985       if test "$host_cpu" = ia64; then
   7986 	# AIX 5 now supports IA64 processor
   7987 	lt_prog_compiler_static='-Bstatic'
   7988       fi
   7989       ;;
   7990 
   7991     amigaos*)
   7992       case $host_cpu in
   7993       powerpc)
   7994             # see comment about AmigaOS4 .so support
   7995             lt_prog_compiler_pic='-fPIC'
   7996         ;;
   7997       m68k)
   7998             # FIXME: we need at least 68020 code to build shared libraries, but
   7999             # adding the `-m68020' flag to GCC prevents building anything better,
   8000             # like `-m68040'.
   8001             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8002         ;;
   8003       esac
   8004       ;;
   8005 
   8006     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8007       # PIC is the default for these OSes.
   8008       ;;
   8009 
   8010     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8011       # This hack is so that the source file can tell whether it is being
   8012       # built for inclusion in a dll (and should export symbols for example).
   8013       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8014       # (--disable-auto-import) libraries
   8015       lt_prog_compiler_pic='-DDLL_EXPORT'
   8016       ;;
   8017 
   8018     darwin* | rhapsody*)
   8019       # PIC is the default on this platform
   8020       # Common symbols not allowed in MH_DYLIB files
   8021       lt_prog_compiler_pic='-fno-common'
   8022       ;;
   8023 
   8024     hpux*)
   8025       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8026       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8027       # sets the default TLS model and affects inlining.
   8028       case $host_cpu in
   8029       hppa*64*)
   8030 	# +Z the default
   8031 	;;
   8032       *)
   8033 	lt_prog_compiler_pic='-fPIC'
   8034 	;;
   8035       esac
   8036       ;;
   8037 
   8038     interix[3-9]*)
   8039       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8040       # Instead, we relocate shared libraries at runtime.
   8041       ;;
   8042 
   8043     msdosdjgpp*)
   8044       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8045       # on systems that don't support them.
   8046       lt_prog_compiler_can_build_shared=no
   8047       enable_shared=no
   8048       ;;
   8049 
   8050     *nto* | *qnx*)
   8051       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8052       # it will coredump.
   8053       lt_prog_compiler_pic='-fPIC -shared'
   8054       ;;
   8055 
   8056     sysv4*MP*)
   8057       if test -d /usr/nec; then
   8058 	lt_prog_compiler_pic=-Kconform_pic
   8059       fi
   8060       ;;
   8061 
   8062     *)
   8063       lt_prog_compiler_pic='-fPIC'
   8064       ;;
   8065     esac
   8066   else
   8067     # PORTME Check for flag to pass linker flags through the system compiler.
   8068     case $host_os in
   8069     aix*)
   8070       lt_prog_compiler_wl='-Wl,'
   8071       if test "$host_cpu" = ia64; then
   8072 	# AIX 5 now supports IA64 processor
   8073 	lt_prog_compiler_static='-Bstatic'
   8074       else
   8075 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8076       fi
   8077       ;;
   8078 
   8079     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8080       # This hack is so that the source file can tell whether it is being
   8081       # built for inclusion in a dll (and should export symbols for example).
   8082       lt_prog_compiler_pic='-DDLL_EXPORT'
   8083       ;;
   8084 
   8085     hpux9* | hpux10* | hpux11*)
   8086       lt_prog_compiler_wl='-Wl,'
   8087       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8088       # not for PA HP-UX.
   8089       case $host_cpu in
   8090       hppa*64*|ia64*)
   8091 	# +Z the default
   8092 	;;
   8093       *)
   8094 	lt_prog_compiler_pic='+Z'
   8095 	;;
   8096       esac
   8097       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8098       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8099       ;;
   8100 
   8101     irix5* | irix6* | nonstopux*)
   8102       lt_prog_compiler_wl='-Wl,'
   8103       # PIC (with -KPIC) is the default.
   8104       lt_prog_compiler_static='-non_shared'
   8105       ;;
   8106 
   8107     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8108       case $cc_basename in
   8109       # old Intel for x86_64 which still supported -KPIC.
   8110       ecc*)
   8111 	lt_prog_compiler_wl='-Wl,'
   8112 	lt_prog_compiler_pic='-KPIC'
   8113 	lt_prog_compiler_static='-static'
   8114         ;;
   8115       # icc used to be incompatible with GCC.
   8116       # ICC 10 doesn't accept -KPIC any more.
   8117       icc* | ifort*)
   8118 	lt_prog_compiler_wl='-Wl,'
   8119 	lt_prog_compiler_pic='-fPIC'
   8120 	lt_prog_compiler_static='-static'
   8121         ;;
   8122       # Lahey Fortran 8.1.
   8123       lf95*)
   8124 	lt_prog_compiler_wl='-Wl,'
   8125 	lt_prog_compiler_pic='--shared'
   8126 	lt_prog_compiler_static='--static'
   8127 	;;
   8128       pgcc* | pgf77* | pgf90* | pgf95*)
   8129         # Portland Group compilers (*not* the Pentium gcc compiler,
   8130 	# which looks to be a dead project)
   8131 	lt_prog_compiler_wl='-Wl,'
   8132 	lt_prog_compiler_pic='-fpic'
   8133 	lt_prog_compiler_static='-Bstatic'
   8134         ;;
   8135       ccc*)
   8136         lt_prog_compiler_wl='-Wl,'
   8137         # All Alpha code is PIC.
   8138         lt_prog_compiler_static='-non_shared'
   8139         ;;
   8140       xl*)
   8141 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8142 	lt_prog_compiler_wl='-Wl,'
   8143 	lt_prog_compiler_pic='-qpic'
   8144 	lt_prog_compiler_static='-qstaticlink'
   8145 	;;
   8146       *)
   8147 	case `$CC -V 2>&1 | sed 5q` in
   8148 	*Sun\ C*)
   8149 	  # Sun C 5.9
   8150 	  lt_prog_compiler_pic='-KPIC'
   8151 	  lt_prog_compiler_static='-Bstatic'
   8152 	  lt_prog_compiler_wl='-Wl,'
   8153 	  ;;
   8154 	*Sun\ F*)
   8155 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8156 	  lt_prog_compiler_pic='-KPIC'
   8157 	  lt_prog_compiler_static='-Bstatic'
   8158 	  lt_prog_compiler_wl=''
   8159 	  ;;
   8160 	esac
   8161 	;;
   8162       esac
   8163       ;;
   8164 
   8165     newsos6)
   8166       lt_prog_compiler_pic='-KPIC'
   8167       lt_prog_compiler_static='-Bstatic'
   8168       ;;
   8169 
   8170     *nto* | *qnx*)
   8171       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8172       # it will coredump.
   8173       lt_prog_compiler_pic='-fPIC -shared'
   8174       ;;
   8175 
   8176     osf3* | osf4* | osf5*)
   8177       lt_prog_compiler_wl='-Wl,'
   8178       # All OSF/1 code is PIC.
   8179       lt_prog_compiler_static='-non_shared'
   8180       ;;
   8181 
   8182     rdos*)
   8183       lt_prog_compiler_static='-non_shared'
   8184       ;;
   8185 
   8186     solaris*)
   8187       lt_prog_compiler_pic='-KPIC'
   8188       lt_prog_compiler_static='-Bstatic'
   8189       case $cc_basename in
   8190       f77* | f90* | f95*)
   8191 	lt_prog_compiler_wl='-Qoption ld ';;
   8192       *)
   8193 	lt_prog_compiler_wl='-Wl,';;
   8194       esac
   8195       ;;
   8196 
   8197     sunos4*)
   8198       lt_prog_compiler_wl='-Qoption ld '
   8199       lt_prog_compiler_pic='-PIC'
   8200       lt_prog_compiler_static='-Bstatic'
   8201       ;;
   8202 
   8203     sysv4 | sysv4.2uw2* | sysv4.3*)
   8204       lt_prog_compiler_wl='-Wl,'
   8205       lt_prog_compiler_pic='-KPIC'
   8206       lt_prog_compiler_static='-Bstatic'
   8207       ;;
   8208 
   8209     sysv4*MP*)
   8210       if test -d /usr/nec ;then
   8211 	lt_prog_compiler_pic='-Kconform_pic'
   8212 	lt_prog_compiler_static='-Bstatic'
   8213       fi
   8214       ;;
   8215 
   8216     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8217       lt_prog_compiler_wl='-Wl,'
   8218       lt_prog_compiler_pic='-KPIC'
   8219       lt_prog_compiler_static='-Bstatic'
   8220       ;;
   8221 
   8222     unicos*)
   8223       lt_prog_compiler_wl='-Wl,'
   8224       lt_prog_compiler_can_build_shared=no
   8225       ;;
   8226 
   8227     uts4*)
   8228       lt_prog_compiler_pic='-pic'
   8229       lt_prog_compiler_static='-Bstatic'
   8230       ;;
   8231 
   8232     *)
   8233       lt_prog_compiler_can_build_shared=no
   8234       ;;
   8235     esac
   8236   fi
   8237 
   8238 case $host_os in
   8239   # For platforms which do not support PIC, -DPIC is meaningless:
   8240   *djgpp*)
   8241     lt_prog_compiler_pic=
   8242     ;;
   8243   *)
   8244     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8245     ;;
   8246 esac
   8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8248 $as_echo "$lt_prog_compiler_pic" >&6; }
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 #
   8256 # Check to make sure the PIC flag actually works.
   8257 #
   8258 if test -n "$lt_prog_compiler_pic"; then
   8259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8260 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8261 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8262   $as_echo_n "(cached) " >&6
   8263 else
   8264   lt_cv_prog_compiler_pic_works=no
   8265    ac_outfile=conftest.$ac_objext
   8266    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8267    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8268    # Insert the option either (1) after the last *FLAGS variable, or
   8269    # (2) before a word containing "conftest.", or (3) at the end.
   8270    # Note that $ac_compile itself does not contain backslashes and begins
   8271    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8272    # The option is referenced via a variable to avoid confusing sed.
   8273    lt_compile=`echo "$ac_compile" | $SED \
   8274    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8275    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8276    -e 's:$: $lt_compiler_flag:'`
   8277    (eval echo "\"\$as_me:8277: $lt_compile\"" >&5)
   8278    (eval "$lt_compile" 2>conftest.err)
   8279    ac_status=$?
   8280    cat conftest.err >&5
   8281    echo "$as_me:8281: \$? = $ac_status" >&5
   8282    if (exit $ac_status) && test -s "$ac_outfile"; then
   8283      # The compiler can only warn and ignore the option if not recognized
   8284      # So say no if there are warnings other than the usual output.
   8285      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8286      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8287      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8288        lt_cv_prog_compiler_pic_works=yes
   8289      fi
   8290    fi
   8291    $RM conftest*
   8292 
   8293 fi
   8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8295 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8296 
   8297 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8298     case $lt_prog_compiler_pic in
   8299      "" | " "*) ;;
   8300      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8301      esac
   8302 else
   8303     lt_prog_compiler_pic=
   8304      lt_prog_compiler_can_build_shared=no
   8305 fi
   8306 
   8307 fi
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 #
   8315 # Check to make sure the static flag actually works.
   8316 #
   8317 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8319 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8320 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8321   $as_echo_n "(cached) " >&6
   8322 else
   8323   lt_cv_prog_compiler_static_works=no
   8324    save_LDFLAGS="$LDFLAGS"
   8325    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8326    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8327    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8328      # The linker can only warn and ignore the option if not recognized
   8329      # So say no if there are warnings
   8330      if test -s conftest.err; then
   8331        # Append any errors to the config.log.
   8332        cat conftest.err 1>&5
   8333        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8334        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8335        if diff conftest.exp conftest.er2 >/dev/null; then
   8336          lt_cv_prog_compiler_static_works=yes
   8337        fi
   8338      else
   8339        lt_cv_prog_compiler_static_works=yes
   8340      fi
   8341    fi
   8342    $RM -r conftest*
   8343    LDFLAGS="$save_LDFLAGS"
   8344 
   8345 fi
   8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8347 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8348 
   8349 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8350     :
   8351 else
   8352     lt_prog_compiler_static=
   8353 fi
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8362 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8363 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8364   $as_echo_n "(cached) " >&6
   8365 else
   8366   lt_cv_prog_compiler_c_o=no
   8367    $RM -r conftest 2>/dev/null
   8368    mkdir conftest
   8369    cd conftest
   8370    mkdir out
   8371    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8372 
   8373    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8374    # Insert the option either (1) after the last *FLAGS variable, or
   8375    # (2) before a word containing "conftest.", or (3) at the end.
   8376    # Note that $ac_compile itself does not contain backslashes and begins
   8377    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8378    lt_compile=`echo "$ac_compile" | $SED \
   8379    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8380    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8381    -e 's:$: $lt_compiler_flag:'`
   8382    (eval echo "\"\$as_me:8382: $lt_compile\"" >&5)
   8383    (eval "$lt_compile" 2>out/conftest.err)
   8384    ac_status=$?
   8385    cat out/conftest.err >&5
   8386    echo "$as_me:8386: \$? = $ac_status" >&5
   8387    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8388    then
   8389      # The compiler can only warn and ignore the option if not recognized
   8390      # So say no if there are warnings
   8391      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8392      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8393      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8394        lt_cv_prog_compiler_c_o=yes
   8395      fi
   8396    fi
   8397    chmod u+w . 2>&5
   8398    $RM conftest*
   8399    # SGI C++ compiler will create directory out/ii_files/ for
   8400    # template instantiation
   8401    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8402    $RM out/* && rmdir out
   8403    cd ..
   8404    $RM -r conftest
   8405    $RM conftest*
   8406 
   8407 fi
   8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8409 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8417 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8418 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8419   $as_echo_n "(cached) " >&6
   8420 else
   8421   lt_cv_prog_compiler_c_o=no
   8422    $RM -r conftest 2>/dev/null
   8423    mkdir conftest
   8424    cd conftest
   8425    mkdir out
   8426    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8427 
   8428    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8429    # Insert the option either (1) after the last *FLAGS variable, or
   8430    # (2) before a word containing "conftest.", or (3) at the end.
   8431    # Note that $ac_compile itself does not contain backslashes and begins
   8432    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8433    lt_compile=`echo "$ac_compile" | $SED \
   8434    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8435    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8436    -e 's:$: $lt_compiler_flag:'`
   8437    (eval echo "\"\$as_me:8437: $lt_compile\"" >&5)
   8438    (eval "$lt_compile" 2>out/conftest.err)
   8439    ac_status=$?
   8440    cat out/conftest.err >&5
   8441    echo "$as_me:8441: \$? = $ac_status" >&5
   8442    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8443    then
   8444      # The compiler can only warn and ignore the option if not recognized
   8445      # So say no if there are warnings
   8446      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8447      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8448      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8449        lt_cv_prog_compiler_c_o=yes
   8450      fi
   8451    fi
   8452    chmod u+w . 2>&5
   8453    $RM conftest*
   8454    # SGI C++ compiler will create directory out/ii_files/ for
   8455    # template instantiation
   8456    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8457    $RM out/* && rmdir out
   8458    cd ..
   8459    $RM -r conftest
   8460    $RM conftest*
   8461 
   8462 fi
   8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8464 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8465 
   8466 
   8467 
   8468 
   8469 hard_links="nottested"
   8470 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8471   # do not overwrite the value of need_locks provided by the user
   8472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8473 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8474   hard_links=yes
   8475   $RM conftest*
   8476   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8477   touch conftest.a
   8478   ln conftest.a conftest.b 2>&5 || hard_links=no
   8479   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8481 $as_echo "$hard_links" >&6; }
   8482   if test "$hard_links" = no; then
   8483     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8484 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8485     need_locks=warn
   8486   fi
   8487 else
   8488   need_locks=no
   8489 fi
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8497 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8498 
   8499   runpath_var=
   8500   allow_undefined_flag=
   8501   always_export_symbols=no
   8502   archive_cmds=
   8503   archive_expsym_cmds=
   8504   compiler_needs_object=no
   8505   enable_shared_with_static_runtimes=no
   8506   export_dynamic_flag_spec=
   8507   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8508   hardcode_automatic=no
   8509   hardcode_direct=no
   8510   hardcode_direct_absolute=no
   8511   hardcode_libdir_flag_spec=
   8512   hardcode_libdir_flag_spec_ld=
   8513   hardcode_libdir_separator=
   8514   hardcode_minus_L=no
   8515   hardcode_shlibpath_var=unsupported
   8516   inherit_rpath=no
   8517   link_all_deplibs=unknown
   8518   module_cmds=
   8519   module_expsym_cmds=
   8520   old_archive_from_new_cmds=
   8521   old_archive_from_expsyms_cmds=
   8522   thread_safe_flag_spec=
   8523   whole_archive_flag_spec=
   8524   # include_expsyms should be a list of space-separated symbols to be *always*
   8525   # included in the symbol list
   8526   include_expsyms=
   8527   # exclude_expsyms can be an extended regexp of symbols to exclude
   8528   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8529   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8530   # as well as any symbol that contains `d'.
   8531   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8532   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8533   # platforms (ab)use it in PIC code, but their linkers get confused if
   8534   # the symbol is explicitly referenced.  Since portable code cannot
   8535   # rely on this symbol name, it's probably fine to never include it in
   8536   # preloaded symbol tables.
   8537   # Exclude shared library initialization/finalization symbols.
   8538   extract_expsyms_cmds=
   8539 
   8540   case $host_os in
   8541   cygwin* | mingw* | pw32* | cegcc*)
   8542     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8543     # When not using gcc, we currently assume that we are using
   8544     # Microsoft Visual C++.
   8545     if test "$GCC" != yes; then
   8546       with_gnu_ld=no
   8547     fi
   8548     ;;
   8549   interix*)
   8550     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8551     with_gnu_ld=yes
   8552     ;;
   8553   openbsd*)
   8554     with_gnu_ld=no
   8555     ;;
   8556   linux* | k*bsd*-gnu)
   8557     link_all_deplibs=no
   8558     ;;
   8559   esac
   8560 
   8561   ld_shlibs=yes
   8562   if test "$with_gnu_ld" = yes; then
   8563     # If archive_cmds runs LD, not CC, wlarc should be empty
   8564     wlarc='${wl}'
   8565 
   8566     # Set some defaults for GNU ld with shared library support. These
   8567     # are reset later if shared libraries are not supported. Putting them
   8568     # here allows them to be overridden if necessary.
   8569     runpath_var=LD_RUN_PATH
   8570     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8571     export_dynamic_flag_spec='${wl}--export-dynamic'
   8572     # ancient GNU ld didn't support --whole-archive et. al.
   8573     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8574       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8575     else
   8576       whole_archive_flag_spec=
   8577     fi
   8578     supports_anon_versioning=no
   8579     case `$LD -v 2>&1` in
   8580       *GNU\ gold*) supports_anon_versioning=yes ;;
   8581       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8582       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8583       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8584       *\ 2.11.*) ;; # other 2.11 versions
   8585       *) supports_anon_versioning=yes ;;
   8586     esac
   8587 
   8588     # See if GNU ld supports shared libraries.
   8589     case $host_os in
   8590     aix[3-9]*)
   8591       # On AIX/PPC, the GNU linker is very broken
   8592       if test "$host_cpu" != ia64; then
   8593 	ld_shlibs=no
   8594 	cat <<_LT_EOF 1>&2
   8595 
   8596 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8597 *** to be unable to reliably create shared libraries on AIX.
   8598 *** Therefore, libtool is disabling shared libraries support.  If you
   8599 *** really care for shared libraries, you may want to modify your PATH
   8600 *** so that a non-GNU linker is found, and then restart.
   8601 
   8602 _LT_EOF
   8603       fi
   8604       ;;
   8605 
   8606     amigaos*)
   8607       case $host_cpu in
   8608       powerpc)
   8609             # see comment about AmigaOS4 .so support
   8610             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8611             archive_expsym_cmds=''
   8612         ;;
   8613       m68k)
   8614             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)'
   8615             hardcode_libdir_flag_spec='-L$libdir'
   8616             hardcode_minus_L=yes
   8617         ;;
   8618       esac
   8619       ;;
   8620 
   8621     beos*)
   8622       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8623 	allow_undefined_flag=unsupported
   8624 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8625 	# support --undefined.  This deserves some investigation.  FIXME
   8626 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8627       else
   8628 	ld_shlibs=no
   8629       fi
   8630       ;;
   8631 
   8632     cygwin* | mingw* | pw32* | cegcc*)
   8633       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8634       # as there is no search path for DLLs.
   8635       hardcode_libdir_flag_spec='-L$libdir'
   8636       allow_undefined_flag=unsupported
   8637       always_export_symbols=no
   8638       enable_shared_with_static_runtimes=yes
   8639       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8640 
   8641       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8642         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8643 	# If the export-symbols file already is a .def file (1st line
   8644 	# is EXPORTS), use it as is; otherwise, prepend...
   8645 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8646 	  cp $export_symbols $output_objdir/$soname.def;
   8647 	else
   8648 	  echo EXPORTS > $output_objdir/$soname.def;
   8649 	  cat $export_symbols >> $output_objdir/$soname.def;
   8650 	fi~
   8651 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8652       else
   8653 	ld_shlibs=no
   8654       fi
   8655       ;;
   8656 
   8657     interix[3-9]*)
   8658       hardcode_direct=no
   8659       hardcode_shlibpath_var=no
   8660       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8661       export_dynamic_flag_spec='${wl}-E'
   8662       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8663       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8664       # default) and relocated if they conflict, which is a slow very memory
   8665       # consuming and fragmenting process.  To avoid this, we pick a random,
   8666       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8667       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8668       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8669       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'
   8670       ;;
   8671 
   8672     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8673       tmp_diet=no
   8674       if test "$host_os" = linux-dietlibc; then
   8675 	case $cc_basename in
   8676 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8677 	esac
   8678       fi
   8679       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8680 	 && test "$tmp_diet" = no
   8681       then
   8682 	tmp_addflag=
   8683 	tmp_sharedflag='-shared'
   8684 	case $cc_basename,$host_cpu in
   8685         pgcc*)				# Portland Group C compiler
   8686 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8687 	  tmp_addflag=' $pic_flag'
   8688 	  ;;
   8689 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8690 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8691 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8692 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8693 	  tmp_addflag=' -i_dynamic' ;;
   8694 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8695 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8696 	ifc* | ifort*)			# Intel Fortran compiler
   8697 	  tmp_addflag=' -nofor_main' ;;
   8698 	lf95*)				# Lahey Fortran 8.1
   8699 	  whole_archive_flag_spec=
   8700 	  tmp_sharedflag='--shared' ;;
   8701 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8702 	  tmp_sharedflag='-qmkshrobj'
   8703 	  tmp_addflag= ;;
   8704 	esac
   8705 	case `$CC -V 2>&1 | sed 5q` in
   8706 	*Sun\ C*)			# Sun C 5.9
   8707 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   8708 	  compiler_needs_object=yes
   8709 	  tmp_sharedflag='-G' ;;
   8710 	*Sun\ F*)			# Sun Fortran 8.3
   8711 	  tmp_sharedflag='-G' ;;
   8712 	esac
   8713 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8714 
   8715         if test "x$supports_anon_versioning" = xyes; then
   8716           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8717 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8718 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8719 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8720         fi
   8721 
   8722 	case $cc_basename in
   8723 	xlf*)
   8724 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8725 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8726 	  hardcode_libdir_flag_spec=
   8727 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8728 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8729 	  if test "x$supports_anon_versioning" = xyes; then
   8730 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8731 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8732 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8733 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8734 	  fi
   8735 	  ;;
   8736 	esac
   8737       else
   8738         ld_shlibs=no
   8739       fi
   8740       ;;
   8741 
   8742     netbsd* | netbsdelf*-gnu)
   8743       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8744 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8745 	wlarc=
   8746       else
   8747 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8748 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8749       fi
   8750       ;;
   8751 
   8752     solaris*)
   8753       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8754 	ld_shlibs=no
   8755 	cat <<_LT_EOF 1>&2
   8756 
   8757 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8758 *** create shared libraries on Solaris systems.  Therefore, libtool
   8759 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8760 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8761 *** your PATH or compiler configuration so that the native linker is
   8762 *** used, and then restart.
   8763 
   8764 _LT_EOF
   8765       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8766 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8767 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8768       else
   8769 	ld_shlibs=no
   8770       fi
   8771       ;;
   8772 
   8773     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8774       case `$LD -v 2>&1` in
   8775         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8776 	ld_shlibs=no
   8777 	cat <<_LT_EOF 1>&2
   8778 
   8779 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8780 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8781 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8782 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8783 *** your PATH or compiler configuration so that the native linker is
   8784 *** used, and then restart.
   8785 
   8786 _LT_EOF
   8787 	;;
   8788 	*)
   8789 	  # For security reasons, it is highly recommended that you always
   8790 	  # use absolute paths for naming shared libraries, and exclude the
   8791 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8792 	  # requires that you compile everything twice, which is a pain.
   8793 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8794 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8795 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8796 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8797 	  else
   8798 	    ld_shlibs=no
   8799 	  fi
   8800 	;;
   8801       esac
   8802       ;;
   8803 
   8804     sunos4*)
   8805       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8806       wlarc=
   8807       hardcode_direct=yes
   8808       hardcode_shlibpath_var=no
   8809       ;;
   8810 
   8811     *)
   8812       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8813 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8814 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8815       else
   8816 	ld_shlibs=no
   8817       fi
   8818       ;;
   8819     esac
   8820 
   8821     if test "$ld_shlibs" = no; then
   8822       runpath_var=
   8823       hardcode_libdir_flag_spec=
   8824       export_dynamic_flag_spec=
   8825       whole_archive_flag_spec=
   8826     fi
   8827   else
   8828     # PORTME fill in a description of your system's linker (not GNU ld)
   8829     case $host_os in
   8830     aix3*)
   8831       allow_undefined_flag=unsupported
   8832       always_export_symbols=yes
   8833       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'
   8834       # Note: this linker hardcodes the directories in LIBPATH if there
   8835       # are no directories specified by -L.
   8836       hardcode_minus_L=yes
   8837       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8838 	# Neither direct hardcoding nor static linking is supported with a
   8839 	# broken collect2.
   8840 	hardcode_direct=unsupported
   8841       fi
   8842       ;;
   8843 
   8844     aix[4-9]*)
   8845       if test "$host_cpu" = ia64; then
   8846 	# On IA64, the linker does run time linking by default, so we don't
   8847 	# have to do anything special.
   8848 	aix_use_runtimelinking=no
   8849 	exp_sym_flag='-Bexport'
   8850 	no_entry_flag=""
   8851       else
   8852 	# If we're using GNU nm, then we don't want the "-C" option.
   8853 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8854 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8855 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8856 	else
   8857 	  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'
   8858 	fi
   8859 	aix_use_runtimelinking=no
   8860 
   8861 	# Test if we are trying to use run time linking or normal
   8862 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8863 	# need to do runtime linking.
   8864 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8865 	  for ld_flag in $LDFLAGS; do
   8866 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8867 	    aix_use_runtimelinking=yes
   8868 	    break
   8869 	  fi
   8870 	  done
   8871 	  ;;
   8872 	esac
   8873 
   8874 	exp_sym_flag='-bexport'
   8875 	no_entry_flag='-bnoentry'
   8876       fi
   8877 
   8878       # When large executables or shared objects are built, AIX ld can
   8879       # have problems creating the table of contents.  If linking a library
   8880       # or program results in "error TOC overflow" add -mminimal-toc to
   8881       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8882       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8883 
   8884       archive_cmds=''
   8885       hardcode_direct=yes
   8886       hardcode_direct_absolute=yes
   8887       hardcode_libdir_separator=':'
   8888       link_all_deplibs=yes
   8889       file_list_spec='${wl}-f,'
   8890 
   8891       if test "$GCC" = yes; then
   8892 	case $host_os in aix4.[012]|aix4.[012].*)
   8893 	# We only want to do this on AIX 4.2 and lower, the check
   8894 	# below for broken collect2 doesn't work under 4.3+
   8895 	  collect2name=`${CC} -print-prog-name=collect2`
   8896 	  if test -f "$collect2name" &&
   8897 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8898 	  then
   8899 	  # We have reworked collect2
   8900 	  :
   8901 	  else
   8902 	  # We have old collect2
   8903 	  hardcode_direct=unsupported
   8904 	  # It fails to find uninstalled libraries when the uninstalled
   8905 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8906 	  # to unsupported forces relinking
   8907 	  hardcode_minus_L=yes
   8908 	  hardcode_libdir_flag_spec='-L$libdir'
   8909 	  hardcode_libdir_separator=
   8910 	  fi
   8911 	  ;;
   8912 	esac
   8913 	shared_flag='-shared'
   8914 	if test "$aix_use_runtimelinking" = yes; then
   8915 	  shared_flag="$shared_flag "'${wl}-G'
   8916 	fi
   8917 	link_all_deplibs=no
   8918       else
   8919 	# not using gcc
   8920 	if test "$host_cpu" = ia64; then
   8921 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8922 	# chokes on -Wl,-G. The following line is correct:
   8923 	  shared_flag='-G'
   8924 	else
   8925 	  if test "$aix_use_runtimelinking" = yes; then
   8926 	    shared_flag='${wl}-G'
   8927 	  else
   8928 	    shared_flag='${wl}-bM:SRE'
   8929 	  fi
   8930 	fi
   8931       fi
   8932 
   8933       export_dynamic_flag_spec='${wl}-bexpall'
   8934       # It seems that -bexpall does not export symbols beginning with
   8935       # underscore (_), so it is better to generate a list of symbols to export.
   8936       always_export_symbols=yes
   8937       if test "$aix_use_runtimelinking" = yes; then
   8938 	# Warning - without using the other runtime loading flags (-brtl),
   8939 	# -berok will link without error, but may produce a broken library.
   8940 	allow_undefined_flag='-berok'
   8941         # Determine the default libpath from the value encoded in an
   8942         # empty executable.
   8943         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8944 /* end confdefs.h.  */
   8945 
   8946 int
   8947 main ()
   8948 {
   8949 
   8950   ;
   8951   return 0;
   8952 }
   8953 _ACEOF
   8954 if ac_fn_c_try_link "$LINENO"; then :
   8955 
   8956 lt_aix_libpath_sed='
   8957     /Import File Strings/,/^$/ {
   8958 	/^0/ {
   8959 	    s/^0  *\(.*\)$/\1/
   8960 	    p
   8961 	}
   8962     }'
   8963 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8964 # Check for a 64-bit object if we didn't find anything.
   8965 if test -z "$aix_libpath"; then
   8966   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8967 fi
   8968 fi
   8969 rm -f core conftest.err conftest.$ac_objext \
   8970     conftest$ac_exeext conftest.$ac_ext
   8971 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8972 
   8973         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8974         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8975       else
   8976 	if test "$host_cpu" = ia64; then
   8977 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8978 	  allow_undefined_flag="-z nodefs"
   8979 	  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"
   8980 	else
   8981 	 # Determine the default libpath from the value encoded in an
   8982 	 # empty executable.
   8983 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8984 /* end confdefs.h.  */
   8985 
   8986 int
   8987 main ()
   8988 {
   8989 
   8990   ;
   8991   return 0;
   8992 }
   8993 _ACEOF
   8994 if ac_fn_c_try_link "$LINENO"; then :
   8995 
   8996 lt_aix_libpath_sed='
   8997     /Import File Strings/,/^$/ {
   8998 	/^0/ {
   8999 	    s/^0  *\(.*\)$/\1/
   9000 	    p
   9001 	}
   9002     }'
   9003 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9004 # Check for a 64-bit object if we didn't find anything.
   9005 if test -z "$aix_libpath"; then
   9006   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9007 fi
   9008 fi
   9009 rm -f core conftest.err conftest.$ac_objext \
   9010     conftest$ac_exeext conftest.$ac_ext
   9011 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9012 
   9013 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9014 	  # Warning - without using the other run time loading flags,
   9015 	  # -berok will link without error, but may produce a broken library.
   9016 	  no_undefined_flag=' ${wl}-bernotok'
   9017 	  allow_undefined_flag=' ${wl}-berok'
   9018 	  # Exported symbols can be pulled into shared objects from archives
   9019 	  whole_archive_flag_spec='$convenience'
   9020 	  archive_cmds_need_lc=yes
   9021 	  # This is similar to how AIX traditionally builds its shared libraries.
   9022 	  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'
   9023 	fi
   9024       fi
   9025       ;;
   9026 
   9027     amigaos*)
   9028       case $host_cpu in
   9029       powerpc)
   9030             # see comment about AmigaOS4 .so support
   9031             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9032             archive_expsym_cmds=''
   9033         ;;
   9034       m68k)
   9035             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)'
   9036             hardcode_libdir_flag_spec='-L$libdir'
   9037             hardcode_minus_L=yes
   9038         ;;
   9039       esac
   9040       ;;
   9041 
   9042     bsdi[45]*)
   9043       export_dynamic_flag_spec=-rdynamic
   9044       ;;
   9045 
   9046     cygwin* | mingw* | pw32* | cegcc*)
   9047       # When not using gcc, we currently assume that we are using
   9048       # Microsoft Visual C++.
   9049       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9050       # no search path for DLLs.
   9051       hardcode_libdir_flag_spec=' '
   9052       allow_undefined_flag=unsupported
   9053       # Tell ltmain to make .lib files, not .a files.
   9054       libext=lib
   9055       # Tell ltmain to make .dll files, not .so files.
   9056       shrext_cmds=".dll"
   9057       # FIXME: Setting linknames here is a bad hack.
   9058       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9059       # The linker will automatically build a .lib file if we build a DLL.
   9060       old_archive_from_new_cmds='true'
   9061       # FIXME: Should let the user specify the lib program.
   9062       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9063       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9064       enable_shared_with_static_runtimes=yes
   9065       ;;
   9066 
   9067     darwin* | rhapsody*)
   9068 
   9069 
   9070   archive_cmds_need_lc=no
   9071   hardcode_direct=no
   9072   hardcode_automatic=yes
   9073   hardcode_shlibpath_var=unsupported
   9074   whole_archive_flag_spec=''
   9075   link_all_deplibs=yes
   9076   allow_undefined_flag="$_lt_dar_allow_undefined"
   9077   case $cc_basename in
   9078      ifort*) _lt_dar_can_shared=yes ;;
   9079      *) _lt_dar_can_shared=$GCC ;;
   9080   esac
   9081   if test "$_lt_dar_can_shared" = "yes"; then
   9082     output_verbose_link_cmd=echo
   9083     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9084     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9085     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}"
   9086     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}"
   9087 
   9088   else
   9089   ld_shlibs=no
   9090   fi
   9091 
   9092       ;;
   9093 
   9094     dgux*)
   9095       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9096       hardcode_libdir_flag_spec='-L$libdir'
   9097       hardcode_shlibpath_var=no
   9098       ;;
   9099 
   9100     freebsd1*)
   9101       ld_shlibs=no
   9102       ;;
   9103 
   9104     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9105     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9106     # does not break anything, and helps significantly (at the cost of a little
   9107     # extra space).
   9108     freebsd2.2*)
   9109       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9110       hardcode_libdir_flag_spec='-R$libdir'
   9111       hardcode_direct=yes
   9112       hardcode_shlibpath_var=no
   9113       ;;
   9114 
   9115     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9116     freebsd2*)
   9117       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9118       hardcode_direct=yes
   9119       hardcode_minus_L=yes
   9120       hardcode_shlibpath_var=no
   9121       ;;
   9122 
   9123     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9124     freebsd* | dragonfly*)
   9125       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9126       hardcode_libdir_flag_spec='-R$libdir'
   9127       hardcode_direct=yes
   9128       hardcode_shlibpath_var=no
   9129       ;;
   9130 
   9131     hpux9*)
   9132       if test "$GCC" = yes; then
   9133 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9134       else
   9135 	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'
   9136       fi
   9137       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9138       hardcode_libdir_separator=:
   9139       hardcode_direct=yes
   9140 
   9141       # hardcode_minus_L: Not really in the search PATH,
   9142       # but as the default location of the library.
   9143       hardcode_minus_L=yes
   9144       export_dynamic_flag_spec='${wl}-E'
   9145       ;;
   9146 
   9147     hpux10*)
   9148       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9149 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9150       else
   9151 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9152       fi
   9153       if test "$with_gnu_ld" = no; then
   9154 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9155 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9156 	hardcode_libdir_separator=:
   9157 	hardcode_direct=yes
   9158 	hardcode_direct_absolute=yes
   9159 	export_dynamic_flag_spec='${wl}-E'
   9160 	# hardcode_minus_L: Not really in the search PATH,
   9161 	# but as the default location of the library.
   9162 	hardcode_minus_L=yes
   9163       fi
   9164       ;;
   9165 
   9166     hpux11*)
   9167       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9168 	case $host_cpu in
   9169 	hppa*64*)
   9170 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9171 	  ;;
   9172 	ia64*)
   9173 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9174 	  ;;
   9175 	*)
   9176 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9177 	  ;;
   9178 	esac
   9179       else
   9180 	case $host_cpu in
   9181 	hppa*64*)
   9182 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9183 	  ;;
   9184 	ia64*)
   9185 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9186 	  ;;
   9187 	*)
   9188 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9189 	  ;;
   9190 	esac
   9191       fi
   9192       if test "$with_gnu_ld" = no; then
   9193 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9194 	hardcode_libdir_separator=:
   9195 
   9196 	case $host_cpu in
   9197 	hppa*64*|ia64*)
   9198 	  hardcode_direct=no
   9199 	  hardcode_shlibpath_var=no
   9200 	  ;;
   9201 	*)
   9202 	  hardcode_direct=yes
   9203 	  hardcode_direct_absolute=yes
   9204 	  export_dynamic_flag_spec='${wl}-E'
   9205 
   9206 	  # hardcode_minus_L: Not really in the search PATH,
   9207 	  # but as the default location of the library.
   9208 	  hardcode_minus_L=yes
   9209 	  ;;
   9210 	esac
   9211       fi
   9212       ;;
   9213 
   9214     irix5* | irix6* | nonstopux*)
   9215       if test "$GCC" = yes; then
   9216 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9217 	# Try to use the -exported_symbol ld option, if it does not
   9218 	# work, assume that -exports_file does not work either and
   9219 	# implicitly export all symbols.
   9220         save_LDFLAGS="$LDFLAGS"
   9221         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9222         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9223 /* end confdefs.h.  */
   9224 int foo(void) {}
   9225 _ACEOF
   9226 if ac_fn_c_try_link "$LINENO"; then :
   9227   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9228 
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext \
   9231     conftest$ac_exeext conftest.$ac_ext
   9232         LDFLAGS="$save_LDFLAGS"
   9233       else
   9234 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9235 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9236       fi
   9237       archive_cmds_need_lc='no'
   9238       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9239       hardcode_libdir_separator=:
   9240       inherit_rpath=yes
   9241       link_all_deplibs=yes
   9242       ;;
   9243 
   9244     netbsd* | netbsdelf*-gnu)
   9245       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9246 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9247       else
   9248 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9249       fi
   9250       hardcode_libdir_flag_spec='-R$libdir'
   9251       hardcode_direct=yes
   9252       hardcode_shlibpath_var=no
   9253       ;;
   9254 
   9255     newsos6)
   9256       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9257       hardcode_direct=yes
   9258       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9259       hardcode_libdir_separator=:
   9260       hardcode_shlibpath_var=no
   9261       ;;
   9262 
   9263     *nto* | *qnx*)
   9264       ;;
   9265 
   9266     openbsd*)
   9267       if test -f /usr/libexec/ld.so; then
   9268 	hardcode_direct=yes
   9269 	hardcode_shlibpath_var=no
   9270 	hardcode_direct_absolute=yes
   9271 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9272 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9273 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9274 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9275 	  export_dynamic_flag_spec='${wl}-E'
   9276 	else
   9277 	  case $host_os in
   9278 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9279 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9280 	     hardcode_libdir_flag_spec='-R$libdir'
   9281 	     ;;
   9282 	   *)
   9283 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9284 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9285 	     ;;
   9286 	  esac
   9287 	fi
   9288       else
   9289 	ld_shlibs=no
   9290       fi
   9291       ;;
   9292 
   9293     os2*)
   9294       hardcode_libdir_flag_spec='-L$libdir'
   9295       hardcode_minus_L=yes
   9296       allow_undefined_flag=unsupported
   9297       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'
   9298       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9299       ;;
   9300 
   9301     osf3*)
   9302       if test "$GCC" = yes; then
   9303 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9304 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9305       else
   9306 	allow_undefined_flag=' -expect_unresolved \*'
   9307 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9308       fi
   9309       archive_cmds_need_lc='no'
   9310       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9311       hardcode_libdir_separator=:
   9312       ;;
   9313 
   9314     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9315       if test "$GCC" = yes; then
   9316 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9317 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9318 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9319       else
   9320 	allow_undefined_flag=' -expect_unresolved \*'
   9321 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   9322 	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~
   9323 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9324 
   9325 	# Both c and cxx compiler support -rpath directly
   9326 	hardcode_libdir_flag_spec='-rpath $libdir'
   9327       fi
   9328       archive_cmds_need_lc='no'
   9329       hardcode_libdir_separator=:
   9330       ;;
   9331 
   9332     solaris*)
   9333       no_undefined_flag=' -z defs'
   9334       if test "$GCC" = yes; then
   9335 	wlarc='${wl}'
   9336 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9337 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9338 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9339       else
   9340 	case `$CC -V 2>&1` in
   9341 	*"Compilers 5.0"*)
   9342 	  wlarc=''
   9343 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9344 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9345 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9346 	  ;;
   9347 	*)
   9348 	  wlarc='${wl}'
   9349 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9350 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9351 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9352 	  ;;
   9353 	esac
   9354       fi
   9355       hardcode_libdir_flag_spec='-R$libdir'
   9356       hardcode_shlibpath_var=no
   9357       case $host_os in
   9358       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9359       *)
   9360 	# The compiler driver will combine and reorder linker options,
   9361 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9362 	# but is careful enough not to reorder.
   9363 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9364 	if test "$GCC" = yes; then
   9365 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9366 	else
   9367 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9368 	fi
   9369 	;;
   9370       esac
   9371       link_all_deplibs=yes
   9372       ;;
   9373 
   9374     sunos4*)
   9375       if test "x$host_vendor" = xsequent; then
   9376 	# Use $CC to link under sequent, because it throws in some extra .o
   9377 	# files that make .init and .fini sections work.
   9378 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9379       else
   9380 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9381       fi
   9382       hardcode_libdir_flag_spec='-L$libdir'
   9383       hardcode_direct=yes
   9384       hardcode_minus_L=yes
   9385       hardcode_shlibpath_var=no
   9386       ;;
   9387 
   9388     sysv4)
   9389       case $host_vendor in
   9390 	sni)
   9391 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9392 	  hardcode_direct=yes # is this really true???
   9393 	;;
   9394 	siemens)
   9395 	  ## LD is ld it makes a PLAMLIB
   9396 	  ## CC just makes a GrossModule.
   9397 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9398 	  reload_cmds='$CC -r -o $output$reload_objs'
   9399 	  hardcode_direct=no
   9400         ;;
   9401 	motorola)
   9402 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9403 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9404 	;;
   9405       esac
   9406       runpath_var='LD_RUN_PATH'
   9407       hardcode_shlibpath_var=no
   9408       ;;
   9409 
   9410     sysv4.3*)
   9411       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9412       hardcode_shlibpath_var=no
   9413       export_dynamic_flag_spec='-Bexport'
   9414       ;;
   9415 
   9416     sysv4*MP*)
   9417       if test -d /usr/nec; then
   9418 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9419 	hardcode_shlibpath_var=no
   9420 	runpath_var=LD_RUN_PATH
   9421 	hardcode_runpath_var=yes
   9422 	ld_shlibs=yes
   9423       fi
   9424       ;;
   9425 
   9426     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9427       no_undefined_flag='${wl}-z,text'
   9428       archive_cmds_need_lc=no
   9429       hardcode_shlibpath_var=no
   9430       runpath_var='LD_RUN_PATH'
   9431 
   9432       if test "$GCC" = yes; then
   9433 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9434 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9435       else
   9436 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9437 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9438       fi
   9439       ;;
   9440 
   9441     sysv5* | sco3.2v5* | sco5v6*)
   9442       # Note: We can NOT use -z defs as we might desire, because we do not
   9443       # link with -lc, and that would cause any symbols used from libc to
   9444       # always be unresolved, which means just about no library would
   9445       # ever link correctly.  If we're not using GNU ld we use -z text
   9446       # though, which does catch some bad symbols but isn't as heavy-handed
   9447       # as -z defs.
   9448       no_undefined_flag='${wl}-z,text'
   9449       allow_undefined_flag='${wl}-z,nodefs'
   9450       archive_cmds_need_lc=no
   9451       hardcode_shlibpath_var=no
   9452       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9453       hardcode_libdir_separator=':'
   9454       link_all_deplibs=yes
   9455       export_dynamic_flag_spec='${wl}-Bexport'
   9456       runpath_var='LD_RUN_PATH'
   9457 
   9458       if test "$GCC" = yes; then
   9459 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9460 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9461       else
   9462 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9463 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9464       fi
   9465       ;;
   9466 
   9467     uts4*)
   9468       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9469       hardcode_libdir_flag_spec='-L$libdir'
   9470       hardcode_shlibpath_var=no
   9471       ;;
   9472 
   9473     *)
   9474       ld_shlibs=no
   9475       ;;
   9476     esac
   9477 
   9478     if test x$host_vendor = xsni; then
   9479       case $host in
   9480       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9481 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9482 	;;
   9483       esac
   9484     fi
   9485   fi
   9486 
   9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9488 $as_echo "$ld_shlibs" >&6; }
   9489 test "$ld_shlibs" = no && can_build_shared=no
   9490 
   9491 with_gnu_ld=$with_gnu_ld
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 #
   9508 # Do we need to explicitly link libc?
   9509 #
   9510 case "x$archive_cmds_need_lc" in
   9511 x|xyes)
   9512   # Assume -lc should be added
   9513   archive_cmds_need_lc=yes
   9514 
   9515   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9516     case $archive_cmds in
   9517     *'~'*)
   9518       # FIXME: we may have to deal with multi-command sequences.
   9519       ;;
   9520     '$CC '*)
   9521       # Test whether the compiler implicitly links with -lc since on some
   9522       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9523       # to ld, don't add -lc before -lgcc.
   9524       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9525 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9526       $RM conftest*
   9527       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9528 
   9529       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9530   (eval $ac_compile) 2>&5
   9531   ac_status=$?
   9532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9533   test $ac_status = 0; } 2>conftest.err; then
   9534         soname=conftest
   9535         lib=conftest
   9536         libobjs=conftest.$ac_objext
   9537         deplibs=
   9538         wl=$lt_prog_compiler_wl
   9539 	pic_flag=$lt_prog_compiler_pic
   9540         compiler_flags=-v
   9541         linker_flags=-v
   9542         verstring=
   9543         output_objdir=.
   9544         libname=conftest
   9545         lt_save_allow_undefined_flag=$allow_undefined_flag
   9546         allow_undefined_flag=
   9547         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9548   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9549   ac_status=$?
   9550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9551   test $ac_status = 0; }
   9552         then
   9553 	  archive_cmds_need_lc=no
   9554         else
   9555 	  archive_cmds_need_lc=yes
   9556         fi
   9557         allow_undefined_flag=$lt_save_allow_undefined_flag
   9558       else
   9559         cat conftest.err 1>&5
   9560       fi
   9561       $RM conftest*
   9562       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9563 $as_echo "$archive_cmds_need_lc" >&6; }
   9564       ;;
   9565     esac
   9566   fi
   9567   ;;
   9568 esac
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9727 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9728 
   9729 if test "$GCC" = yes; then
   9730   case $host_os in
   9731     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9732     *) lt_awk_arg="/^libraries:/" ;;
   9733   esac
   9734   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9735   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9736     # if the path contains ";" then we assume it to be the separator
   9737     # otherwise default to the standard path separator (i.e. ":") - it is
   9738     # assumed that no part of a normal pathname contains ";" but that should
   9739     # okay in the real world where ";" in dirpaths is itself problematic.
   9740     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9741   else
   9742     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9743   fi
   9744   # Ok, now we have the path, separated by spaces, we can step through it
   9745   # and add multilib dir if necessary.
   9746   lt_tmp_lt_search_path_spec=
   9747   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9748   for lt_sys_path in $lt_search_path_spec; do
   9749     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9750       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9751     else
   9752       test -d "$lt_sys_path" && \
   9753 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9754     fi
   9755   done
   9756   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9757 BEGIN {RS=" "; FS="/|\n";} {
   9758   lt_foo="";
   9759   lt_count=0;
   9760   for (lt_i = NF; lt_i > 0; lt_i--) {
   9761     if ($lt_i != "" && $lt_i != ".") {
   9762       if ($lt_i == "..") {
   9763         lt_count++;
   9764       } else {
   9765         if (lt_count == 0) {
   9766           lt_foo="/" $lt_i lt_foo;
   9767         } else {
   9768           lt_count--;
   9769         }
   9770       }
   9771     }
   9772   }
   9773   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9774   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9775 }'`
   9776   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9777 else
   9778   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9779 fi
   9780 library_names_spec=
   9781 libname_spec='lib$name'
   9782 soname_spec=
   9783 shrext_cmds=".so"
   9784 postinstall_cmds=
   9785 postuninstall_cmds=
   9786 finish_cmds=
   9787 finish_eval=
   9788 shlibpath_var=
   9789 shlibpath_overrides_runpath=unknown
   9790 version_type=none
   9791 dynamic_linker="$host_os ld.so"
   9792 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9793 need_lib_prefix=unknown
   9794 hardcode_into_libs=no
   9795 
   9796 # when you set need_version to no, make sure it does not cause -set_version
   9797 # flags to be left without arguments
   9798 need_version=unknown
   9799 
   9800 case $host_os in
   9801 aix3*)
   9802   version_type=linux
   9803   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9804   shlibpath_var=LIBPATH
   9805 
   9806   # AIX 3 has no versioning support, so we append a major version to the name.
   9807   soname_spec='${libname}${release}${shared_ext}$major'
   9808   ;;
   9809 
   9810 aix[4-9]*)
   9811   version_type=linux
   9812   need_lib_prefix=no
   9813   need_version=no
   9814   hardcode_into_libs=yes
   9815   if test "$host_cpu" = ia64; then
   9816     # AIX 5 supports IA64
   9817     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9818     shlibpath_var=LD_LIBRARY_PATH
   9819   else
   9820     # With GCC up to 2.95.x, collect2 would create an import file
   9821     # for dependence libraries.  The import file would start with
   9822     # the line `#! .'.  This would cause the generated library to
   9823     # depend on `.', always an invalid library.  This was fixed in
   9824     # development snapshots of GCC prior to 3.0.
   9825     case $host_os in
   9826       aix4 | aix4.[01] | aix4.[01].*)
   9827       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9828 	   echo ' yes '
   9829 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9830 	:
   9831       else
   9832 	can_build_shared=no
   9833       fi
   9834       ;;
   9835     esac
   9836     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9837     # soname into executable. Probably we can add versioning support to
   9838     # collect2, so additional links can be useful in future.
   9839     if test "$aix_use_runtimelinking" = yes; then
   9840       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9841       # instead of lib<name>.a to let people know that these are not
   9842       # typical AIX shared libraries.
   9843       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9844     else
   9845       # We preserve .a as extension for shared libraries through AIX4.2
   9846       # and later when we are not doing run time linking.
   9847       library_names_spec='${libname}${release}.a $libname.a'
   9848       soname_spec='${libname}${release}${shared_ext}$major'
   9849     fi
   9850     shlibpath_var=LIBPATH
   9851   fi
   9852   ;;
   9853 
   9854 amigaos*)
   9855   case $host_cpu in
   9856   powerpc)
   9857     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9858     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9859     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9860     ;;
   9861   m68k)
   9862     library_names_spec='$libname.ixlibrary $libname.a'
   9863     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9864     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
   9865     ;;
   9866   esac
   9867   ;;
   9868 
   9869 beos*)
   9870   library_names_spec='${libname}${shared_ext}'
   9871   dynamic_linker="$host_os ld.so"
   9872   shlibpath_var=LIBRARY_PATH
   9873   ;;
   9874 
   9875 bsdi[45]*)
   9876   version_type=linux
   9877   need_version=no
   9878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9879   soname_spec='${libname}${release}${shared_ext}$major'
   9880   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9881   shlibpath_var=LD_LIBRARY_PATH
   9882   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9883   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9884   # the default ld.so.conf also contains /usr/contrib/lib and
   9885   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9886   # libtool to hard-code these into programs
   9887   ;;
   9888 
   9889 cygwin* | mingw* | pw32* | cegcc*)
   9890   version_type=windows
   9891   shrext_cmds=".dll"
   9892   need_version=no
   9893   need_lib_prefix=no
   9894 
   9895   case $GCC,$host_os in
   9896   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9897     library_names_spec='$libname.dll.a'
   9898     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9899     postinstall_cmds='base_file=`basename \${file}`~
   9900       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9901       dldir=$destdir/`dirname \$dlpath`~
   9902       test -d \$dldir || mkdir -p \$dldir~
   9903       $install_prog $dir/$dlname \$dldir/$dlname~
   9904       chmod a+x \$dldir/$dlname~
   9905       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9906         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9907       fi'
   9908     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9909       dlpath=$dir/\$dldll~
   9910        $RM \$dlpath'
   9911     shlibpath_overrides_runpath=yes
   9912 
   9913     case $host_os in
   9914     cygwin*)
   9915       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9916       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9917       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9918       ;;
   9919     mingw* | cegcc*)
   9920       # MinGW DLLs use traditional 'lib' prefix
   9921       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9922       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9923       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9924         # It is most probably a Windows format PATH printed by
   9925         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9926         # path with ; separators, and with drive letters. We can handle the
   9927         # drive letters (cygwin fileutils understands them), so leave them,
   9928         # especially as we might pass files found there to a mingw objdump,
   9929         # which wouldn't understand a cygwinified path. Ahh.
   9930         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9931       else
   9932         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9933       fi
   9934       ;;
   9935     pw32*)
   9936       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9937       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9938       ;;
   9939     esac
   9940     ;;
   9941 
   9942   *)
   9943     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9944     ;;
   9945   esac
   9946   dynamic_linker='Win32 ld.exe'
   9947   # FIXME: first we should search . and the directory the executable is in
   9948   shlibpath_var=PATH
   9949   ;;
   9950 
   9951 darwin* | rhapsody*)
   9952   dynamic_linker="$host_os dyld"
   9953   version_type=darwin
   9954   need_lib_prefix=no
   9955   need_version=no
   9956   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9957   soname_spec='${libname}${release}${major}$shared_ext'
   9958   shlibpath_overrides_runpath=yes
   9959   shlibpath_var=DYLD_LIBRARY_PATH
   9960   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9961 
   9962   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9963   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9964   ;;
   9965 
   9966 dgux*)
   9967   version_type=linux
   9968   need_lib_prefix=no
   9969   need_version=no
   9970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9971   soname_spec='${libname}${release}${shared_ext}$major'
   9972   shlibpath_var=LD_LIBRARY_PATH
   9973   ;;
   9974 
   9975 freebsd1*)
   9976   dynamic_linker=no
   9977   ;;
   9978 
   9979 freebsd* | dragonfly*)
   9980   # DragonFly does not have aout.  When/if they implement a new
   9981   # versioning mechanism, adjust this.
   9982   if test -x /usr/bin/objformat; then
   9983     objformat=`/usr/bin/objformat`
   9984   else
   9985     case $host_os in
   9986     freebsd[123]*) objformat=aout ;;
   9987     *) objformat=elf ;;
   9988     esac
   9989   fi
   9990   version_type=freebsd-$objformat
   9991   case $version_type in
   9992     freebsd-elf*)
   9993       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9994       need_version=no
   9995       need_lib_prefix=no
   9996       ;;
   9997     freebsd-*)
   9998       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9999       need_version=yes
   10000       ;;
   10001   esac
   10002   shlibpath_var=LD_LIBRARY_PATH
   10003   case $host_os in
   10004   freebsd2*)
   10005     shlibpath_overrides_runpath=yes
   10006     ;;
   10007   freebsd3.[01]* | freebsdelf3.[01]*)
   10008     shlibpath_overrides_runpath=yes
   10009     hardcode_into_libs=yes
   10010     ;;
   10011   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10012   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10013     shlibpath_overrides_runpath=no
   10014     hardcode_into_libs=yes
   10015     ;;
   10016   *) # from 4.6 on, and DragonFly
   10017     shlibpath_overrides_runpath=yes
   10018     hardcode_into_libs=yes
   10019     ;;
   10020   esac
   10021   ;;
   10022 
   10023 gnu*)
   10024   version_type=linux
   10025   need_lib_prefix=no
   10026   need_version=no
   10027   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10028   soname_spec='${libname}${release}${shared_ext}$major'
   10029   shlibpath_var=LD_LIBRARY_PATH
   10030   hardcode_into_libs=yes
   10031   ;;
   10032 
   10033 hpux9* | hpux10* | hpux11*)
   10034   # Give a soname corresponding to the major version so that dld.sl refuses to
   10035   # link against other versions.
   10036   version_type=sunos
   10037   need_lib_prefix=no
   10038   need_version=no
   10039   case $host_cpu in
   10040   ia64*)
   10041     shrext_cmds='.so'
   10042     hardcode_into_libs=yes
   10043     dynamic_linker="$host_os dld.so"
   10044     shlibpath_var=LD_LIBRARY_PATH
   10045     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10046     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10047     soname_spec='${libname}${release}${shared_ext}$major'
   10048     if test "X$HPUX_IA64_MODE" = X32; then
   10049       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10050     else
   10051       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10052     fi
   10053     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10054     ;;
   10055   hppa*64*)
   10056     shrext_cmds='.sl'
   10057     hardcode_into_libs=yes
   10058     dynamic_linker="$host_os dld.sl"
   10059     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10060     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10061     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10062     soname_spec='${libname}${release}${shared_ext}$major'
   10063     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10064     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10065     ;;
   10066   *)
   10067     shrext_cmds='.sl'
   10068     dynamic_linker="$host_os dld.sl"
   10069     shlibpath_var=SHLIB_PATH
   10070     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10071     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10072     soname_spec='${libname}${release}${shared_ext}$major'
   10073     ;;
   10074   esac
   10075   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10076   postinstall_cmds='chmod 555 $lib'
   10077   ;;
   10078 
   10079 interix[3-9]*)
   10080   version_type=linux
   10081   need_lib_prefix=no
   10082   need_version=no
   10083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10084   soname_spec='${libname}${release}${shared_ext}$major'
   10085   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10086   shlibpath_var=LD_LIBRARY_PATH
   10087   shlibpath_overrides_runpath=no
   10088   hardcode_into_libs=yes
   10089   ;;
   10090 
   10091 irix5* | irix6* | nonstopux*)
   10092   case $host_os in
   10093     nonstopux*) version_type=nonstopux ;;
   10094     *)
   10095 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10096 		version_type=linux
   10097 	else
   10098 		version_type=irix
   10099 	fi ;;
   10100   esac
   10101   need_lib_prefix=no
   10102   need_version=no
   10103   soname_spec='${libname}${release}${shared_ext}$major'
   10104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10105   case $host_os in
   10106   irix5* | nonstopux*)
   10107     libsuff= shlibsuff=
   10108     ;;
   10109   *)
   10110     case $LD in # libtool.m4 will add one of these switches to LD
   10111     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10112       libsuff= shlibsuff= libmagic=32-bit;;
   10113     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10114       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10115     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10116       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10117     *) libsuff= shlibsuff= libmagic=never-match;;
   10118     esac
   10119     ;;
   10120   esac
   10121   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10122   shlibpath_overrides_runpath=no
   10123   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10124   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10125   hardcode_into_libs=yes
   10126   ;;
   10127 
   10128 # No shared lib support for Linux oldld, aout, or coff.
   10129 linux*oldld* | linux*aout* | linux*coff*)
   10130   dynamic_linker=no
   10131   ;;
   10132 
   10133 # This must be Linux ELF.
   10134 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10135   version_type=linux
   10136   need_lib_prefix=no
   10137   need_version=no
   10138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10139   soname_spec='${libname}${release}${shared_ext}$major'
   10140   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10141   shlibpath_var=LD_LIBRARY_PATH
   10142   shlibpath_overrides_runpath=no
   10143   # Some binutils ld are patched to set DT_RUNPATH
   10144   save_LDFLAGS=$LDFLAGS
   10145   save_libdir=$libdir
   10146   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10147        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10149 /* end confdefs.h.  */
   10150 
   10151 int
   10152 main ()
   10153 {
   10154 
   10155   ;
   10156   return 0;
   10157 }
   10158 _ACEOF
   10159 if ac_fn_c_try_link "$LINENO"; then :
   10160   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10161   shlibpath_overrides_runpath=yes
   10162 fi
   10163 fi
   10164 rm -f core conftest.err conftest.$ac_objext \
   10165     conftest$ac_exeext conftest.$ac_ext
   10166   LDFLAGS=$save_LDFLAGS
   10167   libdir=$save_libdir
   10168 
   10169   # This implies no fast_install, which is unacceptable.
   10170   # Some rework will be needed to allow for fast_install
   10171   # before this can be enabled.
   10172   hardcode_into_libs=yes
   10173 
   10174   # Append ld.so.conf contents to the search path
   10175   if test -f /etc/ld.so.conf; then
   10176     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;/^$/d' | tr '\n' ' '`
   10177     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10178   fi
   10179 
   10180   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10181   # powerpc, because MkLinux only supported shared libraries with the
   10182   # GNU dynamic linker.  Since this was broken with cross compilers,
   10183   # most powerpc-linux boxes support dynamic linking these days and
   10184   # people can always --disable-shared, the test was removed, and we
   10185   # assume the GNU/Linux dynamic linker is in use.
   10186   dynamic_linker='GNU/Linux ld.so'
   10187   ;;
   10188 
   10189 netbsdelf*-gnu)
   10190   version_type=linux
   10191   need_lib_prefix=no
   10192   need_version=no
   10193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10194   soname_spec='${libname}${release}${shared_ext}$major'
   10195   shlibpath_var=LD_LIBRARY_PATH
   10196   shlibpath_overrides_runpath=no
   10197   hardcode_into_libs=yes
   10198   dynamic_linker='NetBSD ld.elf_so'
   10199   ;;
   10200 
   10201 netbsd*)
   10202   version_type=sunos
   10203   need_lib_prefix=no
   10204   need_version=no
   10205   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10206     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10207     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10208     dynamic_linker='NetBSD (a.out) ld.so'
   10209   else
   10210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10211     soname_spec='${libname}${release}${shared_ext}$major'
   10212     dynamic_linker='NetBSD ld.elf_so'
   10213   fi
   10214   shlibpath_var=LD_LIBRARY_PATH
   10215   shlibpath_overrides_runpath=yes
   10216   hardcode_into_libs=yes
   10217   ;;
   10218 
   10219 newsos6)
   10220   version_type=linux
   10221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10222   shlibpath_var=LD_LIBRARY_PATH
   10223   shlibpath_overrides_runpath=yes
   10224   ;;
   10225 
   10226 *nto* | *qnx*)
   10227   version_type=qnx
   10228   need_lib_prefix=no
   10229   need_version=no
   10230   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10231   soname_spec='${libname}${release}${shared_ext}$major'
   10232   shlibpath_var=LD_LIBRARY_PATH
   10233   shlibpath_overrides_runpath=no
   10234   hardcode_into_libs=yes
   10235   dynamic_linker='ldqnx.so'
   10236   ;;
   10237 
   10238 openbsd*)
   10239   version_type=sunos
   10240   sys_lib_dlsearch_path_spec="/usr/lib"
   10241   need_lib_prefix=no
   10242   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10243   case $host_os in
   10244     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10245     *)				need_version=no  ;;
   10246   esac
   10247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10248   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10249   shlibpath_var=LD_LIBRARY_PATH
   10250   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10251     case $host_os in
   10252       openbsd2.[89] | openbsd2.[89].*)
   10253 	shlibpath_overrides_runpath=no
   10254 	;;
   10255       *)
   10256 	shlibpath_overrides_runpath=yes
   10257 	;;
   10258       esac
   10259   else
   10260     shlibpath_overrides_runpath=yes
   10261   fi
   10262   ;;
   10263 
   10264 os2*)
   10265   libname_spec='$name'
   10266   shrext_cmds=".dll"
   10267   need_lib_prefix=no
   10268   library_names_spec='$libname${shared_ext} $libname.a'
   10269   dynamic_linker='OS/2 ld.exe'
   10270   shlibpath_var=LIBPATH
   10271   ;;
   10272 
   10273 osf3* | osf4* | osf5*)
   10274   version_type=osf
   10275   need_lib_prefix=no
   10276   need_version=no
   10277   soname_spec='${libname}${release}${shared_ext}$major'
   10278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10279   shlibpath_var=LD_LIBRARY_PATH
   10280   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10281   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10282   ;;
   10283 
   10284 rdos*)
   10285   dynamic_linker=no
   10286   ;;
   10287 
   10288 solaris*)
   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   shlibpath_overrides_runpath=yes
   10296   hardcode_into_libs=yes
   10297   # ldd complains unless libraries are executable
   10298   postinstall_cmds='chmod +x $lib'
   10299   ;;
   10300 
   10301 sunos4*)
   10302   version_type=sunos
   10303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10304   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10305   shlibpath_var=LD_LIBRARY_PATH
   10306   shlibpath_overrides_runpath=yes
   10307   if test "$with_gnu_ld" = yes; then
   10308     need_lib_prefix=no
   10309   fi
   10310   need_version=yes
   10311   ;;
   10312 
   10313 sysv4 | sysv4.3*)
   10314   version_type=linux
   10315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10316   soname_spec='${libname}${release}${shared_ext}$major'
   10317   shlibpath_var=LD_LIBRARY_PATH
   10318   case $host_vendor in
   10319     sni)
   10320       shlibpath_overrides_runpath=no
   10321       need_lib_prefix=no
   10322       runpath_var=LD_RUN_PATH
   10323       ;;
   10324     siemens)
   10325       need_lib_prefix=no
   10326       ;;
   10327     motorola)
   10328       need_lib_prefix=no
   10329       need_version=no
   10330       shlibpath_overrides_runpath=no
   10331       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10332       ;;
   10333   esac
   10334   ;;
   10335 
   10336 sysv4*MP*)
   10337   if test -d /usr/nec ;then
   10338     version_type=linux
   10339     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10340     soname_spec='$libname${shared_ext}.$major'
   10341     shlibpath_var=LD_LIBRARY_PATH
   10342   fi
   10343   ;;
   10344 
   10345 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10346   version_type=freebsd-elf
   10347   need_lib_prefix=no
   10348   need_version=no
   10349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10350   soname_spec='${libname}${release}${shared_ext}$major'
   10351   shlibpath_var=LD_LIBRARY_PATH
   10352   shlibpath_overrides_runpath=yes
   10353   hardcode_into_libs=yes
   10354   if test "$with_gnu_ld" = yes; then
   10355     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10356   else
   10357     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10358     case $host_os in
   10359       sco3.2v5*)
   10360         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10361 	;;
   10362     esac
   10363   fi
   10364   sys_lib_dlsearch_path_spec='/usr/lib'
   10365   ;;
   10366 
   10367 tpf*)
   10368   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10369   version_type=linux
   10370   need_lib_prefix=no
   10371   need_version=no
   10372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10373   shlibpath_var=LD_LIBRARY_PATH
   10374   shlibpath_overrides_runpath=no
   10375   hardcode_into_libs=yes
   10376   ;;
   10377 
   10378 uts4*)
   10379   version_type=linux
   10380   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10381   soname_spec='${libname}${release}${shared_ext}$major'
   10382   shlibpath_var=LD_LIBRARY_PATH
   10383   ;;
   10384 
   10385 *)
   10386   dynamic_linker=no
   10387   ;;
   10388 esac
   10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10390 $as_echo "$dynamic_linker" >&6; }
   10391 test "$dynamic_linker" = no && can_build_shared=no
   10392 
   10393 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10394 if test "$GCC" = yes; then
   10395   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10396 fi
   10397 
   10398 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10399   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10400 fi
   10401 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10402   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10403 fi
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10492 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10493 hardcode_action=
   10494 if test -n "$hardcode_libdir_flag_spec" ||
   10495    test -n "$runpath_var" ||
   10496    test "X$hardcode_automatic" = "Xyes" ; then
   10497 
   10498   # We can hardcode non-existent directories.
   10499   if test "$hardcode_direct" != no &&
   10500      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10501      # have to relink, otherwise we might link with an installed library
   10502      # when we should be linking with a yet-to-be-installed one
   10503      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10504      test "$hardcode_minus_L" != no; then
   10505     # Linking always hardcodes the temporary library directory.
   10506     hardcode_action=relink
   10507   else
   10508     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10509     hardcode_action=immediate
   10510   fi
   10511 else
   10512   # We cannot hardcode anything, or else we can only hardcode existing
   10513   # directories.
   10514   hardcode_action=unsupported
   10515 fi
   10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10517 $as_echo "$hardcode_action" >&6; }
   10518 
   10519 if test "$hardcode_action" = relink ||
   10520    test "$inherit_rpath" = yes; then
   10521   # Fast installation is not supported
   10522   enable_fast_install=no
   10523 elif test "$shlibpath_overrides_runpath" = yes ||
   10524      test "$enable_shared" = no; then
   10525   # Fast installation is not necessary
   10526   enable_fast_install=needless
   10527 fi
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534   if test "x$enable_dlopen" != xyes; then
   10535   enable_dlopen=unknown
   10536   enable_dlopen_self=unknown
   10537   enable_dlopen_self_static=unknown
   10538 else
   10539   lt_cv_dlopen=no
   10540   lt_cv_dlopen_libs=
   10541 
   10542   case $host_os in
   10543   beos*)
   10544     lt_cv_dlopen="load_add_on"
   10545     lt_cv_dlopen_libs=
   10546     lt_cv_dlopen_self=yes
   10547     ;;
   10548 
   10549   mingw* | pw32* | cegcc*)
   10550     lt_cv_dlopen="LoadLibrary"
   10551     lt_cv_dlopen_libs=
   10552     ;;
   10553 
   10554   cygwin*)
   10555     lt_cv_dlopen="dlopen"
   10556     lt_cv_dlopen_libs=
   10557     ;;
   10558 
   10559   darwin*)
   10560   # if libdl is installed we need to link against it
   10561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10562 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10563 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10564   $as_echo_n "(cached) " >&6
   10565 else
   10566   ac_check_lib_save_LIBS=$LIBS
   10567 LIBS="-ldl  $LIBS"
   10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10569 /* end confdefs.h.  */
   10570 
   10571 /* Override any GCC internal prototype to avoid an error.
   10572    Use char because int might match the return type of a GCC
   10573    builtin and then its argument prototype would still apply.  */
   10574 #ifdef __cplusplus
   10575 extern "C"
   10576 #endif
   10577 char dlopen ();
   10578 int
   10579 main ()
   10580 {
   10581 return dlopen ();
   10582   ;
   10583   return 0;
   10584 }
   10585 _ACEOF
   10586 if ac_fn_c_try_link "$LINENO"; then :
   10587   ac_cv_lib_dl_dlopen=yes
   10588 else
   10589   ac_cv_lib_dl_dlopen=no
   10590 fi
   10591 rm -f core conftest.err conftest.$ac_objext \
   10592     conftest$ac_exeext conftest.$ac_ext
   10593 LIBS=$ac_check_lib_save_LIBS
   10594 fi
   10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10596 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10597 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10598   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10599 else
   10600 
   10601     lt_cv_dlopen="dyld"
   10602     lt_cv_dlopen_libs=
   10603     lt_cv_dlopen_self=yes
   10604 
   10605 fi
   10606 
   10607     ;;
   10608 
   10609   *)
   10610     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10611 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10612   lt_cv_dlopen="shl_load"
   10613 else
   10614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10615 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10616 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10617   $as_echo_n "(cached) " >&6
   10618 else
   10619   ac_check_lib_save_LIBS=$LIBS
   10620 LIBS="-ldld  $LIBS"
   10621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10622 /* end confdefs.h.  */
   10623 
   10624 /* Override any GCC internal prototype to avoid an error.
   10625    Use char because int might match the return type of a GCC
   10626    builtin and then its argument prototype would still apply.  */
   10627 #ifdef __cplusplus
   10628 extern "C"
   10629 #endif
   10630 char shl_load ();
   10631 int
   10632 main ()
   10633 {
   10634 return shl_load ();
   10635   ;
   10636   return 0;
   10637 }
   10638 _ACEOF
   10639 if ac_fn_c_try_link "$LINENO"; then :
   10640   ac_cv_lib_dld_shl_load=yes
   10641 else
   10642   ac_cv_lib_dld_shl_load=no
   10643 fi
   10644 rm -f core conftest.err conftest.$ac_objext \
   10645     conftest$ac_exeext conftest.$ac_ext
   10646 LIBS=$ac_check_lib_save_LIBS
   10647 fi
   10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10649 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10650 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10651   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10652 else
   10653   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10654 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10655   lt_cv_dlopen="dlopen"
   10656 else
   10657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10658 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10660   $as_echo_n "(cached) " >&6
   10661 else
   10662   ac_check_lib_save_LIBS=$LIBS
   10663 LIBS="-ldl  $LIBS"
   10664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10665 /* end confdefs.h.  */
   10666 
   10667 /* Override any GCC internal prototype to avoid an error.
   10668    Use char because int might match the return type of a GCC
   10669    builtin and then its argument prototype would still apply.  */
   10670 #ifdef __cplusplus
   10671 extern "C"
   10672 #endif
   10673 char dlopen ();
   10674 int
   10675 main ()
   10676 {
   10677 return dlopen ();
   10678   ;
   10679   return 0;
   10680 }
   10681 _ACEOF
   10682 if ac_fn_c_try_link "$LINENO"; then :
   10683   ac_cv_lib_dl_dlopen=yes
   10684 else
   10685   ac_cv_lib_dl_dlopen=no
   10686 fi
   10687 rm -f core conftest.err conftest.$ac_objext \
   10688     conftest$ac_exeext conftest.$ac_ext
   10689 LIBS=$ac_check_lib_save_LIBS
   10690 fi
   10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10692 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10693 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10694   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10695 else
   10696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10697 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10698 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10699   $as_echo_n "(cached) " >&6
   10700 else
   10701   ac_check_lib_save_LIBS=$LIBS
   10702 LIBS="-lsvld  $LIBS"
   10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10704 /* end confdefs.h.  */
   10705 
   10706 /* Override any GCC internal prototype to avoid an error.
   10707    Use char because int might match the return type of a GCC
   10708    builtin and then its argument prototype would still apply.  */
   10709 #ifdef __cplusplus
   10710 extern "C"
   10711 #endif
   10712 char dlopen ();
   10713 int
   10714 main ()
   10715 {
   10716 return dlopen ();
   10717   ;
   10718   return 0;
   10719 }
   10720 _ACEOF
   10721 if ac_fn_c_try_link "$LINENO"; then :
   10722   ac_cv_lib_svld_dlopen=yes
   10723 else
   10724   ac_cv_lib_svld_dlopen=no
   10725 fi
   10726 rm -f core conftest.err conftest.$ac_objext \
   10727     conftest$ac_exeext conftest.$ac_ext
   10728 LIBS=$ac_check_lib_save_LIBS
   10729 fi
   10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10731 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10732 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10733   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10734 else
   10735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10736 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10737 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10738   $as_echo_n "(cached) " >&6
   10739 else
   10740   ac_check_lib_save_LIBS=$LIBS
   10741 LIBS="-ldld  $LIBS"
   10742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10743 /* end confdefs.h.  */
   10744 
   10745 /* Override any GCC internal prototype to avoid an error.
   10746    Use char because int might match the return type of a GCC
   10747    builtin and then its argument prototype would still apply.  */
   10748 #ifdef __cplusplus
   10749 extern "C"
   10750 #endif
   10751 char dld_link ();
   10752 int
   10753 main ()
   10754 {
   10755 return dld_link ();
   10756   ;
   10757   return 0;
   10758 }
   10759 _ACEOF
   10760 if ac_fn_c_try_link "$LINENO"; then :
   10761   ac_cv_lib_dld_dld_link=yes
   10762 else
   10763   ac_cv_lib_dld_dld_link=no
   10764 fi
   10765 rm -f core conftest.err conftest.$ac_objext \
   10766     conftest$ac_exeext conftest.$ac_ext
   10767 LIBS=$ac_check_lib_save_LIBS
   10768 fi
   10769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10770 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10771 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10772   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10773 fi
   10774 
   10775 
   10776 fi
   10777 
   10778 
   10779 fi
   10780 
   10781 
   10782 fi
   10783 
   10784 
   10785 fi
   10786 
   10787 
   10788 fi
   10789 
   10790     ;;
   10791   esac
   10792 
   10793   if test "x$lt_cv_dlopen" != xno; then
   10794     enable_dlopen=yes
   10795   else
   10796     enable_dlopen=no
   10797   fi
   10798 
   10799   case $lt_cv_dlopen in
   10800   dlopen)
   10801     save_CPPFLAGS="$CPPFLAGS"
   10802     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10803 
   10804     save_LDFLAGS="$LDFLAGS"
   10805     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10806 
   10807     save_LIBS="$LIBS"
   10808     LIBS="$lt_cv_dlopen_libs $LIBS"
   10809 
   10810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10811 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10812 if test "${lt_cv_dlopen_self+set}" = set; then :
   10813   $as_echo_n "(cached) " >&6
   10814 else
   10815   	  if test "$cross_compiling" = yes; then :
   10816   lt_cv_dlopen_self=cross
   10817 else
   10818   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10819   lt_status=$lt_dlunknown
   10820   cat > conftest.$ac_ext <<_LT_EOF
   10821 #line 10821 "configure"
   10822 #include "confdefs.h"
   10823 
   10824 #if HAVE_DLFCN_H
   10825 #include <dlfcn.h>
   10826 #endif
   10827 
   10828 #include <stdio.h>
   10829 
   10830 #ifdef RTLD_GLOBAL
   10831 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10832 #else
   10833 #  ifdef DL_GLOBAL
   10834 #    define LT_DLGLOBAL		DL_GLOBAL
   10835 #  else
   10836 #    define LT_DLGLOBAL		0
   10837 #  endif
   10838 #endif
   10839 
   10840 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10841    find out it does not work in some platform. */
   10842 #ifndef LT_DLLAZY_OR_NOW
   10843 #  ifdef RTLD_LAZY
   10844 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10845 #  else
   10846 #    ifdef DL_LAZY
   10847 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10848 #    else
   10849 #      ifdef RTLD_NOW
   10850 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10851 #      else
   10852 #        ifdef DL_NOW
   10853 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10854 #        else
   10855 #          define LT_DLLAZY_OR_NOW	0
   10856 #        endif
   10857 #      endif
   10858 #    endif
   10859 #  endif
   10860 #endif
   10861 
   10862 void fnord() { int i=42;}
   10863 int main ()
   10864 {
   10865   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10866   int status = $lt_dlunknown;
   10867 
   10868   if (self)
   10869     {
   10870       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10871       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10872       /* dlclose (self); */
   10873     }
   10874   else
   10875     puts (dlerror ());
   10876 
   10877   return status;
   10878 }
   10879 _LT_EOF
   10880   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10881   (eval $ac_link) 2>&5
   10882   ac_status=$?
   10883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10884   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10885     (./conftest; exit; ) >&5 2>/dev/null
   10886     lt_status=$?
   10887     case x$lt_status in
   10888       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10889       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10890       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10891     esac
   10892   else :
   10893     # compilation failed
   10894     lt_cv_dlopen_self=no
   10895   fi
   10896 fi
   10897 rm -fr conftest*
   10898 
   10899 
   10900 fi
   10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10902 $as_echo "$lt_cv_dlopen_self" >&6; }
   10903 
   10904     if test "x$lt_cv_dlopen_self" = xyes; then
   10905       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10906       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10907 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10908 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10909   $as_echo_n "(cached) " >&6
   10910 else
   10911   	  if test "$cross_compiling" = yes; then :
   10912   lt_cv_dlopen_self_static=cross
   10913 else
   10914   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10915   lt_status=$lt_dlunknown
   10916   cat > conftest.$ac_ext <<_LT_EOF
   10917 #line 10917 "configure"
   10918 #include "confdefs.h"
   10919 
   10920 #if HAVE_DLFCN_H
   10921 #include <dlfcn.h>
   10922 #endif
   10923 
   10924 #include <stdio.h>
   10925 
   10926 #ifdef RTLD_GLOBAL
   10927 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10928 #else
   10929 #  ifdef DL_GLOBAL
   10930 #    define LT_DLGLOBAL		DL_GLOBAL
   10931 #  else
   10932 #    define LT_DLGLOBAL		0
   10933 #  endif
   10934 #endif
   10935 
   10936 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10937    find out it does not work in some platform. */
   10938 #ifndef LT_DLLAZY_OR_NOW
   10939 #  ifdef RTLD_LAZY
   10940 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10941 #  else
   10942 #    ifdef DL_LAZY
   10943 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10944 #    else
   10945 #      ifdef RTLD_NOW
   10946 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10947 #      else
   10948 #        ifdef DL_NOW
   10949 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10950 #        else
   10951 #          define LT_DLLAZY_OR_NOW	0
   10952 #        endif
   10953 #      endif
   10954 #    endif
   10955 #  endif
   10956 #endif
   10957 
   10958 void fnord() { int i=42;}
   10959 int main ()
   10960 {
   10961   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10962   int status = $lt_dlunknown;
   10963 
   10964   if (self)
   10965     {
   10966       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10967       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10968       /* dlclose (self); */
   10969     }
   10970   else
   10971     puts (dlerror ());
   10972 
   10973   return status;
   10974 }
   10975 _LT_EOF
   10976   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10977   (eval $ac_link) 2>&5
   10978   ac_status=$?
   10979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10980   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10981     (./conftest; exit; ) >&5 2>/dev/null
   10982     lt_status=$?
   10983     case x$lt_status in
   10984       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10985       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10986       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10987     esac
   10988   else :
   10989     # compilation failed
   10990     lt_cv_dlopen_self_static=no
   10991   fi
   10992 fi
   10993 rm -fr conftest*
   10994 
   10995 
   10996 fi
   10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10998 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10999     fi
   11000 
   11001     CPPFLAGS="$save_CPPFLAGS"
   11002     LDFLAGS="$save_LDFLAGS"
   11003     LIBS="$save_LIBS"
   11004     ;;
   11005   esac
   11006 
   11007   case $lt_cv_dlopen_self in
   11008   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11009   *) enable_dlopen_self=unknown ;;
   11010   esac
   11011 
   11012   case $lt_cv_dlopen_self_static in
   11013   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11014   *) enable_dlopen_self_static=unknown ;;
   11015   esac
   11016 fi
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 striplib=
   11035 old_striplib=
   11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11037 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11038 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11039   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11040   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11042 $as_echo "yes" >&6; }
   11043 else
   11044 # FIXME - insert some real tests, host_os isn't really good enough
   11045   case $host_os in
   11046   darwin*)
   11047     if test -n "$STRIP" ; then
   11048       striplib="$STRIP -x"
   11049       old_striplib="$STRIP -S"
   11050       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11051 $as_echo "yes" >&6; }
   11052     else
   11053       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11054 $as_echo "no" >&6; }
   11055     fi
   11056     ;;
   11057   *)
   11058     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11059 $as_echo "no" >&6; }
   11060     ;;
   11061   esac
   11062 fi
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075   # Report which library types will actually be built
   11076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11077 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11079 $as_echo "$can_build_shared" >&6; }
   11080 
   11081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11082 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11083   test "$can_build_shared" = "no" && enable_shared=no
   11084 
   11085   # On AIX, shared libraries and static libraries use the same namespace, and
   11086   # are all built from PIC.
   11087   case $host_os in
   11088   aix3*)
   11089     test "$enable_shared" = yes && enable_static=no
   11090     if test -n "$RANLIB"; then
   11091       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11092       postinstall_cmds='$RANLIB $lib'
   11093     fi
   11094     ;;
   11095 
   11096   aix[4-9]*)
   11097     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11098       test "$enable_shared" = yes && enable_static=no
   11099     fi
   11100     ;;
   11101   esac
   11102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11103 $as_echo "$enable_shared" >&6; }
   11104 
   11105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11106 $as_echo_n "checking whether to build static libraries... " >&6; }
   11107   # Make sure either enable_shared or enable_static is yes.
   11108   test "$enable_shared" = yes || enable_static=yes
   11109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11110 $as_echo "$enable_static" >&6; }
   11111 
   11112 
   11113 
   11114 
   11115 fi
   11116 ac_ext=c
   11117 ac_cpp='$CPP $CPPFLAGS'
   11118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11121 
   11122 CC="$lt_save_CC"
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136         ac_config_commands="$ac_config_commands libtool"
   11137 
   11138 
   11139 
   11140 
   11141 # Only expand once:
   11142 
   11143 
   11144 
   11145 # Checks for programs.
   11146 if test "x$CC" != xcc; then
   11147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   11148 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   11149 else
   11150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   11151 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   11152 fi
   11153 set dummy $CC; ac_cc=`$as_echo "$2" |
   11154 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   11155 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
   11156   $as_echo_n "(cached) " >&6
   11157 else
   11158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11159 /* end confdefs.h.  */
   11160 
   11161 int
   11162 main ()
   11163 {
   11164 
   11165   ;
   11166   return 0;
   11167 }
   11168 _ACEOF
   11169 # Make sure it works both with $CC and with simple cc.
   11170 # We do the test twice because some compilers refuse to overwrite an
   11171 # existing .o file with -o, though they will create one.
   11172 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   11173 rm -f conftest2.*
   11174 if { { case "(($ac_try" in
   11175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11176   *) ac_try_echo=$ac_try;;
   11177 esac
   11178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11179 $as_echo "$ac_try_echo"; } >&5
   11180   (eval "$ac_try") 2>&5
   11181   ac_status=$?
   11182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11183   test $ac_status = 0; } &&
   11184    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   11185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11186   *) ac_try_echo=$ac_try;;
   11187 esac
   11188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11189 $as_echo "$ac_try_echo"; } >&5
   11190   (eval "$ac_try") 2>&5
   11191   ac_status=$?
   11192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11193   test $ac_status = 0; };
   11194 then
   11195   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   11196   if test "x$CC" != xcc; then
   11197     # Test first that cc exists at all.
   11198     if { ac_try='cc -c conftest.$ac_ext >&5'
   11199   { { case "(($ac_try" in
   11200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11201   *) ac_try_echo=$ac_try;;
   11202 esac
   11203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11204 $as_echo "$ac_try_echo"; } >&5
   11205   (eval "$ac_try") 2>&5
   11206   ac_status=$?
   11207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11208   test $ac_status = 0; }; }; then
   11209       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   11210       rm -f conftest2.*
   11211       if { { case "(($ac_try" in
   11212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11213   *) ac_try_echo=$ac_try;;
   11214 esac
   11215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11216 $as_echo "$ac_try_echo"; } >&5
   11217   (eval "$ac_try") 2>&5
   11218   ac_status=$?
   11219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11220   test $ac_status = 0; } &&
   11221 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   11222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11223   *) ac_try_echo=$ac_try;;
   11224 esac
   11225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11226 $as_echo "$ac_try_echo"; } >&5
   11227   (eval "$ac_try") 2>&5
   11228   ac_status=$?
   11229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11230   test $ac_status = 0; };
   11231       then
   11232 	# cc works too.
   11233 	:
   11234       else
   11235 	# cc exists but doesn't like -o.
   11236 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   11237       fi
   11238     fi
   11239   fi
   11240 else
   11241   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   11242 fi
   11243 rm -f core conftest*
   11244 
   11245 fi
   11246 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   11247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11248 $as_echo "yes" >&6; }
   11249 else
   11250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11251 $as_echo "no" >&6; }
   11252 
   11253 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   11254 
   11255 fi
   11256 
   11257 # FIXME: we rely on the cache variable name because
   11258 # there is no other way.
   11259 set dummy $CC
   11260 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   11261 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   11262 if test "$am_t" != yes; then
   11263    # Losing compiler, so override with the script.
   11264    # FIXME: It is wrong to rewrite CC.
   11265    # But if we don't then we get into trouble of one sort or another.
   11266    # A longer-term fix would be to have automake use am__CC in this case,
   11267    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   11268    CC="$am_aux_dir/compile $CC"
   11269 fi
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 # Define a configure option for an alternate module directory
   11276 
   11277 # Check whether --with-xorg-module-dir was given.
   11278 if test "${with_xorg_module_dir+set}" = set; then :
   11279   withval=$with_xorg_module_dir; moduledir="$withval"
   11280 else
   11281   moduledir="$libdir/xorg/modules"
   11282 fi
   11283 
   11284 
   11285 # Store the list of server defined optional extensions in REQUIRED_MODULES
   11286 
   11287 
   11288 	SAVE_CFLAGS="$CFLAGS"
   11289 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11290 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11291 /* end confdefs.h.  */
   11292 
   11293 #include "xorg-server.h"
   11294 #if !defined RANDR
   11295 #error RANDR not defined
   11296 #endif
   11297 
   11298 int
   11299 main ()
   11300 {
   11301 
   11302   ;
   11303   return 0;
   11304 }
   11305 _ACEOF
   11306 if ac_fn_c_try_compile "$LINENO"; then :
   11307   _EXT_CHECK=yes
   11308 else
   11309   _EXT_CHECK=no
   11310 fi
   11311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11312 	CFLAGS="$SAVE_CFLAGS"
   11313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11314 $as_echo_n "checking if RANDR is defined... " >&6; }
   11315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11316 $as_echo "$_EXT_CHECK" >&6; }
   11317 	if test "$_EXT_CHECK" != no; then
   11318 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11319 	fi
   11320 
   11321 
   11322 
   11323 	SAVE_CFLAGS="$CFLAGS"
   11324 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11325 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11326 /* end confdefs.h.  */
   11327 
   11328 #include "xorg-server.h"
   11329 #if !defined RENDER
   11330 #error RENDER not defined
   11331 #endif
   11332 
   11333 int
   11334 main ()
   11335 {
   11336 
   11337   ;
   11338   return 0;
   11339 }
   11340 _ACEOF
   11341 if ac_fn_c_try_compile "$LINENO"; then :
   11342   _EXT_CHECK=yes
   11343 else
   11344   _EXT_CHECK=no
   11345 fi
   11346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11347 	CFLAGS="$SAVE_CFLAGS"
   11348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   11349 $as_echo_n "checking if RENDER is defined... " >&6; }
   11350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11351 $as_echo "$_EXT_CHECK" >&6; }
   11352 	if test "$_EXT_CHECK" != no; then
   11353 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11354 	fi
   11355 
   11356 
   11357 
   11358 	SAVE_CFLAGS="$CFLAGS"
   11359 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11360 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11361 /* end confdefs.h.  */
   11362 
   11363 #include "xorg-server.h"
   11364 #if !defined XV
   11365 #error XV not defined
   11366 #endif
   11367 
   11368 int
   11369 main ()
   11370 {
   11371 
   11372   ;
   11373   return 0;
   11374 }
   11375 _ACEOF
   11376 if ac_fn_c_try_compile "$LINENO"; then :
   11377   _EXT_CHECK=yes
   11378 else
   11379   _EXT_CHECK=no
   11380 fi
   11381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11382 	CFLAGS="$SAVE_CFLAGS"
   11383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   11384 $as_echo_n "checking if XV is defined... " >&6; }
   11385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11386 $as_echo "$_EXT_CHECK" >&6; }
   11387 	if test "$_EXT_CHECK" != no; then
   11388 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   11389 	fi
   11390 
   11391 
   11392 
   11393 	SAVE_CFLAGS="$CFLAGS"
   11394 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11395 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11396 /* end confdefs.h.  */
   11397 
   11398 #include "xorg-server.h"
   11399 #if !defined DPMSExtension
   11400 #error DPMSExtension not defined
   11401 #endif
   11402 
   11403 int
   11404 main ()
   11405 {
   11406 
   11407   ;
   11408   return 0;
   11409 }
   11410 _ACEOF
   11411 if ac_fn_c_try_compile "$LINENO"; then :
   11412   _EXT_CHECK=yes
   11413 else
   11414   _EXT_CHECK=no
   11415 fi
   11416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11417 	CFLAGS="$SAVE_CFLAGS"
   11418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   11419 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   11420 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11421 $as_echo "$_EXT_CHECK" >&6; }
   11422 	if test "$_EXT_CHECK" != no; then
   11423 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   11424 	fi
   11425 
   11426 
   11427 # Obtain compiler/linker options for the driver dependencies
   11428 
   11429 pkg_failed=no
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11431 $as_echo_n "checking for XORG... " >&6; }
   11432 
   11433 if test -n "$XORG_CFLAGS"; then
   11434     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11435  elif test -n "$PKG_CONFIG"; then
   11436     if test -n "$PKG_CONFIG" && \
   11437     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11438   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11439   ac_status=$?
   11440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11441   test $ac_status = 0; }; then
   11442   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11443 else
   11444   pkg_failed=yes
   11445 fi
   11446  else
   11447     pkg_failed=untried
   11448 fi
   11449 if test -n "$XORG_LIBS"; then
   11450     pkg_cv_XORG_LIBS="$XORG_LIBS"
   11451  elif test -n "$PKG_CONFIG"; then
   11452     if test -n "$PKG_CONFIG" && \
   11453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11454   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   11455   ac_status=$?
   11456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11457   test $ac_status = 0; }; then
   11458   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11459 else
   11460   pkg_failed=yes
   11461 fi
   11462  else
   11463     pkg_failed=untried
   11464 fi
   11465 
   11466 
   11467 
   11468 if test $pkg_failed = yes; then
   11469    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11470 $as_echo "no" >&6; }
   11471 
   11472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11473         _pkg_short_errors_supported=yes
   11474 else
   11475         _pkg_short_errors_supported=no
   11476 fi
   11477         if test $_pkg_short_errors_supported = yes; then
   11478 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11479         else
   11480 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   11481         fi
   11482 	# Put the nasty error message in config.log where it belongs
   11483 	echo "$XORG_PKG_ERRORS" >&5
   11484 
   11485 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   11486 
   11487 $XORG_PKG_ERRORS
   11488 
   11489 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11490 installed software in a non-standard prefix.
   11491 
   11492 Alternatively, you may set the environment variables XORG_CFLAGS
   11493 and XORG_LIBS to avoid the need to call pkg-config.
   11494 See the pkg-config man page for more details." "$LINENO" 5
   11495 elif test $pkg_failed = untried; then
   11496      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11497 $as_echo "no" >&6; }
   11498 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11500 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11501 is in your PATH or set the PKG_CONFIG environment variable to the full
   11502 path to pkg-config.
   11503 
   11504 Alternatively, you may set the environment variables XORG_CFLAGS
   11505 and XORG_LIBS to avoid the need to call pkg-config.
   11506 See the pkg-config man page for more details.
   11507 
   11508 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11509 See \`config.log' for more details" "$LINENO" 5 ; }
   11510 else
   11511 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11512 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11513         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11514 $as_echo "yes" >&6; }
   11515 
   11516 fi
   11517 
   11518 # Checks for libraries.
   11519 SAVE_CPPFLAGS="$CPPFLAGS"
   11520 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   11521 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   11522 "
   11523 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then :
   11524   XSERVER_LIBPCIACCESS=yes
   11525 else
   11526   XSERVER_LIBPCIACCESS=no
   11527 fi
   11528 
   11529 ac_fn_c_check_header_mongrel "$LINENO" "xf1bpp.h" "ac_cv_header_xf1bpp_h" "$ac_includes_default"
   11530 if test "x$ac_cv_header_xf1bpp_h" = x""yes; then :
   11531 
   11532 $as_echo "#define HAVE_XF1BPP 1" >>confdefs.h
   11533 
   11534 fi
   11535 
   11536 
   11537 ac_fn_c_check_header_mongrel "$LINENO" "xf4bpp.h" "ac_cv_header_xf4bpp_h" "$ac_includes_default"
   11538 if test "x$ac_cv_header_xf4bpp_h" = x""yes; then :
   11539 
   11540 $as_echo "#define HAVE_XF4BPP 1" >>confdefs.h
   11541 
   11542 fi
   11543 
   11544 
   11545 CPPFLAGS="$SAVE_CPPFLAGS"
   11546 
   11547 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11548 
   11549 pkg_failed=no
   11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   11551 $as_echo_n "checking for PCIACCESS... " >&6; }
   11552 
   11553 if test -n "$PCIACCESS_CFLAGS"; then
   11554     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   11555  elif test -n "$PKG_CONFIG"; then
   11556     if test -n "$PKG_CONFIG" && \
   11557     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   11558   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   11559   ac_status=$?
   11560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11561   test $ac_status = 0; }; then
   11562   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   11563 else
   11564   pkg_failed=yes
   11565 fi
   11566  else
   11567     pkg_failed=untried
   11568 fi
   11569 if test -n "$PCIACCESS_LIBS"; then
   11570     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   11571  elif test -n "$PKG_CONFIG"; then
   11572     if test -n "$PKG_CONFIG" && \
   11573     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   11574   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   11575   ac_status=$?
   11576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11577   test $ac_status = 0; }; then
   11578   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   11579 else
   11580   pkg_failed=yes
   11581 fi
   11582  else
   11583     pkg_failed=untried
   11584 fi
   11585 
   11586 
   11587 
   11588 if test $pkg_failed = yes; then
   11589    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11590 $as_echo "no" >&6; }
   11591 
   11592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11593         _pkg_short_errors_supported=yes
   11594 else
   11595         _pkg_short_errors_supported=no
   11596 fi
   11597         if test $_pkg_short_errors_supported = yes; then
   11598 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   11599         else
   11600 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   11601         fi
   11602 	# Put the nasty error message in config.log where it belongs
   11603 	echo "$PCIACCESS_PKG_ERRORS" >&5
   11604 
   11605 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   11606 
   11607 $PCIACCESS_PKG_ERRORS
   11608 
   11609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11610 installed software in a non-standard prefix.
   11611 
   11612 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11613 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11614 See the pkg-config man page for more details." "$LINENO" 5
   11615 elif test $pkg_failed = untried; then
   11616      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11617 $as_echo "no" >&6; }
   11618 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11620 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11621 is in your PATH or set the PKG_CONFIG environment variable to the full
   11622 path to pkg-config.
   11623 
   11624 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   11625 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   11626 See the pkg-config man page for more details.
   11627 
   11628 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11629 See \`config.log' for more details" "$LINENO" 5 ; }
   11630 else
   11631 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   11632 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   11633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11634 $as_echo "yes" >&6; }
   11635 
   11636 fi
   11637     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   11638 fi
   11639  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   11640   XSERVER_LIBPCIACCESS_TRUE=
   11641   XSERVER_LIBPCIACCESS_FALSE='#'
   11642 else
   11643   XSERVER_LIBPCIACCESS_TRUE='#'
   11644   XSERVER_LIBPCIACCESS_FALSE=
   11645 fi
   11646 
   11647 
   11648 save_CFLAGS="$CFLAGS"
   11649 CFLAGS="$XORG_CFLAGS"
   11650 ac_fn_c_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   11651 "
   11652 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then :
   11653 
   11654 $as_echo "#define HAVE_ISA 1" >>confdefs.h
   11655 
   11656 fi
   11657 
   11658 CFLAGS="$save_CFLAGS"
   11659 
   11660 
   11661 # Checks for functions (often defined as inlines in compiler.h)
   11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inb" >&5
   11663 $as_echo_n "checking for inb... " >&6; }
   11664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11665 /* end confdefs.h.  */
   11666 
   11667 #include "util/AsmMacros.h"
   11668 
   11669 int main() {
   11670 	int x = inb(0);
   11671 	return x;
   11672 }
   11673 
   11674 _ACEOF
   11675 if ac_fn_c_try_link "$LINENO"; then :
   11676   HAVE_INB=yes
   11677 else
   11678   HAVE_INB=no
   11679 fi
   11680 rm -f core conftest.err conftest.$ac_objext \
   11681     conftest$ac_exeext conftest.$ac_ext
   11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_INB" >&5
   11683 $as_echo "$HAVE_INB" >&6; }
   11684  if test x$HAVE_INB = xyes; then
   11685   BUILD_UTILS_TRUE=
   11686   BUILD_UTILS_FALSE='#'
   11687 else
   11688   BUILD_UTILS_TRUE='#'
   11689   BUILD_UTILS_FALSE=
   11690 fi
   11691 
   11692 
   11693 
   11694 
   11695 DRIVER_NAME=chips
   11696 
   11697 
   11698 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   11699 
   11700 cat >confcache <<\_ACEOF
   11701 # This file is a shell script that caches the results of configure
   11702 # tests run on this system so they can be shared between configure
   11703 # scripts and configure runs, see configure's option --config-cache.
   11704 # It is not useful on other systems.  If it contains results you don't
   11705 # want to keep, you may remove or edit it.
   11706 #
   11707 # config.status only pays attention to the cache file if you give it
   11708 # the --recheck option to rerun configure.
   11709 #
   11710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11712 # following values.
   11713 
   11714 _ACEOF
   11715 
   11716 # The following way of writing the cache mishandles newlines in values,
   11717 # but we know of no workaround that is simple, portable, and efficient.
   11718 # So, we kill variables containing newlines.
   11719 # Ultrix sh set writes to stderr and can't be redirected directly,
   11720 # and sets the high bit in the cache file unless we assign to the vars.
   11721 (
   11722   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11723     eval ac_val=\$$ac_var
   11724     case $ac_val in #(
   11725     *${as_nl}*)
   11726       case $ac_var in #(
   11727       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11728 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11729       esac
   11730       case $ac_var in #(
   11731       _ | IFS | as_nl) ;; #(
   11732       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11733       *) { eval $ac_var=; unset $ac_var;} ;;
   11734       esac ;;
   11735     esac
   11736   done
   11737 
   11738   (set) 2>&1 |
   11739     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11740     *${as_nl}ac_space=\ *)
   11741       # `set' does not quote correctly, so add quotes: double-quote
   11742       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11743       sed -n \
   11744 	"s/'/'\\\\''/g;
   11745 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11746       ;; #(
   11747     *)
   11748       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11749       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11750       ;;
   11751     esac |
   11752     sort
   11753 ) |
   11754   sed '
   11755      /^ac_cv_env_/b end
   11756      t clear
   11757      :clear
   11758      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11759      t end
   11760      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11761      :end' >>confcache
   11762 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11763   if test -w "$cache_file"; then
   11764     test "x$cache_file" != "x/dev/null" &&
   11765       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11766 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11767     cat confcache >$cache_file
   11768   else
   11769     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11770 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11771   fi
   11772 fi
   11773 rm -f confcache
   11774 
   11775 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11776 # Let make expand exec_prefix.
   11777 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11778 
   11779 DEFS=-DHAVE_CONFIG_H
   11780 
   11781 ac_libobjs=
   11782 ac_ltlibobjs=
   11783 U=
   11784 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11785   # 1. Remove the extension, and $U if already installed.
   11786   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11787   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11788   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11789   #    will be set to the directory where LIBOBJS objects are built.
   11790   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11791   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11792 done
   11793 LIBOBJS=$ac_libobjs
   11794 
   11795 LTLIBOBJS=$ac_ltlibobjs
   11796 
   11797 
   11798  if test -n "$EXEEXT"; then
   11799   am__EXEEXT_TRUE=
   11800   am__EXEEXT_FALSE='#'
   11801 else
   11802   am__EXEEXT_TRUE='#'
   11803   am__EXEEXT_FALSE=
   11804 fi
   11805 
   11806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11807   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11809 fi
   11810 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11811   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11813 fi
   11814 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11815   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11817 fi
   11818 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   11819   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   11820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11821 fi
   11822 if test -z "${BUILD_UTILS_TRUE}" && test -z "${BUILD_UTILS_FALSE}"; then
   11823   as_fn_error $? "conditional \"BUILD_UTILS\" was never defined.
   11824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11825 fi
   11826 
   11827 : ${CONFIG_STATUS=./config.status}
   11828 ac_write_fail=0
   11829 ac_clean_files_save=$ac_clean_files
   11830 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11832 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11833 as_write_fail=0
   11834 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11835 #! $SHELL
   11836 # Generated by $as_me.
   11837 # Run this file to recreate the current configuration.
   11838 # Compiler output produced by configure, useful for debugging
   11839 # configure, is in config.log if it exists.
   11840 
   11841 debug=false
   11842 ac_cs_recheck=false
   11843 ac_cs_silent=false
   11844 
   11845 SHELL=\${CONFIG_SHELL-$SHELL}
   11846 export SHELL
   11847 _ASEOF
   11848 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11849 ## -------------------- ##
   11850 ## M4sh Initialization. ##
   11851 ## -------------------- ##
   11852 
   11853 # Be more Bourne compatible
   11854 DUALCASE=1; export DUALCASE # for MKS sh
   11855 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11856   emulate sh
   11857   NULLCMD=:
   11858   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11859   # is contrary to our usage.  Disable this feature.
   11860   alias -g '${1+"$@"}'='"$@"'
   11861   setopt NO_GLOB_SUBST
   11862 else
   11863   case `(set -o) 2>/dev/null` in #(
   11864   *posix*) :
   11865     set -o posix ;; #(
   11866   *) :
   11867      ;;
   11868 esac
   11869 fi
   11870 
   11871 
   11872 as_nl='
   11873 '
   11874 export as_nl
   11875 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11876 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11879 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11880 # but without wasting forks for bash or zsh.
   11881 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11882     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11883   as_echo='print -r --'
   11884   as_echo_n='print -rn --'
   11885 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11886   as_echo='printf %s\n'
   11887   as_echo_n='printf %s'
   11888 else
   11889   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11890     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11891     as_echo_n='/usr/ucb/echo -n'
   11892   else
   11893     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11894     as_echo_n_body='eval
   11895       arg=$1;
   11896       case $arg in #(
   11897       *"$as_nl"*)
   11898 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11899 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11900       esac;
   11901       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11902     '
   11903     export as_echo_n_body
   11904     as_echo_n='sh -c $as_echo_n_body as_echo'
   11905   fi
   11906   export as_echo_body
   11907   as_echo='sh -c $as_echo_body as_echo'
   11908 fi
   11909 
   11910 # The user is always right.
   11911 if test "${PATH_SEPARATOR+set}" != set; then
   11912   PATH_SEPARATOR=:
   11913   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11914     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11915       PATH_SEPARATOR=';'
   11916   }
   11917 fi
   11918 
   11919 
   11920 # IFS
   11921 # We need space, tab and new line, in precisely that order.  Quoting is
   11922 # there to prevent editors from complaining about space-tab.
   11923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11924 # splitting by setting IFS to empty value.)
   11925 IFS=" ""	$as_nl"
   11926 
   11927 # Find who we are.  Look in the path if we contain no directory separator.
   11928 case $0 in #((
   11929   *[\\/]* ) as_myself=$0 ;;
   11930   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11931 for as_dir in $PATH
   11932 do
   11933   IFS=$as_save_IFS
   11934   test -z "$as_dir" && as_dir=.
   11935     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11936   done
   11937 IFS=$as_save_IFS
   11938 
   11939      ;;
   11940 esac
   11941 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11942 # in which case we are not to be found in the path.
   11943 if test "x$as_myself" = x; then
   11944   as_myself=$0
   11945 fi
   11946 if test ! -f "$as_myself"; then
   11947   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11948   exit 1
   11949 fi
   11950 
   11951 # Unset variables that we do not need and which cause bugs (e.g. in
   11952 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11953 # suppresses any "Segmentation fault" message there.  '((' could
   11954 # trigger a bug in pdksh 5.2.14.
   11955 for as_var in BASH_ENV ENV MAIL MAILPATH
   11956 do eval test x\${$as_var+set} = xset \
   11957   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11958 done
   11959 PS1='$ '
   11960 PS2='> '
   11961 PS4='+ '
   11962 
   11963 # NLS nuisances.
   11964 LC_ALL=C
   11965 export LC_ALL
   11966 LANGUAGE=C
   11967 export LANGUAGE
   11968 
   11969 # CDPATH.
   11970 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11971 
   11972 
   11973 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11974 # ----------------------------------------
   11975 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11976 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11977 # script with STATUS, using 1 if that was 0.
   11978 as_fn_error ()
   11979 {
   11980   as_status=$1; test $as_status -eq 0 && as_status=1
   11981   if test "$4"; then
   11982     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11983     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11984   fi
   11985   $as_echo "$as_me: error: $2" >&2
   11986   as_fn_exit $as_status
   11987 } # as_fn_error
   11988 
   11989 
   11990 # as_fn_set_status STATUS
   11991 # -----------------------
   11992 # Set $? to STATUS, without forking.
   11993 as_fn_set_status ()
   11994 {
   11995   return $1
   11996 } # as_fn_set_status
   11997 
   11998 # as_fn_exit STATUS
   11999 # -----------------
   12000 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12001 as_fn_exit ()
   12002 {
   12003   set +e
   12004   as_fn_set_status $1
   12005   exit $1
   12006 } # as_fn_exit
   12007 
   12008 # as_fn_unset VAR
   12009 # ---------------
   12010 # Portably unset VAR.
   12011 as_fn_unset ()
   12012 {
   12013   { eval $1=; unset $1;}
   12014 }
   12015 as_unset=as_fn_unset
   12016 # as_fn_append VAR VALUE
   12017 # ----------------------
   12018 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12019 # advantage of any shell optimizations that allow amortized linear growth over
   12020 # repeated appends, instead of the typical quadratic growth present in naive
   12021 # implementations.
   12022 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12023   eval 'as_fn_append ()
   12024   {
   12025     eval $1+=\$2
   12026   }'
   12027 else
   12028   as_fn_append ()
   12029   {
   12030     eval $1=\$$1\$2
   12031   }
   12032 fi # as_fn_append
   12033 
   12034 # as_fn_arith ARG...
   12035 # ------------------
   12036 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12037 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12038 # must be portable across $(()) and expr.
   12039 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12040   eval 'as_fn_arith ()
   12041   {
   12042     as_val=$(( $* ))
   12043   }'
   12044 else
   12045   as_fn_arith ()
   12046   {
   12047     as_val=`expr "$@" || test $? -eq 1`
   12048   }
   12049 fi # as_fn_arith
   12050 
   12051 
   12052 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12053    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12054   as_expr=expr
   12055 else
   12056   as_expr=false
   12057 fi
   12058 
   12059 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12060   as_basename=basename
   12061 else
   12062   as_basename=false
   12063 fi
   12064 
   12065 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12066   as_dirname=dirname
   12067 else
   12068   as_dirname=false
   12069 fi
   12070 
   12071 as_me=`$as_basename -- "$0" ||
   12072 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12073 	 X"$0" : 'X\(//\)$' \| \
   12074 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12075 $as_echo X/"$0" |
   12076     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12077 	    s//\1/
   12078 	    q
   12079 	  }
   12080 	  /^X\/\(\/\/\)$/{
   12081 	    s//\1/
   12082 	    q
   12083 	  }
   12084 	  /^X\/\(\/\).*/{
   12085 	    s//\1/
   12086 	    q
   12087 	  }
   12088 	  s/.*/./; q'`
   12089 
   12090 # Avoid depending upon Character Ranges.
   12091 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12092 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12093 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12094 as_cr_digits='0123456789'
   12095 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12096 
   12097 ECHO_C= ECHO_N= ECHO_T=
   12098 case `echo -n x` in #(((((
   12099 -n*)
   12100   case `echo 'xy\c'` in
   12101   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12102   xy)  ECHO_C='\c';;
   12103   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12104        ECHO_T='	';;
   12105   esac;;
   12106 *)
   12107   ECHO_N='-n';;
   12108 esac
   12109 
   12110 rm -f conf$$ conf$$.exe conf$$.file
   12111 if test -d conf$$.dir; then
   12112   rm -f conf$$.dir/conf$$.file
   12113 else
   12114   rm -f conf$$.dir
   12115   mkdir conf$$.dir 2>/dev/null
   12116 fi
   12117 if (echo >conf$$.file) 2>/dev/null; then
   12118   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12119     as_ln_s='ln -s'
   12120     # ... but there are two gotchas:
   12121     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12122     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12123     # In both cases, we have to default to `cp -p'.
   12124     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12125       as_ln_s='cp -p'
   12126   elif ln conf$$.file conf$$ 2>/dev/null; then
   12127     as_ln_s=ln
   12128   else
   12129     as_ln_s='cp -p'
   12130   fi
   12131 else
   12132   as_ln_s='cp -p'
   12133 fi
   12134 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12135 rmdir conf$$.dir 2>/dev/null
   12136 
   12137 
   12138 # as_fn_mkdir_p
   12139 # -------------
   12140 # Create "$as_dir" as a directory, including parents if necessary.
   12141 as_fn_mkdir_p ()
   12142 {
   12143 
   12144   case $as_dir in #(
   12145   -*) as_dir=./$as_dir;;
   12146   esac
   12147   test -d "$as_dir" || eval $as_mkdir_p || {
   12148     as_dirs=
   12149     while :; do
   12150       case $as_dir in #(
   12151       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12152       *) as_qdir=$as_dir;;
   12153       esac
   12154       as_dirs="'$as_qdir' $as_dirs"
   12155       as_dir=`$as_dirname -- "$as_dir" ||
   12156 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12157 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12158 	 X"$as_dir" : 'X\(//\)$' \| \
   12159 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12160 $as_echo X"$as_dir" |
   12161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12162 	    s//\1/
   12163 	    q
   12164 	  }
   12165 	  /^X\(\/\/\)[^/].*/{
   12166 	    s//\1/
   12167 	    q
   12168 	  }
   12169 	  /^X\(\/\/\)$/{
   12170 	    s//\1/
   12171 	    q
   12172 	  }
   12173 	  /^X\(\/\).*/{
   12174 	    s//\1/
   12175 	    q
   12176 	  }
   12177 	  s/.*/./; q'`
   12178       test -d "$as_dir" && break
   12179     done
   12180     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12181   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12182 
   12183 
   12184 } # as_fn_mkdir_p
   12185 if mkdir -p . 2>/dev/null; then
   12186   as_mkdir_p='mkdir -p "$as_dir"'
   12187 else
   12188   test -d ./-p && rmdir ./-p
   12189   as_mkdir_p=false
   12190 fi
   12191 
   12192 if test -x / >/dev/null 2>&1; then
   12193   as_test_x='test -x'
   12194 else
   12195   if ls -dL / >/dev/null 2>&1; then
   12196     as_ls_L_option=L
   12197   else
   12198     as_ls_L_option=
   12199   fi
   12200   as_test_x='
   12201     eval sh -c '\''
   12202       if test -d "$1"; then
   12203 	test -d "$1/.";
   12204       else
   12205 	case $1 in #(
   12206 	-*)set "./$1";;
   12207 	esac;
   12208 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12209 	???[sx]*):;;*)false;;esac;fi
   12210     '\'' sh
   12211   '
   12212 fi
   12213 as_executable_p=$as_test_x
   12214 
   12215 # Sed expression to map a string onto a valid CPP name.
   12216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12217 
   12218 # Sed expression to map a string onto a valid variable name.
   12219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12220 
   12221 
   12222 exec 6>&1
   12223 ## ----------------------------------- ##
   12224 ## Main body of $CONFIG_STATUS script. ##
   12225 ## ----------------------------------- ##
   12226 _ASEOF
   12227 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12228 
   12229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12230 # Save the log message, to keep $0 and so on meaningful, and to
   12231 # report actual input values of CONFIG_FILES etc. instead of their
   12232 # values after options handling.
   12233 ac_log="
   12234 This file was extended by xf86-video-chips $as_me 1.2.4, which was
   12235 generated by GNU Autoconf 2.67.  Invocation command line was
   12236 
   12237   CONFIG_FILES    = $CONFIG_FILES
   12238   CONFIG_HEADERS  = $CONFIG_HEADERS
   12239   CONFIG_LINKS    = $CONFIG_LINKS
   12240   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12241   $ $0 $@
   12242 
   12243 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12244 "
   12245 
   12246 _ACEOF
   12247 
   12248 case $ac_config_files in *"
   12249 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12250 esac
   12251 
   12252 case $ac_config_headers in *"
   12253 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12254 esac
   12255 
   12256 
   12257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12258 # Files that config.status was made for.
   12259 config_files="$ac_config_files"
   12260 config_headers="$ac_config_headers"
   12261 config_commands="$ac_config_commands"
   12262 
   12263 _ACEOF
   12264 
   12265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12266 ac_cs_usage="\
   12267 \`$as_me' instantiates files and other configuration actions
   12268 from templates according to the current configuration.  Unless the files
   12269 and actions are specified as TAGs, all are instantiated by default.
   12270 
   12271 Usage: $0 [OPTION]... [TAG]...
   12272 
   12273   -h, --help       print this help, then exit
   12274   -V, --version    print version number and configuration settings, then exit
   12275       --config     print configuration, then exit
   12276   -q, --quiet, --silent
   12277                    do not print progress messages
   12278   -d, --debug      don't remove temporary files
   12279       --recheck    update $as_me by reconfiguring in the same conditions
   12280       --file=FILE[:TEMPLATE]
   12281                    instantiate the configuration file FILE
   12282       --header=FILE[:TEMPLATE]
   12283                    instantiate the configuration header FILE
   12284 
   12285 Configuration files:
   12286 $config_files
   12287 
   12288 Configuration headers:
   12289 $config_headers
   12290 
   12291 Configuration commands:
   12292 $config_commands
   12293 
   12294 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   12295 
   12296 _ACEOF
   12297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12298 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12299 ac_cs_version="\\
   12300 xf86-video-chips config.status 1.2.4
   12301 configured by $0, generated by GNU Autoconf 2.67,
   12302   with options \\"\$ac_cs_config\\"
   12303 
   12304 Copyright (C) 2010 Free Software Foundation, Inc.
   12305 This config.status script is free software; the Free Software Foundation
   12306 gives unlimited permission to copy, distribute and modify it."
   12307 
   12308 ac_pwd='$ac_pwd'
   12309 srcdir='$srcdir'
   12310 INSTALL='$INSTALL'
   12311 MKDIR_P='$MKDIR_P'
   12312 AWK='$AWK'
   12313 test -n "\$AWK" || AWK=awk
   12314 _ACEOF
   12315 
   12316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12317 # The default lists apply if the user does not specify any file.
   12318 ac_need_defaults=:
   12319 while test $# != 0
   12320 do
   12321   case $1 in
   12322   --*=?*)
   12323     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12324     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12325     ac_shift=:
   12326     ;;
   12327   --*=)
   12328     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12329     ac_optarg=
   12330     ac_shift=:
   12331     ;;
   12332   *)
   12333     ac_option=$1
   12334     ac_optarg=$2
   12335     ac_shift=shift
   12336     ;;
   12337   esac
   12338 
   12339   case $ac_option in
   12340   # Handling of the options.
   12341   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12342     ac_cs_recheck=: ;;
   12343   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12344     $as_echo "$ac_cs_version"; exit ;;
   12345   --config | --confi | --conf | --con | --co | --c )
   12346     $as_echo "$ac_cs_config"; exit ;;
   12347   --debug | --debu | --deb | --de | --d | -d )
   12348     debug=: ;;
   12349   --file | --fil | --fi | --f )
   12350     $ac_shift
   12351     case $ac_optarg in
   12352     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12353     '') as_fn_error $? "missing file argument" ;;
   12354     esac
   12355     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12356     ac_need_defaults=false;;
   12357   --header | --heade | --head | --hea )
   12358     $ac_shift
   12359     case $ac_optarg in
   12360     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12361     esac
   12362     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12363     ac_need_defaults=false;;
   12364   --he | --h)
   12365     # Conflict between --help and --header
   12366     as_fn_error $? "ambiguous option: \`$1'
   12367 Try \`$0 --help' for more information.";;
   12368   --help | --hel | -h )
   12369     $as_echo "$ac_cs_usage"; exit ;;
   12370   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12371   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12372     ac_cs_silent=: ;;
   12373 
   12374   # This is an error.
   12375   -*) as_fn_error $? "unrecognized option: \`$1'
   12376 Try \`$0 --help' for more information." ;;
   12377 
   12378   *) as_fn_append ac_config_targets " $1"
   12379      ac_need_defaults=false ;;
   12380 
   12381   esac
   12382   shift
   12383 done
   12384 
   12385 ac_configure_extra_args=
   12386 
   12387 if $ac_cs_silent; then
   12388   exec 6>/dev/null
   12389   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12390 fi
   12391 
   12392 _ACEOF
   12393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12394 if \$ac_cs_recheck; then
   12395   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12396   shift
   12397   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   12398   CONFIG_SHELL='$SHELL'
   12399   export CONFIG_SHELL
   12400   exec "\$@"
   12401 fi
   12402 
   12403 _ACEOF
   12404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12405 exec 5>>config.log
   12406 {
   12407   echo
   12408   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12409 ## Running $as_me. ##
   12410 _ASBOX
   12411   $as_echo "$ac_log"
   12412 } >&5
   12413 
   12414 _ACEOF
   12415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12416 #
   12417 # INIT-COMMANDS
   12418 #
   12419 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   12420 
   12421 
   12422 # The HP-UX ksh and POSIX shell print the target directory to stdout
   12423 # if CDPATH is set.
   12424 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12425 
   12426 sed_quote_subst='$sed_quote_subst'
   12427 double_quote_subst='$double_quote_subst'
   12428 delay_variable_subst='$delay_variable_subst'
   12429 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   12430 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   12431 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   12432 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   12433 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   12434 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   12435 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12436 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   12437 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   12438 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   12439 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   12440 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   12441 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   12442 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   12443 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   12444 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12445 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   12446 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   12447 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   12448 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   12449 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   12450 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   12451 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   12452 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   12453 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   12454 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   12455 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12456 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12457 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   12458 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   12459 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   12460 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   12461 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12462 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   12463 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   12464 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12465 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12466 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12467 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   12468 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   12469 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   12470 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   12471 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   12472 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   12473 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   12474 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12475 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   12476 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   12477 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   12478 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   12479 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12480 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   12481 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   12482 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   12483 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   12484 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   12485 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   12486 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   12487 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   12488 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   12489 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   12490 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   12491 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12492 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12493 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   12494 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   12495 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12496 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12497 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   12498 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12499 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12500 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12501 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12502 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12503 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12504 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12505 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12506 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   12507 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12508 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   12509 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   12510 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   12511 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   12512 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   12513 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12514 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   12515 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   12516 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   12517 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   12518 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   12519 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12520 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12521 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   12522 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12523 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12524 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   12525 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   12526 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   12527 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   12528 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12529 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   12530 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   12531 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12532 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12533 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12534 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12535 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12536 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   12537 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   12538 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   12539 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12540 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   12541 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   12542 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   12543 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   12544 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   12545 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12546 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   12547 
   12548 LTCC='$LTCC'
   12549 LTCFLAGS='$LTCFLAGS'
   12550 compiler='$compiler_DEFAULT'
   12551 
   12552 # Quote evaled strings.
   12553 for var in SED \
   12554 GREP \
   12555 EGREP \
   12556 FGREP \
   12557 LD \
   12558 NM \
   12559 LN_S \
   12560 lt_SP2NL \
   12561 lt_NL2SP \
   12562 reload_flag \
   12563 OBJDUMP \
   12564 deplibs_check_method \
   12565 file_magic_cmd \
   12566 AR \
   12567 AR_FLAGS \
   12568 STRIP \
   12569 RANLIB \
   12570 CC \
   12571 CFLAGS \
   12572 compiler \
   12573 lt_cv_sys_global_symbol_pipe \
   12574 lt_cv_sys_global_symbol_to_cdecl \
   12575 lt_cv_sys_global_symbol_to_c_name_address \
   12576 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   12577 SHELL \
   12578 ECHO \
   12579 lt_prog_compiler_no_builtin_flag \
   12580 lt_prog_compiler_wl \
   12581 lt_prog_compiler_pic \
   12582 lt_prog_compiler_static \
   12583 lt_cv_prog_compiler_c_o \
   12584 need_locks \
   12585 DSYMUTIL \
   12586 NMEDIT \
   12587 LIPO \
   12588 OTOOL \
   12589 OTOOL64 \
   12590 shrext_cmds \
   12591 export_dynamic_flag_spec \
   12592 whole_archive_flag_spec \
   12593 compiler_needs_object \
   12594 with_gnu_ld \
   12595 allow_undefined_flag \
   12596 no_undefined_flag \
   12597 hardcode_libdir_flag_spec \
   12598 hardcode_libdir_flag_spec_ld \
   12599 hardcode_libdir_separator \
   12600 fix_srcfile_path \
   12601 exclude_expsyms \
   12602 include_expsyms \
   12603 file_list_spec \
   12604 variables_saved_for_relink \
   12605 libname_spec \
   12606 library_names_spec \
   12607 soname_spec \
   12608 finish_eval \
   12609 old_striplib \
   12610 striplib; do
   12611     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12612     *[\\\\\\\`\\"\\\$]*)
   12613       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   12614       ;;
   12615     *)
   12616       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12617       ;;
   12618     esac
   12619 done
   12620 
   12621 # Double-quote double-evaled strings.
   12622 for var in reload_cmds \
   12623 old_postinstall_cmds \
   12624 old_postuninstall_cmds \
   12625 old_archive_cmds \
   12626 extract_expsyms_cmds \
   12627 old_archive_from_new_cmds \
   12628 old_archive_from_expsyms_cmds \
   12629 archive_cmds \
   12630 archive_expsym_cmds \
   12631 module_cmds \
   12632 module_expsym_cmds \
   12633 export_symbols_cmds \
   12634 prelink_cmds \
   12635 postinstall_cmds \
   12636 postuninstall_cmds \
   12637 finish_cmds \
   12638 sys_lib_search_path_spec \
   12639 sys_lib_dlsearch_path_spec; do
   12640     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   12641     *[\\\\\\\`\\"\\\$]*)
   12642       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   12643       ;;
   12644     *)
   12645       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   12646       ;;
   12647     esac
   12648 done
   12649 
   12650 # Fix-up fallback echo if it was mangled by the above quoting rules.
   12651 case \$lt_ECHO in
   12652 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   12653   ;;
   12654 esac
   12655 
   12656 ac_aux_dir='$ac_aux_dir'
   12657 xsi_shell='$xsi_shell'
   12658 lt_shell_append='$lt_shell_append'
   12659 
   12660 # See if we are running on zsh, and set the options which allow our
   12661 # commands through without removal of \ escapes INIT.
   12662 if test -n "\${ZSH_VERSION+set}" ; then
   12663    setopt NO_GLOB_SUBST
   12664 fi
   12665 
   12666 
   12667     PACKAGE='$PACKAGE'
   12668     VERSION='$VERSION'
   12669     TIMESTAMP='$TIMESTAMP'
   12670     RM='$RM'
   12671     ofile='$ofile'
   12672 
   12673 
   12674 
   12675 
   12676 _ACEOF
   12677 
   12678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12679 
   12680 # Handling of arguments.
   12681 for ac_config_target in $ac_config_targets
   12682 do
   12683   case $ac_config_target in
   12684     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12685     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12686     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   12687     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12688     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   12689     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12690     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   12691 
   12692   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
   12693   esac
   12694 done
   12695 
   12696 
   12697 # If the user did not use the arguments to specify the items to instantiate,
   12698 # then the envvar interface is used.  Set only those that are not.
   12699 # We use the long form for the default assignment because of an extremely
   12700 # bizarre bug on SunOS 4.1.3.
   12701 if $ac_need_defaults; then
   12702   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   12703   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   12704   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   12705 fi
   12706 
   12707 # Have a temporary directory for convenience.  Make it in the build tree
   12708 # simply because there is no reason against having it here, and in addition,
   12709 # creating and moving files from /tmp can sometimes cause problems.
   12710 # Hook for its removal unless debugging.
   12711 # Note that there is a small window in which the directory will not be cleaned:
   12712 # after its creation but before its name has been assigned to `$tmp'.
   12713 $debug ||
   12714 {
   12715   tmp=
   12716   trap 'exit_status=$?
   12717   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   12718 ' 0
   12719   trap 'as_fn_exit 1' 1 2 13 15
   12720 }
   12721 # Create a (secure) tmp directory for tmp files.
   12722 
   12723 {
   12724   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12725   test -n "$tmp" && test -d "$tmp"
   12726 }  ||
   12727 {
   12728   tmp=./conf$$-$RANDOM
   12729   (umask 077 && mkdir "$tmp")
   12730 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12731 
   12732 # Set up the scripts for CONFIG_FILES section.
   12733 # No need to generate them if there are no CONFIG_FILES.
   12734 # This happens for instance with `./config.status config.h'.
   12735 if test -n "$CONFIG_FILES"; then
   12736 
   12737 
   12738 ac_cr=`echo X | tr X '\015'`
   12739 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12740 # But we know of no other shell where ac_cr would be empty at this
   12741 # point, so we can use a bashism as a fallback.
   12742 if test "x$ac_cr" = x; then
   12743   eval ac_cr=\$\'\\r\'
   12744 fi
   12745 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12746 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12747   ac_cs_awk_cr='\\r'
   12748 else
   12749   ac_cs_awk_cr=$ac_cr
   12750 fi
   12751 
   12752 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   12753 _ACEOF
   12754 
   12755 
   12756 {
   12757   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12758   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12759   echo "_ACEOF"
   12760 } >conf$$subs.sh ||
   12761   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12762 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12763 ac_delim='%!_!# '
   12764 for ac_last_try in false false false false false :; do
   12765   . ./conf$$subs.sh ||
   12766     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12767 
   12768   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12769   if test $ac_delim_n = $ac_delim_num; then
   12770     break
   12771   elif $ac_last_try; then
   12772     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12773   else
   12774     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12775   fi
   12776 done
   12777 rm -f conf$$subs.sh
   12778 
   12779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12780 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   12781 _ACEOF
   12782 sed -n '
   12783 h
   12784 s/^/S["/; s/!.*/"]=/
   12785 p
   12786 g
   12787 s/^[^!]*!//
   12788 :repl
   12789 t repl
   12790 s/'"$ac_delim"'$//
   12791 t delim
   12792 :nl
   12793 h
   12794 s/\(.\{148\}\)..*/\1/
   12795 t more1
   12796 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12797 p
   12798 n
   12799 b repl
   12800 :more1
   12801 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12802 p
   12803 g
   12804 s/.\{148\}//
   12805 t nl
   12806 :delim
   12807 h
   12808 s/\(.\{148\}\)..*/\1/
   12809 t more2
   12810 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12811 p
   12812 b
   12813 :more2
   12814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12815 p
   12816 g
   12817 s/.\{148\}//
   12818 t delim
   12819 ' <conf$$subs.awk | sed '
   12820 /^[^""]/{
   12821   N
   12822   s/\n//
   12823 }
   12824 ' >>$CONFIG_STATUS || ac_write_fail=1
   12825 rm -f conf$$subs.awk
   12826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12827 _ACAWK
   12828 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   12829   for (key in S) S_is_set[key] = 1
   12830   FS = ""
   12831 
   12832 }
   12833 {
   12834   line = $ 0
   12835   nfields = split(line, field, "@")
   12836   substed = 0
   12837   len = length(field[1])
   12838   for (i = 2; i < nfields; i++) {
   12839     key = field[i]
   12840     keylen = length(key)
   12841     if (S_is_set[key]) {
   12842       value = S[key]
   12843       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12844       len += length(value) + length(field[++i])
   12845       substed = 1
   12846     } else
   12847       len += 1 + keylen
   12848   }
   12849 
   12850   print line
   12851 }
   12852 
   12853 _ACAWK
   12854 _ACEOF
   12855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12856 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12857   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12858 else
   12859   cat
   12860 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   12861   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12862 _ACEOF
   12863 
   12864 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12865 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12866 # trailing colons and then remove the whole line if VPATH becomes empty
   12867 # (actually we leave an empty line to preserve line numbers).
   12868 if test "x$srcdir" = x.; then
   12869   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12870 h
   12871 s///
   12872 s/^/:/
   12873 s/[	 ]*$/:/
   12874 s/:\$(srcdir):/:/g
   12875 s/:\${srcdir}:/:/g
   12876 s/:@srcdir@:/:/g
   12877 s/^:*//
   12878 s/:*$//
   12879 x
   12880 s/\(=[	 ]*\).*/\1/
   12881 G
   12882 s/\n//
   12883 s/^[^=]*=[	 ]*$//
   12884 }'
   12885 fi
   12886 
   12887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12888 fi # test -n "$CONFIG_FILES"
   12889 
   12890 # Set up the scripts for CONFIG_HEADERS section.
   12891 # No need to generate them if there are no CONFIG_HEADERS.
   12892 # This happens for instance with `./config.status Makefile'.
   12893 if test -n "$CONFIG_HEADERS"; then
   12894 cat >"$tmp/defines.awk" <<\_ACAWK ||
   12895 BEGIN {
   12896 _ACEOF
   12897 
   12898 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12899 # here-document in config.status, that substitutes the proper values into
   12900 # config.h.in to produce config.h.
   12901 
   12902 # Create a delimiter string that does not exist in confdefs.h, to ease
   12903 # handling of long lines.
   12904 ac_delim='%!_!# '
   12905 for ac_last_try in false false :; do
   12906   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   12907   if test -z "$ac_t"; then
   12908     break
   12909   elif $ac_last_try; then
   12910     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12911   else
   12912     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12913   fi
   12914 done
   12915 
   12916 # For the awk script, D is an array of macro values keyed by name,
   12917 # likewise P contains macro parameters if any.  Preserve backslash
   12918 # newline sequences.
   12919 
   12920 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12921 sed -n '
   12922 s/.\{148\}/&'"$ac_delim"'/g
   12923 t rset
   12924 :rset
   12925 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12926 t def
   12927 d
   12928 :def
   12929 s/\\$//
   12930 t bsnl
   12931 s/["\\]/\\&/g
   12932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12933 D["\1"]=" \3"/p
   12934 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12935 d
   12936 :bsnl
   12937 s/["\\]/\\&/g
   12938 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12939 D["\1"]=" \3\\\\\\n"\\/p
   12940 t cont
   12941 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12942 t cont
   12943 d
   12944 :cont
   12945 n
   12946 s/.\{148\}/&'"$ac_delim"'/g
   12947 t clear
   12948 :clear
   12949 s/\\$//
   12950 t bsnlc
   12951 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12952 d
   12953 :bsnlc
   12954 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12955 b cont
   12956 ' <confdefs.h | sed '
   12957 s/'"$ac_delim"'/"\\\
   12958 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12959 
   12960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12961   for (key in D) D_is_set[key] = 1
   12962   FS = ""
   12963 }
   12964 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12965   line = \$ 0
   12966   split(line, arg, " ")
   12967   if (arg[1] == "#") {
   12968     defundef = arg[2]
   12969     mac1 = arg[3]
   12970   } else {
   12971     defundef = substr(arg[1], 2)
   12972     mac1 = arg[2]
   12973   }
   12974   split(mac1, mac2, "(") #)
   12975   macro = mac2[1]
   12976   prefix = substr(line, 1, index(line, defundef) - 1)
   12977   if (D_is_set[macro]) {
   12978     # Preserve the white space surrounding the "#".
   12979     print prefix "define", macro P[macro] D[macro]
   12980     next
   12981   } else {
   12982     # Replace #undef with comments.  This is necessary, for example,
   12983     # in the case of _POSIX_SOURCE, which is predefined and required
   12984     # on some systems where configure will not decide to define it.
   12985     if (defundef == "undef") {
   12986       print "/*", prefix defundef, macro, "*/"
   12987       next
   12988     }
   12989   }
   12990 }
   12991 { print }
   12992 _ACAWK
   12993 _ACEOF
   12994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12995   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12996 fi # test -n "$CONFIG_HEADERS"
   12997 
   12998 
   12999 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13000 shift
   13001 for ac_tag
   13002 do
   13003   case $ac_tag in
   13004   :[FHLC]) ac_mode=$ac_tag; continue;;
   13005   esac
   13006   case $ac_mode$ac_tag in
   13007   :[FHL]*:*);;
   13008   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
   13009   :[FH]-) ac_tag=-:-;;
   13010   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13011   esac
   13012   ac_save_IFS=$IFS
   13013   IFS=:
   13014   set x $ac_tag
   13015   IFS=$ac_save_IFS
   13016   shift
   13017   ac_file=$1
   13018   shift
   13019 
   13020   case $ac_mode in
   13021   :L) ac_source=$1;;
   13022   :[FH])
   13023     ac_file_inputs=
   13024     for ac_f
   13025     do
   13026       case $ac_f in
   13027       -) ac_f="$tmp/stdin";;
   13028       *) # Look for the file first in the build tree, then in the source tree
   13029 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13030 	 # because $ac_f cannot contain `:'.
   13031 	 test -f "$ac_f" ||
   13032 	   case $ac_f in
   13033 	   [\\/$]*) false;;
   13034 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13035 	   esac ||
   13036 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
   13037       esac
   13038       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13039       as_fn_append ac_file_inputs " '$ac_f'"
   13040     done
   13041 
   13042     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13043     # use $as_me), people would be surprised to read:
   13044     #    /* config.h.  Generated by config.status.  */
   13045     configure_input='Generated from '`
   13046 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13047 	`' by configure.'
   13048     if test x"$ac_file" != x-; then
   13049       configure_input="$ac_file.  $configure_input"
   13050       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13051 $as_echo "$as_me: creating $ac_file" >&6;}
   13052     fi
   13053     # Neutralize special characters interpreted by sed in replacement strings.
   13054     case $configure_input in #(
   13055     *\&* | *\|* | *\\* )
   13056        ac_sed_conf_input=`$as_echo "$configure_input" |
   13057        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13058     *) ac_sed_conf_input=$configure_input;;
   13059     esac
   13060 
   13061     case $ac_tag in
   13062     *:-:* | *:-) cat >"$tmp/stdin" \
   13063       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
   13064     esac
   13065     ;;
   13066   esac
   13067 
   13068   ac_dir=`$as_dirname -- "$ac_file" ||
   13069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13070 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13071 	 X"$ac_file" : 'X\(//\)$' \| \
   13072 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13073 $as_echo X"$ac_file" |
   13074     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13075 	    s//\1/
   13076 	    q
   13077 	  }
   13078 	  /^X\(\/\/\)[^/].*/{
   13079 	    s//\1/
   13080 	    q
   13081 	  }
   13082 	  /^X\(\/\/\)$/{
   13083 	    s//\1/
   13084 	    q
   13085 	  }
   13086 	  /^X\(\/\).*/{
   13087 	    s//\1/
   13088 	    q
   13089 	  }
   13090 	  s/.*/./; q'`
   13091   as_dir="$ac_dir"; as_fn_mkdir_p
   13092   ac_builddir=.
   13093 
   13094 case "$ac_dir" in
   13095 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13096 *)
   13097   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13098   # A ".." for each directory in $ac_dir_suffix.
   13099   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13100   case $ac_top_builddir_sub in
   13101   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13102   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13103   esac ;;
   13104 esac
   13105 ac_abs_top_builddir=$ac_pwd
   13106 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13107 # for backward compatibility:
   13108 ac_top_builddir=$ac_top_build_prefix
   13109 
   13110 case $srcdir in
   13111   .)  # We are building in place.
   13112     ac_srcdir=.
   13113     ac_top_srcdir=$ac_top_builddir_sub
   13114     ac_abs_top_srcdir=$ac_pwd ;;
   13115   [\\/]* | ?:[\\/]* )  # Absolute name.
   13116     ac_srcdir=$srcdir$ac_dir_suffix;
   13117     ac_top_srcdir=$srcdir
   13118     ac_abs_top_srcdir=$srcdir ;;
   13119   *) # Relative name.
   13120     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13121     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13122     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13123 esac
   13124 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13125 
   13126 
   13127   case $ac_mode in
   13128   :F)
   13129   #
   13130   # CONFIG_FILE
   13131   #
   13132 
   13133   case $INSTALL in
   13134   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13135   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13136   esac
   13137   ac_MKDIR_P=$MKDIR_P
   13138   case $MKDIR_P in
   13139   [\\/$]* | ?:[\\/]* ) ;;
   13140   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13141   esac
   13142 _ACEOF
   13143 
   13144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13145 # If the template does not know about datarootdir, expand it.
   13146 # FIXME: This hack should be removed a few years after 2.60.
   13147 ac_datarootdir_hack=; ac_datarootdir_seen=
   13148 ac_sed_dataroot='
   13149 /datarootdir/ {
   13150   p
   13151   q
   13152 }
   13153 /@datadir@/p
   13154 /@docdir@/p
   13155 /@infodir@/p
   13156 /@localedir@/p
   13157 /@mandir@/p'
   13158 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13159 *datarootdir*) ac_datarootdir_seen=yes;;
   13160 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13161   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13162 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13163 _ACEOF
   13164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13165   ac_datarootdir_hack='
   13166   s&@datadir@&$datadir&g
   13167   s&@docdir@&$docdir&g
   13168   s&@infodir@&$infodir&g
   13169   s&@localedir@&$localedir&g
   13170   s&@mandir@&$mandir&g
   13171   s&\\\${datarootdir}&$datarootdir&g' ;;
   13172 esac
   13173 _ACEOF
   13174 
   13175 # Neutralize VPATH when `$srcdir' = `.'.
   13176 # Shell code in configure.ac might set extrasub.
   13177 # FIXME: do we really want to maintain this feature?
   13178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13179 ac_sed_extra="$ac_vpsub
   13180 $extrasub
   13181 _ACEOF
   13182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13183 :t
   13184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13185 s|@configure_input@|$ac_sed_conf_input|;t t
   13186 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13187 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13188 s&@srcdir@&$ac_srcdir&;t t
   13189 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13190 s&@top_srcdir@&$ac_top_srcdir&;t t
   13191 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13192 s&@builddir@&$ac_builddir&;t t
   13193 s&@abs_builddir@&$ac_abs_builddir&;t t
   13194 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13195 s&@INSTALL@&$ac_INSTALL&;t t
   13196 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13197 $ac_datarootdir_hack
   13198 "
   13199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13200   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13201 
   13202 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13203   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13204   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13205   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13206 which seems to be undefined.  Please make sure it is defined" >&5
   13207 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13208 which seems to be undefined.  Please make sure it is defined" >&2;}
   13209 
   13210   rm -f "$tmp/stdin"
   13211   case $ac_file in
   13212   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13213   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13214   esac \
   13215   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13216  ;;
   13217   :H)
   13218   #
   13219   # CONFIG_HEADER
   13220   #
   13221   if test x"$ac_file" != x-; then
   13222     {
   13223       $as_echo "/* $configure_input  */" \
   13224       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13225     } >"$tmp/config.h" \
   13226       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13227     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13228       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13229 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13230     else
   13231       rm -f "$ac_file"
   13232       mv "$tmp/config.h" "$ac_file" \
   13233 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13234     fi
   13235   else
   13236     $as_echo "/* $configure_input  */" \
   13237       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13238       || as_fn_error $? "could not create -" "$LINENO" 5
   13239   fi
   13240 # Compute "$ac_file"'s index in $config_headers.
   13241 _am_arg="$ac_file"
   13242 _am_stamp_count=1
   13243 for _am_header in $config_headers :; do
   13244   case $_am_header in
   13245     $_am_arg | $_am_arg:* )
   13246       break ;;
   13247     * )
   13248       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13249   esac
   13250 done
   13251 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13252 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13253 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13254 	 X"$_am_arg" : 'X\(//\)$' \| \
   13255 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13256 $as_echo X"$_am_arg" |
   13257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13258 	    s//\1/
   13259 	    q
   13260 	  }
   13261 	  /^X\(\/\/\)[^/].*/{
   13262 	    s//\1/
   13263 	    q
   13264 	  }
   13265 	  /^X\(\/\/\)$/{
   13266 	    s//\1/
   13267 	    q
   13268 	  }
   13269 	  /^X\(\/\).*/{
   13270 	    s//\1/
   13271 	    q
   13272 	  }
   13273 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13274  ;;
   13275 
   13276   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13277 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13278  ;;
   13279   esac
   13280 
   13281 
   13282   case $ac_file$ac_mode in
   13283     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13284   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13285   # are listed without --file.  Let's play safe and only enable the eval
   13286   # if we detect the quoting.
   13287   case $CONFIG_FILES in
   13288   *\'*) eval set x "$CONFIG_FILES" ;;
   13289   *)   set x $CONFIG_FILES ;;
   13290   esac
   13291   shift
   13292   for mf
   13293   do
   13294     # Strip MF so we end up with the name of the file.
   13295     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13296     # Check whether this is an Automake generated Makefile or not.
   13297     # We used to match only the files named `Makefile.in', but
   13298     # some people rename them; so instead we look at the file content.
   13299     # Grep'ing the first line is not enough: some people post-process
   13300     # each Makefile.in and add a new line on top of each file to say so.
   13301     # Grep'ing the whole file is not good either: AIX grep has a line
   13302     # limit of 2048, but all sed's we know have understand at least 4000.
   13303     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13304       dirpart=`$as_dirname -- "$mf" ||
   13305 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13306 	 X"$mf" : 'X\(//\)[^/]' \| \
   13307 	 X"$mf" : 'X\(//\)$' \| \
   13308 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13309 $as_echo X"$mf" |
   13310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13311 	    s//\1/
   13312 	    q
   13313 	  }
   13314 	  /^X\(\/\/\)[^/].*/{
   13315 	    s//\1/
   13316 	    q
   13317 	  }
   13318 	  /^X\(\/\/\)$/{
   13319 	    s//\1/
   13320 	    q
   13321 	  }
   13322 	  /^X\(\/\).*/{
   13323 	    s//\1/
   13324 	    q
   13325 	  }
   13326 	  s/.*/./; q'`
   13327     else
   13328       continue
   13329     fi
   13330     # Extract the definition of DEPDIR, am__include, and am__quote
   13331     # from the Makefile without running `make'.
   13332     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13333     test -z "$DEPDIR" && continue
   13334     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13335     test -z "am__include" && continue
   13336     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13337     # When using ansi2knr, U may be empty or an underscore; expand it
   13338     U=`sed -n 's/^U = //p' < "$mf"`
   13339     # Find all dependency output files, they are included files with
   13340     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13341     # simplest approach to changing $(DEPDIR) to its actual value in the
   13342     # expansion.
   13343     for file in `sed -n "
   13344       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13345 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13346       # Make sure the directory exists.
   13347       test -f "$dirpart/$file" && continue
   13348       fdir=`$as_dirname -- "$file" ||
   13349 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13350 	 X"$file" : 'X\(//\)[^/]' \| \
   13351 	 X"$file" : 'X\(//\)$' \| \
   13352 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13353 $as_echo X"$file" |
   13354     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13355 	    s//\1/
   13356 	    q
   13357 	  }
   13358 	  /^X\(\/\/\)[^/].*/{
   13359 	    s//\1/
   13360 	    q
   13361 	  }
   13362 	  /^X\(\/\/\)$/{
   13363 	    s//\1/
   13364 	    q
   13365 	  }
   13366 	  /^X\(\/\).*/{
   13367 	    s//\1/
   13368 	    q
   13369 	  }
   13370 	  s/.*/./; q'`
   13371       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13372       # echo "creating $dirpart/$file"
   13373       echo '# dummy' > "$dirpart/$file"
   13374     done
   13375   done
   13376 }
   13377  ;;
   13378     "libtool":C)
   13379 
   13380     # See if we are running on zsh, and set the options which allow our
   13381     # commands through without removal of \ escapes.
   13382     if test -n "${ZSH_VERSION+set}" ; then
   13383       setopt NO_GLOB_SUBST
   13384     fi
   13385 
   13386     cfgfile="${ofile}T"
   13387     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13388     $RM "$cfgfile"
   13389 
   13390     cat <<_LT_EOF >> "$cfgfile"
   13391 #! $SHELL
   13392 
   13393 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13394 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13395 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13396 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13397 #
   13398 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13399 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13400 #   Written by Gordon Matzigkeit, 1996
   13401 #
   13402 #   This file is part of GNU Libtool.
   13403 #
   13404 # GNU Libtool is free software; you can redistribute it and/or
   13405 # modify it under the terms of the GNU General Public License as
   13406 # published by the Free Software Foundation; either version 2 of
   13407 # the License, or (at your option) any later version.
   13408 #
   13409 # As a special exception to the GNU General Public License,
   13410 # if you distribute this file as part of a program or library that
   13411 # is built using GNU Libtool, you may include this file under the
   13412 # same distribution terms that you use for the rest of that program.
   13413 #
   13414 # GNU Libtool is distributed in the hope that it will be useful,
   13415 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   13416 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13417 # GNU General Public License for more details.
   13418 #
   13419 # You should have received a copy of the GNU General Public License
   13420 # along with GNU Libtool; see the file COPYING.  If not, a copy
   13421 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   13422 # obtained by writing to the Free Software Foundation, Inc.,
   13423 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   13424 
   13425 
   13426 # The names of the tagged configurations supported by this script.
   13427 available_tags=""
   13428 
   13429 # ### BEGIN LIBTOOL CONFIG
   13430 
   13431 # Whether or not to build static libraries.
   13432 build_old_libs=$enable_static
   13433 
   13434 # Which release of libtool.m4 was used?
   13435 macro_version=$macro_version
   13436 macro_revision=$macro_revision
   13437 
   13438 # Whether or not to build shared libraries.
   13439 build_libtool_libs=$enable_shared
   13440 
   13441 # What type of objects to build.
   13442 pic_mode=$pic_mode
   13443 
   13444 # Whether or not to optimize for fast installation.
   13445 fast_install=$enable_fast_install
   13446 
   13447 # The host system.
   13448 host_alias=$host_alias
   13449 host=$host
   13450 host_os=$host_os
   13451 
   13452 # The build system.
   13453 build_alias=$build_alias
   13454 build=$build
   13455 build_os=$build_os
   13456 
   13457 # A sed program that does not truncate output.
   13458 SED=$lt_SED
   13459 
   13460 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   13461 Xsed="\$SED -e 1s/^X//"
   13462 
   13463 # A grep program that handles long lines.
   13464 GREP=$lt_GREP
   13465 
   13466 # An ERE matcher.
   13467 EGREP=$lt_EGREP
   13468 
   13469 # A literal string matcher.
   13470 FGREP=$lt_FGREP
   13471 
   13472 # A BSD- or MS-compatible name lister.
   13473 NM=$lt_NM
   13474 
   13475 # Whether we need soft or hard links.
   13476 LN_S=$lt_LN_S
   13477 
   13478 # What is the maximum length of a command?
   13479 max_cmd_len=$max_cmd_len
   13480 
   13481 # Object file suffix (normally "o").
   13482 objext=$ac_objext
   13483 
   13484 # Executable file suffix (normally "").
   13485 exeext=$exeext
   13486 
   13487 # whether the shell understands "unset".
   13488 lt_unset=$lt_unset
   13489 
   13490 # turn spaces into newlines.
   13491 SP2NL=$lt_lt_SP2NL
   13492 
   13493 # turn newlines into spaces.
   13494 NL2SP=$lt_lt_NL2SP
   13495 
   13496 # How to create reloadable object files.
   13497 reload_flag=$lt_reload_flag
   13498 reload_cmds=$lt_reload_cmds
   13499 
   13500 # An object symbol dumper.
   13501 OBJDUMP=$lt_OBJDUMP
   13502 
   13503 # Method to check whether dependent libraries are shared objects.
   13504 deplibs_check_method=$lt_deplibs_check_method
   13505 
   13506 # Command to use when deplibs_check_method == "file_magic".
   13507 file_magic_cmd=$lt_file_magic_cmd
   13508 
   13509 # The archiver.
   13510 AR=$lt_AR
   13511 AR_FLAGS=$lt_AR_FLAGS
   13512 
   13513 # A symbol stripping program.
   13514 STRIP=$lt_STRIP
   13515 
   13516 # Commands used to install an old-style archive.
   13517 RANLIB=$lt_RANLIB
   13518 old_postinstall_cmds=$lt_old_postinstall_cmds
   13519 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   13520 
   13521 # A C compiler.
   13522 LTCC=$lt_CC
   13523 
   13524 # LTCC compiler flags.
   13525 LTCFLAGS=$lt_CFLAGS
   13526 
   13527 # Take the output of nm and produce a listing of raw symbols and C names.
   13528 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   13529 
   13530 # Transform the output of nm in a proper C declaration.
   13531 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   13532 
   13533 # Transform the output of nm in a C name address pair.
   13534 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   13535 
   13536 # Transform the output of nm in a C name address pair when lib prefix is needed.
   13537 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   13538 
   13539 # The name of the directory that contains temporary libtool files.
   13540 objdir=$objdir
   13541 
   13542 # Shell to use when invoking shell scripts.
   13543 SHELL=$lt_SHELL
   13544 
   13545 # An echo program that does not interpret backslashes.
   13546 ECHO=$lt_ECHO
   13547 
   13548 # Used to examine libraries when file_magic_cmd begins with "file".
   13549 MAGIC_CMD=$MAGIC_CMD
   13550 
   13551 # Must we lock files when doing compilation?
   13552 need_locks=$lt_need_locks
   13553 
   13554 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   13555 DSYMUTIL=$lt_DSYMUTIL
   13556 
   13557 # Tool to change global to local symbols on Mac OS X.
   13558 NMEDIT=$lt_NMEDIT
   13559 
   13560 # Tool to manipulate fat objects and archives on Mac OS X.
   13561 LIPO=$lt_LIPO
   13562 
   13563 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   13564 OTOOL=$lt_OTOOL
   13565 
   13566 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   13567 OTOOL64=$lt_OTOOL64
   13568 
   13569 # Old archive suffix (normally "a").
   13570 libext=$libext
   13571 
   13572 # Shared library suffix (normally ".so").
   13573 shrext_cmds=$lt_shrext_cmds
   13574 
   13575 # The commands to extract the exported symbol list from a shared archive.
   13576 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   13577 
   13578 # Variables whose values should be saved in libtool wrapper scripts and
   13579 # restored at link time.
   13580 variables_saved_for_relink=$lt_variables_saved_for_relink
   13581 
   13582 # Do we need the "lib" prefix for modules?
   13583 need_lib_prefix=$need_lib_prefix
   13584 
   13585 # Do we need a version for libraries?
   13586 need_version=$need_version
   13587 
   13588 # Library versioning type.
   13589 version_type=$version_type
   13590 
   13591 # Shared library runtime path variable.
   13592 runpath_var=$runpath_var
   13593 
   13594 # Shared library path variable.
   13595 shlibpath_var=$shlibpath_var
   13596 
   13597 # Is shlibpath searched before the hard-coded library search path?
   13598 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   13599 
   13600 # Format of library name prefix.
   13601 libname_spec=$lt_libname_spec
   13602 
   13603 # List of archive names.  First name is the real one, the rest are links.
   13604 # The last name is the one that the linker finds with -lNAME
   13605 library_names_spec=$lt_library_names_spec
   13606 
   13607 # The coded name of the library, if different from the real name.
   13608 soname_spec=$lt_soname_spec
   13609 
   13610 # Command to use after installation of a shared archive.
   13611 postinstall_cmds=$lt_postinstall_cmds
   13612 
   13613 # Command to use after uninstallation of a shared archive.
   13614 postuninstall_cmds=$lt_postuninstall_cmds
   13615 
   13616 # Commands used to finish a libtool library installation in a directory.
   13617 finish_cmds=$lt_finish_cmds
   13618 
   13619 # As "finish_cmds", except a single script fragment to be evaled but
   13620 # not shown.
   13621 finish_eval=$lt_finish_eval
   13622 
   13623 # Whether we should hardcode library paths into libraries.
   13624 hardcode_into_libs=$hardcode_into_libs
   13625 
   13626 # Compile-time system search path for libraries.
   13627 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   13628 
   13629 # Run-time system search path for libraries.
   13630 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   13631 
   13632 # Whether dlopen is supported.
   13633 dlopen_support=$enable_dlopen
   13634 
   13635 # Whether dlopen of programs is supported.
   13636 dlopen_self=$enable_dlopen_self
   13637 
   13638 # Whether dlopen of statically linked programs is supported.
   13639 dlopen_self_static=$enable_dlopen_self_static
   13640 
   13641 # Commands to strip libraries.
   13642 old_striplib=$lt_old_striplib
   13643 striplib=$lt_striplib
   13644 
   13645 
   13646 # The linker used to build libraries.
   13647 LD=$lt_LD
   13648 
   13649 # Commands used to build an old-style archive.
   13650 old_archive_cmds=$lt_old_archive_cmds
   13651 
   13652 # A language specific compiler.
   13653 CC=$lt_compiler
   13654 
   13655 # Is the compiler the GNU compiler?
   13656 with_gcc=$GCC
   13657 
   13658 # Compiler flag to turn off builtin functions.
   13659 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   13660 
   13661 # How to pass a linker flag through the compiler.
   13662 wl=$lt_lt_prog_compiler_wl
   13663 
   13664 # Additional compiler flags for building library objects.
   13665 pic_flag=$lt_lt_prog_compiler_pic
   13666 
   13667 # Compiler flag to prevent dynamic linking.
   13668 link_static_flag=$lt_lt_prog_compiler_static
   13669 
   13670 # Does compiler simultaneously support -c and -o options?
   13671 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   13672 
   13673 # Whether or not to add -lc for building shared libraries.
   13674 build_libtool_need_lc=$archive_cmds_need_lc
   13675 
   13676 # Whether or not to disallow shared libs when runtime libs are static.
   13677 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   13678 
   13679 # Compiler flag to allow reflexive dlopens.
   13680 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   13681 
   13682 # Compiler flag to generate shared objects directly from archives.
   13683 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   13684 
   13685 # Whether the compiler copes with passing no objects directly.
   13686 compiler_needs_object=$lt_compiler_needs_object
   13687 
   13688 # Create an old-style archive from a shared archive.
   13689 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   13690 
   13691 # Create a temporary old-style archive to link instead of a shared archive.
   13692 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   13693 
   13694 # Commands used to build a shared archive.
   13695 archive_cmds=$lt_archive_cmds
   13696 archive_expsym_cmds=$lt_archive_expsym_cmds
   13697 
   13698 # Commands used to build a loadable module if different from building
   13699 # a shared archive.
   13700 module_cmds=$lt_module_cmds
   13701 module_expsym_cmds=$lt_module_expsym_cmds
   13702 
   13703 # Whether we are building with GNU ld or not.
   13704 with_gnu_ld=$lt_with_gnu_ld
   13705 
   13706 # Flag that allows shared libraries with undefined symbols to be built.
   13707 allow_undefined_flag=$lt_allow_undefined_flag
   13708 
   13709 # Flag that enforces no undefined symbols.
   13710 no_undefined_flag=$lt_no_undefined_flag
   13711 
   13712 # Flag to hardcode \$libdir into a binary during linking.
   13713 # This must work even if \$libdir does not exist
   13714 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   13715 
   13716 # If ld is used when linking, flag to hardcode \$libdir into a binary
   13717 # during linking.  This must work even if \$libdir does not exist.
   13718 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   13719 
   13720 # Whether we need a single "-rpath" flag with a separated argument.
   13721 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   13722 
   13723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13724 # DIR into the resulting binary.
   13725 hardcode_direct=$hardcode_direct
   13726 
   13727 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   13728 # DIR into the resulting binary and the resulting library dependency is
   13729 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   13730 # library is relocated.
   13731 hardcode_direct_absolute=$hardcode_direct_absolute
   13732 
   13733 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   13734 # into the resulting binary.
   13735 hardcode_minus_L=$hardcode_minus_L
   13736 
   13737 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   13738 # into the resulting binary.
   13739 hardcode_shlibpath_var=$hardcode_shlibpath_var
   13740 
   13741 # Set to "yes" if building a shared library automatically hardcodes DIR
   13742 # into the library and all subsequent libraries and executables linked
   13743 # against it.
   13744 hardcode_automatic=$hardcode_automatic
   13745 
   13746 # Set to yes if linker adds runtime paths of dependent libraries
   13747 # to runtime path list.
   13748 inherit_rpath=$inherit_rpath
   13749 
   13750 # Whether libtool must link a program against all its dependency libraries.
   13751 link_all_deplibs=$link_all_deplibs
   13752 
   13753 # Fix the shell variable \$srcfile for the compiler.
   13754 fix_srcfile_path=$lt_fix_srcfile_path
   13755 
   13756 # Set to "yes" if exported symbols are required.
   13757 always_export_symbols=$always_export_symbols
   13758 
   13759 # The commands to list exported symbols.
   13760 export_symbols_cmds=$lt_export_symbols_cmds
   13761 
   13762 # Symbols that should not be listed in the preloaded symbols.
   13763 exclude_expsyms=$lt_exclude_expsyms
   13764 
   13765 # Symbols that must always be exported.
   13766 include_expsyms=$lt_include_expsyms
   13767 
   13768 # Commands necessary for linking programs (against libraries) with templates.
   13769 prelink_cmds=$lt_prelink_cmds
   13770 
   13771 # Specify filename containing input files.
   13772 file_list_spec=$lt_file_list_spec
   13773 
   13774 # How to hardcode a shared library path into an executable.
   13775 hardcode_action=$hardcode_action
   13776 
   13777 # ### END LIBTOOL CONFIG
   13778 
   13779 _LT_EOF
   13780 
   13781   case $host_os in
   13782   aix3*)
   13783     cat <<\_LT_EOF >> "$cfgfile"
   13784 # AIX sometimes has problems with the GCC collect2 program.  For some
   13785 # reason, if we set the COLLECT_NAMES environment variable, the problems
   13786 # vanish in a puff of smoke.
   13787 if test "X${COLLECT_NAMES+set}" != Xset; then
   13788   COLLECT_NAMES=
   13789   export COLLECT_NAMES
   13790 fi
   13791 _LT_EOF
   13792     ;;
   13793   esac
   13794 
   13795 
   13796 ltmain="$ac_aux_dir/ltmain.sh"
   13797 
   13798 
   13799   # We use sed instead of cat because bash on DJGPP gets confused if
   13800   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   13801   # text mode, it properly converts lines to CR/LF.  This bash problem
   13802   # is reportedly fixed, but why not run on old versions too?
   13803   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   13804     || (rm -f "$cfgfile"; exit 1)
   13805 
   13806   case $xsi_shell in
   13807   yes)
   13808     cat << \_LT_EOF >> "$cfgfile"
   13809 
   13810 # func_dirname file append nondir_replacement
   13811 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13812 # otherwise set result to NONDIR_REPLACEMENT.
   13813 func_dirname ()
   13814 {
   13815   case ${1} in
   13816     */*) func_dirname_result="${1%/*}${2}" ;;
   13817     *  ) func_dirname_result="${3}" ;;
   13818   esac
   13819 }
   13820 
   13821 # func_basename file
   13822 func_basename ()
   13823 {
   13824   func_basename_result="${1##*/}"
   13825 }
   13826 
   13827 # func_dirname_and_basename file append nondir_replacement
   13828 # perform func_basename and func_dirname in a single function
   13829 # call:
   13830 #   dirname:  Compute the dirname of FILE.  If nonempty,
   13831 #             add APPEND to the result, otherwise set result
   13832 #             to NONDIR_REPLACEMENT.
   13833 #             value returned in "$func_dirname_result"
   13834 #   basename: Compute filename of FILE.
   13835 #             value retuned in "$func_basename_result"
   13836 # Implementation must be kept synchronized with func_dirname
   13837 # and func_basename. For efficiency, we do not delegate to
   13838 # those functions but instead duplicate the functionality here.
   13839 func_dirname_and_basename ()
   13840 {
   13841   case ${1} in
   13842     */*) func_dirname_result="${1%/*}${2}" ;;
   13843     *  ) func_dirname_result="${3}" ;;
   13844   esac
   13845   func_basename_result="${1##*/}"
   13846 }
   13847 
   13848 # func_stripname prefix suffix name
   13849 # strip PREFIX and SUFFIX off of NAME.
   13850 # PREFIX and SUFFIX must not contain globbing or regex special
   13851 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13852 # dot (in which case that matches only a dot).
   13853 func_stripname ()
   13854 {
   13855   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   13856   # positional parameters, so assign one to ordinary parameter first.
   13857   func_stripname_result=${3}
   13858   func_stripname_result=${func_stripname_result#"${1}"}
   13859   func_stripname_result=${func_stripname_result%"${2}"}
   13860 }
   13861 
   13862 # func_opt_split
   13863 func_opt_split ()
   13864 {
   13865   func_opt_split_opt=${1%%=*}
   13866   func_opt_split_arg=${1#*=}
   13867 }
   13868 
   13869 # func_lo2o object
   13870 func_lo2o ()
   13871 {
   13872   case ${1} in
   13873     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   13874     *)    func_lo2o_result=${1} ;;
   13875   esac
   13876 }
   13877 
   13878 # func_xform libobj-or-source
   13879 func_xform ()
   13880 {
   13881   func_xform_result=${1%.*}.lo
   13882 }
   13883 
   13884 # func_arith arithmetic-term...
   13885 func_arith ()
   13886 {
   13887   func_arith_result=$(( $* ))
   13888 }
   13889 
   13890 # func_len string
   13891 # STRING may not start with a hyphen.
   13892 func_len ()
   13893 {
   13894   func_len_result=${#1}
   13895 }
   13896 
   13897 _LT_EOF
   13898     ;;
   13899   *) # Bourne compatible functions.
   13900     cat << \_LT_EOF >> "$cfgfile"
   13901 
   13902 # func_dirname file append nondir_replacement
   13903 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   13904 # otherwise set result to NONDIR_REPLACEMENT.
   13905 func_dirname ()
   13906 {
   13907   # Extract subdirectory from the argument.
   13908   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   13909   if test "X$func_dirname_result" = "X${1}"; then
   13910     func_dirname_result="${3}"
   13911   else
   13912     func_dirname_result="$func_dirname_result${2}"
   13913   fi
   13914 }
   13915 
   13916 # func_basename file
   13917 func_basename ()
   13918 {
   13919   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   13920 }
   13921 
   13922 
   13923 # func_stripname prefix suffix name
   13924 # strip PREFIX and SUFFIX off of NAME.
   13925 # PREFIX and SUFFIX must not contain globbing or regex special
   13926 # characters, hashes, percent signs, but SUFFIX may contain a leading
   13927 # dot (in which case that matches only a dot).
   13928 # func_strip_suffix prefix name
   13929 func_stripname ()
   13930 {
   13931   case ${2} in
   13932     .*) func_stripname_result=`$ECHO "X${3}" \
   13933            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   13934     *)  func_stripname_result=`$ECHO "X${3}" \
   13935            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   13936   esac
   13937 }
   13938 
   13939 # sed scripts:
   13940 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   13941 my_sed_long_arg='1s/^-[^=]*=//'
   13942 
   13943 # func_opt_split
   13944 func_opt_split ()
   13945 {
   13946   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   13947   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   13948 }
   13949 
   13950 # func_lo2o object
   13951 func_lo2o ()
   13952 {
   13953   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   13954 }
   13955 
   13956 # func_xform libobj-or-source
   13957 func_xform ()
   13958 {
   13959   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   13960 }
   13961 
   13962 # func_arith arithmetic-term...
   13963 func_arith ()
   13964 {
   13965   func_arith_result=`expr "$@"`
   13966 }
   13967 
   13968 # func_len string
   13969 # STRING may not start with a hyphen.
   13970 func_len ()
   13971 {
   13972   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   13973 }
   13974 
   13975 _LT_EOF
   13976 esac
   13977 
   13978 case $lt_shell_append in
   13979   yes)
   13980     cat << \_LT_EOF >> "$cfgfile"
   13981 
   13982 # func_append var value
   13983 # Append VALUE to the end of shell variable VAR.
   13984 func_append ()
   13985 {
   13986   eval "$1+=\$2"
   13987 }
   13988 _LT_EOF
   13989     ;;
   13990   *)
   13991     cat << \_LT_EOF >> "$cfgfile"
   13992 
   13993 # func_append var value
   13994 # Append VALUE to the end of shell variable VAR.
   13995 func_append ()
   13996 {
   13997   eval "$1=\$$1\$2"
   13998 }
   13999 
   14000 _LT_EOF
   14001     ;;
   14002   esac
   14003 
   14004 
   14005   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14006     || (rm -f "$cfgfile"; exit 1)
   14007 
   14008   mv -f "$cfgfile" "$ofile" ||
   14009     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14010   chmod +x "$ofile"
   14011 
   14012  ;;
   14013 
   14014   esac
   14015 done # for ac_tag
   14016 
   14017 
   14018 as_fn_exit 0
   14019 _ACEOF
   14020 ac_clean_files=$ac_clean_files_save
   14021 
   14022 test $ac_write_fail = 0 ||
   14023   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14024 
   14025 
   14026 # configure is writing to config.log, and then calls config.status.
   14027 # config.status does its own redirection, appending to config.log.
   14028 # Unfortunately, on DOS this fails, as config.log is still kept open
   14029 # by configure, so config.status won't be able to write to it; its
   14030 # output is simply discarded.  So we exec the FD to /dev/null,
   14031 # effectively closing config.log, so it can be properly (re)opened and
   14032 # appended to by config.status.  When coming back to configure, we
   14033 # need to make the FD available again.
   14034 if test "$no_create" != yes; then
   14035   ac_cs_success=:
   14036   ac_config_status_args=
   14037   test "$silent" = yes &&
   14038     ac_config_status_args="$ac_config_status_args --quiet"
   14039   exec 5>/dev/null
   14040   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14041   exec 5>>config.log
   14042   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14043   # would make configure fail if this is the last instruction.
   14044   $ac_cs_success || as_fn_exit 1
   14045 fi
   14046 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14047   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14048 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14049 fi
   14050 
   14051