Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for xf86-video-geode 2.11.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # 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&component=Driver%2Fgeode
    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 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=$?; test $as_status -eq 0 && as_status=1
    371   if test "$3"; then
    372     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    373     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    374   fi
    375   $as_echo "$as_me: error: $1" >&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, 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-geode'
    704 PACKAGE_TARNAME='xf86-video-geode'
    705 PACKAGE_VERSION='2.11.8'
    706 PACKAGE_STRING='xf86-video-geode 2.11.8'
    707 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode'
    708 PACKAGE_URL='http://www.x.org/wiki/GeodeDriver'
    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 I386ARCH_FALSE
    753 I386ARCH_TRUE
    754 AMD_CFLAGS
    755 moduledir
    756 PCIACCESS_LIBS
    757 PCIACCESS_CFLAGS
    758 HAVE_XEXTPROTO_71_FALSE
    759 HAVE_XEXTPROTO_71_TRUE
    760 XEXT_LIBS
    761 XEXT_CFLAGS
    762 XORG_LIBS
    763 XORG_CFLAGS
    764 am__fastdepCCAS_FALSE
    765 am__fastdepCCAS_TRUE
    766 CCASDEPMODE
    767 CCASFLAGS
    768 CCAS
    769 OTOOL64
    770 OTOOL
    771 LIPO
    772 NMEDIT
    773 DSYMUTIL
    774 lt_ECHO
    775 RANLIB
    776 AR
    777 OBJDUMP
    778 LN_S
    779 NM
    780 ac_ct_DUMPBIN
    781 DUMPBIN
    782 LD
    783 FGREP
    784 SED
    785 LIBTOOL
    786 MAINT
    787 MAINTAINER_MODE_FALSE
    788 MAINTAINER_MODE_TRUE
    789 am__fastdepCC_FALSE
    790 am__fastdepCC_TRUE
    791 CCDEPMODE
    792 AMDEPBACKSLASH
    793 AMDEP_FALSE
    794 AMDEP_TRUE
    795 am__quote
    796 am__include
    797 DEPDIR
    798 am__untar
    799 am__tar
    800 AMTAR
    801 am__leading_dot
    802 SET_MAKE
    803 AWK
    804 mkdir_p
    805 MKDIR_P
    806 INSTALL_STRIP_PROGRAM
    807 STRIP
    808 install_sh
    809 MAKEINFO
    810 AUTOHEADER
    811 AUTOMAKE
    812 AUTOCONF
    813 ACLOCAL
    814 VERSION
    815 PACKAGE
    816 CYGPATH_W
    817 am__isrc
    818 INSTALL_DATA
    819 INSTALL_SCRIPT
    820 INSTALL_PROGRAM
    821 ADMIN_MAN_DIR
    822 DRIVER_MAN_DIR
    823 MISC_MAN_DIR
    824 FILE_MAN_DIR
    825 LIB_MAN_DIR
    826 APP_MAN_DIR
    827 ADMIN_MAN_SUFFIX
    828 DRIVER_MAN_SUFFIX
    829 MISC_MAN_SUFFIX
    830 FILE_MAN_SUFFIX
    831 LIB_MAN_SUFFIX
    832 APP_MAN_SUFFIX
    833 host_os
    834 host_vendor
    835 host_cpu
    836 host
    837 build_os
    838 build_vendor
    839 build_cpu
    840 build
    841 INSTALL_CMD
    842 PKG_CONFIG
    843 CHANGELOG_CMD
    844 AM_BACKSLASH
    845 AM_DEFAULT_VERBOSITY
    846 CWARNFLAGS
    847 EGREP
    848 GREP
    849 CPP
    850 OBJEXT
    851 EXEEXT
    852 ac_ct_CC
    853 CPPFLAGS
    854 LDFLAGS
    855 CFLAGS
    856 CC
    857 target_alias
    858 host_alias
    859 build_alias
    860 LIBS
    861 ECHO_T
    862 ECHO_N
    863 ECHO_C
    864 DEFS
    865 mandir
    866 localedir
    867 libdir
    868 psdir
    869 pdfdir
    870 dvidir
    871 htmldir
    872 infodir
    873 docdir
    874 oldincludedir
    875 includedir
    876 localstatedir
    877 sharedstatedir
    878 sysconfdir
    879 datadir
    880 datarootdir
    881 libexecdir
    882 sbindir
    883 bindir
    884 program_transform_name
    885 prefix
    886 exec_prefix
    887 PACKAGE_URL
    888 PACKAGE_BUGREPORT
    889 PACKAGE_STRING
    890 PACKAGE_VERSION
    891 PACKAGE_TARNAME
    892 PACKAGE_NAME
    893 PATH_SEPARATOR
    894 SHELL'
    895 ac_subst_files=''
    896 ac_user_opts='
    897 enable_option_checking
    898 enable_silent_rules
    899 enable_strict_compilation
    900 with_release_version
    901 enable_dependency_tracking
    902 enable_maintainer_mode
    903 enable_static
    904 enable_shared
    905 with_pic
    906 enable_fast_install
    907 with_gnu_ld
    908 enable_libtool_lock
    909 with_xorg_module_dir
    910 enable_geodegx_panel
    911 enable_werror
    912 enable_visibility
    913 '
    914       ac_precious_vars='build_alias
    915 host_alias
    916 target_alias
    917 CC
    918 CFLAGS
    919 LDFLAGS
    920 LIBS
    921 CPPFLAGS
    922 CPP
    923 PKG_CONFIG
    924 CCAS
    925 CCASFLAGS
    926 XORG_CFLAGS
    927 XORG_LIBS
    928 XEXT_CFLAGS
    929 XEXT_LIBS
    930 PCIACCESS_CFLAGS
    931 PCIACCESS_LIBS'
    932 
    933 
    934 # Initialize some variables set by options.
    935 ac_init_help=
    936 ac_init_version=false
    937 ac_unrecognized_opts=
    938 ac_unrecognized_sep=
    939 # The variables have the same names as the options, with
    940 # dashes changed to underlines.
    941 cache_file=/dev/null
    942 exec_prefix=NONE
    943 no_create=
    944 no_recursion=
    945 prefix=NONE
    946 program_prefix=NONE
    947 program_suffix=NONE
    948 program_transform_name=s,x,x,
    949 silent=
    950 site=
    951 srcdir=
    952 verbose=
    953 x_includes=NONE
    954 x_libraries=NONE
    955 
    956 # Installation directory options.
    957 # These are left unexpanded so users can "make install exec_prefix=/foo"
    958 # and all the variables that are supposed to be based on exec_prefix
    959 # by default will actually change.
    960 # Use braces instead of parens because sh, perl, etc. also accept them.
    961 # (The list follows the same order as the GNU Coding Standards.)
    962 bindir='${exec_prefix}/bin'
    963 sbindir='${exec_prefix}/sbin'
    964 libexecdir='${exec_prefix}/libexec'
    965 datarootdir='${prefix}/share'
    966 datadir='${datarootdir}'
    967 sysconfdir='${prefix}/etc'
    968 sharedstatedir='${prefix}/com'
    969 localstatedir='${prefix}/var'
    970 includedir='${prefix}/include'
    971 oldincludedir='/usr/include'
    972 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    973 infodir='${datarootdir}/info'
    974 htmldir='${docdir}'
    975 dvidir='${docdir}'
    976 pdfdir='${docdir}'
    977 psdir='${docdir}'
    978 libdir='${exec_prefix}/lib'
    979 localedir='${datarootdir}/locale'
    980 mandir='${datarootdir}/man'
    981 
    982 ac_prev=
    983 ac_dashdash=
    984 for ac_option
    985 do
    986   # If the previous option needs an argument, assign it.
    987   if test -n "$ac_prev"; then
    988     eval $ac_prev=\$ac_option
    989     ac_prev=
    990     continue
    991   fi
    992 
    993   case $ac_option in
    994   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    995   *)	ac_optarg=yes ;;
    996   esac
    997 
    998   # Accept the important Cygnus configure options, so we can diagnose typos.
    999 
   1000   case $ac_dashdash$ac_option in
   1001   --)
   1002     ac_dashdash=yes ;;
   1003 
   1004   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1005     ac_prev=bindir ;;
   1006   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1007     bindir=$ac_optarg ;;
   1008 
   1009   -build | --build | --buil | --bui | --bu)
   1010     ac_prev=build_alias ;;
   1011   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1012     build_alias=$ac_optarg ;;
   1013 
   1014   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1015   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1016     ac_prev=cache_file ;;
   1017   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1018   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1019     cache_file=$ac_optarg ;;
   1020 
   1021   --config-cache | -C)
   1022     cache_file=config.cache ;;
   1023 
   1024   -datadir | --datadir | --datadi | --datad)
   1025     ac_prev=datadir ;;
   1026   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1027     datadir=$ac_optarg ;;
   1028 
   1029   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1030   | --dataroo | --dataro | --datar)
   1031     ac_prev=datarootdir ;;
   1032   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1033   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1034     datarootdir=$ac_optarg ;;
   1035 
   1036   -disable-* | --disable-*)
   1037     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1038     # Reject names that are not valid shell variable names.
   1039     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1040       as_fn_error "invalid feature name: $ac_useropt"
   1041     ac_useropt_orig=$ac_useropt
   1042     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1043     case $ac_user_opts in
   1044       *"
   1045 "enable_$ac_useropt"
   1046 "*) ;;
   1047       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1048 	 ac_unrecognized_sep=', ';;
   1049     esac
   1050     eval enable_$ac_useropt=no ;;
   1051 
   1052   -docdir | --docdir | --docdi | --doc | --do)
   1053     ac_prev=docdir ;;
   1054   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1055     docdir=$ac_optarg ;;
   1056 
   1057   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1058     ac_prev=dvidir ;;
   1059   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1060     dvidir=$ac_optarg ;;
   1061 
   1062   -enable-* | --enable-*)
   1063     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1064     # Reject names that are not valid shell variable names.
   1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1066       as_fn_error "invalid feature name: $ac_useropt"
   1067     ac_useropt_orig=$ac_useropt
   1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1069     case $ac_user_opts in
   1070       *"
   1071 "enable_$ac_useropt"
   1072 "*) ;;
   1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1074 	 ac_unrecognized_sep=', ';;
   1075     esac
   1076     eval enable_$ac_useropt=\$ac_optarg ;;
   1077 
   1078   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1079   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1080   | --exec | --exe | --ex)
   1081     ac_prev=exec_prefix ;;
   1082   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1083   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1084   | --exec=* | --exe=* | --ex=*)
   1085     exec_prefix=$ac_optarg ;;
   1086 
   1087   -gas | --gas | --ga | --g)
   1088     # Obsolete; use --with-gas.
   1089     with_gas=yes ;;
   1090 
   1091   -help | --help | --hel | --he | -h)
   1092     ac_init_help=long ;;
   1093   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1094     ac_init_help=recursive ;;
   1095   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1096     ac_init_help=short ;;
   1097 
   1098   -host | --host | --hos | --ho)
   1099     ac_prev=host_alias ;;
   1100   -host=* | --host=* | --hos=* | --ho=*)
   1101     host_alias=$ac_optarg ;;
   1102 
   1103   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1104     ac_prev=htmldir ;;
   1105   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1106   | --ht=*)
   1107     htmldir=$ac_optarg ;;
   1108 
   1109   -includedir | --includedir | --includedi | --included | --include \
   1110   | --includ | --inclu | --incl | --inc)
   1111     ac_prev=includedir ;;
   1112   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1113   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1114     includedir=$ac_optarg ;;
   1115 
   1116   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1117     ac_prev=infodir ;;
   1118   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1119     infodir=$ac_optarg ;;
   1120 
   1121   -libdir | --libdir | --libdi | --libd)
   1122     ac_prev=libdir ;;
   1123   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1124     libdir=$ac_optarg ;;
   1125 
   1126   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1127   | --libexe | --libex | --libe)
   1128     ac_prev=libexecdir ;;
   1129   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1130   | --libexe=* | --libex=* | --libe=*)
   1131     libexecdir=$ac_optarg ;;
   1132 
   1133   -localedir | --localedir | --localedi | --localed | --locale)
   1134     ac_prev=localedir ;;
   1135   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1136     localedir=$ac_optarg ;;
   1137 
   1138   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1139   | --localstate | --localstat | --localsta | --localst | --locals)
   1140     ac_prev=localstatedir ;;
   1141   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1142   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1143     localstatedir=$ac_optarg ;;
   1144 
   1145   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1146     ac_prev=mandir ;;
   1147   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1148     mandir=$ac_optarg ;;
   1149 
   1150   -nfp | --nfp | --nf)
   1151     # Obsolete; use --without-fp.
   1152     with_fp=no ;;
   1153 
   1154   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1155   | --no-cr | --no-c | -n)
   1156     no_create=yes ;;
   1157 
   1158   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1159   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1160     no_recursion=yes ;;
   1161 
   1162   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1163   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1164   | --oldin | --oldi | --old | --ol | --o)
   1165     ac_prev=oldincludedir ;;
   1166   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1167   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1168   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1169     oldincludedir=$ac_optarg ;;
   1170 
   1171   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1172     ac_prev=prefix ;;
   1173   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1174     prefix=$ac_optarg ;;
   1175 
   1176   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1177   | --program-pre | --program-pr | --program-p)
   1178     ac_prev=program_prefix ;;
   1179   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1180   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1181     program_prefix=$ac_optarg ;;
   1182 
   1183   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1184   | --program-suf | --program-su | --program-s)
   1185     ac_prev=program_suffix ;;
   1186   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1187   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1188     program_suffix=$ac_optarg ;;
   1189 
   1190   -program-transform-name | --program-transform-name \
   1191   | --program-transform-nam | --program-transform-na \
   1192   | --program-transform-n | --program-transform- \
   1193   | --program-transform | --program-transfor \
   1194   | --program-transfo | --program-transf \
   1195   | --program-trans | --program-tran \
   1196   | --progr-tra | --program-tr | --program-t)
   1197     ac_prev=program_transform_name ;;
   1198   -program-transform-name=* | --program-transform-name=* \
   1199   | --program-transform-nam=* | --program-transform-na=* \
   1200   | --program-transform-n=* | --program-transform-=* \
   1201   | --program-transform=* | --program-transfor=* \
   1202   | --program-transfo=* | --program-transf=* \
   1203   | --program-trans=* | --program-tran=* \
   1204   | --progr-tra=* | --program-tr=* | --program-t=*)
   1205     program_transform_name=$ac_optarg ;;
   1206 
   1207   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1208     ac_prev=pdfdir ;;
   1209   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1210     pdfdir=$ac_optarg ;;
   1211 
   1212   -psdir | --psdir | --psdi | --psd | --ps)
   1213     ac_prev=psdir ;;
   1214   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1215     psdir=$ac_optarg ;;
   1216 
   1217   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1218   | -silent | --silent | --silen | --sile | --sil)
   1219     silent=yes ;;
   1220 
   1221   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1222     ac_prev=sbindir ;;
   1223   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1224   | --sbi=* | --sb=*)
   1225     sbindir=$ac_optarg ;;
   1226 
   1227   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1228   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1229   | --sharedst | --shareds | --shared | --share | --shar \
   1230   | --sha | --sh)
   1231     ac_prev=sharedstatedir ;;
   1232   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1233   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1234   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1235   | --sha=* | --sh=*)
   1236     sharedstatedir=$ac_optarg ;;
   1237 
   1238   -site | --site | --sit)
   1239     ac_prev=site ;;
   1240   -site=* | --site=* | --sit=*)
   1241     site=$ac_optarg ;;
   1242 
   1243   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1244     ac_prev=srcdir ;;
   1245   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1246     srcdir=$ac_optarg ;;
   1247 
   1248   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1249   | --syscon | --sysco | --sysc | --sys | --sy)
   1250     ac_prev=sysconfdir ;;
   1251   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1252   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1253     sysconfdir=$ac_optarg ;;
   1254 
   1255   -target | --target | --targe | --targ | --tar | --ta | --t)
   1256     ac_prev=target_alias ;;
   1257   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1258     target_alias=$ac_optarg ;;
   1259 
   1260   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1261     verbose=yes ;;
   1262 
   1263   -version | --version | --versio | --versi | --vers | -V)
   1264     ac_init_version=: ;;
   1265 
   1266   -with-* | --with-*)
   1267     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1268     # Reject names that are not valid shell variable names.
   1269     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1270       as_fn_error "invalid package name: $ac_useropt"
   1271     ac_useropt_orig=$ac_useropt
   1272     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1273     case $ac_user_opts in
   1274       *"
   1275 "with_$ac_useropt"
   1276 "*) ;;
   1277       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1278 	 ac_unrecognized_sep=', ';;
   1279     esac
   1280     eval with_$ac_useropt=\$ac_optarg ;;
   1281 
   1282   -without-* | --without-*)
   1283     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1284     # Reject names that are not valid shell variable names.
   1285     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1286       as_fn_error "invalid package name: $ac_useropt"
   1287     ac_useropt_orig=$ac_useropt
   1288     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1289     case $ac_user_opts in
   1290       *"
   1291 "with_$ac_useropt"
   1292 "*) ;;
   1293       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1294 	 ac_unrecognized_sep=', ';;
   1295     esac
   1296     eval with_$ac_useropt=no ;;
   1297 
   1298   --x)
   1299     # Obsolete; use --with-x.
   1300     with_x=yes ;;
   1301 
   1302   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1303   | --x-incl | --x-inc | --x-in | --x-i)
   1304     ac_prev=x_includes ;;
   1305   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1306   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1307     x_includes=$ac_optarg ;;
   1308 
   1309   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1310   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1311     ac_prev=x_libraries ;;
   1312   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1313   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1314     x_libraries=$ac_optarg ;;
   1315 
   1316   -*) as_fn_error "unrecognized option: \`$ac_option'
   1317 Try \`$0 --help' for more information."
   1318     ;;
   1319 
   1320   *=*)
   1321     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1322     # Reject names that are not valid shell variable names.
   1323     case $ac_envvar in #(
   1324       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1325       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1326     esac
   1327     eval $ac_envvar=\$ac_optarg
   1328     export $ac_envvar ;;
   1329 
   1330   *)
   1331     # FIXME: should be removed in autoconf 3.0.
   1332     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1333     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1334       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1335     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1336     ;;
   1337 
   1338   esac
   1339 done
   1340 
   1341 if test -n "$ac_prev"; then
   1342   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1343   as_fn_error "missing argument to $ac_option"
   1344 fi
   1345 
   1346 if test -n "$ac_unrecognized_opts"; then
   1347   case $enable_option_checking in
   1348     no) ;;
   1349     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1350     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1351   esac
   1352 fi
   1353 
   1354 # Check all directory arguments for consistency.
   1355 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1356 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1357 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1358 		libdir localedir mandir
   1359 do
   1360   eval ac_val=\$$ac_var
   1361   # Remove trailing slashes.
   1362   case $ac_val in
   1363     */ )
   1364       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1365       eval $ac_var=\$ac_val;;
   1366   esac
   1367   # Be sure to have absolute directory names.
   1368   case $ac_val in
   1369     [\\/$]* | ?:[\\/]* )  continue;;
   1370     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1371   esac
   1372   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1373 done
   1374 
   1375 # There might be people who depend on the old broken behavior: `$host'
   1376 # used to hold the argument of --host etc.
   1377 # FIXME: To remove some day.
   1378 build=$build_alias
   1379 host=$host_alias
   1380 target=$target_alias
   1381 
   1382 # FIXME: To remove some day.
   1383 if test "x$host_alias" != x; then
   1384   if test "x$build_alias" = x; then
   1385     cross_compiling=maybe
   1386     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1387     If a cross compiler is detected then cross compile mode will be used." >&2
   1388   elif test "x$build_alias" != "x$host_alias"; then
   1389     cross_compiling=yes
   1390   fi
   1391 fi
   1392 
   1393 ac_tool_prefix=
   1394 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1395 
   1396 test "$silent" = yes && exec 6>/dev/null
   1397 
   1398 
   1399 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1400 ac_ls_di=`ls -di .` &&
   1401 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1402   as_fn_error "working directory cannot be determined"
   1403 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1404   as_fn_error "pwd does not report name of working directory"
   1405 
   1406 
   1407 # Find the source files, if location was not specified.
   1408 if test -z "$srcdir"; then
   1409   ac_srcdir_defaulted=yes
   1410   # Try the directory containing this script, then the parent directory.
   1411   ac_confdir=`$as_dirname -- "$as_myself" ||
   1412 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1413 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1414 	 X"$as_myself" : 'X\(//\)$' \| \
   1415 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1416 $as_echo X"$as_myself" |
   1417     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1418 	    s//\1/
   1419 	    q
   1420 	  }
   1421 	  /^X\(\/\/\)[^/].*/{
   1422 	    s//\1/
   1423 	    q
   1424 	  }
   1425 	  /^X\(\/\/\)$/{
   1426 	    s//\1/
   1427 	    q
   1428 	  }
   1429 	  /^X\(\/\).*/{
   1430 	    s//\1/
   1431 	    q
   1432 	  }
   1433 	  s/.*/./; q'`
   1434   srcdir=$ac_confdir
   1435   if test ! -r "$srcdir/$ac_unique_file"; then
   1436     srcdir=..
   1437   fi
   1438 else
   1439   ac_srcdir_defaulted=no
   1440 fi
   1441 if test ! -r "$srcdir/$ac_unique_file"; then
   1442   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1443   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1444 fi
   1445 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1446 ac_abs_confdir=`(
   1447 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1448 	pwd)`
   1449 # When building in place, set srcdir=.
   1450 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1451   srcdir=.
   1452 fi
   1453 # Remove unnecessary trailing slashes from srcdir.
   1454 # Double slashes in file names in object file debugging info
   1455 # mess up M-x gdb in Emacs.
   1456 case $srcdir in
   1457 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1458 esac
   1459 for ac_var in $ac_precious_vars; do
   1460   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1461   eval ac_env_${ac_var}_value=\$${ac_var}
   1462   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1463   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1464 done
   1465 
   1466 #
   1467 # Report the --help message.
   1468 #
   1469 if test "$ac_init_help" = "long"; then
   1470   # Omit some internal or obsolete options to make the list less imposing.
   1471   # This message is too long to be a string in the A/UX 3.1 sh.
   1472   cat <<_ACEOF
   1473 \`configure' configures xf86-video-geode 2.11.8 to adapt to many kinds of systems.
   1474 
   1475 Usage: $0 [OPTION]... [VAR=VALUE]...
   1476 
   1477 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1478 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1479 
   1480 Defaults for the options are specified in brackets.
   1481 
   1482 Configuration:
   1483   -h, --help              display this help and exit
   1484       --help=short        display options specific to this package
   1485       --help=recursive    display the short help of all the included packages
   1486   -V, --version           display version information and exit
   1487   -q, --quiet, --silent   do not print \`checking...' messages
   1488       --cache-file=FILE   cache test results in FILE [disabled]
   1489   -C, --config-cache      alias for \`--cache-file=config.cache'
   1490   -n, --no-create         do not create output files
   1491       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1492 
   1493 Installation directories:
   1494   --prefix=PREFIX         install architecture-independent files in PREFIX
   1495                           [$ac_default_prefix]
   1496   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1497                           [PREFIX]
   1498 
   1499 By default, \`make install' will install all the files in
   1500 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1501 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1502 for instance \`--prefix=\$HOME'.
   1503 
   1504 For better control, use the options below.
   1505 
   1506 Fine tuning of the installation directories:
   1507   --bindir=DIR            user executables [EPREFIX/bin]
   1508   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1509   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1510   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1511   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1512   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1513   --libdir=DIR            object code libraries [EPREFIX/lib]
   1514   --includedir=DIR        C header files [PREFIX/include]
   1515   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1516   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1517   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1518   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1519   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1520   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1521   --docdir=DIR            documentation root
   1522                           [DATAROOTDIR/doc/xf86-video-geode]
   1523   --htmldir=DIR           html documentation [DOCDIR]
   1524   --dvidir=DIR            dvi documentation [DOCDIR]
   1525   --pdfdir=DIR            pdf documentation [DOCDIR]
   1526   --psdir=DIR             ps documentation [DOCDIR]
   1527 _ACEOF
   1528 
   1529   cat <<\_ACEOF
   1530 
   1531 Program names:
   1532   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1533   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1534   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1535 
   1536 System types:
   1537   --build=BUILD     configure for building on BUILD [guessed]
   1538   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1539 _ACEOF
   1540 fi
   1541 
   1542 if test -n "$ac_init_help"; then
   1543   case $ac_init_help in
   1544      short | recursive ) echo "Configuration of xf86-video-geode 2.11.8:";;
   1545    esac
   1546   cat <<\_ACEOF
   1547 
   1548 Optional Features:
   1549   --disable-option-checking  ignore unrecognized --enable/--with options
   1550   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1551   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1552   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1553   --disable-silent-rules         verbose build output (undo: `make V=0')
   1554   --enable-strict-compilation
   1555                           Enable all warnings from compiler and make them
   1556                           errors (default: disabled)
   1557   --disable-dependency-tracking  speeds up one-time build
   1558   --enable-dependency-tracking   do not reject slow dependency extractors
   1559   --enable-maintainer-mode  enable make rules and dependencies not useful
   1560 			  (and sometimes confusing) to the casual installer
   1561   --enable-static[=PKGS]  build static libraries [default=no]
   1562   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1563   --enable-fast-install[=PKGS]
   1564                           optimize for fast installation [default=yes]
   1565   --disable-libtool-lock  avoid locking (might break parallel builds)
   1566   --disable-geodegx-panel Disable support for flatpanels with the Geode GX
   1567   --enable-werror         Treat warnings as errors (default: disabled)
   1568   --enable-visibility     Enable GCC visibility optimizations
   1569 
   1570 Optional Packages:
   1571   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1572   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1573   --with-release-version=STRING
   1574                           Use release version string in package name
   1575   --with-pic              try to use only PIC/non-PIC objects [default=use
   1576                           both]
   1577   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1578   --with-xorg-module-dir=DIR
   1579                           Default xorg module directory
   1580                           [[default=$libdir/xorg/modules]]
   1581 
   1582 Some influential environment variables:
   1583   CC          C compiler command
   1584   CFLAGS      C compiler flags
   1585   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1586               nonstandard directory <lib dir>
   1587   LIBS        libraries to pass to the linker, e.g. -l<library>
   1588   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1589               you have headers in a nonstandard directory <include dir>
   1590   CPP         C preprocessor
   1591   PKG_CONFIG  path to pkg-config utility
   1592   CCAS        assembler compiler command (defaults to CC)
   1593   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1594   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1595   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1596   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1597   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1598   PCIACCESS_CFLAGS
   1599               C compiler flags for PCIACCESS, overriding pkg-config
   1600   PCIACCESS_LIBS
   1601               linker flags for PCIACCESS, overriding pkg-config
   1602 
   1603 Use these variables to override the choices made by `configure' or to help
   1604 it to find libraries and programs with nonstandard names/locations.
   1605 
   1606 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
   1607 xf86-video-geode home page: <http://www.x.org/wiki/GeodeDriver>.
   1608 _ACEOF
   1609 ac_status=$?
   1610 fi
   1611 
   1612 if test "$ac_init_help" = "recursive"; then
   1613   # If there are subdirs, report their specific --help.
   1614   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1615     test -d "$ac_dir" ||
   1616       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1617       continue
   1618     ac_builddir=.
   1619 
   1620 case "$ac_dir" in
   1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1622 *)
   1623   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1624   # A ".." for each directory in $ac_dir_suffix.
   1625   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1626   case $ac_top_builddir_sub in
   1627   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1628   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1629   esac ;;
   1630 esac
   1631 ac_abs_top_builddir=$ac_pwd
   1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1633 # for backward compatibility:
   1634 ac_top_builddir=$ac_top_build_prefix
   1635 
   1636 case $srcdir in
   1637   .)  # We are building in place.
   1638     ac_srcdir=.
   1639     ac_top_srcdir=$ac_top_builddir_sub
   1640     ac_abs_top_srcdir=$ac_pwd ;;
   1641   [\\/]* | ?:[\\/]* )  # Absolute name.
   1642     ac_srcdir=$srcdir$ac_dir_suffix;
   1643     ac_top_srcdir=$srcdir
   1644     ac_abs_top_srcdir=$srcdir ;;
   1645   *) # Relative name.
   1646     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1647     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1648     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1649 esac
   1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1651 
   1652     cd "$ac_dir" || { ac_status=$?; continue; }
   1653     # Check for guested configure.
   1654     if test -f "$ac_srcdir/configure.gnu"; then
   1655       echo &&
   1656       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1657     elif test -f "$ac_srcdir/configure"; then
   1658       echo &&
   1659       $SHELL "$ac_srcdir/configure" --help=recursive
   1660     else
   1661       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1662     fi || ac_status=$?
   1663     cd "$ac_pwd" || { ac_status=$?; break; }
   1664   done
   1665 fi
   1666 
   1667 test -n "$ac_init_help" && exit $ac_status
   1668 if $ac_init_version; then
   1669   cat <<\_ACEOF
   1670 xf86-video-geode configure 2.11.8
   1671 generated by GNU Autoconf 2.65
   1672 
   1673 Copyright (C) 2009 Free Software Foundation, Inc.
   1674 This configure script is free software; the Free Software Foundation
   1675 gives unlimited permission to copy, distribute and modify it.
   1676 _ACEOF
   1677   exit
   1678 fi
   1679 
   1680 ## ------------------------ ##
   1681 ## Autoconf initialization. ##
   1682 ## ------------------------ ##
   1683 
   1684 # ac_fn_c_try_compile LINENO
   1685 # --------------------------
   1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1687 ac_fn_c_try_compile ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   rm -f conftest.$ac_objext
   1691   if { { ac_try="$ac_compile"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_compile") 2>conftest.err
   1699   ac_status=$?
   1700   if test -s conftest.err; then
   1701     grep -v '^ *+' conftest.err >conftest.er1
   1702     cat conftest.er1 >&5
   1703     mv -f conftest.er1 conftest.err
   1704   fi
   1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1706   test $ac_status = 0; } && {
   1707 	 test -z "$ac_c_werror_flag" ||
   1708 	 test ! -s conftest.err
   1709        } && test -s conftest.$ac_objext; then :
   1710   ac_retval=0
   1711 else
   1712   $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715 	ac_retval=1
   1716 fi
   1717   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_compile
   1721 
   1722 # ac_fn_c_check_decl LINENO SYMBOL VAR
   1723 # ------------------------------------
   1724 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   1725 ac_fn_c_check_decl ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   1729 $as_echo_n "checking whether $2 is declared... " >&6; }
   1730 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1731   $as_echo_n "(cached) " >&6
   1732 else
   1733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1734 /* end confdefs.h.  */
   1735 $4
   1736 int
   1737 main ()
   1738 {
   1739 #ifndef $2
   1740   (void) $2;
   1741 #endif
   1742 
   1743   ;
   1744   return 0;
   1745 }
   1746 _ACEOF
   1747 if ac_fn_c_try_compile "$LINENO"; then :
   1748   eval "$3=yes"
   1749 else
   1750   eval "$3=no"
   1751 fi
   1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1753 fi
   1754 eval ac_res=\$$3
   1755 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1756 $as_echo "$ac_res" >&6; }
   1757   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1758 
   1759 } # ac_fn_c_check_decl
   1760 
   1761 # ac_fn_c_try_cpp LINENO
   1762 # ----------------------
   1763 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1764 ac_fn_c_try_cpp ()
   1765 {
   1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1767   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1768 case "(($ac_try" in
   1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770   *) ac_try_echo=$ac_try;;
   1771 esac
   1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773 $as_echo "$ac_try_echo"; } >&5
   1774   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1775   ac_status=$?
   1776   if test -s conftest.err; then
   1777     grep -v '^ *+' conftest.err >conftest.er1
   1778     cat conftest.er1 >&5
   1779     mv -f conftest.er1 conftest.err
   1780   fi
   1781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1782   test $ac_status = 0; } >/dev/null && {
   1783 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1784 	 test ! -s conftest.err
   1785        }; then :
   1786   ac_retval=0
   1787 else
   1788   $as_echo "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791     ac_retval=1
   1792 fi
   1793   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1794   as_fn_set_status $ac_retval
   1795 
   1796 } # ac_fn_c_try_cpp
   1797 
   1798 # ac_fn_c_try_run LINENO
   1799 # ----------------------
   1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1801 # that executables *can* be run.
   1802 ac_fn_c_try_run ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   if { { ac_try="$ac_link"
   1806 case "(($ac_try" in
   1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1808   *) ac_try_echo=$ac_try;;
   1809 esac
   1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1811 $as_echo "$ac_try_echo"; } >&5
   1812   (eval "$ac_link") 2>&5
   1813   ac_status=$?
   1814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1815   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1816   { { case "(($ac_try" in
   1817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1818   *) ac_try_echo=$ac_try;;
   1819 esac
   1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1821 $as_echo "$ac_try_echo"; } >&5
   1822   (eval "$ac_try") 2>&5
   1823   ac_status=$?
   1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1825   test $ac_status = 0; }; }; then :
   1826   ac_retval=0
   1827 else
   1828   $as_echo "$as_me: program exited with status $ac_status" >&5
   1829        $as_echo "$as_me: failed program was:" >&5
   1830 sed 's/^/| /' conftest.$ac_ext >&5
   1831 
   1832        ac_retval=$ac_status
   1833 fi
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_c_try_run
   1839 
   1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1841 # -------------------------------------------------------
   1842 # Tests whether HEADER exists and can be compiled using the include files in
   1843 # INCLUDES, setting the cache variable VAR accordingly.
   1844 ac_fn_c_check_header_compile ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1848 $as_echo_n "checking for $2... " >&6; }
   1849 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1850   $as_echo_n "(cached) " >&6
   1851 else
   1852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1853 /* end confdefs.h.  */
   1854 $4
   1855 #include <$2>
   1856 _ACEOF
   1857 if ac_fn_c_try_compile "$LINENO"; then :
   1858   eval "$3=yes"
   1859 else
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1863 fi
   1864 eval ac_res=\$$3
   1865 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1866 $as_echo "$ac_res" >&6; }
   1867   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1868 
   1869 } # ac_fn_c_check_header_compile
   1870 
   1871 # ac_fn_c_try_link LINENO
   1872 # -----------------------
   1873 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1874 ac_fn_c_try_link ()
   1875 {
   1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1877   rm -f conftest.$ac_objext conftest$ac_exeext
   1878   if { { ac_try="$ac_link"
   1879 case "(($ac_try" in
   1880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1881   *) ac_try_echo=$ac_try;;
   1882 esac
   1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1884 $as_echo "$ac_try_echo"; } >&5
   1885   (eval "$ac_link") 2>conftest.err
   1886   ac_status=$?
   1887   if test -s conftest.err; then
   1888     grep -v '^ *+' conftest.err >conftest.er1
   1889     cat conftest.er1 >&5
   1890     mv -f conftest.er1 conftest.err
   1891   fi
   1892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1893   test $ac_status = 0; } && {
   1894 	 test -z "$ac_c_werror_flag" ||
   1895 	 test ! -s conftest.err
   1896        } && test -s conftest$ac_exeext && {
   1897 	 test "$cross_compiling" = yes ||
   1898 	 $as_test_x conftest$ac_exeext
   1899        }; then :
   1900   ac_retval=0
   1901 else
   1902   $as_echo "$as_me: failed program was:" >&5
   1903 sed 's/^/| /' conftest.$ac_ext >&5
   1904 
   1905 	ac_retval=1
   1906 fi
   1907   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1908   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1909   # interfere with the next link command; also delete a directory that is
   1910   # left behind by Apple's compiler.  We do this before executing the actions.
   1911   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1912   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1913   as_fn_set_status $ac_retval
   1914 
   1915 } # ac_fn_c_try_link
   1916 
   1917 # ac_fn_c_check_func LINENO FUNC VAR
   1918 # ----------------------------------
   1919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1920 ac_fn_c_check_func ()
   1921 {
   1922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1924 $as_echo_n "checking for $2... " >&6; }
   1925 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1926   $as_echo_n "(cached) " >&6
   1927 else
   1928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1929 /* end confdefs.h.  */
   1930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1932 #define $2 innocuous_$2
   1933 
   1934 /* System header to define __stub macros and hopefully few prototypes,
   1935     which can conflict with char $2 (); below.
   1936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1937     <limits.h> exists even on freestanding compilers.  */
   1938 
   1939 #ifdef __STDC__
   1940 # include <limits.h>
   1941 #else
   1942 # include <assert.h>
   1943 #endif
   1944 
   1945 #undef $2
   1946 
   1947 /* Override any GCC internal prototype to avoid an error.
   1948    Use char because int might match the return type of a GCC
   1949    builtin and then its argument prototype would still apply.  */
   1950 #ifdef __cplusplus
   1951 extern "C"
   1952 #endif
   1953 char $2 ();
   1954 /* The GNU C library defines this for functions which it implements
   1955     to always fail with ENOSYS.  Some functions are actually named
   1956     something starting with __ and the normal name is an alias.  */
   1957 #if defined __stub_$2 || defined __stub___$2
   1958 choke me
   1959 #endif
   1960 
   1961 int
   1962 main ()
   1963 {
   1964 return $2 ();
   1965   ;
   1966   return 0;
   1967 }
   1968 _ACEOF
   1969 if ac_fn_c_try_link "$LINENO"; then :
   1970   eval "$3=yes"
   1971 else
   1972   eval "$3=no"
   1973 fi
   1974 rm -f core conftest.err conftest.$ac_objext \
   1975     conftest$ac_exeext conftest.$ac_ext
   1976 fi
   1977 eval ac_res=\$$3
   1978 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1979 $as_echo "$ac_res" >&6; }
   1980   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1981 
   1982 } # ac_fn_c_check_func
   1983 cat >config.log <<_ACEOF
   1984 This file contains any messages produced by compilers while
   1985 running configure, to aid debugging if configure makes a mistake.
   1986 
   1987 It was created by xf86-video-geode $as_me 2.11.8, which was
   1988 generated by GNU Autoconf 2.65.  Invocation command line was
   1989 
   1990   $ $0 $@
   1991 
   1992 _ACEOF
   1993 exec 5>>config.log
   1994 {
   1995 cat <<_ASUNAME
   1996 ## --------- ##
   1997 ## Platform. ##
   1998 ## --------- ##
   1999 
   2000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2005 
   2006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2007 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2008 
   2009 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2010 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2012 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2013 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2014 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2015 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2016 
   2017 _ASUNAME
   2018 
   2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2020 for as_dir in $PATH
   2021 do
   2022   IFS=$as_save_IFS
   2023   test -z "$as_dir" && as_dir=.
   2024     $as_echo "PATH: $as_dir"
   2025   done
   2026 IFS=$as_save_IFS
   2027 
   2028 } >&5
   2029 
   2030 cat >&5 <<_ACEOF
   2031 
   2032 
   2033 ## ----------- ##
   2034 ## Core tests. ##
   2035 ## ----------- ##
   2036 
   2037 _ACEOF
   2038 
   2039 
   2040 # Keep a trace of the command line.
   2041 # Strip out --no-create and --no-recursion so they do not pile up.
   2042 # Strip out --silent because we don't want to record it for future runs.
   2043 # Also quote any args containing shell meta-characters.
   2044 # Make two passes to allow for proper duplicate-argument suppression.
   2045 ac_configure_args=
   2046 ac_configure_args0=
   2047 ac_configure_args1=
   2048 ac_must_keep_next=false
   2049 for ac_pass in 1 2
   2050 do
   2051   for ac_arg
   2052   do
   2053     case $ac_arg in
   2054     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2055     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2056     | -silent | --silent | --silen | --sile | --sil)
   2057       continue ;;
   2058     *\'*)
   2059       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2060     esac
   2061     case $ac_pass in
   2062     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2063     2)
   2064       as_fn_append ac_configure_args1 " '$ac_arg'"
   2065       if test $ac_must_keep_next = true; then
   2066 	ac_must_keep_next=false # Got value, back to normal.
   2067       else
   2068 	case $ac_arg in
   2069 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2070 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2071 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2072 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2073 	    case "$ac_configure_args0 " in
   2074 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2075 	    esac
   2076 	    ;;
   2077 	  -* ) ac_must_keep_next=true ;;
   2078 	esac
   2079       fi
   2080       as_fn_append ac_configure_args " '$ac_arg'"
   2081       ;;
   2082     esac
   2083   done
   2084 done
   2085 { ac_configure_args0=; unset ac_configure_args0;}
   2086 { ac_configure_args1=; unset ac_configure_args1;}
   2087 
   2088 # When interrupted or exit'd, cleanup temporary files, and complete
   2089 # config.log.  We remove comments because anyway the quotes in there
   2090 # would cause problems or look ugly.
   2091 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2092 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2093 trap 'exit_status=$?
   2094   # Save into config.log some information that might help in debugging.
   2095   {
   2096     echo
   2097 
   2098     cat <<\_ASBOX
   2099 ## ---------------- ##
   2100 ## Cache variables. ##
   2101 ## ---------------- ##
   2102 _ASBOX
   2103     echo
   2104     # The following way of writing the cache mishandles newlines in values,
   2105 (
   2106   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2107     eval ac_val=\$$ac_var
   2108     case $ac_val in #(
   2109     *${as_nl}*)
   2110       case $ac_var in #(
   2111       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2112 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2113       esac
   2114       case $ac_var in #(
   2115       _ | IFS | as_nl) ;; #(
   2116       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2117       *) { eval $ac_var=; unset $ac_var;} ;;
   2118       esac ;;
   2119     esac
   2120   done
   2121   (set) 2>&1 |
   2122     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2123     *${as_nl}ac_space=\ *)
   2124       sed -n \
   2125 	"s/'\''/'\''\\\\'\'''\''/g;
   2126 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2127       ;; #(
   2128     *)
   2129       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2130       ;;
   2131     esac |
   2132     sort
   2133 )
   2134     echo
   2135 
   2136     cat <<\_ASBOX
   2137 ## ----------------- ##
   2138 ## Output variables. ##
   2139 ## ----------------- ##
   2140 _ASBOX
   2141     echo
   2142     for ac_var in $ac_subst_vars
   2143     do
   2144       eval ac_val=\$$ac_var
   2145       case $ac_val in
   2146       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2147       esac
   2148       $as_echo "$ac_var='\''$ac_val'\''"
   2149     done | sort
   2150     echo
   2151 
   2152     if test -n "$ac_subst_files"; then
   2153       cat <<\_ASBOX
   2154 ## ------------------- ##
   2155 ## File substitutions. ##
   2156 ## ------------------- ##
   2157 _ASBOX
   2158       echo
   2159       for ac_var in $ac_subst_files
   2160       do
   2161 	eval ac_val=\$$ac_var
   2162 	case $ac_val in
   2163 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2164 	esac
   2165 	$as_echo "$ac_var='\''$ac_val'\''"
   2166       done | sort
   2167       echo
   2168     fi
   2169 
   2170     if test -s confdefs.h; then
   2171       cat <<\_ASBOX
   2172 ## ----------- ##
   2173 ## confdefs.h. ##
   2174 ## ----------- ##
   2175 _ASBOX
   2176       echo
   2177       cat confdefs.h
   2178       echo
   2179     fi
   2180     test "$ac_signal" != 0 &&
   2181       $as_echo "$as_me: caught signal $ac_signal"
   2182     $as_echo "$as_me: exit $exit_status"
   2183   } >&5
   2184   rm -f core *.core core.conftest.* &&
   2185     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2186     exit $exit_status
   2187 ' 0
   2188 for ac_signal in 1 2 13 15; do
   2189   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2190 done
   2191 ac_signal=0
   2192 
   2193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2194 rm -f -r conftest* confdefs.h
   2195 
   2196 $as_echo "/* confdefs.h */" > confdefs.h
   2197 
   2198 # Predefined preprocessor variables.
   2199 
   2200 cat >>confdefs.h <<_ACEOF
   2201 #define PACKAGE_NAME "$PACKAGE_NAME"
   2202 _ACEOF
   2203 
   2204 cat >>confdefs.h <<_ACEOF
   2205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2206 _ACEOF
   2207 
   2208 cat >>confdefs.h <<_ACEOF
   2209 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2210 _ACEOF
   2211 
   2212 cat >>confdefs.h <<_ACEOF
   2213 #define PACKAGE_STRING "$PACKAGE_STRING"
   2214 _ACEOF
   2215 
   2216 cat >>confdefs.h <<_ACEOF
   2217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2218 _ACEOF
   2219 
   2220 cat >>confdefs.h <<_ACEOF
   2221 #define PACKAGE_URL "$PACKAGE_URL"
   2222 _ACEOF
   2223 
   2224 
   2225 # Let the site file select an alternate cache file if it wants to.
   2226 # Prefer an explicitly selected file to automatically selected ones.
   2227 ac_site_file1=NONE
   2228 ac_site_file2=NONE
   2229 if test -n "$CONFIG_SITE"; then
   2230   ac_site_file1=$CONFIG_SITE
   2231 elif test "x$prefix" != xNONE; then
   2232   ac_site_file1=$prefix/share/config.site
   2233   ac_site_file2=$prefix/etc/config.site
   2234 else
   2235   ac_site_file1=$ac_default_prefix/share/config.site
   2236   ac_site_file2=$ac_default_prefix/etc/config.site
   2237 fi
   2238 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2239 do
   2240   test "x$ac_site_file" = xNONE && continue
   2241   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2242     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2243 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2244     sed 's/^/| /' "$ac_site_file" >&5
   2245     . "$ac_site_file"
   2246   fi
   2247 done
   2248 
   2249 if test -r "$cache_file"; then
   2250   # Some versions of bash will fail to source /dev/null (special files
   2251   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2252   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2253     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2254 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2255     case $cache_file in
   2256       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2257       *)                      . "./$cache_file";;
   2258     esac
   2259   fi
   2260 else
   2261   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2262 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2263   >$cache_file
   2264 fi
   2265 
   2266 # Check that the precious variables saved in the cache have kept the same
   2267 # value.
   2268 ac_cache_corrupted=false
   2269 for ac_var in $ac_precious_vars; do
   2270   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2271   eval ac_new_set=\$ac_env_${ac_var}_set
   2272   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2273   eval ac_new_val=\$ac_env_${ac_var}_value
   2274   case $ac_old_set,$ac_new_set in
   2275     set,)
   2276       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2277 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2278       ac_cache_corrupted=: ;;
   2279     ,set)
   2280       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2281 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2282       ac_cache_corrupted=: ;;
   2283     ,);;
   2284     *)
   2285       if test "x$ac_old_val" != "x$ac_new_val"; then
   2286 	# differences in whitespace do not lead to failure.
   2287 	ac_old_val_w=`echo x $ac_old_val`
   2288 	ac_new_val_w=`echo x $ac_new_val`
   2289 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2290 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2291 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2292 	  ac_cache_corrupted=:
   2293 	else
   2294 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2295 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2296 	  eval $ac_var=\$ac_old_val
   2297 	fi
   2298 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2299 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2300 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2301 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2302       fi;;
   2303   esac
   2304   # Pass precious variables to config.status.
   2305   if test "$ac_new_set" = set; then
   2306     case $ac_new_val in
   2307     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2308     *) ac_arg=$ac_var=$ac_new_val ;;
   2309     esac
   2310     case " $ac_configure_args " in
   2311       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2312       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2313     esac
   2314   fi
   2315 done
   2316 if $ac_cache_corrupted; then
   2317   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2319   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2320 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2321   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2322 fi
   2323 ## -------------------- ##
   2324 ## Main body of script. ##
   2325 ## -------------------- ##
   2326 
   2327 ac_ext=c
   2328 ac_cpp='$CPP $CPPFLAGS'
   2329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2332 
   2333 
   2334 
   2335 
   2336 ac_config_headers="$ac_config_headers config.h"
   2337 
   2338 ac_aux_dir=
   2339 for ac_dir in . "$srcdir"/.; do
   2340   for ac_t in install-sh install.sh shtool; do
   2341     if test -f "$ac_dir/$ac_t"; then
   2342       ac_aux_dir=$ac_dir
   2343       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2344       break 2
   2345     fi
   2346   done
   2347 done
   2348 if test -z "$ac_aux_dir"; then
   2349   as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2350 fi
   2351 
   2352 # These three variables are undocumented and unsupported,
   2353 # and are intended to be withdrawn in a future Autoconf release.
   2354 # They can cause serious problems if a builder's source tree is in a directory
   2355 # whose full name contains unusual characters.
   2356 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2357 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2358 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2359 
   2360 
   2361 
   2362 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2363 
   2364 
   2365 
   2366 
   2367 
   2368 
   2369 
   2370 
   2371 
   2372 
   2373 
   2374 ac_ext=c
   2375 ac_cpp='$CPP $CPPFLAGS'
   2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2379 if test -n "$ac_tool_prefix"; then
   2380   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2381 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2383 $as_echo_n "checking for $ac_word... " >&6; }
   2384 if test "${ac_cv_prog_CC+set}" = set; then :
   2385   $as_echo_n "(cached) " >&6
   2386 else
   2387   if test -n "$CC"; then
   2388   ac_cv_prog_CC="$CC" # Let the user override the test.
   2389 else
   2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2391 for as_dir in $PATH
   2392 do
   2393   IFS=$as_save_IFS
   2394   test -z "$as_dir" && as_dir=.
   2395     for ac_exec_ext in '' $ac_executable_extensions; do
   2396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2397     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2399     break 2
   2400   fi
   2401 done
   2402   done
   2403 IFS=$as_save_IFS
   2404 
   2405 fi
   2406 fi
   2407 CC=$ac_cv_prog_CC
   2408 if test -n "$CC"; then
   2409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2410 $as_echo "$CC" >&6; }
   2411 else
   2412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2413 $as_echo "no" >&6; }
   2414 fi
   2415 
   2416 
   2417 fi
   2418 if test -z "$ac_cv_prog_CC"; then
   2419   ac_ct_CC=$CC
   2420   # Extract the first word of "gcc", so it can be a program name with args.
   2421 set dummy gcc; ac_word=$2
   2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2423 $as_echo_n "checking for $ac_word... " >&6; }
   2424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2425   $as_echo_n "(cached) " >&6
   2426 else
   2427   if test -n "$ac_ct_CC"; then
   2428   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2429 else
   2430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2431 for as_dir in $PATH
   2432 do
   2433   IFS=$as_save_IFS
   2434   test -z "$as_dir" && as_dir=.
   2435     for ac_exec_ext in '' $ac_executable_extensions; do
   2436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2437     ac_cv_prog_ac_ct_CC="gcc"
   2438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2439     break 2
   2440   fi
   2441 done
   2442   done
   2443 IFS=$as_save_IFS
   2444 
   2445 fi
   2446 fi
   2447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2448 if test -n "$ac_ct_CC"; then
   2449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2450 $as_echo "$ac_ct_CC" >&6; }
   2451 else
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2453 $as_echo "no" >&6; }
   2454 fi
   2455 
   2456   if test "x$ac_ct_CC" = x; then
   2457     CC=""
   2458   else
   2459     case $cross_compiling:$ac_tool_warned in
   2460 yes:)
   2461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2463 ac_tool_warned=yes ;;
   2464 esac
   2465     CC=$ac_ct_CC
   2466   fi
   2467 else
   2468   CC="$ac_cv_prog_CC"
   2469 fi
   2470 
   2471 if test -z "$CC"; then
   2472           if test -n "$ac_tool_prefix"; then
   2473     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2474 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2476 $as_echo_n "checking for $ac_word... " >&6; }
   2477 if test "${ac_cv_prog_CC+set}" = set; then :
   2478   $as_echo_n "(cached) " >&6
   2479 else
   2480   if test -n "$CC"; then
   2481   ac_cv_prog_CC="$CC" # Let the user override the test.
   2482 else
   2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2484 for as_dir in $PATH
   2485 do
   2486   IFS=$as_save_IFS
   2487   test -z "$as_dir" && as_dir=.
   2488     for ac_exec_ext in '' $ac_executable_extensions; do
   2489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2490     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2492     break 2
   2493   fi
   2494 done
   2495   done
   2496 IFS=$as_save_IFS
   2497 
   2498 fi
   2499 fi
   2500 CC=$ac_cv_prog_CC
   2501 if test -n "$CC"; then
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2503 $as_echo "$CC" >&6; }
   2504 else
   2505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2506 $as_echo "no" >&6; }
   2507 fi
   2508 
   2509 
   2510   fi
   2511 fi
   2512 if test -z "$CC"; then
   2513   # Extract the first word of "cc", so it can be a program name with args.
   2514 set dummy cc; ac_word=$2
   2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2516 $as_echo_n "checking for $ac_word... " >&6; }
   2517 if test "${ac_cv_prog_CC+set}" = set; then :
   2518   $as_echo_n "(cached) " >&6
   2519 else
   2520   if test -n "$CC"; then
   2521   ac_cv_prog_CC="$CC" # Let the user override the test.
   2522 else
   2523   ac_prog_rejected=no
   2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2525 for as_dir in $PATH
   2526 do
   2527   IFS=$as_save_IFS
   2528   test -z "$as_dir" && as_dir=.
   2529     for ac_exec_ext in '' $ac_executable_extensions; do
   2530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2531     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2532        ac_prog_rejected=yes
   2533        continue
   2534      fi
   2535     ac_cv_prog_CC="cc"
   2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2537     break 2
   2538   fi
   2539 done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 if test $ac_prog_rejected = yes; then
   2544   # We found a bogon in the path, so make sure we never use it.
   2545   set dummy $ac_cv_prog_CC
   2546   shift
   2547   if test $# != 0; then
   2548     # We chose a different compiler from the bogus one.
   2549     # However, it has the same basename, so the bogon will be chosen
   2550     # first if we set CC to just the basename; use the full file name.
   2551     shift
   2552     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2553   fi
   2554 fi
   2555 fi
   2556 fi
   2557 CC=$ac_cv_prog_CC
   2558 if test -n "$CC"; then
   2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2560 $as_echo "$CC" >&6; }
   2561 else
   2562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2563 $as_echo "no" >&6; }
   2564 fi
   2565 
   2566 
   2567 fi
   2568 if test -z "$CC"; then
   2569   if test -n "$ac_tool_prefix"; then
   2570   for ac_prog in cl.exe
   2571   do
   2572     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2575 $as_echo_n "checking for $ac_word... " >&6; }
   2576 if test "${ac_cv_prog_CC+set}" = set; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if test -n "$CC"; then
   2580   ac_cv_prog_CC="$CC" # Let the user override the test.
   2581 else
   2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2583 for as_dir in $PATH
   2584 do
   2585   IFS=$as_save_IFS
   2586   test -z "$as_dir" && as_dir=.
   2587     for ac_exec_ext in '' $ac_executable_extensions; do
   2588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2589     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2591     break 2
   2592   fi
   2593 done
   2594   done
   2595 IFS=$as_save_IFS
   2596 
   2597 fi
   2598 fi
   2599 CC=$ac_cv_prog_CC
   2600 if test -n "$CC"; then
   2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2602 $as_echo "$CC" >&6; }
   2603 else
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2605 $as_echo "no" >&6; }
   2606 fi
   2607 
   2608 
   2609     test -n "$CC" && break
   2610   done
   2611 fi
   2612 if test -z "$CC"; then
   2613   ac_ct_CC=$CC
   2614   for ac_prog in cl.exe
   2615 do
   2616   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2617 set dummy $ac_prog; ac_word=$2
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2619 $as_echo_n "checking for $ac_word... " >&6; }
   2620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   if test -n "$ac_ct_CC"; then
   2624   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2625 else
   2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2627 for as_dir in $PATH
   2628 do
   2629   IFS=$as_save_IFS
   2630   test -z "$as_dir" && as_dir=.
   2631     for ac_exec_ext in '' $ac_executable_extensions; do
   2632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2633     ac_cv_prog_ac_ct_CC="$ac_prog"
   2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2635     break 2
   2636   fi
   2637 done
   2638   done
   2639 IFS=$as_save_IFS
   2640 
   2641 fi
   2642 fi
   2643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2644 if test -n "$ac_ct_CC"; then
   2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2646 $as_echo "$ac_ct_CC" >&6; }
   2647 else
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2649 $as_echo "no" >&6; }
   2650 fi
   2651 
   2652 
   2653   test -n "$ac_ct_CC" && break
   2654 done
   2655 
   2656   if test "x$ac_ct_CC" = x; then
   2657     CC=""
   2658   else
   2659     case $cross_compiling:$ac_tool_warned in
   2660 yes:)
   2661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2663 ac_tool_warned=yes ;;
   2664 esac
   2665     CC=$ac_ct_CC
   2666   fi
   2667 fi
   2668 
   2669 fi
   2670 
   2671 
   2672 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2674 as_fn_error "no acceptable C compiler found in \$PATH
   2675 See \`config.log' for more details." "$LINENO" 5; }
   2676 
   2677 # Provide some information about the compiler.
   2678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2679 set X $ac_compile
   2680 ac_compiler=$2
   2681 for ac_option in --version -v -V -qversion; do
   2682   { { ac_try="$ac_compiler $ac_option >&5"
   2683 case "(($ac_try" in
   2684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2685   *) ac_try_echo=$ac_try;;
   2686 esac
   2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2688 $as_echo "$ac_try_echo"; } >&5
   2689   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2690   ac_status=$?
   2691   if test -s conftest.err; then
   2692     sed '10a\
   2693 ... rest of stderr output deleted ...
   2694          10q' conftest.err >conftest.er1
   2695     cat conftest.er1 >&5
   2696   fi
   2697   rm -f conftest.er1 conftest.err
   2698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2699   test $ac_status = 0; }
   2700 done
   2701 
   2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2703 /* end confdefs.h.  */
   2704 
   2705 int
   2706 main ()
   2707 {
   2708 
   2709   ;
   2710   return 0;
   2711 }
   2712 _ACEOF
   2713 ac_clean_files_save=$ac_clean_files
   2714 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2715 # Try to create an executable without -o first, disregard a.out.
   2716 # It will help us diagnose broken compilers, and finding out an intuition
   2717 # of exeext.
   2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2719 $as_echo_n "checking whether the C compiler works... " >&6; }
   2720 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2721 
   2722 # The possible output files:
   2723 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2724 
   2725 ac_rmfiles=
   2726 for ac_file in $ac_files
   2727 do
   2728   case $ac_file in
   2729     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2730     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2731   esac
   2732 done
   2733 rm -f $ac_rmfiles
   2734 
   2735 if { { ac_try="$ac_link_default"
   2736 case "(($ac_try" in
   2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2738   *) ac_try_echo=$ac_try;;
   2739 esac
   2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2741 $as_echo "$ac_try_echo"; } >&5
   2742   (eval "$ac_link_default") 2>&5
   2743   ac_status=$?
   2744   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2745   test $ac_status = 0; }; then :
   2746   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2747 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2748 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2749 # so that the user can short-circuit this test for compilers unknown to
   2750 # Autoconf.
   2751 for ac_file in $ac_files ''
   2752 do
   2753   test -f "$ac_file" || continue
   2754   case $ac_file in
   2755     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2756 	;;
   2757     [ab].out )
   2758 	# We found the default executable, but exeext='' is most
   2759 	# certainly right.
   2760 	break;;
   2761     *.* )
   2762 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2763 	then :; else
   2764 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2765 	fi
   2766 	# We set ac_cv_exeext here because the later test for it is not
   2767 	# safe: cross compilers may not add the suffix if given an `-o'
   2768 	# argument, so we may need to know it at that point already.
   2769 	# Even if this section looks crufty: it has the advantage of
   2770 	# actually working.
   2771 	break;;
   2772     * )
   2773 	break;;
   2774   esac
   2775 done
   2776 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2777 
   2778 else
   2779   ac_file=''
   2780 fi
   2781 if test -z "$ac_file"; then :
   2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2783 $as_echo "no" >&6; }
   2784 $as_echo "$as_me: failed program was:" >&5
   2785 sed 's/^/| /' conftest.$ac_ext >&5
   2786 
   2787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2789 { as_fn_set_status 77
   2790 as_fn_error "C compiler cannot create executables
   2791 See \`config.log' for more details." "$LINENO" 5; }; }
   2792 else
   2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2794 $as_echo "yes" >&6; }
   2795 fi
   2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2797 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2799 $as_echo "$ac_file" >&6; }
   2800 ac_exeext=$ac_cv_exeext
   2801 
   2802 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2803 ac_clean_files=$ac_clean_files_save
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2805 $as_echo_n "checking for suffix of executables... " >&6; }
   2806 if { { ac_try="$ac_link"
   2807 case "(($ac_try" in
   2808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2809   *) ac_try_echo=$ac_try;;
   2810 esac
   2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2812 $as_echo "$ac_try_echo"; } >&5
   2813   (eval "$ac_link") 2>&5
   2814   ac_status=$?
   2815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2816   test $ac_status = 0; }; then :
   2817   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2818 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2819 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2820 # `rm'.
   2821 for ac_file in conftest.exe conftest conftest.*; do
   2822   test -f "$ac_file" || continue
   2823   case $ac_file in
   2824     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2825     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2826 	  break;;
   2827     * ) break;;
   2828   esac
   2829 done
   2830 else
   2831   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2833 as_fn_error "cannot compute suffix of executables: cannot compile and link
   2834 See \`config.log' for more details." "$LINENO" 5; }
   2835 fi
   2836 rm -f conftest conftest$ac_cv_exeext
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2838 $as_echo "$ac_cv_exeext" >&6; }
   2839 
   2840 rm -f conftest.$ac_ext
   2841 EXEEXT=$ac_cv_exeext
   2842 ac_exeext=$EXEEXT
   2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2844 /* end confdefs.h.  */
   2845 #include <stdio.h>
   2846 int
   2847 main ()
   2848 {
   2849 FILE *f = fopen ("conftest.out", "w");
   2850  return ferror (f) || fclose (f) != 0;
   2851 
   2852   ;
   2853   return 0;
   2854 }
   2855 _ACEOF
   2856 ac_clean_files="$ac_clean_files conftest.out"
   2857 # Check that the compiler produces executables we can run.  If not, either
   2858 # the compiler is broken, or we cross compile.
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2860 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2861 if test "$cross_compiling" != yes; then
   2862   { { ac_try="$ac_link"
   2863 case "(($ac_try" in
   2864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2865   *) ac_try_echo=$ac_try;;
   2866 esac
   2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2868 $as_echo "$ac_try_echo"; } >&5
   2869   (eval "$ac_link") 2>&5
   2870   ac_status=$?
   2871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2872   test $ac_status = 0; }
   2873   if { ac_try='./conftest$ac_cv_exeext'
   2874   { { case "(($ac_try" in
   2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2876   *) ac_try_echo=$ac_try;;
   2877 esac
   2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2879 $as_echo "$ac_try_echo"; } >&5
   2880   (eval "$ac_try") 2>&5
   2881   ac_status=$?
   2882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2883   test $ac_status = 0; }; }; then
   2884     cross_compiling=no
   2885   else
   2886     if test "$cross_compiling" = maybe; then
   2887 	cross_compiling=yes
   2888     else
   2889 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2891 as_fn_error "cannot run C compiled programs.
   2892 If you meant to cross compile, use \`--host'.
   2893 See \`config.log' for more details." "$LINENO" 5; }
   2894     fi
   2895   fi
   2896 fi
   2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2898 $as_echo "$cross_compiling" >&6; }
   2899 
   2900 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2901 ac_clean_files=$ac_clean_files_save
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2903 $as_echo_n "checking for suffix of object files... " >&6; }
   2904 if test "${ac_cv_objext+set}" = set; then :
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2908 /* end confdefs.h.  */
   2909 
   2910 int
   2911 main ()
   2912 {
   2913 
   2914   ;
   2915   return 0;
   2916 }
   2917 _ACEOF
   2918 rm -f conftest.o conftest.obj
   2919 if { { ac_try="$ac_compile"
   2920 case "(($ac_try" in
   2921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2922   *) ac_try_echo=$ac_try;;
   2923 esac
   2924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2925 $as_echo "$ac_try_echo"; } >&5
   2926   (eval "$ac_compile") 2>&5
   2927   ac_status=$?
   2928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2929   test $ac_status = 0; }; then :
   2930   for ac_file in conftest.o conftest.obj conftest.*; do
   2931   test -f "$ac_file" || continue;
   2932   case $ac_file in
   2933     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2934     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2935        break;;
   2936   esac
   2937 done
   2938 else
   2939   $as_echo "$as_me: failed program was:" >&5
   2940 sed 's/^/| /' conftest.$ac_ext >&5
   2941 
   2942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2944 as_fn_error "cannot compute suffix of object files: cannot compile
   2945 See \`config.log' for more details." "$LINENO" 5; }
   2946 fi
   2947 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2948 fi
   2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2950 $as_echo "$ac_cv_objext" >&6; }
   2951 OBJEXT=$ac_cv_objext
   2952 ac_objext=$OBJEXT
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2955 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   2956   $as_echo_n "(cached) " >&6
   2957 else
   2958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2959 /* end confdefs.h.  */
   2960 
   2961 int
   2962 main ()
   2963 {
   2964 #ifndef __GNUC__
   2965        choke me
   2966 #endif
   2967 
   2968   ;
   2969   return 0;
   2970 }
   2971 _ACEOF
   2972 if ac_fn_c_try_compile "$LINENO"; then :
   2973   ac_compiler_gnu=yes
   2974 else
   2975   ac_compiler_gnu=no
   2976 fi
   2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2979 
   2980 fi
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2982 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2983 if test $ac_compiler_gnu = yes; then
   2984   GCC=yes
   2985 else
   2986   GCC=
   2987 fi
   2988 ac_test_CFLAGS=${CFLAGS+set}
   2989 ac_save_CFLAGS=$CFLAGS
   2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2991 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2992 if test "${ac_cv_prog_cc_g+set}" = set; then :
   2993   $as_echo_n "(cached) " >&6
   2994 else
   2995   ac_save_c_werror_flag=$ac_c_werror_flag
   2996    ac_c_werror_flag=yes
   2997    ac_cv_prog_cc_g=no
   2998    CFLAGS="-g"
   2999    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3000 /* end confdefs.h.  */
   3001 
   3002 int
   3003 main ()
   3004 {
   3005 
   3006   ;
   3007   return 0;
   3008 }
   3009 _ACEOF
   3010 if ac_fn_c_try_compile "$LINENO"; then :
   3011   ac_cv_prog_cc_g=yes
   3012 else
   3013   CFLAGS=""
   3014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3015 /* end confdefs.h.  */
   3016 
   3017 int
   3018 main ()
   3019 {
   3020 
   3021   ;
   3022   return 0;
   3023 }
   3024 _ACEOF
   3025 if ac_fn_c_try_compile "$LINENO"; then :
   3026 
   3027 else
   3028   ac_c_werror_flag=$ac_save_c_werror_flag
   3029 	 CFLAGS="-g"
   3030 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3031 /* end confdefs.h.  */
   3032 
   3033 int
   3034 main ()
   3035 {
   3036 
   3037   ;
   3038   return 0;
   3039 }
   3040 _ACEOF
   3041 if ac_fn_c_try_compile "$LINENO"; then :
   3042   ac_cv_prog_cc_g=yes
   3043 fi
   3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3045 fi
   3046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3047 fi
   3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3049    ac_c_werror_flag=$ac_save_c_werror_flag
   3050 fi
   3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3052 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3053 if test "$ac_test_CFLAGS" = set; then
   3054   CFLAGS=$ac_save_CFLAGS
   3055 elif test $ac_cv_prog_cc_g = yes; then
   3056   if test "$GCC" = yes; then
   3057     CFLAGS="-g -O2"
   3058   else
   3059     CFLAGS="-g"
   3060   fi
   3061 else
   3062   if test "$GCC" = yes; then
   3063     CFLAGS="-O2"
   3064   else
   3065     CFLAGS=
   3066   fi
   3067 fi
   3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3069 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3070 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3071   $as_echo_n "(cached) " >&6
   3072 else
   3073   ac_cv_prog_cc_c89=no
   3074 ac_save_CC=$CC
   3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3076 /* end confdefs.h.  */
   3077 #include <stdarg.h>
   3078 #include <stdio.h>
   3079 #include <sys/types.h>
   3080 #include <sys/stat.h>
   3081 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3082 struct buf { int x; };
   3083 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3084 static char *e (p, i)
   3085      char **p;
   3086      int i;
   3087 {
   3088   return p[i];
   3089 }
   3090 static char *f (char * (*g) (char **, int), char **p, ...)
   3091 {
   3092   char *s;
   3093   va_list v;
   3094   va_start (v,p);
   3095   s = g (p, va_arg (v,int));
   3096   va_end (v);
   3097   return s;
   3098 }
   3099 
   3100 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3101    function prototypes and stuff, but not '\xHH' hex character constants.
   3102    These don't provoke an error unfortunately, instead are silently treated
   3103    as 'x'.  The following induces an error, until -std is added to get
   3104    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3105    array size at least.  It's necessary to write '\x00'==0 to get something
   3106    that's true only with -std.  */
   3107 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3108 
   3109 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3110    inside strings and character constants.  */
   3111 #define FOO(x) 'x'
   3112 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3113 
   3114 int test (int i, double x);
   3115 struct s1 {int (*f) (int a);};
   3116 struct s2 {int (*f) (double a);};
   3117 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3118 int argc;
   3119 char **argv;
   3120 int
   3121 main ()
   3122 {
   3123 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3124   ;
   3125   return 0;
   3126 }
   3127 _ACEOF
   3128 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3129 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3130 do
   3131   CC="$ac_save_CC $ac_arg"
   3132   if ac_fn_c_try_compile "$LINENO"; then :
   3133   ac_cv_prog_cc_c89=$ac_arg
   3134 fi
   3135 rm -f core conftest.err conftest.$ac_objext
   3136   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3137 done
   3138 rm -f conftest.$ac_ext
   3139 CC=$ac_save_CC
   3140 
   3141 fi
   3142 # AC_CACHE_VAL
   3143 case "x$ac_cv_prog_cc_c89" in
   3144   x)
   3145     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3146 $as_echo "none needed" >&6; } ;;
   3147   xno)
   3148     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3149 $as_echo "unsupported" >&6; } ;;
   3150   *)
   3151     CC="$CC $ac_cv_prog_cc_c89"
   3152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3153 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3154 esac
   3155 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3156 
   3157 fi
   3158 
   3159 ac_ext=c
   3160 ac_cpp='$CPP $CPPFLAGS'
   3161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3164 
   3165 
   3166 ac_ext=c
   3167 ac_cpp='$CPP $CPPFLAGS'
   3168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3173 # On Suns, sometimes $CPP names a directory.
   3174 if test -n "$CPP" && test -d "$CPP"; then
   3175   CPP=
   3176 fi
   3177 if test -z "$CPP"; then
   3178   if test "${ac_cv_prog_CPP+set}" = set; then :
   3179   $as_echo_n "(cached) " >&6
   3180 else
   3181       # Double quotes because CPP needs to be expanded
   3182     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3183     do
   3184       ac_preproc_ok=false
   3185 for ac_c_preproc_warn_flag in '' yes
   3186 do
   3187   # Use a header file that comes with gcc, so configuring glibc
   3188   # with a fresh cross-compiler works.
   3189   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3190   # <limits.h> exists even on freestanding compilers.
   3191   # On the NeXT, cc -E runs the code through the compiler's parser,
   3192   # not just through cpp. "Syntax error" is here to catch this case.
   3193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3194 /* end confdefs.h.  */
   3195 #ifdef __STDC__
   3196 # include <limits.h>
   3197 #else
   3198 # include <assert.h>
   3199 #endif
   3200 		     Syntax error
   3201 _ACEOF
   3202 if ac_fn_c_try_cpp "$LINENO"; then :
   3203 
   3204 else
   3205   # Broken: fails on valid input.
   3206 continue
   3207 fi
   3208 rm -f conftest.err conftest.$ac_ext
   3209 
   3210   # OK, works on sane cases.  Now check whether nonexistent headers
   3211   # can be detected and how.
   3212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3213 /* end confdefs.h.  */
   3214 #include <ac_nonexistent.h>
   3215 _ACEOF
   3216 if ac_fn_c_try_cpp "$LINENO"; then :
   3217   # Broken: success on invalid input.
   3218 continue
   3219 else
   3220   # Passes both tests.
   3221 ac_preproc_ok=:
   3222 break
   3223 fi
   3224 rm -f conftest.err conftest.$ac_ext
   3225 
   3226 done
   3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3228 rm -f conftest.err conftest.$ac_ext
   3229 if $ac_preproc_ok; then :
   3230   break
   3231 fi
   3232 
   3233     done
   3234     ac_cv_prog_CPP=$CPP
   3235 
   3236 fi
   3237   CPP=$ac_cv_prog_CPP
   3238 else
   3239   ac_cv_prog_CPP=$CPP
   3240 fi
   3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3242 $as_echo "$CPP" >&6; }
   3243 ac_preproc_ok=false
   3244 for ac_c_preproc_warn_flag in '' yes
   3245 do
   3246   # Use a header file that comes with gcc, so configuring glibc
   3247   # with a fresh cross-compiler works.
   3248   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3249   # <limits.h> exists even on freestanding compilers.
   3250   # On the NeXT, cc -E runs the code through the compiler's parser,
   3251   # not just through cpp. "Syntax error" is here to catch this case.
   3252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 #ifdef __STDC__
   3255 # include <limits.h>
   3256 #else
   3257 # include <assert.h>
   3258 #endif
   3259 		     Syntax error
   3260 _ACEOF
   3261 if ac_fn_c_try_cpp "$LINENO"; then :
   3262 
   3263 else
   3264   # Broken: fails on valid input.
   3265 continue
   3266 fi
   3267 rm -f conftest.err conftest.$ac_ext
   3268 
   3269   # OK, works on sane cases.  Now check whether nonexistent headers
   3270   # can be detected and how.
   3271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3272 /* end confdefs.h.  */
   3273 #include <ac_nonexistent.h>
   3274 _ACEOF
   3275 if ac_fn_c_try_cpp "$LINENO"; then :
   3276   # Broken: success on invalid input.
   3277 continue
   3278 else
   3279   # Passes both tests.
   3280 ac_preproc_ok=:
   3281 break
   3282 fi
   3283 rm -f conftest.err conftest.$ac_ext
   3284 
   3285 done
   3286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3287 rm -f conftest.err conftest.$ac_ext
   3288 if $ac_preproc_ok; then :
   3289 
   3290 else
   3291   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3293 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3294 See \`config.log' for more details." "$LINENO" 5; }
   3295 fi
   3296 
   3297 ac_ext=c
   3298 ac_cpp='$CPP $CPPFLAGS'
   3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3302 
   3303 
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3305 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3306 if test "${ac_cv_path_GREP+set}" = set; then :
   3307   $as_echo_n "(cached) " >&6
   3308 else
   3309   if test -z "$GREP"; then
   3310   ac_path_GREP_found=false
   3311   # Loop through the user's path and test for each of PROGNAME-LIST
   3312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3314 do
   3315   IFS=$as_save_IFS
   3316   test -z "$as_dir" && as_dir=.
   3317     for ac_prog in grep ggrep; do
   3318     for ac_exec_ext in '' $ac_executable_extensions; do
   3319       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3320       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3321 # Check for GNU ac_path_GREP and select it if it is found.
   3322   # Check for GNU $ac_path_GREP
   3323 case `"$ac_path_GREP" --version 2>&1` in
   3324 *GNU*)
   3325   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3326 *)
   3327   ac_count=0
   3328   $as_echo_n 0123456789 >"conftest.in"
   3329   while :
   3330   do
   3331     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3332     mv "conftest.tmp" "conftest.in"
   3333     cp "conftest.in" "conftest.nl"
   3334     $as_echo 'GREP' >> "conftest.nl"
   3335     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3336     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3337     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3338     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3339       # Best one so far, save it but keep looking for a better one
   3340       ac_cv_path_GREP="$ac_path_GREP"
   3341       ac_path_GREP_max=$ac_count
   3342     fi
   3343     # 10*(2^10) chars as input seems more than enough
   3344     test $ac_count -gt 10 && break
   3345   done
   3346   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3347 esac
   3348 
   3349       $ac_path_GREP_found && break 3
   3350     done
   3351   done
   3352   done
   3353 IFS=$as_save_IFS
   3354   if test -z "$ac_cv_path_GREP"; then
   3355     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3356   fi
   3357 else
   3358   ac_cv_path_GREP=$GREP
   3359 fi
   3360 
   3361 fi
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3363 $as_echo "$ac_cv_path_GREP" >&6; }
   3364  GREP="$ac_cv_path_GREP"
   3365 
   3366 
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3368 $as_echo_n "checking for egrep... " >&6; }
   3369 if test "${ac_cv_path_EGREP+set}" = set; then :
   3370   $as_echo_n "(cached) " >&6
   3371 else
   3372   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3373    then ac_cv_path_EGREP="$GREP -E"
   3374    else
   3375      if test -z "$EGREP"; then
   3376   ac_path_EGREP_found=false
   3377   # Loop through the user's path and test for each of PROGNAME-LIST
   3378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3379 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3380 do
   3381   IFS=$as_save_IFS
   3382   test -z "$as_dir" && as_dir=.
   3383     for ac_prog in egrep; do
   3384     for ac_exec_ext in '' $ac_executable_extensions; do
   3385       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3386       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3387 # Check for GNU ac_path_EGREP and select it if it is found.
   3388   # Check for GNU $ac_path_EGREP
   3389 case `"$ac_path_EGREP" --version 2>&1` in
   3390 *GNU*)
   3391   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3392 *)
   3393   ac_count=0
   3394   $as_echo_n 0123456789 >"conftest.in"
   3395   while :
   3396   do
   3397     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3398     mv "conftest.tmp" "conftest.in"
   3399     cp "conftest.in" "conftest.nl"
   3400     $as_echo 'EGREP' >> "conftest.nl"
   3401     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3402     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3403     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3404     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3405       # Best one so far, save it but keep looking for a better one
   3406       ac_cv_path_EGREP="$ac_path_EGREP"
   3407       ac_path_EGREP_max=$ac_count
   3408     fi
   3409     # 10*(2^10) chars as input seems more than enough
   3410     test $ac_count -gt 10 && break
   3411   done
   3412   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3413 esac
   3414 
   3415       $ac_path_EGREP_found && break 3
   3416     done
   3417   done
   3418   done
   3419 IFS=$as_save_IFS
   3420   if test -z "$ac_cv_path_EGREP"; then
   3421     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3422   fi
   3423 else
   3424   ac_cv_path_EGREP=$EGREP
   3425 fi
   3426 
   3427    fi
   3428 fi
   3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3430 $as_echo "$ac_cv_path_EGREP" >&6; }
   3431  EGREP="$ac_cv_path_EGREP"
   3432 
   3433 
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3435 $as_echo_n "checking for ANSI C header files... " >&6; }
   3436 if test "${ac_cv_header_stdc+set}" = set; then :
   3437   $as_echo_n "(cached) " >&6
   3438 else
   3439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3440 /* end confdefs.h.  */
   3441 #include <stdlib.h>
   3442 #include <stdarg.h>
   3443 #include <string.h>
   3444 #include <float.h>
   3445 
   3446 int
   3447 main ()
   3448 {
   3449 
   3450   ;
   3451   return 0;
   3452 }
   3453 _ACEOF
   3454 if ac_fn_c_try_compile "$LINENO"; then :
   3455   ac_cv_header_stdc=yes
   3456 else
   3457   ac_cv_header_stdc=no
   3458 fi
   3459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3460 
   3461 if test $ac_cv_header_stdc = yes; then
   3462   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3464 /* end confdefs.h.  */
   3465 #include <string.h>
   3466 
   3467 _ACEOF
   3468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3469   $EGREP "memchr" >/dev/null 2>&1; then :
   3470 
   3471 else
   3472   ac_cv_header_stdc=no
   3473 fi
   3474 rm -f conftest*
   3475 
   3476 fi
   3477 
   3478 if test $ac_cv_header_stdc = yes; then
   3479   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3481 /* end confdefs.h.  */
   3482 #include <stdlib.h>
   3483 
   3484 _ACEOF
   3485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3486   $EGREP "free" >/dev/null 2>&1; then :
   3487 
   3488 else
   3489   ac_cv_header_stdc=no
   3490 fi
   3491 rm -f conftest*
   3492 
   3493 fi
   3494 
   3495 if test $ac_cv_header_stdc = yes; then
   3496   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3497   if test "$cross_compiling" = yes; then :
   3498   :
   3499 else
   3500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 #include <ctype.h>
   3503 #include <stdlib.h>
   3504 #if ((' ' & 0x0FF) == 0x020)
   3505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3507 #else
   3508 # define ISLOWER(c) \
   3509 		   (('a' <= (c) && (c) <= 'i') \
   3510 		     || ('j' <= (c) && (c) <= 'r') \
   3511 		     || ('s' <= (c) && (c) <= 'z'))
   3512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3513 #endif
   3514 
   3515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3516 int
   3517 main ()
   3518 {
   3519   int i;
   3520   for (i = 0; i < 256; i++)
   3521     if (XOR (islower (i), ISLOWER (i))
   3522 	|| toupper (i) != TOUPPER (i))
   3523       return 2;
   3524   return 0;
   3525 }
   3526 _ACEOF
   3527 if ac_fn_c_try_run "$LINENO"; then :
   3528 
   3529 else
   3530   ac_cv_header_stdc=no
   3531 fi
   3532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3533   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3534 fi
   3535 
   3536 fi
   3537 fi
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3539 $as_echo "$ac_cv_header_stdc" >&6; }
   3540 if test $ac_cv_header_stdc = yes; then
   3541 
   3542 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3543 
   3544 fi
   3545 
   3546 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3547 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3548 		  inttypes.h stdint.h unistd.h
   3549 do :
   3550   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3551 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3552 "
   3553 eval as_val=\$$as_ac_Header
   3554    if test "x$as_val" = x""yes; then :
   3555   cat >>confdefs.h <<_ACEOF
   3556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3557 _ACEOF
   3558 
   3559 fi
   3560 
   3561 done
   3562 
   3563 
   3564    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3565 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3566 if test "${ac_cv_prog_cc_c99+set}" = set; then :
   3567   $as_echo_n "(cached) " >&6
   3568 else
   3569   ac_cv_prog_cc_c99=no
   3570 ac_save_CC=$CC
   3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 #include <stdarg.h>
   3574 #include <stdbool.h>
   3575 #include <stdlib.h>
   3576 #include <wchar.h>
   3577 #include <stdio.h>
   3578 
   3579 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3580 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3581 #define showlist(...) puts (#__VA_ARGS__)
   3582 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3583 static void
   3584 test_varargs_macros (void)
   3585 {
   3586   int x = 1234;
   3587   int y = 5678;
   3588   debug ("Flag");
   3589   debug ("X = %d\n", x);
   3590   showlist (The first, second, and third items.);
   3591   report (x>y, "x is %d but y is %d", x, y);
   3592 }
   3593 
   3594 // Check long long types.
   3595 #define BIG64 18446744073709551615ull
   3596 #define BIG32 4294967295ul
   3597 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3598 #if !BIG_OK
   3599   your preprocessor is broken;
   3600 #endif
   3601 #if BIG_OK
   3602 #else
   3603   your preprocessor is broken;
   3604 #endif
   3605 static long long int bignum = -9223372036854775807LL;
   3606 static unsigned long long int ubignum = BIG64;
   3607 
   3608 struct incomplete_array
   3609 {
   3610   int datasize;
   3611   double data[];
   3612 };
   3613 
   3614 struct named_init {
   3615   int number;
   3616   const wchar_t *name;
   3617   double average;
   3618 };
   3619 
   3620 typedef const char *ccp;
   3621 
   3622 static inline int
   3623 test_restrict (ccp restrict text)
   3624 {
   3625   // See if C++-style comments work.
   3626   // Iterate through items via the restricted pointer.
   3627   // Also check for declarations in for loops.
   3628   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3629     continue;
   3630   return 0;
   3631 }
   3632 
   3633 // Check varargs and va_copy.
   3634 static void
   3635 test_varargs (const char *format, ...)
   3636 {
   3637   va_list args;
   3638   va_start (args, format);
   3639   va_list args_copy;
   3640   va_copy (args_copy, args);
   3641 
   3642   const char *str;
   3643   int number;
   3644   float fnumber;
   3645 
   3646   while (*format)
   3647     {
   3648       switch (*format++)
   3649 	{
   3650 	case 's': // string
   3651 	  str = va_arg (args_copy, const char *);
   3652 	  break;
   3653 	case 'd': // int
   3654 	  number = va_arg (args_copy, int);
   3655 	  break;
   3656 	case 'f': // float
   3657 	  fnumber = va_arg (args_copy, double);
   3658 	  break;
   3659 	default:
   3660 	  break;
   3661 	}
   3662     }
   3663   va_end (args_copy);
   3664   va_end (args);
   3665 }
   3666 
   3667 int
   3668 main ()
   3669 {
   3670 
   3671   // Check bool.
   3672   _Bool success = false;
   3673 
   3674   // Check restrict.
   3675   if (test_restrict ("String literal") == 0)
   3676     success = true;
   3677   char *restrict newvar = "Another string";
   3678 
   3679   // Check varargs.
   3680   test_varargs ("s, d' f .", "string", 65, 34.234);
   3681   test_varargs_macros ();
   3682 
   3683   // Check flexible array members.
   3684   struct incomplete_array *ia =
   3685     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3686   ia->datasize = 10;
   3687   for (int i = 0; i < ia->datasize; ++i)
   3688     ia->data[i] = i * 1.234;
   3689 
   3690   // Check named initializers.
   3691   struct named_init ni = {
   3692     .number = 34,
   3693     .name = L"Test wide string",
   3694     .average = 543.34343,
   3695   };
   3696 
   3697   ni.number = 58;
   3698 
   3699   int dynamic_array[ni.number];
   3700   dynamic_array[ni.number - 1] = 543;
   3701 
   3702   // work around unused variable warnings
   3703   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3704 	  || dynamic_array[ni.number - 1] != 543);
   3705 
   3706   ;
   3707   return 0;
   3708 }
   3709 _ACEOF
   3710 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3711 do
   3712   CC="$ac_save_CC $ac_arg"
   3713   if ac_fn_c_try_compile "$LINENO"; then :
   3714   ac_cv_prog_cc_c99=$ac_arg
   3715 fi
   3716 rm -f core conftest.err conftest.$ac_objext
   3717   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3718 done
   3719 rm -f conftest.$ac_ext
   3720 CC=$ac_save_CC
   3721 
   3722 fi
   3723 # AC_CACHE_VAL
   3724 case "x$ac_cv_prog_cc_c99" in
   3725   x)
   3726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3727 $as_echo "none needed" >&6; } ;;
   3728   xno)
   3729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3730 $as_echo "unsupported" >&6; } ;;
   3731   *)
   3732     CC="$CC $ac_cv_prog_cc_c99"
   3733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3734 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3735 esac
   3736 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3737 
   3738 fi
   3739 
   3740 
   3741 
   3742 
   3743 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   3744 	if test -n "$ac_tool_prefix"; then
   3745   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   3746 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3748 $as_echo_n "checking for $ac_word... " >&6; }
   3749 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
   3750   $as_echo_n "(cached) " >&6
   3751 else
   3752   case $PKG_CONFIG in
   3753   [\\/]* | ?:[\\/]*)
   3754   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   3755   ;;
   3756   *)
   3757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3758 for as_dir in $PATH
   3759 do
   3760   IFS=$as_save_IFS
   3761   test -z "$as_dir" && as_dir=.
   3762     for ac_exec_ext in '' $ac_executable_extensions; do
   3763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3764     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3766     break 2
   3767   fi
   3768 done
   3769   done
   3770 IFS=$as_save_IFS
   3771 
   3772   ;;
   3773 esac
   3774 fi
   3775 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   3776 if test -n "$PKG_CONFIG"; then
   3777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   3778 $as_echo "$PKG_CONFIG" >&6; }
   3779 else
   3780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3781 $as_echo "no" >&6; }
   3782 fi
   3783 
   3784 
   3785 fi
   3786 if test -z "$ac_cv_path_PKG_CONFIG"; then
   3787   ac_pt_PKG_CONFIG=$PKG_CONFIG
   3788   # Extract the first word of "pkg-config", so it can be a program name with args.
   3789 set dummy pkg-config; ac_word=$2
   3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3791 $as_echo_n "checking for $ac_word... " >&6; }
   3792 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
   3793   $as_echo_n "(cached) " >&6
   3794 else
   3795   case $ac_pt_PKG_CONFIG in
   3796   [\\/]* | ?:[\\/]*)
   3797   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   3798   ;;
   3799   *)
   3800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3801 for as_dir in $PATH
   3802 do
   3803   IFS=$as_save_IFS
   3804   test -z "$as_dir" && as_dir=.
   3805     for ac_exec_ext in '' $ac_executable_extensions; do
   3806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3807     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   3808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3809     break 2
   3810   fi
   3811 done
   3812   done
   3813 IFS=$as_save_IFS
   3814 
   3815   ;;
   3816 esac
   3817 fi
   3818 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   3819 if test -n "$ac_pt_PKG_CONFIG"; then
   3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   3821 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   3822 else
   3823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3824 $as_echo "no" >&6; }
   3825 fi
   3826 
   3827   if test "x$ac_pt_PKG_CONFIG" = x; then
   3828     PKG_CONFIG=""
   3829   else
   3830     case $cross_compiling:$ac_tool_warned in
   3831 yes:)
   3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3834 ac_tool_warned=yes ;;
   3835 esac
   3836     PKG_CONFIG=$ac_pt_PKG_CONFIG
   3837   fi
   3838 else
   3839   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   3840 fi
   3841 
   3842 fi
   3843 if test -n "$PKG_CONFIG"; then
   3844 	_pkg_min_version=0.9.0
   3845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   3846 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   3847 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   3848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3849 $as_echo "yes" >&6; }
   3850 	else
   3851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3852 $as_echo "no" >&6; }
   3853 		PKG_CONFIG=""
   3854 	fi
   3855 
   3856 fi
   3857 # Make sure we can run config.sub.
   3858 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3859   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3860 
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3862 $as_echo_n "checking build system type... " >&6; }
   3863 if test "${ac_cv_build+set}" = set; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866   ac_build_alias=$build_alias
   3867 test "x$ac_build_alias" = x &&
   3868   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3869 test "x$ac_build_alias" = x &&
   3870   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   3871 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3872   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3873 
   3874 fi
   3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3876 $as_echo "$ac_cv_build" >&6; }
   3877 case $ac_cv_build in
   3878 *-*-*) ;;
   3879 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   3880 esac
   3881 build=$ac_cv_build
   3882 ac_save_IFS=$IFS; IFS='-'
   3883 set x $ac_cv_build
   3884 shift
   3885 build_cpu=$1
   3886 build_vendor=$2
   3887 shift; shift
   3888 # Remember, the first character of IFS is used to create $*,
   3889 # except with old shells:
   3890 build_os=$*
   3891 IFS=$ac_save_IFS
   3892 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3893 
   3894 
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3896 $as_echo_n "checking host system type... " >&6; }
   3897 if test "${ac_cv_host+set}" = set; then :
   3898   $as_echo_n "(cached) " >&6
   3899 else
   3900   if test "x$host_alias" = x; then
   3901   ac_cv_host=$ac_cv_build
   3902 else
   3903   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3904     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3905 fi
   3906 
   3907 fi
   3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3909 $as_echo "$ac_cv_host" >&6; }
   3910 case $ac_cv_host in
   3911 *-*-*) ;;
   3912 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   3913 esac
   3914 host=$ac_cv_host
   3915 ac_save_IFS=$IFS; IFS='-'
   3916 set x $ac_cv_host
   3917 shift
   3918 host_cpu=$1
   3919 host_vendor=$2
   3920 shift; shift
   3921 # Remember, the first character of IFS is used to create $*,
   3922 # except with old shells:
   3923 host_os=$*
   3924 IFS=$ac_save_IFS
   3925 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3926 
   3927 
   3928 
   3929 
   3930 
   3931 if  test "x$GCC" = xyes ; then
   3932     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   3933 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   3934 -Wbad-function-cast"
   3935     case `$CC -dumpversion` in
   3936     3.4.* | 4.*)
   3937 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   3938 	;;
   3939     esac
   3940 else
   3941     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   3942 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   3943   SUNCC="yes"
   3944 else
   3945   SUNCC="no"
   3946 fi
   3947 
   3948     if test "x$SUNCC" = "xyes"; then
   3949 	CWARNFLAGS="-v"
   3950     fi
   3951 fi
   3952 
   3953 # Check whether --enable-silent-rules was given.
   3954 if test "${enable_silent_rules+set}" = set; then :
   3955   enableval=$enable_silent_rules;
   3956 fi
   3957 
   3958 case $enable_silent_rules in
   3959 yes) AM_DEFAULT_VERBOSITY=0;;
   3960 no)  AM_DEFAULT_VERBOSITY=1;;
   3961 *)   AM_DEFAULT_VERBOSITY=0;;
   3962 esac
   3963 AM_BACKSLASH='\'
   3964 
   3965 
   3966 
   3967 
   3968 
   3969 
   3970 
   3971 # Check whether --enable-strict-compilation was given.
   3972 if test "${enable_strict_compilation+set}" = set; then :
   3973   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   3974 else
   3975   STRICT_COMPILE=no
   3976 fi
   3977 
   3978 if test "x$STRICT_COMPILE" = "xyes"; then
   3979 	ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   3980 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then :
   3981   SUNCC="yes"
   3982 else
   3983   SUNCC="no"
   3984 fi
   3985 
   3986 	ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   3987 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then :
   3988   INTELCC="yes"
   3989 else
   3990   INTELCC="no"
   3991 fi
   3992 
   3993 	if test "x$GCC" = xyes ; then
   3994 		STRICT_CFLAGS="-pedantic -Werror"
   3995 	elif test "x$SUNCC" = "xyes"; then
   3996 		STRICT_CFLAGS="-errwarn"
   3997     elif test "x$INTELCC" = "xyes"; then
   3998 		STRICT_CFLAGS="-Werror"
   3999 	fi
   4000 fi
   4001 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4002 
   4003 
   4004 
   4005 
   4006 # Check whether --with-release-version was given.
   4007 if test "${with_release_version+set}" = set; then :
   4008   withval=$with_release_version; RELEASE_VERSION="$withval"
   4009 else
   4010   RELEASE_VERSION=""
   4011 fi
   4012 
   4013 	if test "x$RELEASE_VERSION" != "x"; then
   4014 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   4015 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   4016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: Building with package name set to $PACKAGE" >&5
   4017 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   4018 	fi
   4019 
   4020 cat >>confdefs.h <<_ACEOF
   4021 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4022 _ACEOF
   4023 
   4024 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4025 	if test "x$PVM" = "x"; then
   4026 		PVM="0"
   4027 	fi
   4028 
   4029 cat >>confdefs.h <<_ACEOF
   4030 #define PACKAGE_VERSION_MINOR $PVM
   4031 _ACEOF
   4032 
   4033 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4034 	if test "x$PVP" = "x"; then
   4035 		PVP="0"
   4036 	fi
   4037 
   4038 cat >>confdefs.h <<_ACEOF
   4039 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4040 _ACEOF
   4041 
   4042 
   4043 
   4044 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4045 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4046 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4047 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4048 
   4049 
   4050 
   4051 
   4052 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4053 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4054 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4055 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4056 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4057 
   4058 
   4059 
   4060 
   4061 
   4062 if test x$APP_MAN_SUFFIX = x    ; then
   4063     APP_MAN_SUFFIX=1
   4064 fi
   4065 if test x$APP_MAN_DIR = x    ; then
   4066     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4067 fi
   4068 
   4069 if test x$LIB_MAN_SUFFIX = x    ; then
   4070     LIB_MAN_SUFFIX=3
   4071 fi
   4072 if test x$LIB_MAN_DIR = x    ; then
   4073     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4074 fi
   4075 
   4076 if test x$FILE_MAN_SUFFIX = x    ; then
   4077     case $host_os in
   4078 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4079 	*)		FILE_MAN_SUFFIX=5  ;;
   4080     esac
   4081 fi
   4082 if test x$FILE_MAN_DIR = x    ; then
   4083     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4084 fi
   4085 
   4086 if test x$MISC_MAN_SUFFIX = x    ; then
   4087     case $host_os in
   4088 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4089 	*)		MISC_MAN_SUFFIX=7  ;;
   4090     esac
   4091 fi
   4092 if test x$MISC_MAN_DIR = x    ; then
   4093     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4094 fi
   4095 
   4096 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4097     case $host_os in
   4098 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4099 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4100     esac
   4101 fi
   4102 if test x$DRIVER_MAN_DIR = x    ; then
   4103     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4104 fi
   4105 
   4106 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4107     case $host_os in
   4108 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4109 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4110     esac
   4111 fi
   4112 if test x$ADMIN_MAN_DIR = x    ; then
   4113     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4114 fi
   4115 
   4116 
   4117 
   4118 
   4119 
   4120 
   4121 
   4122 
   4123 
   4124 
   4125 
   4126 
   4127 
   4128 
   4129 
   4130 
   4131 
   4132 am__api_version='1.11'
   4133 
   4134 # Find a good install program.  We prefer a C program (faster),
   4135 # so one script is as good as another.  But avoid the broken or
   4136 # incompatible versions:
   4137 # SysV /etc/install, /usr/sbin/install
   4138 # SunOS /usr/etc/install
   4139 # IRIX /sbin/install
   4140 # AIX /bin/install
   4141 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4145 # OS/2's system install, which has a completely different semantic
   4146 # ./install, which can be erroneously created by make from ./install.sh.
   4147 # Reject install programs that cannot install multiple files.
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4149 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4150 if test -z "$INSTALL"; then
   4151 if test "${ac_cv_path_install+set}" = set; then :
   4152   $as_echo_n "(cached) " >&6
   4153 else
   4154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4155 for as_dir in $PATH
   4156 do
   4157   IFS=$as_save_IFS
   4158   test -z "$as_dir" && as_dir=.
   4159     # Account for people who put trailing slashes in PATH elements.
   4160 case $as_dir/ in #((
   4161   ./ | .// | /[cC]/* | \
   4162   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4163   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4164   /usr/ucb/* ) ;;
   4165   *)
   4166     # OSF1 and SCO ODT 3.0 have their own names for install.
   4167     # Don't use installbsd from OSF since it installs stuff as root
   4168     # by default.
   4169     for ac_prog in ginstall scoinst install; do
   4170       for ac_exec_ext in '' $ac_executable_extensions; do
   4171 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4172 	  if test $ac_prog = install &&
   4173 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4174 	    # AIX install.  It has an incompatible calling convention.
   4175 	    :
   4176 	  elif test $ac_prog = install &&
   4177 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4178 	    # program-specific install script used by HP pwplus--don't use.
   4179 	    :
   4180 	  else
   4181 	    rm -rf conftest.one conftest.two conftest.dir
   4182 	    echo one > conftest.one
   4183 	    echo two > conftest.two
   4184 	    mkdir conftest.dir
   4185 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4186 	      test -s conftest.one && test -s conftest.two &&
   4187 	      test -s conftest.dir/conftest.one &&
   4188 	      test -s conftest.dir/conftest.two
   4189 	    then
   4190 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4191 	      break 3
   4192 	    fi
   4193 	  fi
   4194 	fi
   4195       done
   4196     done
   4197     ;;
   4198 esac
   4199 
   4200   done
   4201 IFS=$as_save_IFS
   4202 
   4203 rm -rf conftest.one conftest.two conftest.dir
   4204 
   4205 fi
   4206   if test "${ac_cv_path_install+set}" = set; then
   4207     INSTALL=$ac_cv_path_install
   4208   else
   4209     # As a last resort, use the slow shell script.  Don't cache a
   4210     # value for INSTALL within a source directory, because that will
   4211     # break other packages using the cache if that directory is
   4212     # removed, or if the value is a relative name.
   4213     INSTALL=$ac_install_sh
   4214   fi
   4215 fi
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4217 $as_echo "$INSTALL" >&6; }
   4218 
   4219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4220 # It thinks the first close brace ends the variable substitution.
   4221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4222 
   4223 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4224 
   4225 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4226 
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4228 $as_echo_n "checking whether build environment is sane... " >&6; }
   4229 # Just in case
   4230 sleep 1
   4231 echo timestamp > conftest.file
   4232 # Reject unsafe characters in $srcdir or the absolute working directory
   4233 # name.  Accept space and tab only in the latter.
   4234 am_lf='
   4235 '
   4236 case `pwd` in
   4237   *[\\\"\#\$\&\'\`$am_lf]*)
   4238     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   4239 esac
   4240 case $srcdir in
   4241   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4242     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   4243 esac
   4244 
   4245 # Do `set' in a subshell so we don't clobber the current shell's
   4246 # arguments.  Must try -L first in case configure is actually a
   4247 # symlink; some systems play weird games with the mod time of symlinks
   4248 # (eg FreeBSD returns the mod time of the symlink's containing
   4249 # directory).
   4250 if (
   4251    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4252    if test "$*" = "X"; then
   4253       # -L didn't work.
   4254       set X `ls -t "$srcdir/configure" conftest.file`
   4255    fi
   4256    rm -f conftest.file
   4257    if test "$*" != "X $srcdir/configure conftest.file" \
   4258       && test "$*" != "X conftest.file $srcdir/configure"; then
   4259 
   4260       # If neither matched, then we have a broken ls.  This can happen
   4261       # if, for instance, CONFIG_SHELL is bash and it inherits a
   4262       # broken ls alias from the environment.  This has actually
   4263       # happened.  Such a system could not be considered "sane".
   4264       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   4265 alias in your environment" "$LINENO" 5
   4266    fi
   4267 
   4268    test "$2" = conftest.file
   4269    )
   4270 then
   4271    # Ok.
   4272    :
   4273 else
   4274    as_fn_error "newly created file is older than distributed files!
   4275 Check your system clock" "$LINENO" 5
   4276 fi
   4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4278 $as_echo "yes" >&6; }
   4279 test "$program_prefix" != NONE &&
   4280   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4281 # Use a double $ so make ignores it.
   4282 test "$program_suffix" != NONE &&
   4283   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4284 # Double any \ or $.
   4285 # By default was `s,x,x', remove it if useless.
   4286 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4287 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4288 
   4289 # expand $ac_aux_dir to an absolute path
   4290 am_aux_dir=`cd $ac_aux_dir && pwd`
   4291 
   4292 if test x"${MISSING+set}" != xset; then
   4293   case $am_aux_dir in
   4294   *\ * | *\	*)
   4295     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4296   *)
   4297     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4298   esac
   4299 fi
   4300 # Use eval to expand $SHELL
   4301 if eval "$MISSING --run true"; then
   4302   am_missing_run="$MISSING --run "
   4303 else
   4304   am_missing_run=
   4305   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   4306 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4307 fi
   4308 
   4309 if test x"${install_sh}" != xset; then
   4310   case $am_aux_dir in
   4311   *\ * | *\	*)
   4312     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4313   *)
   4314     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4315   esac
   4316 fi
   4317 
   4318 # Installed binaries are usually stripped using `strip' when the user
   4319 # run `make install-strip'.  However `strip' might not be the right
   4320 # tool to use in cross-compilation environments, therefore Automake
   4321 # will honor the `STRIP' environment variable to overrule this program.
   4322 if test "$cross_compiling" != no; then
   4323   if test -n "$ac_tool_prefix"; then
   4324   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4325 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4327 $as_echo_n "checking for $ac_word... " >&6; }
   4328 if test "${ac_cv_prog_STRIP+set}" = set; then :
   4329   $as_echo_n "(cached) " >&6
   4330 else
   4331   if test -n "$STRIP"; then
   4332   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4333 else
   4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4335 for as_dir in $PATH
   4336 do
   4337   IFS=$as_save_IFS
   4338   test -z "$as_dir" && as_dir=.
   4339     for ac_exec_ext in '' $ac_executable_extensions; do
   4340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4341     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4343     break 2
   4344   fi
   4345 done
   4346   done
   4347 IFS=$as_save_IFS
   4348 
   4349 fi
   4350 fi
   4351 STRIP=$ac_cv_prog_STRIP
   4352 if test -n "$STRIP"; then
   4353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4354 $as_echo "$STRIP" >&6; }
   4355 else
   4356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4357 $as_echo "no" >&6; }
   4358 fi
   4359 
   4360 
   4361 fi
   4362 if test -z "$ac_cv_prog_STRIP"; then
   4363   ac_ct_STRIP=$STRIP
   4364   # Extract the first word of "strip", so it can be a program name with args.
   4365 set dummy strip; ac_word=$2
   4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4367 $as_echo_n "checking for $ac_word... " >&6; }
   4368 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   4369   $as_echo_n "(cached) " >&6
   4370 else
   4371   if test -n "$ac_ct_STRIP"; then
   4372   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4373 else
   4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4375 for as_dir in $PATH
   4376 do
   4377   IFS=$as_save_IFS
   4378   test -z "$as_dir" && as_dir=.
   4379     for ac_exec_ext in '' $ac_executable_extensions; do
   4380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4381     ac_cv_prog_ac_ct_STRIP="strip"
   4382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4383     break 2
   4384   fi
   4385 done
   4386   done
   4387 IFS=$as_save_IFS
   4388 
   4389 fi
   4390 fi
   4391 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4392 if test -n "$ac_ct_STRIP"; then
   4393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4394 $as_echo "$ac_ct_STRIP" >&6; }
   4395 else
   4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4397 $as_echo "no" >&6; }
   4398 fi
   4399 
   4400   if test "x$ac_ct_STRIP" = x; then
   4401     STRIP=":"
   4402   else
   4403     case $cross_compiling:$ac_tool_warned in
   4404 yes:)
   4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4407 ac_tool_warned=yes ;;
   4408 esac
   4409     STRIP=$ac_ct_STRIP
   4410   fi
   4411 else
   4412   STRIP="$ac_cv_prog_STRIP"
   4413 fi
   4414 
   4415 fi
   4416 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4417 
   4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4419 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4420 if test -z "$MKDIR_P"; then
   4421   if test "${ac_cv_path_mkdir+set}" = set; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4425 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4426 do
   4427   IFS=$as_save_IFS
   4428   test -z "$as_dir" && as_dir=.
   4429     for ac_prog in mkdir gmkdir; do
   4430 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4431 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4432 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4433 	     'mkdir (GNU coreutils) '* | \
   4434 	     'mkdir (coreutils) '* | \
   4435 	     'mkdir (fileutils) '4.1*)
   4436 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4437 	       break 3;;
   4438 	   esac
   4439 	 done
   4440        done
   4441   done
   4442 IFS=$as_save_IFS
   4443 
   4444 fi
   4445 
   4446   test -d ./--version && rmdir ./--version
   4447   if test "${ac_cv_path_mkdir+set}" = set; then
   4448     MKDIR_P="$ac_cv_path_mkdir -p"
   4449   else
   4450     # As a last resort, use the slow shell script.  Don't cache a
   4451     # value for MKDIR_P within a source directory, because that will
   4452     # break other packages using the cache if that directory is
   4453     # removed, or if the value is a relative name.
   4454     MKDIR_P="$ac_install_sh -d"
   4455   fi
   4456 fi
   4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4458 $as_echo "$MKDIR_P" >&6; }
   4459 
   4460 mkdir_p="$MKDIR_P"
   4461 case $mkdir_p in
   4462   [\\/$]* | ?:[\\/]*) ;;
   4463   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4464 esac
   4465 
   4466 for ac_prog in gawk mawk nawk awk
   4467 do
   4468   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4469 set dummy $ac_prog; ac_word=$2
   4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4471 $as_echo_n "checking for $ac_word... " >&6; }
   4472 if test "${ac_cv_prog_AWK+set}" = set; then :
   4473   $as_echo_n "(cached) " >&6
   4474 else
   4475   if test -n "$AWK"; then
   4476   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4477 else
   4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4479 for as_dir in $PATH
   4480 do
   4481   IFS=$as_save_IFS
   4482   test -z "$as_dir" && as_dir=.
   4483     for ac_exec_ext in '' $ac_executable_extensions; do
   4484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4485     ac_cv_prog_AWK="$ac_prog"
   4486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4487     break 2
   4488   fi
   4489 done
   4490   done
   4491 IFS=$as_save_IFS
   4492 
   4493 fi
   4494 fi
   4495 AWK=$ac_cv_prog_AWK
   4496 if test -n "$AWK"; then
   4497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4498 $as_echo "$AWK" >&6; }
   4499 else
   4500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4501 $as_echo "no" >&6; }
   4502 fi
   4503 
   4504 
   4505   test -n "$AWK" && break
   4506 done
   4507 
   4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4509 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4510 set x ${MAKE-make}
   4511 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4512 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   4513   $as_echo_n "(cached) " >&6
   4514 else
   4515   cat >conftest.make <<\_ACEOF
   4516 SHELL = /bin/sh
   4517 all:
   4518 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4519 _ACEOF
   4520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   4521 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4522   *@@@%%%=?*=@@@%%%*)
   4523     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4524   *)
   4525     eval ac_cv_prog_make_${ac_make}_set=no;;
   4526 esac
   4527 rm -f conftest.make
   4528 fi
   4529 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4531 $as_echo "yes" >&6; }
   4532   SET_MAKE=
   4533 else
   4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4535 $as_echo "no" >&6; }
   4536   SET_MAKE="MAKE=${MAKE-make}"
   4537 fi
   4538 
   4539 rm -rf .tst 2>/dev/null
   4540 mkdir .tst 2>/dev/null
   4541 if test -d .tst; then
   4542   am__leading_dot=.
   4543 else
   4544   am__leading_dot=_
   4545 fi
   4546 rmdir .tst 2>/dev/null
   4547 
   4548 DEPDIR="${am__leading_dot}deps"
   4549 
   4550 ac_config_commands="$ac_config_commands depfiles"
   4551 
   4552 
   4553 am_make=${MAKE-make}
   4554 cat > confinc << 'END'
   4555 am__doit:
   4556 	@echo this is the am__doit target
   4557 .PHONY: am__doit
   4558 END
   4559 # If we don't find an include directive, just comment out the code.
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4561 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4562 am__include="#"
   4563 am__quote=
   4564 _am_result=none
   4565 # First try GNU make style include.
   4566 echo "include confinc" > confmf
   4567 # Ignore all kinds of additional output from `make'.
   4568 case `$am_make -s -f confmf 2> /dev/null` in #(
   4569 *the\ am__doit\ target*)
   4570   am__include=include
   4571   am__quote=
   4572   _am_result=GNU
   4573   ;;
   4574 esac
   4575 # Now try BSD make style include.
   4576 if test "$am__include" = "#"; then
   4577    echo '.include "confinc"' > confmf
   4578    case `$am_make -s -f confmf 2> /dev/null` in #(
   4579    *the\ am__doit\ target*)
   4580      am__include=.include
   4581      am__quote="\""
   4582      _am_result=BSD
   4583      ;;
   4584    esac
   4585 fi
   4586 
   4587 
   4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4589 $as_echo "$_am_result" >&6; }
   4590 rm -f confinc confmf
   4591 
   4592 # Check whether --enable-dependency-tracking was given.
   4593 if test "${enable_dependency_tracking+set}" = set; then :
   4594   enableval=$enable_dependency_tracking;
   4595 fi
   4596 
   4597 if test "x$enable_dependency_tracking" != xno; then
   4598   am_depcomp="$ac_aux_dir/depcomp"
   4599   AMDEPBACKSLASH='\'
   4600 fi
   4601  if test "x$enable_dependency_tracking" != xno; then
   4602   AMDEP_TRUE=
   4603   AMDEP_FALSE='#'
   4604 else
   4605   AMDEP_TRUE='#'
   4606   AMDEP_FALSE=
   4607 fi
   4608 
   4609 
   4610 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4611   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4612   # is not polluted with repeated "-I."
   4613   am__isrc=' -I$(srcdir)'
   4614   # test to see if srcdir already configured
   4615   if test -f $srcdir/config.status; then
   4616     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4617   fi
   4618 fi
   4619 
   4620 # test whether we have cygpath
   4621 if test -z "$CYGPATH_W"; then
   4622   if (cygpath --version) >/dev/null 2>/dev/null; then
   4623     CYGPATH_W='cygpath -w'
   4624   else
   4625     CYGPATH_W=echo
   4626   fi
   4627 fi
   4628 
   4629 
   4630 # Define the identity of the package.
   4631  PACKAGE='xf86-video-geode'
   4632  VERSION='2.11.8'
   4633 
   4634 
   4635 cat >>confdefs.h <<_ACEOF
   4636 #define PACKAGE "$PACKAGE"
   4637 _ACEOF
   4638 
   4639 
   4640 cat >>confdefs.h <<_ACEOF
   4641 #define VERSION "$VERSION"
   4642 _ACEOF
   4643 
   4644 # Some tools Automake needs.
   4645 
   4646 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4647 
   4648 
   4649 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4650 
   4651 
   4652 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4653 
   4654 
   4655 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4656 
   4657 
   4658 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4659 
   4660 # We need awk for the "check" target.  The system "awk" is bad on
   4661 # some platforms.
   4662 # Always define AMTAR for backward compatibility.
   4663 
   4664 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4665 
   4666 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4667 
   4668 
   4669 
   4670 
   4671 depcc="$CC"   am_compiler_list=
   4672 
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4674 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4675 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4676   $as_echo_n "(cached) " >&6
   4677 else
   4678   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4679   # We make a subdir and do the tests there.  Otherwise we can end up
   4680   # making bogus files that we don't know about and never remove.  For
   4681   # instance it was reported that on HP-UX the gcc test will end up
   4682   # making a dummy file named `D' -- because `-MD' means `put the output
   4683   # in D'.
   4684   mkdir conftest.dir
   4685   # Copy depcomp to subdir because otherwise we won't find it if we're
   4686   # using a relative directory.
   4687   cp "$am_depcomp" conftest.dir
   4688   cd conftest.dir
   4689   # We will build objects and dependencies in a subdirectory because
   4690   # it helps to detect inapplicable dependency modes.  For instance
   4691   # both Tru64's cc and ICC support -MD to output dependencies as a
   4692   # side effect of compilation, but ICC will put the dependencies in
   4693   # the current directory while Tru64 will put them in the object
   4694   # directory.
   4695   mkdir sub
   4696 
   4697   am_cv_CC_dependencies_compiler_type=none
   4698   if test "$am_compiler_list" = ""; then
   4699      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4700   fi
   4701   am__universal=false
   4702   case " $depcc " in #(
   4703      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4704      esac
   4705 
   4706   for depmode in $am_compiler_list; do
   4707     # Setup a source with many dependencies, because some compilers
   4708     # like to wrap large dependency lists on column 80 (with \), and
   4709     # we should not choose a depcomp mode which is confused by this.
   4710     #
   4711     # We need to recreate these files for each test, as the compiler may
   4712     # overwrite some of them when testing with obscure command lines.
   4713     # This happens at least with the AIX C compiler.
   4714     : > sub/conftest.c
   4715     for i in 1 2 3 4 5 6; do
   4716       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4717       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4718       # Solaris 8's {/usr,}/bin/sh.
   4719       touch sub/conftst$i.h
   4720     done
   4721     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4722 
   4723     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4724     # mode.  It turns out that the SunPro C++ compiler does not properly
   4725     # handle `-M -o', and we need to detect this.  Also, some Intel
   4726     # versions had trouble with output in subdirs
   4727     am__obj=sub/conftest.${OBJEXT-o}
   4728     am__minus_obj="-o $am__obj"
   4729     case $depmode in
   4730     gcc)
   4731       # This depmode causes a compiler race in universal mode.
   4732       test "$am__universal" = false || continue
   4733       ;;
   4734     nosideeffect)
   4735       # after this tag, mechanisms are not by side-effect, so they'll
   4736       # only be used when explicitly requested
   4737       if test "x$enable_dependency_tracking" = xyes; then
   4738 	continue
   4739       else
   4740 	break
   4741       fi
   4742       ;;
   4743     msvisualcpp | msvcmsys)
   4744       # This compiler won't grok `-c -o', but also, the minuso test has
   4745       # not run yet.  These depmodes are late enough in the game, and
   4746       # so weak that their functioning should not be impacted.
   4747       am__obj=conftest.${OBJEXT-o}
   4748       am__minus_obj=
   4749       ;;
   4750     none) break ;;
   4751     esac
   4752     if depmode=$depmode \
   4753        source=sub/conftest.c object=$am__obj \
   4754        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4755        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4756          >/dev/null 2>conftest.err &&
   4757        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4758        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4759        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4760        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4761       # icc doesn't choke on unknown options, it will just issue warnings
   4762       # or remarks (even with -Werror).  So we grep stderr for any message
   4763       # that says an option was ignored or not supported.
   4764       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4765       #   icc: Command line warning: ignoring option '-M'; no argument required
   4766       # The diagnosis changed in icc 8.0:
   4767       #   icc: Command line remark: option '-MP' not supported
   4768       if (grep 'ignoring option' conftest.err ||
   4769           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4770         am_cv_CC_dependencies_compiler_type=$depmode
   4771         break
   4772       fi
   4773     fi
   4774   done
   4775 
   4776   cd ..
   4777   rm -rf conftest.dir
   4778 else
   4779   am_cv_CC_dependencies_compiler_type=none
   4780 fi
   4781 
   4782 fi
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4784 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4785 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4786 
   4787  if
   4788   test "x$enable_dependency_tracking" != xno \
   4789   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4790   am__fastdepCC_TRUE=
   4791   am__fastdepCC_FALSE='#'
   4792 else
   4793   am__fastdepCC_TRUE='#'
   4794   am__fastdepCC_FALSE=
   4795 fi
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4802 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4803     # Check whether --enable-maintainer-mode was given.
   4804 if test "${enable_maintainer_mode+set}" = set; then :
   4805   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4806 else
   4807   USE_MAINTAINER_MODE=no
   4808 fi
   4809 
   4810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4811 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4812    if test $USE_MAINTAINER_MODE = yes; then
   4813   MAINTAINER_MODE_TRUE=
   4814   MAINTAINER_MODE_FALSE='#'
   4815 else
   4816   MAINTAINER_MODE_TRUE='#'
   4817   MAINTAINER_MODE_FALSE=
   4818 fi
   4819 
   4820   MAINT=$MAINTAINER_MODE_TRUE
   4821 
   4822 
   4823 
   4824 # Checks for programs.
   4825 # Check whether --enable-static was given.
   4826 if test "${enable_static+set}" = set; then :
   4827   enableval=$enable_static; p=${PACKAGE-default}
   4828     case $enableval in
   4829     yes) enable_static=yes ;;
   4830     no) enable_static=no ;;
   4831     *)
   4832      enable_static=no
   4833       # Look at the argument we got.  We use all the common list separators.
   4834       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4835       for pkg in $enableval; do
   4836 	IFS="$lt_save_ifs"
   4837 	if test "X$pkg" = "X$p"; then
   4838 	  enable_static=yes
   4839 	fi
   4840       done
   4841       IFS="$lt_save_ifs"
   4842       ;;
   4843     esac
   4844 else
   4845   enable_static=no
   4846 fi
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 case `pwd` in
   4857   *\ * | *\	*)
   4858     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4859 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4860 esac
   4861 
   4862 
   4863 
   4864 macro_version='2.2.6b'
   4865 macro_revision='1.3017'
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 ltmain="$ac_aux_dir/ltmain.sh"
   4880 
   4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4882 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4883 if test "${ac_cv_path_SED+set}" = set; then :
   4884   $as_echo_n "(cached) " >&6
   4885 else
   4886             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4887      for ac_i in 1 2 3 4 5 6 7; do
   4888        ac_script="$ac_script$as_nl$ac_script"
   4889      done
   4890      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4891      { ac_script=; unset ac_script;}
   4892      if test -z "$SED"; then
   4893   ac_path_SED_found=false
   4894   # Loop through the user's path and test for each of PROGNAME-LIST
   4895   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4896 for as_dir in $PATH
   4897 do
   4898   IFS=$as_save_IFS
   4899   test -z "$as_dir" && as_dir=.
   4900     for ac_prog in sed gsed; do
   4901     for ac_exec_ext in '' $ac_executable_extensions; do
   4902       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4903       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4904 # Check for GNU ac_path_SED and select it if it is found.
   4905   # Check for GNU $ac_path_SED
   4906 case `"$ac_path_SED" --version 2>&1` in
   4907 *GNU*)
   4908   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4909 *)
   4910   ac_count=0
   4911   $as_echo_n 0123456789 >"conftest.in"
   4912   while :
   4913   do
   4914     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4915     mv "conftest.tmp" "conftest.in"
   4916     cp "conftest.in" "conftest.nl"
   4917     $as_echo '' >> "conftest.nl"
   4918     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4919     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4920     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4921     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4922       # Best one so far, save it but keep looking for a better one
   4923       ac_cv_path_SED="$ac_path_SED"
   4924       ac_path_SED_max=$ac_count
   4925     fi
   4926     # 10*(2^10) chars as input seems more than enough
   4927     test $ac_count -gt 10 && break
   4928   done
   4929   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4930 esac
   4931 
   4932       $ac_path_SED_found && break 3
   4933     done
   4934   done
   4935   done
   4936 IFS=$as_save_IFS
   4937   if test -z "$ac_cv_path_SED"; then
   4938     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4939   fi
   4940 else
   4941   ac_cv_path_SED=$SED
   4942 fi
   4943 
   4944 fi
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4946 $as_echo "$ac_cv_path_SED" >&6; }
   4947  SED="$ac_cv_path_SED"
   4948   rm -f conftest.sed
   4949 
   4950 test -z "$SED" && SED=sed
   4951 Xsed="$SED -e 1s/^X//"
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4964 $as_echo_n "checking for fgrep... " >&6; }
   4965 if test "${ac_cv_path_FGREP+set}" = set; then :
   4966   $as_echo_n "(cached) " >&6
   4967 else
   4968   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4969    then ac_cv_path_FGREP="$GREP -F"
   4970    else
   4971      if test -z "$FGREP"; then
   4972   ac_path_FGREP_found=false
   4973   # Loop through the user's path and test for each of PROGNAME-LIST
   4974   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4975 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4976 do
   4977   IFS=$as_save_IFS
   4978   test -z "$as_dir" && as_dir=.
   4979     for ac_prog in fgrep; do
   4980     for ac_exec_ext in '' $ac_executable_extensions; do
   4981       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4982       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4983 # Check for GNU ac_path_FGREP and select it if it is found.
   4984   # Check for GNU $ac_path_FGREP
   4985 case `"$ac_path_FGREP" --version 2>&1` in
   4986 *GNU*)
   4987   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4988 *)
   4989   ac_count=0
   4990   $as_echo_n 0123456789 >"conftest.in"
   4991   while :
   4992   do
   4993     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4994     mv "conftest.tmp" "conftest.in"
   4995     cp "conftest.in" "conftest.nl"
   4996     $as_echo 'FGREP' >> "conftest.nl"
   4997     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4998     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4999     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5000     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5001       # Best one so far, save it but keep looking for a better one
   5002       ac_cv_path_FGREP="$ac_path_FGREP"
   5003       ac_path_FGREP_max=$ac_count
   5004     fi
   5005     # 10*(2^10) chars as input seems more than enough
   5006     test $ac_count -gt 10 && break
   5007   done
   5008   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5009 esac
   5010 
   5011       $ac_path_FGREP_found && break 3
   5012     done
   5013   done
   5014   done
   5015 IFS=$as_save_IFS
   5016   if test -z "$ac_cv_path_FGREP"; then
   5017     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5018   fi
   5019 else
   5020   ac_cv_path_FGREP=$FGREP
   5021 fi
   5022 
   5023    fi
   5024 fi
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5026 $as_echo "$ac_cv_path_FGREP" >&6; }
   5027  FGREP="$ac_cv_path_FGREP"
   5028 
   5029 
   5030 test -z "$GREP" && GREP=grep
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 # Check whether --with-gnu-ld was given.
   5051 if test "${with_gnu_ld+set}" = set; then :
   5052   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5053 else
   5054   with_gnu_ld=no
   5055 fi
   5056 
   5057 ac_prog=ld
   5058 if test "$GCC" = yes; then
   5059   # Check if gcc -print-prog-name=ld gives a path.
   5060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5061 $as_echo_n "checking for ld used by $CC... " >&6; }
   5062   case $host in
   5063   *-*-mingw*)
   5064     # gcc leaves a trailing carriage return which upsets mingw
   5065     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5066   *)
   5067     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5068   esac
   5069   case $ac_prog in
   5070     # Accept absolute paths.
   5071     [\\/]* | ?:[\\/]*)
   5072       re_direlt='/[^/][^/]*/\.\./'
   5073       # Canonicalize the pathname of ld
   5074       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5075       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5076 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5077       done
   5078       test -z "$LD" && LD="$ac_prog"
   5079       ;;
   5080   "")
   5081     # If it fails, then pretend we aren't using GCC.
   5082     ac_prog=ld
   5083     ;;
   5084   *)
   5085     # If it is relative, then search for the first ld in PATH.
   5086     with_gnu_ld=unknown
   5087     ;;
   5088   esac
   5089 elif test "$with_gnu_ld" = yes; then
   5090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5091 $as_echo_n "checking for GNU ld... " >&6; }
   5092 else
   5093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5094 $as_echo_n "checking for non-GNU ld... " >&6; }
   5095 fi
   5096 if test "${lt_cv_path_LD+set}" = set; then :
   5097   $as_echo_n "(cached) " >&6
   5098 else
   5099   if test -z "$LD"; then
   5100   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5101   for ac_dir in $PATH; do
   5102     IFS="$lt_save_ifs"
   5103     test -z "$ac_dir" && ac_dir=.
   5104     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5105       lt_cv_path_LD="$ac_dir/$ac_prog"
   5106       # Check to see if the program is GNU ld.  I'd rather use --version,
   5107       # but apparently some variants of GNU ld only accept -v.
   5108       # Break only if it was the GNU/non-GNU ld that we prefer.
   5109       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5110       *GNU* | *'with BFD'*)
   5111 	test "$with_gnu_ld" != no && break
   5112 	;;
   5113       *)
   5114 	test "$with_gnu_ld" != yes && break
   5115 	;;
   5116       esac
   5117     fi
   5118   done
   5119   IFS="$lt_save_ifs"
   5120 else
   5121   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5122 fi
   5123 fi
   5124 
   5125 LD="$lt_cv_path_LD"
   5126 if test -n "$LD"; then
   5127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5128 $as_echo "$LD" >&6; }
   5129 else
   5130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5131 $as_echo "no" >&6; }
   5132 fi
   5133 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5135 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5136 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5137   $as_echo_n "(cached) " >&6
   5138 else
   5139   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5140 case `$LD -v 2>&1 </dev/null` in
   5141 *GNU* | *'with BFD'*)
   5142   lt_cv_prog_gnu_ld=yes
   5143   ;;
   5144 *)
   5145   lt_cv_prog_gnu_ld=no
   5146   ;;
   5147 esac
   5148 fi
   5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5150 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5151 with_gnu_ld=$lt_cv_prog_gnu_ld
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5162 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5163 if test "${lt_cv_path_NM+set}" = set; then :
   5164   $as_echo_n "(cached) " >&6
   5165 else
   5166   if test -n "$NM"; then
   5167   # Let the user override the test.
   5168   lt_cv_path_NM="$NM"
   5169 else
   5170   lt_nm_to_check="${ac_tool_prefix}nm"
   5171   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5172     lt_nm_to_check="$lt_nm_to_check nm"
   5173   fi
   5174   for lt_tmp_nm in $lt_nm_to_check; do
   5175     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5176     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5177       IFS="$lt_save_ifs"
   5178       test -z "$ac_dir" && ac_dir=.
   5179       tmp_nm="$ac_dir/$lt_tmp_nm"
   5180       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5181 	# Check to see if the nm accepts a BSD-compat flag.
   5182 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5183 	#   nm: unknown option "B" ignored
   5184 	# Tru64's nm complains that /dev/null is an invalid object file
   5185 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5186 	*/dev/null* | *'Invalid file or object type'*)
   5187 	  lt_cv_path_NM="$tmp_nm -B"
   5188 	  break
   5189 	  ;;
   5190 	*)
   5191 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5192 	  */dev/null*)
   5193 	    lt_cv_path_NM="$tmp_nm -p"
   5194 	    break
   5195 	    ;;
   5196 	  *)
   5197 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5198 	    continue # so that we can try to find one that supports BSD flags
   5199 	    ;;
   5200 	  esac
   5201 	  ;;
   5202 	esac
   5203       fi
   5204     done
   5205     IFS="$lt_save_ifs"
   5206   done
   5207   : ${lt_cv_path_NM=no}
   5208 fi
   5209 fi
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5211 $as_echo "$lt_cv_path_NM" >&6; }
   5212 if test "$lt_cv_path_NM" != "no"; then
   5213   NM="$lt_cv_path_NM"
   5214 else
   5215   # Didn't find any BSD compatible name lister, look for dumpbin.
   5216   if test -n "$ac_tool_prefix"; then
   5217   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5218   do
   5219     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5222 $as_echo_n "checking for $ac_word... " >&6; }
   5223 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5224   $as_echo_n "(cached) " >&6
   5225 else
   5226   if test -n "$DUMPBIN"; then
   5227   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5228 else
   5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5230 for as_dir in $PATH
   5231 do
   5232   IFS=$as_save_IFS
   5233   test -z "$as_dir" && as_dir=.
   5234     for ac_exec_ext in '' $ac_executable_extensions; do
   5235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5236     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5238     break 2
   5239   fi
   5240 done
   5241   done
   5242 IFS=$as_save_IFS
   5243 
   5244 fi
   5245 fi
   5246 DUMPBIN=$ac_cv_prog_DUMPBIN
   5247 if test -n "$DUMPBIN"; then
   5248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5249 $as_echo "$DUMPBIN" >&6; }
   5250 else
   5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5252 $as_echo "no" >&6; }
   5253 fi
   5254 
   5255 
   5256     test -n "$DUMPBIN" && break
   5257   done
   5258 fi
   5259 if test -z "$DUMPBIN"; then
   5260   ac_ct_DUMPBIN=$DUMPBIN
   5261   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5262 do
   5263   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5264 set dummy $ac_prog; ac_word=$2
   5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5266 $as_echo_n "checking for $ac_word... " >&6; }
   5267 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   if test -n "$ac_ct_DUMPBIN"; then
   5271   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5272 else
   5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5274 for as_dir in $PATH
   5275 do
   5276   IFS=$as_save_IFS
   5277   test -z "$as_dir" && as_dir=.
   5278     for ac_exec_ext in '' $ac_executable_extensions; do
   5279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5280     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5282     break 2
   5283   fi
   5284 done
   5285   done
   5286 IFS=$as_save_IFS
   5287 
   5288 fi
   5289 fi
   5290 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5291 if test -n "$ac_ct_DUMPBIN"; then
   5292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5293 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5294 else
   5295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5296 $as_echo "no" >&6; }
   5297 fi
   5298 
   5299 
   5300   test -n "$ac_ct_DUMPBIN" && break
   5301 done
   5302 
   5303   if test "x$ac_ct_DUMPBIN" = x; then
   5304     DUMPBIN=":"
   5305   else
   5306     case $cross_compiling:$ac_tool_warned in
   5307 yes:)
   5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5310 ac_tool_warned=yes ;;
   5311 esac
   5312     DUMPBIN=$ac_ct_DUMPBIN
   5313   fi
   5314 fi
   5315 
   5316 
   5317   if test "$DUMPBIN" != ":"; then
   5318     NM="$DUMPBIN"
   5319   fi
   5320 fi
   5321 test -z "$NM" && NM=nm
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5329 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5330 if test "${lt_cv_nm_interface+set}" = set; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   lt_cv_nm_interface="BSD nm"
   5334   echo "int some_variable = 0;" > conftest.$ac_ext
   5335   (eval echo "\"\$as_me:5335: $ac_compile\"" >&5)
   5336   (eval "$ac_compile" 2>conftest.err)
   5337   cat conftest.err >&5
   5338   (eval echo "\"\$as_me:5338: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5339   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5340   cat conftest.err >&5
   5341   (eval echo "\"\$as_me:5341: output\"" >&5)
   5342   cat conftest.out >&5
   5343   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5344     lt_cv_nm_interface="MS dumpbin"
   5345   fi
   5346   rm -f conftest*
   5347 fi
   5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5349 $as_echo "$lt_cv_nm_interface" >&6; }
   5350 
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5352 $as_echo_n "checking whether ln -s works... " >&6; }
   5353 LN_S=$as_ln_s
   5354 if test "$LN_S" = "ln -s"; then
   5355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5356 $as_echo "yes" >&6; }
   5357 else
   5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5359 $as_echo "no, using $LN_S" >&6; }
   5360 fi
   5361 
   5362 # find the maximum length of command line arguments
   5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5364 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5365 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5366   $as_echo_n "(cached) " >&6
   5367 else
   5368     i=0
   5369   teststring="ABCD"
   5370 
   5371   case $build_os in
   5372   msdosdjgpp*)
   5373     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5374     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5375     # during glob expansion).  Even if it were fixed, the result of this
   5376     # check would be larger than it should be.
   5377     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5378     ;;
   5379 
   5380   gnu*)
   5381     # Under GNU Hurd, this test is not required because there is
   5382     # no limit to the length of command line arguments.
   5383     # Libtool will interpret -1 as no limit whatsoever
   5384     lt_cv_sys_max_cmd_len=-1;
   5385     ;;
   5386 
   5387   cygwin* | mingw* | cegcc*)
   5388     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5389     # about 5 minutes as the teststring grows exponentially.
   5390     # Worse, since 9x/ME are not pre-emptively multitasking,
   5391     # you end up with a "frozen" computer, even though with patience
   5392     # the test eventually succeeds (with a max line length of 256k).
   5393     # Instead, let's just punt: use the minimum linelength reported by
   5394     # all of the supported platforms: 8192 (on NT/2K/XP).
   5395     lt_cv_sys_max_cmd_len=8192;
   5396     ;;
   5397 
   5398   amigaos*)
   5399     # On AmigaOS with pdksh, this test takes hours, literally.
   5400     # So we just punt and use a minimum line length of 8192.
   5401     lt_cv_sys_max_cmd_len=8192;
   5402     ;;
   5403 
   5404   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5405     # This has been around since 386BSD, at least.  Likely further.
   5406     if test -x /sbin/sysctl; then
   5407       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5408     elif test -x /usr/sbin/sysctl; then
   5409       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5410     else
   5411       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5412     fi
   5413     # And add a safety zone
   5414     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5415     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5416     ;;
   5417 
   5418   interix*)
   5419     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5420     lt_cv_sys_max_cmd_len=196608
   5421     ;;
   5422 
   5423   osf*)
   5424     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5425     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5426     # nice to cause kernel panics so lets avoid the loop below.
   5427     # First set a reasonable default.
   5428     lt_cv_sys_max_cmd_len=16384
   5429     #
   5430     if test -x /sbin/sysconfig; then
   5431       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5432         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5433       esac
   5434     fi
   5435     ;;
   5436   sco3.2v5*)
   5437     lt_cv_sys_max_cmd_len=102400
   5438     ;;
   5439   sysv5* | sco5v6* | sysv4.2uw2*)
   5440     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5441     if test -n "$kargmax"; then
   5442       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5443     else
   5444       lt_cv_sys_max_cmd_len=32768
   5445     fi
   5446     ;;
   5447   *)
   5448     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5449     if test -n "$lt_cv_sys_max_cmd_len"; then
   5450       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5451       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5452     else
   5453       # Make teststring a little bigger before we do anything with it.
   5454       # a 1K string should be a reasonable start.
   5455       for i in 1 2 3 4 5 6 7 8 ; do
   5456         teststring=$teststring$teststring
   5457       done
   5458       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5459       # If test is not a shell built-in, we'll probably end up computing a
   5460       # maximum length that is only half of the actual maximum length, but
   5461       # we can't tell.
   5462       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5463 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5464 	      test $i != 17 # 1/2 MB should be enough
   5465       do
   5466         i=`expr $i + 1`
   5467         teststring=$teststring$teststring
   5468       done
   5469       # Only check the string length outside the loop.
   5470       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5471       teststring=
   5472       # Add a significant safety factor because C++ compilers can tack on
   5473       # massive amounts of additional arguments before passing them to the
   5474       # linker.  It appears as though 1/2 is a usable value.
   5475       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5476     fi
   5477     ;;
   5478   esac
   5479 
   5480 fi
   5481 
   5482 if test -n $lt_cv_sys_max_cmd_len ; then
   5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5484 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5485 else
   5486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5487 $as_echo "none" >&6; }
   5488 fi
   5489 max_cmd_len=$lt_cv_sys_max_cmd_len
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 : ${CP="cp -f"}
   5497 : ${MV="mv -f"}
   5498 : ${RM="rm -f"}
   5499 
   5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5501 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5502 # Try some XSI features
   5503 xsi_shell=no
   5504 ( _lt_dummy="a/b/c"
   5505   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5506       = c,a/b,, \
   5507     && eval 'test $(( 1 + 1 )) -eq 2 \
   5508     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5509   && xsi_shell=yes
   5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5511 $as_echo "$xsi_shell" >&6; }
   5512 
   5513 
   5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5515 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5516 lt_shell_append=no
   5517 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5518     >/dev/null 2>&1 \
   5519   && lt_shell_append=yes
   5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5521 $as_echo "$lt_shell_append" >&6; }
   5522 
   5523 
   5524 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5525   lt_unset=unset
   5526 else
   5527   lt_unset=false
   5528 fi
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 # test EBCDIC or ASCII
   5535 case `echo X|tr X '\101'` in
   5536  A) # ASCII based system
   5537     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5538   lt_SP2NL='tr \040 \012'
   5539   lt_NL2SP='tr \015\012 \040\040'
   5540   ;;
   5541  *) # EBCDIC based system
   5542   lt_SP2NL='tr \100 \n'
   5543   lt_NL2SP='tr \r\n \100\100'
   5544   ;;
   5545 esac
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5556 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5557 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   lt_cv_ld_reload_flag='-r'
   5561 fi
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5563 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5564 reload_flag=$lt_cv_ld_reload_flag
   5565 case $reload_flag in
   5566 "" | " "*) ;;
   5567 *) reload_flag=" $reload_flag" ;;
   5568 esac
   5569 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5570 case $host_os in
   5571   darwin*)
   5572     if test "$GCC" = yes; then
   5573       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5574     else
   5575       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5576     fi
   5577     ;;
   5578 esac
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 if test -n "$ac_tool_prefix"; then
   5589   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5590 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5592 $as_echo_n "checking for $ac_word... " >&6; }
   5593 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   if test -n "$OBJDUMP"; then
   5597   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5598 else
   5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5600 for as_dir in $PATH
   5601 do
   5602   IFS=$as_save_IFS
   5603   test -z "$as_dir" && as_dir=.
   5604     for ac_exec_ext in '' $ac_executable_extensions; do
   5605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5606     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5608     break 2
   5609   fi
   5610 done
   5611   done
   5612 IFS=$as_save_IFS
   5613 
   5614 fi
   5615 fi
   5616 OBJDUMP=$ac_cv_prog_OBJDUMP
   5617 if test -n "$OBJDUMP"; then
   5618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5619 $as_echo "$OBJDUMP" >&6; }
   5620 else
   5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5622 $as_echo "no" >&6; }
   5623 fi
   5624 
   5625 
   5626 fi
   5627 if test -z "$ac_cv_prog_OBJDUMP"; then
   5628   ac_ct_OBJDUMP=$OBJDUMP
   5629   # Extract the first word of "objdump", so it can be a program name with args.
   5630 set dummy objdump; ac_word=$2
   5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5632 $as_echo_n "checking for $ac_word... " >&6; }
   5633 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5634   $as_echo_n "(cached) " >&6
   5635 else
   5636   if test -n "$ac_ct_OBJDUMP"; then
   5637   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5638 else
   5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5640 for as_dir in $PATH
   5641 do
   5642   IFS=$as_save_IFS
   5643   test -z "$as_dir" && as_dir=.
   5644     for ac_exec_ext in '' $ac_executable_extensions; do
   5645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5646     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5648     break 2
   5649   fi
   5650 done
   5651   done
   5652 IFS=$as_save_IFS
   5653 
   5654 fi
   5655 fi
   5656 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5657 if test -n "$ac_ct_OBJDUMP"; then
   5658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5659 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5660 else
   5661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5662 $as_echo "no" >&6; }
   5663 fi
   5664 
   5665   if test "x$ac_ct_OBJDUMP" = x; then
   5666     OBJDUMP="false"
   5667   else
   5668     case $cross_compiling:$ac_tool_warned in
   5669 yes:)
   5670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5672 ac_tool_warned=yes ;;
   5673 esac
   5674     OBJDUMP=$ac_ct_OBJDUMP
   5675   fi
   5676 else
   5677   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5678 fi
   5679 
   5680 test -z "$OBJDUMP" && OBJDUMP=objdump
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5691 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5692 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5693   $as_echo_n "(cached) " >&6
   5694 else
   5695   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5696 lt_cv_file_magic_test_file=
   5697 lt_cv_deplibs_check_method='unknown'
   5698 # Need to set the preceding variable on all platforms that support
   5699 # interlibrary dependencies.
   5700 # 'none' -- dependencies not supported.
   5701 # `unknown' -- same as none, but documents that we really don't know.
   5702 # 'pass_all' -- all dependencies passed with no checks.
   5703 # 'test_compile' -- check by making test program.
   5704 # 'file_magic [[regex]]' -- check by looking for files in library path
   5705 # which responds to the $file_magic_cmd with a given extended regex.
   5706 # If you have `file' or equivalent on your system and you're not sure
   5707 # whether `pass_all' will *always* work, you probably want this one.
   5708 
   5709 case $host_os in
   5710 aix[4-9]*)
   5711   lt_cv_deplibs_check_method=pass_all
   5712   ;;
   5713 
   5714 beos*)
   5715   lt_cv_deplibs_check_method=pass_all
   5716   ;;
   5717 
   5718 bsdi[45]*)
   5719   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5720   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5721   lt_cv_file_magic_test_file=/shlib/libc.so
   5722   ;;
   5723 
   5724 cygwin*)
   5725   # func_win32_libid is a shell function defined in ltmain.sh
   5726   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5727   lt_cv_file_magic_cmd='func_win32_libid'
   5728   ;;
   5729 
   5730 mingw* | pw32*)
   5731   # Base MSYS/MinGW do not provide the 'file' command needed by
   5732   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5733   # unless we find 'file', for example because we are cross-compiling.
   5734   if ( file / ) >/dev/null 2>&1; then
   5735     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5736     lt_cv_file_magic_cmd='func_win32_libid'
   5737   else
   5738     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5739     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5740   fi
   5741   ;;
   5742 
   5743 cegcc)
   5744   # use the weaker test based on 'objdump'. See mingw*.
   5745   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5746   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5747   ;;
   5748 
   5749 darwin* | rhapsody*)
   5750   lt_cv_deplibs_check_method=pass_all
   5751   ;;
   5752 
   5753 freebsd* | dragonfly*)
   5754   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5755     case $host_cpu in
   5756     i*86 )
   5757       # Not sure whether the presence of OpenBSD here was a mistake.
   5758       # Let's accept both of them until this is cleared up.
   5759       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5760       lt_cv_file_magic_cmd=/usr/bin/file
   5761       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5762       ;;
   5763     esac
   5764   else
   5765     lt_cv_deplibs_check_method=pass_all
   5766   fi
   5767   ;;
   5768 
   5769 gnu*)
   5770   lt_cv_deplibs_check_method=pass_all
   5771   ;;
   5772 
   5773 hpux10.20* | hpux11*)
   5774   lt_cv_file_magic_cmd=/usr/bin/file
   5775   case $host_cpu in
   5776   ia64*)
   5777     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5778     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5779     ;;
   5780   hppa*64*)
   5781     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]'
   5782     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5783     ;;
   5784   *)
   5785     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5786     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5787     ;;
   5788   esac
   5789   ;;
   5790 
   5791 interix[3-9]*)
   5792   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5793   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5794   ;;
   5795 
   5796 irix5* | irix6* | nonstopux*)
   5797   case $LD in
   5798   *-32|*"-32 ") libmagic=32-bit;;
   5799   *-n32|*"-n32 ") libmagic=N32;;
   5800   *-64|*"-64 ") libmagic=64-bit;;
   5801   *) libmagic=never-match;;
   5802   esac
   5803   lt_cv_deplibs_check_method=pass_all
   5804   ;;
   5805 
   5806 # This must be Linux ELF.
   5807 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5808   lt_cv_deplibs_check_method=pass_all
   5809   ;;
   5810 
   5811 netbsd* | netbsdelf*-gnu)
   5812   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5813     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5814   else
   5815     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5816   fi
   5817   ;;
   5818 
   5819 newos6*)
   5820   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5821   lt_cv_file_magic_cmd=/usr/bin/file
   5822   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5823   ;;
   5824 
   5825 *nto* | *qnx*)
   5826   lt_cv_deplibs_check_method=pass_all
   5827   ;;
   5828 
   5829 openbsd*)
   5830   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5831     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5832   else
   5833     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5834   fi
   5835   ;;
   5836 
   5837 osf3* | osf4* | osf5*)
   5838   lt_cv_deplibs_check_method=pass_all
   5839   ;;
   5840 
   5841 rdos*)
   5842   lt_cv_deplibs_check_method=pass_all
   5843   ;;
   5844 
   5845 solaris*)
   5846   lt_cv_deplibs_check_method=pass_all
   5847   ;;
   5848 
   5849 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5850   lt_cv_deplibs_check_method=pass_all
   5851   ;;
   5852 
   5853 sysv4 | sysv4.3*)
   5854   case $host_vendor in
   5855   motorola)
   5856     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]'
   5857     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5858     ;;
   5859   ncr)
   5860     lt_cv_deplibs_check_method=pass_all
   5861     ;;
   5862   sequent)
   5863     lt_cv_file_magic_cmd='/bin/file'
   5864     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5865     ;;
   5866   sni)
   5867     lt_cv_file_magic_cmd='/bin/file'
   5868     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5869     lt_cv_file_magic_test_file=/lib/libc.so
   5870     ;;
   5871   siemens)
   5872     lt_cv_deplibs_check_method=pass_all
   5873     ;;
   5874   pc)
   5875     lt_cv_deplibs_check_method=pass_all
   5876     ;;
   5877   esac
   5878   ;;
   5879 
   5880 tpf*)
   5881   lt_cv_deplibs_check_method=pass_all
   5882   ;;
   5883 esac
   5884 
   5885 fi
   5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5887 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5888 file_magic_cmd=$lt_cv_file_magic_cmd
   5889 deplibs_check_method=$lt_cv_deplibs_check_method
   5890 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 if test -n "$ac_tool_prefix"; then
   5904   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5905 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5907 $as_echo_n "checking for $ac_word... " >&6; }
   5908 if test "${ac_cv_prog_AR+set}" = set; then :
   5909   $as_echo_n "(cached) " >&6
   5910 else
   5911   if test -n "$AR"; then
   5912   ac_cv_prog_AR="$AR" # Let the user override the test.
   5913 else
   5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5915 for as_dir in $PATH
   5916 do
   5917   IFS=$as_save_IFS
   5918   test -z "$as_dir" && as_dir=.
   5919     for ac_exec_ext in '' $ac_executable_extensions; do
   5920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5921     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5923     break 2
   5924   fi
   5925 done
   5926   done
   5927 IFS=$as_save_IFS
   5928 
   5929 fi
   5930 fi
   5931 AR=$ac_cv_prog_AR
   5932 if test -n "$AR"; then
   5933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5934 $as_echo "$AR" >&6; }
   5935 else
   5936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5937 $as_echo "no" >&6; }
   5938 fi
   5939 
   5940 
   5941 fi
   5942 if test -z "$ac_cv_prog_AR"; then
   5943   ac_ct_AR=$AR
   5944   # Extract the first word of "ar", so it can be a program name with args.
   5945 set dummy ar; ac_word=$2
   5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5947 $as_echo_n "checking for $ac_word... " >&6; }
   5948 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   5949   $as_echo_n "(cached) " >&6
   5950 else
   5951   if test -n "$ac_ct_AR"; then
   5952   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5953 else
   5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5955 for as_dir in $PATH
   5956 do
   5957   IFS=$as_save_IFS
   5958   test -z "$as_dir" && as_dir=.
   5959     for ac_exec_ext in '' $ac_executable_extensions; do
   5960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5961     ac_cv_prog_ac_ct_AR="ar"
   5962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5963     break 2
   5964   fi
   5965 done
   5966   done
   5967 IFS=$as_save_IFS
   5968 
   5969 fi
   5970 fi
   5971 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5972 if test -n "$ac_ct_AR"; then
   5973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5974 $as_echo "$ac_ct_AR" >&6; }
   5975 else
   5976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5977 $as_echo "no" >&6; }
   5978 fi
   5979 
   5980   if test "x$ac_ct_AR" = x; then
   5981     AR="false"
   5982   else
   5983     case $cross_compiling:$ac_tool_warned in
   5984 yes:)
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5987 ac_tool_warned=yes ;;
   5988 esac
   5989     AR=$ac_ct_AR
   5990   fi
   5991 else
   5992   AR="$ac_cv_prog_AR"
   5993 fi
   5994 
   5995 test -z "$AR" && AR=ar
   5996 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 if test -n "$ac_tool_prefix"; then
   6009   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6010 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6012 $as_echo_n "checking for $ac_word... " >&6; }
   6013 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6014   $as_echo_n "(cached) " >&6
   6015 else
   6016   if test -n "$STRIP"; then
   6017   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6018 else
   6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6020 for as_dir in $PATH
   6021 do
   6022   IFS=$as_save_IFS
   6023   test -z "$as_dir" && as_dir=.
   6024     for ac_exec_ext in '' $ac_executable_extensions; do
   6025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6026     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6028     break 2
   6029   fi
   6030 done
   6031   done
   6032 IFS=$as_save_IFS
   6033 
   6034 fi
   6035 fi
   6036 STRIP=$ac_cv_prog_STRIP
   6037 if test -n "$STRIP"; then
   6038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6039 $as_echo "$STRIP" >&6; }
   6040 else
   6041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6042 $as_echo "no" >&6; }
   6043 fi
   6044 
   6045 
   6046 fi
   6047 if test -z "$ac_cv_prog_STRIP"; then
   6048   ac_ct_STRIP=$STRIP
   6049   # Extract the first word of "strip", so it can be a program name with args.
   6050 set dummy strip; ac_word=$2
   6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6052 $as_echo_n "checking for $ac_word... " >&6; }
   6053 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6054   $as_echo_n "(cached) " >&6
   6055 else
   6056   if test -n "$ac_ct_STRIP"; then
   6057   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6058 else
   6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6060 for as_dir in $PATH
   6061 do
   6062   IFS=$as_save_IFS
   6063   test -z "$as_dir" && as_dir=.
   6064     for ac_exec_ext in '' $ac_executable_extensions; do
   6065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6066     ac_cv_prog_ac_ct_STRIP="strip"
   6067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6068     break 2
   6069   fi
   6070 done
   6071   done
   6072 IFS=$as_save_IFS
   6073 
   6074 fi
   6075 fi
   6076 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6077 if test -n "$ac_ct_STRIP"; then
   6078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6079 $as_echo "$ac_ct_STRIP" >&6; }
   6080 else
   6081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6082 $as_echo "no" >&6; }
   6083 fi
   6084 
   6085   if test "x$ac_ct_STRIP" = x; then
   6086     STRIP=":"
   6087   else
   6088     case $cross_compiling:$ac_tool_warned in
   6089 yes:)
   6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6092 ac_tool_warned=yes ;;
   6093 esac
   6094     STRIP=$ac_ct_STRIP
   6095   fi
   6096 else
   6097   STRIP="$ac_cv_prog_STRIP"
   6098 fi
   6099 
   6100 test -z "$STRIP" && STRIP=:
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 if test -n "$ac_tool_prefix"; then
   6108   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6109 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then :
   6113   $as_echo_n "(cached) " >&6
   6114 else
   6115   if test -n "$RANLIB"; then
   6116   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
   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 RANLIB=$ac_cv_prog_RANLIB
   6136 if test -n "$RANLIB"; then
   6137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6138 $as_echo "$RANLIB" >&6; }
   6139 else
   6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6141 $as_echo "no" >&6; }
   6142 fi
   6143 
   6144 
   6145 fi
   6146 if test -z "$ac_cv_prog_RANLIB"; then
   6147   ac_ct_RANLIB=$RANLIB
   6148   # Extract the first word of "ranlib", so it can be a program name with args.
   6149 set dummy ranlib; ac_word=$2
   6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6151 $as_echo_n "checking for $ac_word... " >&6; }
   6152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   if test -n "$ac_ct_RANLIB"; then
   6156   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6157 else
   6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6159 for as_dir in $PATH
   6160 do
   6161   IFS=$as_save_IFS
   6162   test -z "$as_dir" && as_dir=.
   6163     for ac_exec_ext in '' $ac_executable_extensions; do
   6164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6165     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6167     break 2
   6168   fi
   6169 done
   6170   done
   6171 IFS=$as_save_IFS
   6172 
   6173 fi
   6174 fi
   6175 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6176 if test -n "$ac_ct_RANLIB"; then
   6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6178 $as_echo "$ac_ct_RANLIB" >&6; }
   6179 else
   6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6181 $as_echo "no" >&6; }
   6182 fi
   6183 
   6184   if test "x$ac_ct_RANLIB" = x; then
   6185     RANLIB=":"
   6186   else
   6187     case $cross_compiling:$ac_tool_warned in
   6188 yes:)
   6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6191 ac_tool_warned=yes ;;
   6192 esac
   6193     RANLIB=$ac_ct_RANLIB
   6194   fi
   6195 else
   6196   RANLIB="$ac_cv_prog_RANLIB"
   6197 fi
   6198 
   6199 test -z "$RANLIB" && RANLIB=:
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 # Determine commands to create old-style static archives.
   6207 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6208 old_postinstall_cmds='chmod 644 $oldlib'
   6209 old_postuninstall_cmds=
   6210 
   6211 if test -n "$RANLIB"; then
   6212   case $host_os in
   6213   openbsd*)
   6214     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6215     ;;
   6216   *)
   6217     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6218     ;;
   6219   esac
   6220   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6221 fi
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 # If no C compiler was specified, use CC.
   6257 LTCC=${LTCC-"$CC"}
   6258 
   6259 # If no C compiler flags were specified, use CFLAGS.
   6260 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6261 
   6262 # Allow CC to be a program name with arguments.
   6263 compiler=$CC
   6264 
   6265 
   6266 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6268 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6269 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6270   $as_echo_n "(cached) " >&6
   6271 else
   6272 
   6273 # These are sane defaults that work on at least a few old systems.
   6274 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6275 
   6276 # Character class describing NM global symbol codes.
   6277 symcode='[BCDEGRST]'
   6278 
   6279 # Regexp to match symbols that can be accessed directly from C.
   6280 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6281 
   6282 # Define system-specific variables.
   6283 case $host_os in
   6284 aix*)
   6285   symcode='[BCDT]'
   6286   ;;
   6287 cygwin* | mingw* | pw32* | cegcc*)
   6288   symcode='[ABCDGISTW]'
   6289   ;;
   6290 hpux*)
   6291   if test "$host_cpu" = ia64; then
   6292     symcode='[ABCDEGRST]'
   6293   fi
   6294   ;;
   6295 irix* | nonstopux*)
   6296   symcode='[BCDEGRST]'
   6297   ;;
   6298 osf*)
   6299   symcode='[BCDEGQRST]'
   6300   ;;
   6301 solaris*)
   6302   symcode='[BDRT]'
   6303   ;;
   6304 sco3.2v5*)
   6305   symcode='[DT]'
   6306   ;;
   6307 sysv4.2uw2*)
   6308   symcode='[DT]'
   6309   ;;
   6310 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6311   symcode='[ABDT]'
   6312   ;;
   6313 sysv4)
   6314   symcode='[DFNSTU]'
   6315   ;;
   6316 esac
   6317 
   6318 # If we're using GNU nm, then use its standard symbol codes.
   6319 case `$NM -V 2>&1` in
   6320 *GNU* | *'with BFD'*)
   6321   symcode='[ABCDGIRSTW]' ;;
   6322 esac
   6323 
   6324 # Transform an extracted symbol line into a proper C declaration.
   6325 # Some systems (esp. on ia64) link data and code symbols differently,
   6326 # so use this general approach.
   6327 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6328 
   6329 # Transform an extracted symbol line into symbol name and symbol address
   6330 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6331 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'"
   6332 
   6333 # Handle CRLF in mingw tool chain
   6334 opt_cr=
   6335 case $build_os in
   6336 mingw*)
   6337   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6338   ;;
   6339 esac
   6340 
   6341 # Try without a prefix underscore, then with it.
   6342 for ac_symprfx in "" "_"; do
   6343 
   6344   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6345   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6346 
   6347   # Write the raw and C identifiers.
   6348   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6349     # Fake it for dumpbin and say T for any non-static function
   6350     # and D for any global variable.
   6351     # Also find C++ and __fastcall symbols from MSVC++,
   6352     # which start with @ or ?.
   6353     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6354 "     {last_section=section; section=\$ 3};"\
   6355 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6356 "     \$ 0!~/External *\|/{next};"\
   6357 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6358 "     {if(hide[section]) next};"\
   6359 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6360 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6361 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6362 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6363 "     ' prfx=^$ac_symprfx"
   6364   else
   6365     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6366   fi
   6367 
   6368   # Check to see that the pipe works correctly.
   6369   pipe_works=no
   6370 
   6371   rm -f conftest*
   6372   cat > conftest.$ac_ext <<_LT_EOF
   6373 #ifdef __cplusplus
   6374 extern "C" {
   6375 #endif
   6376 char nm_test_var;
   6377 void nm_test_func(void);
   6378 void nm_test_func(void){}
   6379 #ifdef __cplusplus
   6380 }
   6381 #endif
   6382 int main(){nm_test_var='a';nm_test_func();return(0);}
   6383 _LT_EOF
   6384 
   6385   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6386   (eval $ac_compile) 2>&5
   6387   ac_status=$?
   6388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6389   test $ac_status = 0; }; then
   6390     # Now try to grab the symbols.
   6391     nlist=conftest.nm
   6392     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6393   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6394   ac_status=$?
   6395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6396   test $ac_status = 0; } && test -s "$nlist"; then
   6397       # Try sorting and uniquifying the output.
   6398       if sort "$nlist" | uniq > "$nlist"T; then
   6399 	mv -f "$nlist"T "$nlist"
   6400       else
   6401 	rm -f "$nlist"T
   6402       fi
   6403 
   6404       # Make sure that we snagged all the symbols we need.
   6405       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6406 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6407 	  cat <<_LT_EOF > conftest.$ac_ext
   6408 #ifdef __cplusplus
   6409 extern "C" {
   6410 #endif
   6411 
   6412 _LT_EOF
   6413 	  # Now generate the symbol file.
   6414 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6415 
   6416 	  cat <<_LT_EOF >> conftest.$ac_ext
   6417 
   6418 /* The mapping between symbol names and symbols.  */
   6419 const struct {
   6420   const char *name;
   6421   void       *address;
   6422 }
   6423 lt__PROGRAM__LTX_preloaded_symbols[] =
   6424 {
   6425   { "@PROGRAM@", (void *) 0 },
   6426 _LT_EOF
   6427 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6428 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6429   {0, (void *) 0}
   6430 };
   6431 
   6432 /* This works around a problem in FreeBSD linker */
   6433 #ifdef FREEBSD_WORKAROUND
   6434 static const void *lt_preloaded_setup() {
   6435   return lt__PROGRAM__LTX_preloaded_symbols;
   6436 }
   6437 #endif
   6438 
   6439 #ifdef __cplusplus
   6440 }
   6441 #endif
   6442 _LT_EOF
   6443 	  # Now try linking the two files.
   6444 	  mv conftest.$ac_objext conftstm.$ac_objext
   6445 	  lt_save_LIBS="$LIBS"
   6446 	  lt_save_CFLAGS="$CFLAGS"
   6447 	  LIBS="conftstm.$ac_objext"
   6448 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6449 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6450   (eval $ac_link) 2>&5
   6451   ac_status=$?
   6452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6453   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6454 	    pipe_works=yes
   6455 	  fi
   6456 	  LIBS="$lt_save_LIBS"
   6457 	  CFLAGS="$lt_save_CFLAGS"
   6458 	else
   6459 	  echo "cannot find nm_test_func in $nlist" >&5
   6460 	fi
   6461       else
   6462 	echo "cannot find nm_test_var in $nlist" >&5
   6463       fi
   6464     else
   6465       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6466     fi
   6467   else
   6468     echo "$progname: failed program was:" >&5
   6469     cat conftest.$ac_ext >&5
   6470   fi
   6471   rm -rf conftest* conftst*
   6472 
   6473   # Do not use the global_symbol_pipe unless it works.
   6474   if test "$pipe_works" = yes; then
   6475     break
   6476   else
   6477     lt_cv_sys_global_symbol_pipe=
   6478   fi
   6479 done
   6480 
   6481 fi
   6482 
   6483 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6484   lt_cv_sys_global_symbol_to_cdecl=
   6485 fi
   6486 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6488 $as_echo "failed" >&6; }
   6489 else
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6491 $as_echo "ok" >&6; }
   6492 fi
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 # Check whether --enable-libtool-lock was given.
   6516 if test "${enable_libtool_lock+set}" = set; then :
   6517   enableval=$enable_libtool_lock;
   6518 fi
   6519 
   6520 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6521 
   6522 # Some flags need to be propagated to the compiler or linker for good
   6523 # libtool support.
   6524 case $host in
   6525 ia64-*-hpux*)
   6526   # Find out which ABI we are using.
   6527   echo 'int i;' > conftest.$ac_ext
   6528   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6529   (eval $ac_compile) 2>&5
   6530   ac_status=$?
   6531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6532   test $ac_status = 0; }; then
   6533     case `/usr/bin/file conftest.$ac_objext` in
   6534       *ELF-32*)
   6535 	HPUX_IA64_MODE="32"
   6536 	;;
   6537       *ELF-64*)
   6538 	HPUX_IA64_MODE="64"
   6539 	;;
   6540     esac
   6541   fi
   6542   rm -rf conftest*
   6543   ;;
   6544 *-*-irix6*)
   6545   # Find out which ABI we are using.
   6546   echo '#line 6546 "configure"' > conftest.$ac_ext
   6547   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6548   (eval $ac_compile) 2>&5
   6549   ac_status=$?
   6550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6551   test $ac_status = 0; }; then
   6552     if test "$lt_cv_prog_gnu_ld" = yes; then
   6553       case `/usr/bin/file conftest.$ac_objext` in
   6554 	*32-bit*)
   6555 	  LD="${LD-ld} -melf32bsmip"
   6556 	  ;;
   6557 	*N32*)
   6558 	  LD="${LD-ld} -melf32bmipn32"
   6559 	  ;;
   6560 	*64-bit*)
   6561 	  LD="${LD-ld} -melf64bmip"
   6562 	;;
   6563       esac
   6564     else
   6565       case `/usr/bin/file conftest.$ac_objext` in
   6566 	*32-bit*)
   6567 	  LD="${LD-ld} -32"
   6568 	  ;;
   6569 	*N32*)
   6570 	  LD="${LD-ld} -n32"
   6571 	  ;;
   6572 	*64-bit*)
   6573 	  LD="${LD-ld} -64"
   6574 	  ;;
   6575       esac
   6576     fi
   6577   fi
   6578   rm -rf conftest*
   6579   ;;
   6580 
   6581 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6582 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6583   # Find out which ABI we are using.
   6584   echo 'int i;' > conftest.$ac_ext
   6585   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6586   (eval $ac_compile) 2>&5
   6587   ac_status=$?
   6588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6589   test $ac_status = 0; }; then
   6590     case `/usr/bin/file conftest.o` in
   6591       *32-bit*)
   6592 	case $host in
   6593 	  x86_64-*kfreebsd*-gnu)
   6594 	    LD="${LD-ld} -m elf_i386_fbsd"
   6595 	    ;;
   6596 	  x86_64-*linux*)
   6597 	    LD="${LD-ld} -m elf_i386"
   6598 	    ;;
   6599 	  ppc64-*linux*|powerpc64-*linux*)
   6600 	    LD="${LD-ld} -m elf32ppclinux"
   6601 	    ;;
   6602 	  s390x-*linux*)
   6603 	    LD="${LD-ld} -m elf_s390"
   6604 	    ;;
   6605 	  sparc64-*linux*)
   6606 	    LD="${LD-ld} -m elf32_sparc"
   6607 	    ;;
   6608 	esac
   6609 	;;
   6610       *64-bit*)
   6611 	case $host in
   6612 	  x86_64-*kfreebsd*-gnu)
   6613 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6614 	    ;;
   6615 	  x86_64-*linux*)
   6616 	    LD="${LD-ld} -m elf_x86_64"
   6617 	    ;;
   6618 	  ppc*-*linux*|powerpc*-*linux*)
   6619 	    LD="${LD-ld} -m elf64ppc"
   6620 	    ;;
   6621 	  s390*-*linux*|s390*-*tpf*)
   6622 	    LD="${LD-ld} -m elf64_s390"
   6623 	    ;;
   6624 	  sparc*-*linux*)
   6625 	    LD="${LD-ld} -m elf64_sparc"
   6626 	    ;;
   6627 	esac
   6628 	;;
   6629     esac
   6630   fi
   6631   rm -rf conftest*
   6632   ;;
   6633 
   6634 *-*-sco3.2v5*)
   6635   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6636   SAVE_CFLAGS="$CFLAGS"
   6637   CFLAGS="$CFLAGS -belf"
   6638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6639 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6640 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6641   $as_echo_n "(cached) " >&6
   6642 else
   6643   ac_ext=c
   6644 ac_cpp='$CPP $CPPFLAGS'
   6645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6648 
   6649      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6650 /* end confdefs.h.  */
   6651 
   6652 int
   6653 main ()
   6654 {
   6655 
   6656   ;
   6657   return 0;
   6658 }
   6659 _ACEOF
   6660 if ac_fn_c_try_link "$LINENO"; then :
   6661   lt_cv_cc_needs_belf=yes
   6662 else
   6663   lt_cv_cc_needs_belf=no
   6664 fi
   6665 rm -f core conftest.err conftest.$ac_objext \
   6666     conftest$ac_exeext conftest.$ac_ext
   6667      ac_ext=c
   6668 ac_cpp='$CPP $CPPFLAGS'
   6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6672 
   6673 fi
   6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6675 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6676   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6677     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6678     CFLAGS="$SAVE_CFLAGS"
   6679   fi
   6680   ;;
   6681 sparc*-*solaris*)
   6682   # Find out which ABI we are using.
   6683   echo 'int i;' > conftest.$ac_ext
   6684   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6685   (eval $ac_compile) 2>&5
   6686   ac_status=$?
   6687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6688   test $ac_status = 0; }; then
   6689     case `/usr/bin/file conftest.o` in
   6690     *64-bit*)
   6691       case $lt_cv_prog_gnu_ld in
   6692       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6693       *)
   6694 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6695 	  LD="${LD-ld} -64"
   6696 	fi
   6697 	;;
   6698       esac
   6699       ;;
   6700     esac
   6701   fi
   6702   rm -rf conftest*
   6703   ;;
   6704 esac
   6705 
   6706 need_locks="$enable_libtool_lock"
   6707 
   6708 
   6709   case $host_os in
   6710     rhapsody* | darwin*)
   6711     if test -n "$ac_tool_prefix"; then
   6712   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6713 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6715 $as_echo_n "checking for $ac_word... " >&6; }
   6716 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   6717   $as_echo_n "(cached) " >&6
   6718 else
   6719   if test -n "$DSYMUTIL"; then
   6720   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6721 else
   6722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6723 for as_dir in $PATH
   6724 do
   6725   IFS=$as_save_IFS
   6726   test -z "$as_dir" && as_dir=.
   6727     for ac_exec_ext in '' $ac_executable_extensions; do
   6728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6729     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6731     break 2
   6732   fi
   6733 done
   6734   done
   6735 IFS=$as_save_IFS
   6736 
   6737 fi
   6738 fi
   6739 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6740 if test -n "$DSYMUTIL"; then
   6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6742 $as_echo "$DSYMUTIL" >&6; }
   6743 else
   6744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6745 $as_echo "no" >&6; }
   6746 fi
   6747 
   6748 
   6749 fi
   6750 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6751   ac_ct_DSYMUTIL=$DSYMUTIL
   6752   # Extract the first word of "dsymutil", so it can be a program name with args.
   6753 set dummy dsymutil; ac_word=$2
   6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6755 $as_echo_n "checking for $ac_word... " >&6; }
   6756 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   6757   $as_echo_n "(cached) " >&6
   6758 else
   6759   if test -n "$ac_ct_DSYMUTIL"; then
   6760   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6761 else
   6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6763 for as_dir in $PATH
   6764 do
   6765   IFS=$as_save_IFS
   6766   test -z "$as_dir" && as_dir=.
   6767     for ac_exec_ext in '' $ac_executable_extensions; do
   6768   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6769     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6771     break 2
   6772   fi
   6773 done
   6774   done
   6775 IFS=$as_save_IFS
   6776 
   6777 fi
   6778 fi
   6779 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6780 if test -n "$ac_ct_DSYMUTIL"; then
   6781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6782 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6783 else
   6784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6785 $as_echo "no" >&6; }
   6786 fi
   6787 
   6788   if test "x$ac_ct_DSYMUTIL" = x; then
   6789     DSYMUTIL=":"
   6790   else
   6791     case $cross_compiling:$ac_tool_warned in
   6792 yes:)
   6793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6795 ac_tool_warned=yes ;;
   6796 esac
   6797     DSYMUTIL=$ac_ct_DSYMUTIL
   6798   fi
   6799 else
   6800   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6801 fi
   6802 
   6803     if test -n "$ac_tool_prefix"; then
   6804   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6805 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6807 $as_echo_n "checking for $ac_word... " >&6; }
   6808 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   if test -n "$NMEDIT"; then
   6812   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6813 else
   6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6815 for as_dir in $PATH
   6816 do
   6817   IFS=$as_save_IFS
   6818   test -z "$as_dir" && as_dir=.
   6819     for ac_exec_ext in '' $ac_executable_extensions; do
   6820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6821     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6823     break 2
   6824   fi
   6825 done
   6826   done
   6827 IFS=$as_save_IFS
   6828 
   6829 fi
   6830 fi
   6831 NMEDIT=$ac_cv_prog_NMEDIT
   6832 if test -n "$NMEDIT"; then
   6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6834 $as_echo "$NMEDIT" >&6; }
   6835 else
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6837 $as_echo "no" >&6; }
   6838 fi
   6839 
   6840 
   6841 fi
   6842 if test -z "$ac_cv_prog_NMEDIT"; then
   6843   ac_ct_NMEDIT=$NMEDIT
   6844   # Extract the first word of "nmedit", so it can be a program name with args.
   6845 set dummy nmedit; ac_word=$2
   6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6847 $as_echo_n "checking for $ac_word... " >&6; }
   6848 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   6849   $as_echo_n "(cached) " >&6
   6850 else
   6851   if test -n "$ac_ct_NMEDIT"; then
   6852   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6853 else
   6854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6855 for as_dir in $PATH
   6856 do
   6857   IFS=$as_save_IFS
   6858   test -z "$as_dir" && as_dir=.
   6859     for ac_exec_ext in '' $ac_executable_extensions; do
   6860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6861     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6863     break 2
   6864   fi
   6865 done
   6866   done
   6867 IFS=$as_save_IFS
   6868 
   6869 fi
   6870 fi
   6871 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6872 if test -n "$ac_ct_NMEDIT"; then
   6873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6874 $as_echo "$ac_ct_NMEDIT" >&6; }
   6875 else
   6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6877 $as_echo "no" >&6; }
   6878 fi
   6879 
   6880   if test "x$ac_ct_NMEDIT" = x; then
   6881     NMEDIT=":"
   6882   else
   6883     case $cross_compiling:$ac_tool_warned in
   6884 yes:)
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6887 ac_tool_warned=yes ;;
   6888 esac
   6889     NMEDIT=$ac_ct_NMEDIT
   6890   fi
   6891 else
   6892   NMEDIT="$ac_cv_prog_NMEDIT"
   6893 fi
   6894 
   6895     if test -n "$ac_tool_prefix"; then
   6896   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6897 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6899 $as_echo_n "checking for $ac_word... " >&6; }
   6900 if test "${ac_cv_prog_LIPO+set}" = set; then :
   6901   $as_echo_n "(cached) " >&6
   6902 else
   6903   if test -n "$LIPO"; then
   6904   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6905 else
   6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6907 for as_dir in $PATH
   6908 do
   6909   IFS=$as_save_IFS
   6910   test -z "$as_dir" && as_dir=.
   6911     for ac_exec_ext in '' $ac_executable_extensions; do
   6912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6913     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6915     break 2
   6916   fi
   6917 done
   6918   done
   6919 IFS=$as_save_IFS
   6920 
   6921 fi
   6922 fi
   6923 LIPO=$ac_cv_prog_LIPO
   6924 if test -n "$LIPO"; then
   6925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6926 $as_echo "$LIPO" >&6; }
   6927 else
   6928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6929 $as_echo "no" >&6; }
   6930 fi
   6931 
   6932 
   6933 fi
   6934 if test -z "$ac_cv_prog_LIPO"; then
   6935   ac_ct_LIPO=$LIPO
   6936   # Extract the first word of "lipo", so it can be a program name with args.
   6937 set dummy lipo; ac_word=$2
   6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6939 $as_echo_n "checking for $ac_word... " >&6; }
   6940 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   6941   $as_echo_n "(cached) " >&6
   6942 else
   6943   if test -n "$ac_ct_LIPO"; then
   6944   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6945 else
   6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6947 for as_dir in $PATH
   6948 do
   6949   IFS=$as_save_IFS
   6950   test -z "$as_dir" && as_dir=.
   6951     for ac_exec_ext in '' $ac_executable_extensions; do
   6952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6953     ac_cv_prog_ac_ct_LIPO="lipo"
   6954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6955     break 2
   6956   fi
   6957 done
   6958   done
   6959 IFS=$as_save_IFS
   6960 
   6961 fi
   6962 fi
   6963 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6964 if test -n "$ac_ct_LIPO"; then
   6965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6966 $as_echo "$ac_ct_LIPO" >&6; }
   6967 else
   6968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6969 $as_echo "no" >&6; }
   6970 fi
   6971 
   6972   if test "x$ac_ct_LIPO" = x; then
   6973     LIPO=":"
   6974   else
   6975     case $cross_compiling:$ac_tool_warned in
   6976 yes:)
   6977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6979 ac_tool_warned=yes ;;
   6980 esac
   6981     LIPO=$ac_ct_LIPO
   6982   fi
   6983 else
   6984   LIPO="$ac_cv_prog_LIPO"
   6985 fi
   6986 
   6987     if test -n "$ac_tool_prefix"; then
   6988   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6989 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6991 $as_echo_n "checking for $ac_word... " >&6; }
   6992 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   6993   $as_echo_n "(cached) " >&6
   6994 else
   6995   if test -n "$OTOOL"; then
   6996   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6997 else
   6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6999 for as_dir in $PATH
   7000 do
   7001   IFS=$as_save_IFS
   7002   test -z "$as_dir" && as_dir=.
   7003     for ac_exec_ext in '' $ac_executable_extensions; do
   7004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7005     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7007     break 2
   7008   fi
   7009 done
   7010   done
   7011 IFS=$as_save_IFS
   7012 
   7013 fi
   7014 fi
   7015 OTOOL=$ac_cv_prog_OTOOL
   7016 if test -n "$OTOOL"; then
   7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7018 $as_echo "$OTOOL" >&6; }
   7019 else
   7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7021 $as_echo "no" >&6; }
   7022 fi
   7023 
   7024 
   7025 fi
   7026 if test -z "$ac_cv_prog_OTOOL"; then
   7027   ac_ct_OTOOL=$OTOOL
   7028   # Extract the first word of "otool", so it can be a program name with args.
   7029 set dummy otool; ac_word=$2
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7031 $as_echo_n "checking for $ac_word... " >&6; }
   7032 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7033   $as_echo_n "(cached) " >&6
   7034 else
   7035   if test -n "$ac_ct_OTOOL"; then
   7036   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7037 else
   7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7039 for as_dir in $PATH
   7040 do
   7041   IFS=$as_save_IFS
   7042   test -z "$as_dir" && as_dir=.
   7043     for ac_exec_ext in '' $ac_executable_extensions; do
   7044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7045     ac_cv_prog_ac_ct_OTOOL="otool"
   7046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7047     break 2
   7048   fi
   7049 done
   7050   done
   7051 IFS=$as_save_IFS
   7052 
   7053 fi
   7054 fi
   7055 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7056 if test -n "$ac_ct_OTOOL"; then
   7057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7058 $as_echo "$ac_ct_OTOOL" >&6; }
   7059 else
   7060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7061 $as_echo "no" >&6; }
   7062 fi
   7063 
   7064   if test "x$ac_ct_OTOOL" = x; then
   7065     OTOOL=":"
   7066   else
   7067     case $cross_compiling:$ac_tool_warned in
   7068 yes:)
   7069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7071 ac_tool_warned=yes ;;
   7072 esac
   7073     OTOOL=$ac_ct_OTOOL
   7074   fi
   7075 else
   7076   OTOOL="$ac_cv_prog_OTOOL"
   7077 fi
   7078 
   7079     if test -n "$ac_tool_prefix"; then
   7080   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7081 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7083 $as_echo_n "checking for $ac_word... " >&6; }
   7084 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7085   $as_echo_n "(cached) " >&6
   7086 else
   7087   if test -n "$OTOOL64"; then
   7088   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7089 else
   7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7091 for as_dir in $PATH
   7092 do
   7093   IFS=$as_save_IFS
   7094   test -z "$as_dir" && as_dir=.
   7095     for ac_exec_ext in '' $ac_executable_extensions; do
   7096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7097     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7099     break 2
   7100   fi
   7101 done
   7102   done
   7103 IFS=$as_save_IFS
   7104 
   7105 fi
   7106 fi
   7107 OTOOL64=$ac_cv_prog_OTOOL64
   7108 if test -n "$OTOOL64"; then
   7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7110 $as_echo "$OTOOL64" >&6; }
   7111 else
   7112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7113 $as_echo "no" >&6; }
   7114 fi
   7115 
   7116 
   7117 fi
   7118 if test -z "$ac_cv_prog_OTOOL64"; then
   7119   ac_ct_OTOOL64=$OTOOL64
   7120   # Extract the first word of "otool64", so it can be a program name with args.
   7121 set dummy otool64; ac_word=$2
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7123 $as_echo_n "checking for $ac_word... " >&6; }
   7124 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7125   $as_echo_n "(cached) " >&6
   7126 else
   7127   if test -n "$ac_ct_OTOOL64"; then
   7128   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7129 else
   7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7131 for as_dir in $PATH
   7132 do
   7133   IFS=$as_save_IFS
   7134   test -z "$as_dir" && as_dir=.
   7135     for ac_exec_ext in '' $ac_executable_extensions; do
   7136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7137     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7139     break 2
   7140   fi
   7141 done
   7142   done
   7143 IFS=$as_save_IFS
   7144 
   7145 fi
   7146 fi
   7147 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7148 if test -n "$ac_ct_OTOOL64"; then
   7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7150 $as_echo "$ac_ct_OTOOL64" >&6; }
   7151 else
   7152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7153 $as_echo "no" >&6; }
   7154 fi
   7155 
   7156   if test "x$ac_ct_OTOOL64" = x; then
   7157     OTOOL64=":"
   7158   else
   7159     case $cross_compiling:$ac_tool_warned in
   7160 yes:)
   7161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7163 ac_tool_warned=yes ;;
   7164 esac
   7165     OTOOL64=$ac_ct_OTOOL64
   7166   fi
   7167 else
   7168   OTOOL64="$ac_cv_prog_OTOOL64"
   7169 fi
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7198 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7199 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202   lt_cv_apple_cc_single_mod=no
   7203       if test -z "${LT_MULTI_MODULE}"; then
   7204 	# By default we will add the -single_module flag. You can override
   7205 	# by either setting the environment variable LT_MULTI_MODULE
   7206 	# non-empty at configure time, or by adding -multi_module to the
   7207 	# link flags.
   7208 	rm -rf libconftest.dylib*
   7209 	echo "int foo(void){return 1;}" > conftest.c
   7210 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7211 -dynamiclib -Wl,-single_module conftest.c" >&5
   7212 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7213 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7214         _lt_result=$?
   7215 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7216 	  lt_cv_apple_cc_single_mod=yes
   7217 	else
   7218 	  cat conftest.err >&5
   7219 	fi
   7220 	rm -rf libconftest.dylib*
   7221 	rm -f conftest.*
   7222       fi
   7223 fi
   7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7225 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7227 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7228 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7229   $as_echo_n "(cached) " >&6
   7230 else
   7231   lt_cv_ld_exported_symbols_list=no
   7232       save_LDFLAGS=$LDFLAGS
   7233       echo "_main" > conftest.sym
   7234       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 
   7238 int
   7239 main ()
   7240 {
   7241 
   7242   ;
   7243   return 0;
   7244 }
   7245 _ACEOF
   7246 if ac_fn_c_try_link "$LINENO"; then :
   7247   lt_cv_ld_exported_symbols_list=yes
   7248 else
   7249   lt_cv_ld_exported_symbols_list=no
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext \
   7252     conftest$ac_exeext conftest.$ac_ext
   7253 	LDFLAGS="$save_LDFLAGS"
   7254 
   7255 fi
   7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7257 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7258     case $host_os in
   7259     rhapsody* | darwin1.[012])
   7260       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7261     darwin1.*)
   7262       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7263     darwin*) # darwin 5.x on
   7264       # if running on 10.5 or later, the deployment target defaults
   7265       # to the OS version, if on x86, and 10.4, the deployment
   7266       # target defaults to 10.4. Don't you love it?
   7267       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7268 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7269 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7270 	10.[012]*)
   7271 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7272 	10.*)
   7273 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7274       esac
   7275     ;;
   7276   esac
   7277     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7278       _lt_dar_single_mod='$single_module'
   7279     fi
   7280     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7281       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7282     else
   7283       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7284     fi
   7285     if test "$DSYMUTIL" != ":"; then
   7286       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7287     else
   7288       _lt_dsymutil=
   7289     fi
   7290     ;;
   7291   esac
   7292 
   7293 for ac_header in dlfcn.h
   7294 do :
   7295   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7296 "
   7297 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7298   cat >>confdefs.h <<_ACEOF
   7299 #define HAVE_DLFCN_H 1
   7300 _ACEOF
   7301 
   7302 fi
   7303 
   7304 done
   7305 
   7306 
   7307 
   7308 # Set options
   7309 
   7310 
   7311 
   7312         enable_dlopen=no
   7313 
   7314 
   7315   enable_win32_dll=no
   7316 
   7317 
   7318             # Check whether --enable-shared was given.
   7319 if test "${enable_shared+set}" = set; then :
   7320   enableval=$enable_shared; p=${PACKAGE-default}
   7321     case $enableval in
   7322     yes) enable_shared=yes ;;
   7323     no) enable_shared=no ;;
   7324     *)
   7325       enable_shared=no
   7326       # Look at the argument we got.  We use all the common list separators.
   7327       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7328       for pkg in $enableval; do
   7329 	IFS="$lt_save_ifs"
   7330 	if test "X$pkg" = "X$p"; then
   7331 	  enable_shared=yes
   7332 	fi
   7333       done
   7334       IFS="$lt_save_ifs"
   7335       ;;
   7336     esac
   7337 else
   7338   enable_shared=yes
   7339 fi
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 # Check whether --with-pic was given.
   7352 if test "${with_pic+set}" = set; then :
   7353   withval=$with_pic; pic_mode="$withval"
   7354 else
   7355   pic_mode=default
   7356 fi
   7357 
   7358 
   7359 test -z "$pic_mode" && pic_mode=default
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367   # Check whether --enable-fast-install was given.
   7368 if test "${enable_fast_install+set}" = set; then :
   7369   enableval=$enable_fast_install; p=${PACKAGE-default}
   7370     case $enableval in
   7371     yes) enable_fast_install=yes ;;
   7372     no) enable_fast_install=no ;;
   7373     *)
   7374       enable_fast_install=no
   7375       # Look at the argument we got.  We use all the common list separators.
   7376       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7377       for pkg in $enableval; do
   7378 	IFS="$lt_save_ifs"
   7379 	if test "X$pkg" = "X$p"; then
   7380 	  enable_fast_install=yes
   7381 	fi
   7382       done
   7383       IFS="$lt_save_ifs"
   7384       ;;
   7385     esac
   7386 else
   7387   enable_fast_install=yes
   7388 fi
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 # This can be used to rebuild libtool when needed
   7401 LIBTOOL_DEPS="$ltmain"
   7402 
   7403 # Always use our own libtool.
   7404 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 test -z "$LN_S" && LN_S="ln -s"
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 if test -n "${ZSH_VERSION+set}" ; then
   7446    setopt NO_GLOB_SUBST
   7447 fi
   7448 
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7450 $as_echo_n "checking for objdir... " >&6; }
   7451 if test "${lt_cv_objdir+set}" = set; then :
   7452   $as_echo_n "(cached) " >&6
   7453 else
   7454   rm -f .libs 2>/dev/null
   7455 mkdir .libs 2>/dev/null
   7456 if test -d .libs; then
   7457   lt_cv_objdir=.libs
   7458 else
   7459   # MS-DOS does not allow filenames that begin with a dot.
   7460   lt_cv_objdir=_libs
   7461 fi
   7462 rmdir .libs 2>/dev/null
   7463 fi
   7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7465 $as_echo "$lt_cv_objdir" >&6; }
   7466 objdir=$lt_cv_objdir
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 cat >>confdefs.h <<_ACEOF
   7473 #define LT_OBJDIR "$lt_cv_objdir/"
   7474 _ACEOF
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 case $host_os in
   7493 aix3*)
   7494   # AIX sometimes has problems with the GCC collect2 program.  For some
   7495   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7496   # vanish in a puff of smoke.
   7497   if test "X${COLLECT_NAMES+set}" != Xset; then
   7498     COLLECT_NAMES=
   7499     export COLLECT_NAMES
   7500   fi
   7501   ;;
   7502 esac
   7503 
   7504 # Sed substitution that helps us do robust quoting.  It backslashifies
   7505 # metacharacters that are still active within double-quoted strings.
   7506 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7507 
   7508 # Same as above, but do not quote variable references.
   7509 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7510 
   7511 # Sed substitution to delay expansion of an escaped shell variable in a
   7512 # double_quote_subst'ed string.
   7513 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7514 
   7515 # Sed substitution to delay expansion of an escaped single quote.
   7516 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7517 
   7518 # Sed substitution to avoid accidental globbing in evaled expressions
   7519 no_glob_subst='s/\*/\\\*/g'
   7520 
   7521 # Global variables:
   7522 ofile=libtool
   7523 can_build_shared=yes
   7524 
   7525 # All known linkers require a `.a' archive for static linking (except MSVC,
   7526 # which needs '.lib').
   7527 libext=a
   7528 
   7529 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7530 
   7531 old_CC="$CC"
   7532 old_CFLAGS="$CFLAGS"
   7533 
   7534 # Set sane defaults for various variables
   7535 test -z "$CC" && CC=cc
   7536 test -z "$LTCC" && LTCC=$CC
   7537 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7538 test -z "$LD" && LD=ld
   7539 test -z "$ac_objext" && ac_objext=o
   7540 
   7541 for cc_temp in $compiler""; do
   7542   case $cc_temp in
   7543     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7544     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7545     \-*) ;;
   7546     *) break;;
   7547   esac
   7548 done
   7549 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7550 
   7551 
   7552 # Only perform the check for file, if the check method requires it
   7553 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7554 case $deplibs_check_method in
   7555 file_magic*)
   7556   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7557     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7558 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7559 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   case $MAGIC_CMD in
   7563 [\\/*] |  ?:[\\/]*)
   7564   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7565   ;;
   7566 *)
   7567   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7568   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7569   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7570   for ac_dir in $ac_dummy; do
   7571     IFS="$lt_save_ifs"
   7572     test -z "$ac_dir" && ac_dir=.
   7573     if test -f $ac_dir/${ac_tool_prefix}file; then
   7574       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7575       if test -n "$file_magic_test_file"; then
   7576 	case $deplibs_check_method in
   7577 	"file_magic "*)
   7578 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7579 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7580 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7581 	    $EGREP "$file_magic_regex" > /dev/null; then
   7582 	    :
   7583 	  else
   7584 	    cat <<_LT_EOF 1>&2
   7585 
   7586 *** Warning: the command libtool uses to detect shared libraries,
   7587 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7588 *** The result is that libtool may fail to recognize shared libraries
   7589 *** as such.  This will affect the creation of libtool libraries that
   7590 *** depend on shared libraries, but programs linked with such libtool
   7591 *** libraries will work regardless of this problem.  Nevertheless, you
   7592 *** may want to report the problem to your system manager and/or to
   7593 *** bug-libtool@gnu.org
   7594 
   7595 _LT_EOF
   7596 	  fi ;;
   7597 	esac
   7598       fi
   7599       break
   7600     fi
   7601   done
   7602   IFS="$lt_save_ifs"
   7603   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7604   ;;
   7605 esac
   7606 fi
   7607 
   7608 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7609 if test -n "$MAGIC_CMD"; then
   7610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7611 $as_echo "$MAGIC_CMD" >&6; }
   7612 else
   7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7614 $as_echo "no" >&6; }
   7615 fi
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7622   if test -n "$ac_tool_prefix"; then
   7623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7624 $as_echo_n "checking for file... " >&6; }
   7625 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7626   $as_echo_n "(cached) " >&6
   7627 else
   7628   case $MAGIC_CMD in
   7629 [\\/*] |  ?:[\\/]*)
   7630   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7631   ;;
   7632 *)
   7633   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7634   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7635   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7636   for ac_dir in $ac_dummy; do
   7637     IFS="$lt_save_ifs"
   7638     test -z "$ac_dir" && ac_dir=.
   7639     if test -f $ac_dir/file; then
   7640       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7641       if test -n "$file_magic_test_file"; then
   7642 	case $deplibs_check_method in
   7643 	"file_magic "*)
   7644 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7645 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7646 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7647 	    $EGREP "$file_magic_regex" > /dev/null; then
   7648 	    :
   7649 	  else
   7650 	    cat <<_LT_EOF 1>&2
   7651 
   7652 *** Warning: the command libtool uses to detect shared libraries,
   7653 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7654 *** The result is that libtool may fail to recognize shared libraries
   7655 *** as such.  This will affect the creation of libtool libraries that
   7656 *** depend on shared libraries, but programs linked with such libtool
   7657 *** libraries will work regardless of this problem.  Nevertheless, you
   7658 *** may want to report the problem to your system manager and/or to
   7659 *** bug-libtool@gnu.org
   7660 
   7661 _LT_EOF
   7662 	  fi ;;
   7663 	esac
   7664       fi
   7665       break
   7666     fi
   7667   done
   7668   IFS="$lt_save_ifs"
   7669   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7670   ;;
   7671 esac
   7672 fi
   7673 
   7674 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7675 if test -n "$MAGIC_CMD"; then
   7676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7677 $as_echo "$MAGIC_CMD" >&6; }
   7678 else
   7679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7680 $as_echo "no" >&6; }
   7681 fi
   7682 
   7683 
   7684   else
   7685     MAGIC_CMD=:
   7686   fi
   7687 fi
   7688 
   7689   fi
   7690   ;;
   7691 esac
   7692 
   7693 # Use C for the default configuration in the libtool script
   7694 
   7695 lt_save_CC="$CC"
   7696 ac_ext=c
   7697 ac_cpp='$CPP $CPPFLAGS'
   7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7701 
   7702 
   7703 # Source file extension for C test sources.
   7704 ac_ext=c
   7705 
   7706 # Object file extension for compiled C test sources.
   7707 objext=o
   7708 objext=$objext
   7709 
   7710 # Code to be used in simple compile tests
   7711 lt_simple_compile_test_code="int some_variable = 0;"
   7712 
   7713 # Code to be used in simple link tests
   7714 lt_simple_link_test_code='int main(){return(0);}'
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 # If no C compiler was specified, use CC.
   7723 LTCC=${LTCC-"$CC"}
   7724 
   7725 # If no C compiler flags were specified, use CFLAGS.
   7726 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7727 
   7728 # Allow CC to be a program name with arguments.
   7729 compiler=$CC
   7730 
   7731 # Save the default compiler, since it gets overwritten when the other
   7732 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7733 compiler_DEFAULT=$CC
   7734 
   7735 # save warnings/boilerplate of simple test code
   7736 ac_outfile=conftest.$ac_objext
   7737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7739 _lt_compiler_boilerplate=`cat conftest.err`
   7740 $RM conftest*
   7741 
   7742 ac_outfile=conftest.$ac_objext
   7743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7745 _lt_linker_boilerplate=`cat conftest.err`
   7746 $RM -r conftest*
   7747 
   7748 
   7749 if test -n "$compiler"; then
   7750 
   7751 lt_prog_compiler_no_builtin_flag=
   7752 
   7753 if test "$GCC" = yes; then
   7754   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7755 
   7756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7757 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7758 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   lt_cv_prog_compiler_rtti_exceptions=no
   7762    ac_outfile=conftest.$ac_objext
   7763    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7764    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7765    # Insert the option either (1) after the last *FLAGS variable, or
   7766    # (2) before a word containing "conftest.", or (3) at the end.
   7767    # Note that $ac_compile itself does not contain backslashes and begins
   7768    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7769    # The option is referenced via a variable to avoid confusing sed.
   7770    lt_compile=`echo "$ac_compile" | $SED \
   7771    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7772    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7773    -e 's:$: $lt_compiler_flag:'`
   7774    (eval echo "\"\$as_me:7774: $lt_compile\"" >&5)
   7775    (eval "$lt_compile" 2>conftest.err)
   7776    ac_status=$?
   7777    cat conftest.err >&5
   7778    echo "$as_me:7778: \$? = $ac_status" >&5
   7779    if (exit $ac_status) && test -s "$ac_outfile"; then
   7780      # The compiler can only warn and ignore the option if not recognized
   7781      # So say no if there are warnings other than the usual output.
   7782      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7783      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7784      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7785        lt_cv_prog_compiler_rtti_exceptions=yes
   7786      fi
   7787    fi
   7788    $RM conftest*
   7789 
   7790 fi
   7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7792 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7793 
   7794 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7795     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7796 else
   7797     :
   7798 fi
   7799 
   7800 fi
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807   lt_prog_compiler_wl=
   7808 lt_prog_compiler_pic=
   7809 lt_prog_compiler_static=
   7810 
   7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   7812 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7813 
   7814   if test "$GCC" = yes; then
   7815     lt_prog_compiler_wl='-Wl,'
   7816     lt_prog_compiler_static='-static'
   7817 
   7818     case $host_os in
   7819       aix*)
   7820       # All AIX code is PIC.
   7821       if test "$host_cpu" = ia64; then
   7822 	# AIX 5 now supports IA64 processor
   7823 	lt_prog_compiler_static='-Bstatic'
   7824       fi
   7825       ;;
   7826 
   7827     amigaos*)
   7828       case $host_cpu in
   7829       powerpc)
   7830             # see comment about AmigaOS4 .so support
   7831             lt_prog_compiler_pic='-fPIC'
   7832         ;;
   7833       m68k)
   7834             # FIXME: we need at least 68020 code to build shared libraries, but
   7835             # adding the `-m68020' flag to GCC prevents building anything better,
   7836             # like `-m68040'.
   7837             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7838         ;;
   7839       esac
   7840       ;;
   7841 
   7842     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7843       # PIC is the default for these OSes.
   7844       ;;
   7845 
   7846     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7847       # This hack is so that the source file can tell whether it is being
   7848       # built for inclusion in a dll (and should export symbols for example).
   7849       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7850       # (--disable-auto-import) libraries
   7851       lt_prog_compiler_pic='-DDLL_EXPORT'
   7852       ;;
   7853 
   7854     darwin* | rhapsody*)
   7855       # PIC is the default on this platform
   7856       # Common symbols not allowed in MH_DYLIB files
   7857       lt_prog_compiler_pic='-fno-common'
   7858       ;;
   7859 
   7860     hpux*)
   7861       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7862       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7863       # sets the default TLS model and affects inlining.
   7864       case $host_cpu in
   7865       hppa*64*)
   7866 	# +Z the default
   7867 	;;
   7868       *)
   7869 	lt_prog_compiler_pic='-fPIC'
   7870 	;;
   7871       esac
   7872       ;;
   7873 
   7874     interix[3-9]*)
   7875       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7876       # Instead, we relocate shared libraries at runtime.
   7877       ;;
   7878 
   7879     msdosdjgpp*)
   7880       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7881       # on systems that don't support them.
   7882       lt_prog_compiler_can_build_shared=no
   7883       enable_shared=no
   7884       ;;
   7885 
   7886     *nto* | *qnx*)
   7887       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7888       # it will coredump.
   7889       lt_prog_compiler_pic='-fPIC -shared'
   7890       ;;
   7891 
   7892     sysv4*MP*)
   7893       if test -d /usr/nec; then
   7894 	lt_prog_compiler_pic=-Kconform_pic
   7895       fi
   7896       ;;
   7897 
   7898     *)
   7899       lt_prog_compiler_pic='-fPIC'
   7900       ;;
   7901     esac
   7902   else
   7903     # PORTME Check for flag to pass linker flags through the system compiler.
   7904     case $host_os in
   7905     aix*)
   7906       lt_prog_compiler_wl='-Wl,'
   7907       if test "$host_cpu" = ia64; then
   7908 	# AIX 5 now supports IA64 processor
   7909 	lt_prog_compiler_static='-Bstatic'
   7910       else
   7911 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7912       fi
   7913       ;;
   7914 
   7915     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7916       # This hack is so that the source file can tell whether it is being
   7917       # built for inclusion in a dll (and should export symbols for example).
   7918       lt_prog_compiler_pic='-DDLL_EXPORT'
   7919       ;;
   7920 
   7921     hpux9* | hpux10* | hpux11*)
   7922       lt_prog_compiler_wl='-Wl,'
   7923       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7924       # not for PA HP-UX.
   7925       case $host_cpu in
   7926       hppa*64*|ia64*)
   7927 	# +Z the default
   7928 	;;
   7929       *)
   7930 	lt_prog_compiler_pic='+Z'
   7931 	;;
   7932       esac
   7933       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7934       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7935       ;;
   7936 
   7937     irix5* | irix6* | nonstopux*)
   7938       lt_prog_compiler_wl='-Wl,'
   7939       # PIC (with -KPIC) is the default.
   7940       lt_prog_compiler_static='-non_shared'
   7941       ;;
   7942 
   7943     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7944       case $cc_basename in
   7945       # old Intel for x86_64 which still supported -KPIC.
   7946       ecc*)
   7947 	lt_prog_compiler_wl='-Wl,'
   7948 	lt_prog_compiler_pic='-KPIC'
   7949 	lt_prog_compiler_static='-static'
   7950         ;;
   7951       # icc used to be incompatible with GCC.
   7952       # ICC 10 doesn't accept -KPIC any more.
   7953       icc* | ifort*)
   7954 	lt_prog_compiler_wl='-Wl,'
   7955 	lt_prog_compiler_pic='-fPIC'
   7956 	lt_prog_compiler_static='-static'
   7957         ;;
   7958       # Lahey Fortran 8.1.
   7959       lf95*)
   7960 	lt_prog_compiler_wl='-Wl,'
   7961 	lt_prog_compiler_pic='--shared'
   7962 	lt_prog_compiler_static='--static'
   7963 	;;
   7964       pgcc* | pgf77* | pgf90* | pgf95*)
   7965         # Portland Group compilers (*not* the Pentium gcc compiler,
   7966 	# which looks to be a dead project)
   7967 	lt_prog_compiler_wl='-Wl,'
   7968 	lt_prog_compiler_pic='-fpic'
   7969 	lt_prog_compiler_static='-Bstatic'
   7970         ;;
   7971       ccc*)
   7972         lt_prog_compiler_wl='-Wl,'
   7973         # All Alpha code is PIC.
   7974         lt_prog_compiler_static='-non_shared'
   7975         ;;
   7976       xl*)
   7977 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7978 	lt_prog_compiler_wl='-Wl,'
   7979 	lt_prog_compiler_pic='-qpic'
   7980 	lt_prog_compiler_static='-qstaticlink'
   7981 	;;
   7982       *)
   7983 	case `$CC -V 2>&1 | sed 5q` in
   7984 	*Sun\ C*)
   7985 	  # Sun C 5.9
   7986 	  lt_prog_compiler_pic='-KPIC'
   7987 	  lt_prog_compiler_static='-Bstatic'
   7988 	  lt_prog_compiler_wl='-Wl,'
   7989 	  ;;
   7990 	*Sun\ F*)
   7991 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7992 	  lt_prog_compiler_pic='-KPIC'
   7993 	  lt_prog_compiler_static='-Bstatic'
   7994 	  lt_prog_compiler_wl=''
   7995 	  ;;
   7996 	esac
   7997 	;;
   7998       esac
   7999       ;;
   8000 
   8001     newsos6)
   8002       lt_prog_compiler_pic='-KPIC'
   8003       lt_prog_compiler_static='-Bstatic'
   8004       ;;
   8005 
   8006     *nto* | *qnx*)
   8007       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8008       # it will coredump.
   8009       lt_prog_compiler_pic='-fPIC -shared'
   8010       ;;
   8011 
   8012     osf3* | osf4* | osf5*)
   8013       lt_prog_compiler_wl='-Wl,'
   8014       # All OSF/1 code is PIC.
   8015       lt_prog_compiler_static='-non_shared'
   8016       ;;
   8017 
   8018     rdos*)
   8019       lt_prog_compiler_static='-non_shared'
   8020       ;;
   8021 
   8022     solaris*)
   8023       lt_prog_compiler_pic='-KPIC'
   8024       lt_prog_compiler_static='-Bstatic'
   8025       case $cc_basename in
   8026       f77* | f90* | f95*)
   8027 	lt_prog_compiler_wl='-Qoption ld ';;
   8028       *)
   8029 	lt_prog_compiler_wl='-Wl,';;
   8030       esac
   8031       ;;
   8032 
   8033     sunos4*)
   8034       lt_prog_compiler_wl='-Qoption ld '
   8035       lt_prog_compiler_pic='-PIC'
   8036       lt_prog_compiler_static='-Bstatic'
   8037       ;;
   8038 
   8039     sysv4 | sysv4.2uw2* | sysv4.3*)
   8040       lt_prog_compiler_wl='-Wl,'
   8041       lt_prog_compiler_pic='-KPIC'
   8042       lt_prog_compiler_static='-Bstatic'
   8043       ;;
   8044 
   8045     sysv4*MP*)
   8046       if test -d /usr/nec ;then
   8047 	lt_prog_compiler_pic='-Kconform_pic'
   8048 	lt_prog_compiler_static='-Bstatic'
   8049       fi
   8050       ;;
   8051 
   8052     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8053       lt_prog_compiler_wl='-Wl,'
   8054       lt_prog_compiler_pic='-KPIC'
   8055       lt_prog_compiler_static='-Bstatic'
   8056       ;;
   8057 
   8058     unicos*)
   8059       lt_prog_compiler_wl='-Wl,'
   8060       lt_prog_compiler_can_build_shared=no
   8061       ;;
   8062 
   8063     uts4*)
   8064       lt_prog_compiler_pic='-pic'
   8065       lt_prog_compiler_static='-Bstatic'
   8066       ;;
   8067 
   8068     *)
   8069       lt_prog_compiler_can_build_shared=no
   8070       ;;
   8071     esac
   8072   fi
   8073 
   8074 case $host_os in
   8075   # For platforms which do not support PIC, -DPIC is meaningless:
   8076   *djgpp*)
   8077     lt_prog_compiler_pic=
   8078     ;;
   8079   *)
   8080     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8081     ;;
   8082 esac
   8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8084 $as_echo "$lt_prog_compiler_pic" >&6; }
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 #
   8092 # Check to make sure the PIC flag actually works.
   8093 #
   8094 if test -n "$lt_prog_compiler_pic"; then
   8095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8096 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8097 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8098   $as_echo_n "(cached) " >&6
   8099 else
   8100   lt_cv_prog_compiler_pic_works=no
   8101    ac_outfile=conftest.$ac_objext
   8102    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8103    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8104    # Insert the option either (1) after the last *FLAGS variable, or
   8105    # (2) before a word containing "conftest.", or (3) at the end.
   8106    # Note that $ac_compile itself does not contain backslashes and begins
   8107    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8108    # The option is referenced via a variable to avoid confusing sed.
   8109    lt_compile=`echo "$ac_compile" | $SED \
   8110    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8111    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8112    -e 's:$: $lt_compiler_flag:'`
   8113    (eval echo "\"\$as_me:8113: $lt_compile\"" >&5)
   8114    (eval "$lt_compile" 2>conftest.err)
   8115    ac_status=$?
   8116    cat conftest.err >&5
   8117    echo "$as_me:8117: \$? = $ac_status" >&5
   8118    if (exit $ac_status) && test -s "$ac_outfile"; then
   8119      # The compiler can only warn and ignore the option if not recognized
   8120      # So say no if there are warnings other than the usual output.
   8121      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8122      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8123      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8124        lt_cv_prog_compiler_pic_works=yes
   8125      fi
   8126    fi
   8127    $RM conftest*
   8128 
   8129 fi
   8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8131 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8132 
   8133 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8134     case $lt_prog_compiler_pic in
   8135      "" | " "*) ;;
   8136      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8137      esac
   8138 else
   8139     lt_prog_compiler_pic=
   8140      lt_prog_compiler_can_build_shared=no
   8141 fi
   8142 
   8143 fi
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 #
   8151 # Check to make sure the static flag actually works.
   8152 #
   8153 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8155 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8156 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8157   $as_echo_n "(cached) " >&6
   8158 else
   8159   lt_cv_prog_compiler_static_works=no
   8160    save_LDFLAGS="$LDFLAGS"
   8161    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8162    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8163    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8164      # The linker can only warn and ignore the option if not recognized
   8165      # So say no if there are warnings
   8166      if test -s conftest.err; then
   8167        # Append any errors to the config.log.
   8168        cat conftest.err 1>&5
   8169        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8170        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8171        if diff conftest.exp conftest.er2 >/dev/null; then
   8172          lt_cv_prog_compiler_static_works=yes
   8173        fi
   8174      else
   8175        lt_cv_prog_compiler_static_works=yes
   8176      fi
   8177    fi
   8178    $RM -r conftest*
   8179    LDFLAGS="$save_LDFLAGS"
   8180 
   8181 fi
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8183 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8184 
   8185 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8186     :
   8187 else
   8188     lt_prog_compiler_static=
   8189 fi
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8198 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8199 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8200   $as_echo_n "(cached) " >&6
   8201 else
   8202   lt_cv_prog_compiler_c_o=no
   8203    $RM -r conftest 2>/dev/null
   8204    mkdir conftest
   8205    cd conftest
   8206    mkdir out
   8207    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8208 
   8209    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8210    # Insert the option either (1) after the last *FLAGS variable, or
   8211    # (2) before a word containing "conftest.", or (3) at the end.
   8212    # Note that $ac_compile itself does not contain backslashes and begins
   8213    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8214    lt_compile=`echo "$ac_compile" | $SED \
   8215    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8216    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8217    -e 's:$: $lt_compiler_flag:'`
   8218    (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
   8219    (eval "$lt_compile" 2>out/conftest.err)
   8220    ac_status=$?
   8221    cat out/conftest.err >&5
   8222    echo "$as_me:8222: \$? = $ac_status" >&5
   8223    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8224    then
   8225      # The compiler can only warn and ignore the option if not recognized
   8226      # So say no if there are warnings
   8227      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8228      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8229      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8230        lt_cv_prog_compiler_c_o=yes
   8231      fi
   8232    fi
   8233    chmod u+w . 2>&5
   8234    $RM conftest*
   8235    # SGI C++ compiler will create directory out/ii_files/ for
   8236    # template instantiation
   8237    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8238    $RM out/* && rmdir out
   8239    cd ..
   8240    $RM -r conftest
   8241    $RM conftest*
   8242 
   8243 fi
   8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8245 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8253 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8254 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8255   $as_echo_n "(cached) " >&6
   8256 else
   8257   lt_cv_prog_compiler_c_o=no
   8258    $RM -r conftest 2>/dev/null
   8259    mkdir conftest
   8260    cd conftest
   8261    mkdir out
   8262    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8263 
   8264    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8265    # Insert the option either (1) after the last *FLAGS variable, or
   8266    # (2) before a word containing "conftest.", or (3) at the end.
   8267    # Note that $ac_compile itself does not contain backslashes and begins
   8268    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8269    lt_compile=`echo "$ac_compile" | $SED \
   8270    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8271    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8272    -e 's:$: $lt_compiler_flag:'`
   8273    (eval echo "\"\$as_me:8273: $lt_compile\"" >&5)
   8274    (eval "$lt_compile" 2>out/conftest.err)
   8275    ac_status=$?
   8276    cat out/conftest.err >&5
   8277    echo "$as_me:8277: \$? = $ac_status" >&5
   8278    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8279    then
   8280      # The compiler can only warn and ignore the option if not recognized
   8281      # So say no if there are warnings
   8282      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8283      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8284      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8285        lt_cv_prog_compiler_c_o=yes
   8286      fi
   8287    fi
   8288    chmod u+w . 2>&5
   8289    $RM conftest*
   8290    # SGI C++ compiler will create directory out/ii_files/ for
   8291    # template instantiation
   8292    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8293    $RM out/* && rmdir out
   8294    cd ..
   8295    $RM -r conftest
   8296    $RM conftest*
   8297 
   8298 fi
   8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8300 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8301 
   8302 
   8303 
   8304 
   8305 hard_links="nottested"
   8306 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8307   # do not overwrite the value of need_locks provided by the user
   8308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8309 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8310   hard_links=yes
   8311   $RM conftest*
   8312   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8313   touch conftest.a
   8314   ln conftest.a conftest.b 2>&5 || hard_links=no
   8315   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8317 $as_echo "$hard_links" >&6; }
   8318   if test "$hard_links" = no; then
   8319     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8320 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8321     need_locks=warn
   8322   fi
   8323 else
   8324   need_locks=no
   8325 fi
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8333 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8334 
   8335   runpath_var=
   8336   allow_undefined_flag=
   8337   always_export_symbols=no
   8338   archive_cmds=
   8339   archive_expsym_cmds=
   8340   compiler_needs_object=no
   8341   enable_shared_with_static_runtimes=no
   8342   export_dynamic_flag_spec=
   8343   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8344   hardcode_automatic=no
   8345   hardcode_direct=no
   8346   hardcode_direct_absolute=no
   8347   hardcode_libdir_flag_spec=
   8348   hardcode_libdir_flag_spec_ld=
   8349   hardcode_libdir_separator=
   8350   hardcode_minus_L=no
   8351   hardcode_shlibpath_var=unsupported
   8352   inherit_rpath=no
   8353   link_all_deplibs=unknown
   8354   module_cmds=
   8355   module_expsym_cmds=
   8356   old_archive_from_new_cmds=
   8357   old_archive_from_expsyms_cmds=
   8358   thread_safe_flag_spec=
   8359   whole_archive_flag_spec=
   8360   # include_expsyms should be a list of space-separated symbols to be *always*
   8361   # included in the symbol list
   8362   include_expsyms=
   8363   # exclude_expsyms can be an extended regexp of symbols to exclude
   8364   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8365   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8366   # as well as any symbol that contains `d'.
   8367   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8368   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8369   # platforms (ab)use it in PIC code, but their linkers get confused if
   8370   # the symbol is explicitly referenced.  Since portable code cannot
   8371   # rely on this symbol name, it's probably fine to never include it in
   8372   # preloaded symbol tables.
   8373   # Exclude shared library initialization/finalization symbols.
   8374   extract_expsyms_cmds=
   8375 
   8376   case $host_os in
   8377   cygwin* | mingw* | pw32* | cegcc*)
   8378     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8379     # When not using gcc, we currently assume that we are using
   8380     # Microsoft Visual C++.
   8381     if test "$GCC" != yes; then
   8382       with_gnu_ld=no
   8383     fi
   8384     ;;
   8385   interix*)
   8386     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8387     with_gnu_ld=yes
   8388     ;;
   8389   openbsd*)
   8390     with_gnu_ld=no
   8391     ;;
   8392   linux* | k*bsd*-gnu)
   8393     link_all_deplibs=no
   8394     ;;
   8395   esac
   8396 
   8397   ld_shlibs=yes
   8398   if test "$with_gnu_ld" = yes; then
   8399     # If archive_cmds runs LD, not CC, wlarc should be empty
   8400     wlarc='${wl}'
   8401 
   8402     # Set some defaults for GNU ld with shared library support. These
   8403     # are reset later if shared libraries are not supported. Putting them
   8404     # here allows them to be overridden if necessary.
   8405     runpath_var=LD_RUN_PATH
   8406     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8407     export_dynamic_flag_spec='${wl}--export-dynamic'
   8408     # ancient GNU ld didn't support --whole-archive et. al.
   8409     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8410       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8411     else
   8412       whole_archive_flag_spec=
   8413     fi
   8414     supports_anon_versioning=no
   8415     case `$LD -v 2>&1` in
   8416       *GNU\ gold*) supports_anon_versioning=yes ;;
   8417       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8418       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8419       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8420       *\ 2.11.*) ;; # other 2.11 versions
   8421       *) supports_anon_versioning=yes ;;
   8422     esac
   8423 
   8424     # See if GNU ld supports shared libraries.
   8425     case $host_os in
   8426     aix[3-9]*)
   8427       # On AIX/PPC, the GNU linker is very broken
   8428       if test "$host_cpu" != ia64; then
   8429 	ld_shlibs=no
   8430 	cat <<_LT_EOF 1>&2
   8431 
   8432 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8433 *** to be unable to reliably create shared libraries on AIX.
   8434 *** Therefore, libtool is disabling shared libraries support.  If you
   8435 *** really care for shared libraries, you may want to modify your PATH
   8436 *** so that a non-GNU linker is found, and then restart.
   8437 
   8438 _LT_EOF
   8439       fi
   8440       ;;
   8441 
   8442     amigaos*)
   8443       case $host_cpu in
   8444       powerpc)
   8445             # see comment about AmigaOS4 .so support
   8446             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8447             archive_expsym_cmds=''
   8448         ;;
   8449       m68k)
   8450             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)'
   8451             hardcode_libdir_flag_spec='-L$libdir'
   8452             hardcode_minus_L=yes
   8453         ;;
   8454       esac
   8455       ;;
   8456 
   8457     beos*)
   8458       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8459 	allow_undefined_flag=unsupported
   8460 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8461 	# support --undefined.  This deserves some investigation.  FIXME
   8462 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8463       else
   8464 	ld_shlibs=no
   8465       fi
   8466       ;;
   8467 
   8468     cygwin* | mingw* | pw32* | cegcc*)
   8469       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8470       # as there is no search path for DLLs.
   8471       hardcode_libdir_flag_spec='-L$libdir'
   8472       allow_undefined_flag=unsupported
   8473       always_export_symbols=no
   8474       enable_shared_with_static_runtimes=yes
   8475       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8476 
   8477       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8478         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8479 	# If the export-symbols file already is a .def file (1st line
   8480 	# is EXPORTS), use it as is; otherwise, prepend...
   8481 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8482 	  cp $export_symbols $output_objdir/$soname.def;
   8483 	else
   8484 	  echo EXPORTS > $output_objdir/$soname.def;
   8485 	  cat $export_symbols >> $output_objdir/$soname.def;
   8486 	fi~
   8487 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8488       else
   8489 	ld_shlibs=no
   8490       fi
   8491       ;;
   8492 
   8493     interix[3-9]*)
   8494       hardcode_direct=no
   8495       hardcode_shlibpath_var=no
   8496       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8497       export_dynamic_flag_spec='${wl}-E'
   8498       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8499       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8500       # default) and relocated if they conflict, which is a slow very memory
   8501       # consuming and fragmenting process.  To avoid this, we pick a random,
   8502       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8503       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8504       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8505       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'
   8506       ;;
   8507 
   8508     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8509       tmp_diet=no
   8510       if test "$host_os" = linux-dietlibc; then
   8511 	case $cc_basename in
   8512 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8513 	esac
   8514       fi
   8515       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8516 	 && test "$tmp_diet" = no
   8517       then
   8518 	tmp_addflag=
   8519 	tmp_sharedflag='-shared'
   8520 	case $cc_basename,$host_cpu in
   8521         pgcc*)				# Portland Group C compiler
   8522 	  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'
   8523 	  tmp_addflag=' $pic_flag'
   8524 	  ;;
   8525 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8526 	  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'
   8527 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8528 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8529 	  tmp_addflag=' -i_dynamic' ;;
   8530 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8531 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8532 	ifc* | ifort*)			# Intel Fortran compiler
   8533 	  tmp_addflag=' -nofor_main' ;;
   8534 	lf95*)				# Lahey Fortran 8.1
   8535 	  whole_archive_flag_spec=
   8536 	  tmp_sharedflag='--shared' ;;
   8537 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8538 	  tmp_sharedflag='-qmkshrobj'
   8539 	  tmp_addflag= ;;
   8540 	esac
   8541 	case `$CC -V 2>&1 | sed 5q` in
   8542 	*Sun\ C*)			# Sun C 5.9
   8543 	  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'
   8544 	  compiler_needs_object=yes
   8545 	  tmp_sharedflag='-G' ;;
   8546 	*Sun\ F*)			# Sun Fortran 8.3
   8547 	  tmp_sharedflag='-G' ;;
   8548 	esac
   8549 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8550 
   8551         if test "x$supports_anon_versioning" = xyes; then
   8552           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8553 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8554 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8555 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8556         fi
   8557 
   8558 	case $cc_basename in
   8559 	xlf*)
   8560 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8561 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8562 	  hardcode_libdir_flag_spec=
   8563 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8564 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8565 	  if test "x$supports_anon_versioning" = xyes; then
   8566 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8567 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8568 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8569 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8570 	  fi
   8571 	  ;;
   8572 	esac
   8573       else
   8574         ld_shlibs=no
   8575       fi
   8576       ;;
   8577 
   8578     netbsd* | netbsdelf*-gnu)
   8579       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8580 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8581 	wlarc=
   8582       else
   8583 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8584 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8585       fi
   8586       ;;
   8587 
   8588     solaris*)
   8589       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8590 	ld_shlibs=no
   8591 	cat <<_LT_EOF 1>&2
   8592 
   8593 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8594 *** create shared libraries on Solaris systems.  Therefore, libtool
   8595 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8596 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8597 *** your PATH or compiler configuration so that the native linker is
   8598 *** used, and then restart.
   8599 
   8600 _LT_EOF
   8601       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8602 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8603 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8604       else
   8605 	ld_shlibs=no
   8606       fi
   8607       ;;
   8608 
   8609     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8610       case `$LD -v 2>&1` in
   8611         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8612 	ld_shlibs=no
   8613 	cat <<_LT_EOF 1>&2
   8614 
   8615 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8616 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8617 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8618 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8619 *** your PATH or compiler configuration so that the native linker is
   8620 *** used, and then restart.
   8621 
   8622 _LT_EOF
   8623 	;;
   8624 	*)
   8625 	  # For security reasons, it is highly recommended that you always
   8626 	  # use absolute paths for naming shared libraries, and exclude the
   8627 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8628 	  # requires that you compile everything twice, which is a pain.
   8629 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8630 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8631 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8632 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8633 	  else
   8634 	    ld_shlibs=no
   8635 	  fi
   8636 	;;
   8637       esac
   8638       ;;
   8639 
   8640     sunos4*)
   8641       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8642       wlarc=
   8643       hardcode_direct=yes
   8644       hardcode_shlibpath_var=no
   8645       ;;
   8646 
   8647     *)
   8648       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8649 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8650 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8651       else
   8652 	ld_shlibs=no
   8653       fi
   8654       ;;
   8655     esac
   8656 
   8657     if test "$ld_shlibs" = no; then
   8658       runpath_var=
   8659       hardcode_libdir_flag_spec=
   8660       export_dynamic_flag_spec=
   8661       whole_archive_flag_spec=
   8662     fi
   8663   else
   8664     # PORTME fill in a description of your system's linker (not GNU ld)
   8665     case $host_os in
   8666     aix3*)
   8667       allow_undefined_flag=unsupported
   8668       always_export_symbols=yes
   8669       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'
   8670       # Note: this linker hardcodes the directories in LIBPATH if there
   8671       # are no directories specified by -L.
   8672       hardcode_minus_L=yes
   8673       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8674 	# Neither direct hardcoding nor static linking is supported with a
   8675 	# broken collect2.
   8676 	hardcode_direct=unsupported
   8677       fi
   8678       ;;
   8679 
   8680     aix[4-9]*)
   8681       if test "$host_cpu" = ia64; then
   8682 	# On IA64, the linker does run time linking by default, so we don't
   8683 	# have to do anything special.
   8684 	aix_use_runtimelinking=no
   8685 	exp_sym_flag='-Bexport'
   8686 	no_entry_flag=""
   8687       else
   8688 	# If we're using GNU nm, then we don't want the "-C" option.
   8689 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8690 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8691 	  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'
   8692 	else
   8693 	  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'
   8694 	fi
   8695 	aix_use_runtimelinking=no
   8696 
   8697 	# Test if we are trying to use run time linking or normal
   8698 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8699 	# need to do runtime linking.
   8700 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8701 	  for ld_flag in $LDFLAGS; do
   8702 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8703 	    aix_use_runtimelinking=yes
   8704 	    break
   8705 	  fi
   8706 	  done
   8707 	  ;;
   8708 	esac
   8709 
   8710 	exp_sym_flag='-bexport'
   8711 	no_entry_flag='-bnoentry'
   8712       fi
   8713 
   8714       # When large executables or shared objects are built, AIX ld can
   8715       # have problems creating the table of contents.  If linking a library
   8716       # or program results in "error TOC overflow" add -mminimal-toc to
   8717       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8718       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8719 
   8720       archive_cmds=''
   8721       hardcode_direct=yes
   8722       hardcode_direct_absolute=yes
   8723       hardcode_libdir_separator=':'
   8724       link_all_deplibs=yes
   8725       file_list_spec='${wl}-f,'
   8726 
   8727       if test "$GCC" = yes; then
   8728 	case $host_os in aix4.[012]|aix4.[012].*)
   8729 	# We only want to do this on AIX 4.2 and lower, the check
   8730 	# below for broken collect2 doesn't work under 4.3+
   8731 	  collect2name=`${CC} -print-prog-name=collect2`
   8732 	  if test -f "$collect2name" &&
   8733 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8734 	  then
   8735 	  # We have reworked collect2
   8736 	  :
   8737 	  else
   8738 	  # We have old collect2
   8739 	  hardcode_direct=unsupported
   8740 	  # It fails to find uninstalled libraries when the uninstalled
   8741 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8742 	  # to unsupported forces relinking
   8743 	  hardcode_minus_L=yes
   8744 	  hardcode_libdir_flag_spec='-L$libdir'
   8745 	  hardcode_libdir_separator=
   8746 	  fi
   8747 	  ;;
   8748 	esac
   8749 	shared_flag='-shared'
   8750 	if test "$aix_use_runtimelinking" = yes; then
   8751 	  shared_flag="$shared_flag "'${wl}-G'
   8752 	fi
   8753 	link_all_deplibs=no
   8754       else
   8755 	# not using gcc
   8756 	if test "$host_cpu" = ia64; then
   8757 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8758 	# chokes on -Wl,-G. The following line is correct:
   8759 	  shared_flag='-G'
   8760 	else
   8761 	  if test "$aix_use_runtimelinking" = yes; then
   8762 	    shared_flag='${wl}-G'
   8763 	  else
   8764 	    shared_flag='${wl}-bM:SRE'
   8765 	  fi
   8766 	fi
   8767       fi
   8768 
   8769       export_dynamic_flag_spec='${wl}-bexpall'
   8770       # It seems that -bexpall does not export symbols beginning with
   8771       # underscore (_), so it is better to generate a list of symbols to export.
   8772       always_export_symbols=yes
   8773       if test "$aix_use_runtimelinking" = yes; then
   8774 	# Warning - without using the other runtime loading flags (-brtl),
   8775 	# -berok will link without error, but may produce a broken library.
   8776 	allow_undefined_flag='-berok'
   8777         # Determine the default libpath from the value encoded in an
   8778         # empty executable.
   8779         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8780 /* end confdefs.h.  */
   8781 
   8782 int
   8783 main ()
   8784 {
   8785 
   8786   ;
   8787   return 0;
   8788 }
   8789 _ACEOF
   8790 if ac_fn_c_try_link "$LINENO"; then :
   8791 
   8792 lt_aix_libpath_sed='
   8793     /Import File Strings/,/^$/ {
   8794 	/^0/ {
   8795 	    s/^0  *\(.*\)$/\1/
   8796 	    p
   8797 	}
   8798     }'
   8799 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8800 # Check for a 64-bit object if we didn't find anything.
   8801 if test -z "$aix_libpath"; then
   8802   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8803 fi
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext \
   8806     conftest$ac_exeext conftest.$ac_ext
   8807 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8808 
   8809         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8810         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"
   8811       else
   8812 	if test "$host_cpu" = ia64; then
   8813 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8814 	  allow_undefined_flag="-z nodefs"
   8815 	  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"
   8816 	else
   8817 	 # Determine the default libpath from the value encoded in an
   8818 	 # empty executable.
   8819 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8820 /* end confdefs.h.  */
   8821 
   8822 int
   8823 main ()
   8824 {
   8825 
   8826   ;
   8827   return 0;
   8828 }
   8829 _ACEOF
   8830 if ac_fn_c_try_link "$LINENO"; then :
   8831 
   8832 lt_aix_libpath_sed='
   8833     /Import File Strings/,/^$/ {
   8834 	/^0/ {
   8835 	    s/^0  *\(.*\)$/\1/
   8836 	    p
   8837 	}
   8838     }'
   8839 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8840 # Check for a 64-bit object if we didn't find anything.
   8841 if test -z "$aix_libpath"; then
   8842   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8843 fi
   8844 fi
   8845 rm -f core conftest.err conftest.$ac_objext \
   8846     conftest$ac_exeext conftest.$ac_ext
   8847 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8848 
   8849 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8850 	  # Warning - without using the other run time loading flags,
   8851 	  # -berok will link without error, but may produce a broken library.
   8852 	  no_undefined_flag=' ${wl}-bernotok'
   8853 	  allow_undefined_flag=' ${wl}-berok'
   8854 	  # Exported symbols can be pulled into shared objects from archives
   8855 	  whole_archive_flag_spec='$convenience'
   8856 	  archive_cmds_need_lc=yes
   8857 	  # This is similar to how AIX traditionally builds its shared libraries.
   8858 	  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'
   8859 	fi
   8860       fi
   8861       ;;
   8862 
   8863     amigaos*)
   8864       case $host_cpu in
   8865       powerpc)
   8866             # see comment about AmigaOS4 .so support
   8867             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8868             archive_expsym_cmds=''
   8869         ;;
   8870       m68k)
   8871             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)'
   8872             hardcode_libdir_flag_spec='-L$libdir'
   8873             hardcode_minus_L=yes
   8874         ;;
   8875       esac
   8876       ;;
   8877 
   8878     bsdi[45]*)
   8879       export_dynamic_flag_spec=-rdynamic
   8880       ;;
   8881 
   8882     cygwin* | mingw* | pw32* | cegcc*)
   8883       # When not using gcc, we currently assume that we are using
   8884       # Microsoft Visual C++.
   8885       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8886       # no search path for DLLs.
   8887       hardcode_libdir_flag_spec=' '
   8888       allow_undefined_flag=unsupported
   8889       # Tell ltmain to make .lib files, not .a files.
   8890       libext=lib
   8891       # Tell ltmain to make .dll files, not .so files.
   8892       shrext_cmds=".dll"
   8893       # FIXME: Setting linknames here is a bad hack.
   8894       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8895       # The linker will automatically build a .lib file if we build a DLL.
   8896       old_archive_from_new_cmds='true'
   8897       # FIXME: Should let the user specify the lib program.
   8898       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8899       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8900       enable_shared_with_static_runtimes=yes
   8901       ;;
   8902 
   8903     darwin* | rhapsody*)
   8904 
   8905 
   8906   archive_cmds_need_lc=no
   8907   hardcode_direct=no
   8908   hardcode_automatic=yes
   8909   hardcode_shlibpath_var=unsupported
   8910   whole_archive_flag_spec=''
   8911   link_all_deplibs=yes
   8912   allow_undefined_flag="$_lt_dar_allow_undefined"
   8913   case $cc_basename in
   8914      ifort*) _lt_dar_can_shared=yes ;;
   8915      *) _lt_dar_can_shared=$GCC ;;
   8916   esac
   8917   if test "$_lt_dar_can_shared" = "yes"; then
   8918     output_verbose_link_cmd=echo
   8919     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8920     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8921     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}"
   8922     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}"
   8923 
   8924   else
   8925   ld_shlibs=no
   8926   fi
   8927 
   8928       ;;
   8929 
   8930     dgux*)
   8931       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8932       hardcode_libdir_flag_spec='-L$libdir'
   8933       hardcode_shlibpath_var=no
   8934       ;;
   8935 
   8936     freebsd1*)
   8937       ld_shlibs=no
   8938       ;;
   8939 
   8940     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8941     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8942     # does not break anything, and helps significantly (at the cost of a little
   8943     # extra space).
   8944     freebsd2.2*)
   8945       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8946       hardcode_libdir_flag_spec='-R$libdir'
   8947       hardcode_direct=yes
   8948       hardcode_shlibpath_var=no
   8949       ;;
   8950 
   8951     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8952     freebsd2*)
   8953       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8954       hardcode_direct=yes
   8955       hardcode_minus_L=yes
   8956       hardcode_shlibpath_var=no
   8957       ;;
   8958 
   8959     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8960     freebsd* | dragonfly*)
   8961       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8962       hardcode_libdir_flag_spec='-R$libdir'
   8963       hardcode_direct=yes
   8964       hardcode_shlibpath_var=no
   8965       ;;
   8966 
   8967     hpux9*)
   8968       if test "$GCC" = yes; then
   8969 	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'
   8970       else
   8971 	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'
   8972       fi
   8973       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8974       hardcode_libdir_separator=:
   8975       hardcode_direct=yes
   8976 
   8977       # hardcode_minus_L: Not really in the search PATH,
   8978       # but as the default location of the library.
   8979       hardcode_minus_L=yes
   8980       export_dynamic_flag_spec='${wl}-E'
   8981       ;;
   8982 
   8983     hpux10*)
   8984       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8985 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8986       else
   8987 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8988       fi
   8989       if test "$with_gnu_ld" = no; then
   8990 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8991 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8992 	hardcode_libdir_separator=:
   8993 	hardcode_direct=yes
   8994 	hardcode_direct_absolute=yes
   8995 	export_dynamic_flag_spec='${wl}-E'
   8996 	# hardcode_minus_L: Not really in the search PATH,
   8997 	# but as the default location of the library.
   8998 	hardcode_minus_L=yes
   8999       fi
   9000       ;;
   9001 
   9002     hpux11*)
   9003       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9004 	case $host_cpu in
   9005 	hppa*64*)
   9006 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9007 	  ;;
   9008 	ia64*)
   9009 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9010 	  ;;
   9011 	*)
   9012 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9013 	  ;;
   9014 	esac
   9015       else
   9016 	case $host_cpu in
   9017 	hppa*64*)
   9018 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9019 	  ;;
   9020 	ia64*)
   9021 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9022 	  ;;
   9023 	*)
   9024 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9025 	  ;;
   9026 	esac
   9027       fi
   9028       if test "$with_gnu_ld" = no; then
   9029 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9030 	hardcode_libdir_separator=:
   9031 
   9032 	case $host_cpu in
   9033 	hppa*64*|ia64*)
   9034 	  hardcode_direct=no
   9035 	  hardcode_shlibpath_var=no
   9036 	  ;;
   9037 	*)
   9038 	  hardcode_direct=yes
   9039 	  hardcode_direct_absolute=yes
   9040 	  export_dynamic_flag_spec='${wl}-E'
   9041 
   9042 	  # hardcode_minus_L: Not really in the search PATH,
   9043 	  # but as the default location of the library.
   9044 	  hardcode_minus_L=yes
   9045 	  ;;
   9046 	esac
   9047       fi
   9048       ;;
   9049 
   9050     irix5* | irix6* | nonstopux*)
   9051       if test "$GCC" = yes; then
   9052 	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'
   9053 	# Try to use the -exported_symbol ld option, if it does not
   9054 	# work, assume that -exports_file does not work either and
   9055 	# implicitly export all symbols.
   9056         save_LDFLAGS="$LDFLAGS"
   9057         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9058         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9059 /* end confdefs.h.  */
   9060 int foo(void) {}
   9061 _ACEOF
   9062 if ac_fn_c_try_link "$LINENO"; then :
   9063   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'
   9064 
   9065 fi
   9066 rm -f core conftest.err conftest.$ac_objext \
   9067     conftest$ac_exeext conftest.$ac_ext
   9068         LDFLAGS="$save_LDFLAGS"
   9069       else
   9070 	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'
   9071 	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'
   9072       fi
   9073       archive_cmds_need_lc='no'
   9074       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9075       hardcode_libdir_separator=:
   9076       inherit_rpath=yes
   9077       link_all_deplibs=yes
   9078       ;;
   9079 
   9080     netbsd* | netbsdelf*-gnu)
   9081       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9082 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9083       else
   9084 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9085       fi
   9086       hardcode_libdir_flag_spec='-R$libdir'
   9087       hardcode_direct=yes
   9088       hardcode_shlibpath_var=no
   9089       ;;
   9090 
   9091     newsos6)
   9092       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9093       hardcode_direct=yes
   9094       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9095       hardcode_libdir_separator=:
   9096       hardcode_shlibpath_var=no
   9097       ;;
   9098 
   9099     *nto* | *qnx*)
   9100       ;;
   9101 
   9102     openbsd*)
   9103       if test -f /usr/libexec/ld.so; then
   9104 	hardcode_direct=yes
   9105 	hardcode_shlibpath_var=no
   9106 	hardcode_direct_absolute=yes
   9107 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9108 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9109 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9110 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9111 	  export_dynamic_flag_spec='${wl}-E'
   9112 	else
   9113 	  case $host_os in
   9114 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9115 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9116 	     hardcode_libdir_flag_spec='-R$libdir'
   9117 	     ;;
   9118 	   *)
   9119 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9120 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9121 	     ;;
   9122 	  esac
   9123 	fi
   9124       else
   9125 	ld_shlibs=no
   9126       fi
   9127       ;;
   9128 
   9129     os2*)
   9130       hardcode_libdir_flag_spec='-L$libdir'
   9131       hardcode_minus_L=yes
   9132       allow_undefined_flag=unsupported
   9133       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'
   9134       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9135       ;;
   9136 
   9137     osf3*)
   9138       if test "$GCC" = yes; then
   9139 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9140 	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'
   9141       else
   9142 	allow_undefined_flag=' -expect_unresolved \*'
   9143 	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'
   9144       fi
   9145       archive_cmds_need_lc='no'
   9146       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9147       hardcode_libdir_separator=:
   9148       ;;
   9149 
   9150     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9151       if test "$GCC" = yes; then
   9152 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9153 	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'
   9154 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9155       else
   9156 	allow_undefined_flag=' -expect_unresolved \*'
   9157 	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'
   9158 	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~
   9159 	$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'
   9160 
   9161 	# Both c and cxx compiler support -rpath directly
   9162 	hardcode_libdir_flag_spec='-rpath $libdir'
   9163       fi
   9164       archive_cmds_need_lc='no'
   9165       hardcode_libdir_separator=:
   9166       ;;
   9167 
   9168     solaris*)
   9169       no_undefined_flag=' -z defs'
   9170       if test "$GCC" = yes; then
   9171 	wlarc='${wl}'
   9172 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9173 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9174 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9175       else
   9176 	case `$CC -V 2>&1` in
   9177 	*"Compilers 5.0"*)
   9178 	  wlarc=''
   9179 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9180 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9181 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9182 	  ;;
   9183 	*)
   9184 	  wlarc='${wl}'
   9185 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9186 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9187 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9188 	  ;;
   9189 	esac
   9190       fi
   9191       hardcode_libdir_flag_spec='-R$libdir'
   9192       hardcode_shlibpath_var=no
   9193       case $host_os in
   9194       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9195       *)
   9196 	# The compiler driver will combine and reorder linker options,
   9197 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9198 	# but is careful enough not to reorder.
   9199 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9200 	if test "$GCC" = yes; then
   9201 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9202 	else
   9203 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9204 	fi
   9205 	;;
   9206       esac
   9207       link_all_deplibs=yes
   9208       ;;
   9209 
   9210     sunos4*)
   9211       if test "x$host_vendor" = xsequent; then
   9212 	# Use $CC to link under sequent, because it throws in some extra .o
   9213 	# files that make .init and .fini sections work.
   9214 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9215       else
   9216 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9217       fi
   9218       hardcode_libdir_flag_spec='-L$libdir'
   9219       hardcode_direct=yes
   9220       hardcode_minus_L=yes
   9221       hardcode_shlibpath_var=no
   9222       ;;
   9223 
   9224     sysv4)
   9225       case $host_vendor in
   9226 	sni)
   9227 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9228 	  hardcode_direct=yes # is this really true???
   9229 	;;
   9230 	siemens)
   9231 	  ## LD is ld it makes a PLAMLIB
   9232 	  ## CC just makes a GrossModule.
   9233 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9234 	  reload_cmds='$CC -r -o $output$reload_objs'
   9235 	  hardcode_direct=no
   9236         ;;
   9237 	motorola)
   9238 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9239 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9240 	;;
   9241       esac
   9242       runpath_var='LD_RUN_PATH'
   9243       hardcode_shlibpath_var=no
   9244       ;;
   9245 
   9246     sysv4.3*)
   9247       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9248       hardcode_shlibpath_var=no
   9249       export_dynamic_flag_spec='-Bexport'
   9250       ;;
   9251 
   9252     sysv4*MP*)
   9253       if test -d /usr/nec; then
   9254 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9255 	hardcode_shlibpath_var=no
   9256 	runpath_var=LD_RUN_PATH
   9257 	hardcode_runpath_var=yes
   9258 	ld_shlibs=yes
   9259       fi
   9260       ;;
   9261 
   9262     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9263       no_undefined_flag='${wl}-z,text'
   9264       archive_cmds_need_lc=no
   9265       hardcode_shlibpath_var=no
   9266       runpath_var='LD_RUN_PATH'
   9267 
   9268       if test "$GCC" = yes; then
   9269 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9270 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9271       else
   9272 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9273 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9274       fi
   9275       ;;
   9276 
   9277     sysv5* | sco3.2v5* | sco5v6*)
   9278       # Note: We can NOT use -z defs as we might desire, because we do not
   9279       # link with -lc, and that would cause any symbols used from libc to
   9280       # always be unresolved, which means just about no library would
   9281       # ever link correctly.  If we're not using GNU ld we use -z text
   9282       # though, which does catch some bad symbols but isn't as heavy-handed
   9283       # as -z defs.
   9284       no_undefined_flag='${wl}-z,text'
   9285       allow_undefined_flag='${wl}-z,nodefs'
   9286       archive_cmds_need_lc=no
   9287       hardcode_shlibpath_var=no
   9288       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9289       hardcode_libdir_separator=':'
   9290       link_all_deplibs=yes
   9291       export_dynamic_flag_spec='${wl}-Bexport'
   9292       runpath_var='LD_RUN_PATH'
   9293 
   9294       if test "$GCC" = yes; then
   9295 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9296 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9297       else
   9298 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9299 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9300       fi
   9301       ;;
   9302 
   9303     uts4*)
   9304       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9305       hardcode_libdir_flag_spec='-L$libdir'
   9306       hardcode_shlibpath_var=no
   9307       ;;
   9308 
   9309     *)
   9310       ld_shlibs=no
   9311       ;;
   9312     esac
   9313 
   9314     if test x$host_vendor = xsni; then
   9315       case $host in
   9316       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9317 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9318 	;;
   9319       esac
   9320     fi
   9321   fi
   9322 
   9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9324 $as_echo "$ld_shlibs" >&6; }
   9325 test "$ld_shlibs" = no && can_build_shared=no
   9326 
   9327 with_gnu_ld=$with_gnu_ld
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 
   9343 #
   9344 # Do we need to explicitly link libc?
   9345 #
   9346 case "x$archive_cmds_need_lc" in
   9347 x|xyes)
   9348   # Assume -lc should be added
   9349   archive_cmds_need_lc=yes
   9350 
   9351   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9352     case $archive_cmds in
   9353     *'~'*)
   9354       # FIXME: we may have to deal with multi-command sequences.
   9355       ;;
   9356     '$CC '*)
   9357       # Test whether the compiler implicitly links with -lc since on some
   9358       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9359       # to ld, don't add -lc before -lgcc.
   9360       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9361 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9362       $RM conftest*
   9363       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9364 
   9365       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9366   (eval $ac_compile) 2>&5
   9367   ac_status=$?
   9368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9369   test $ac_status = 0; } 2>conftest.err; then
   9370         soname=conftest
   9371         lib=conftest
   9372         libobjs=conftest.$ac_objext
   9373         deplibs=
   9374         wl=$lt_prog_compiler_wl
   9375 	pic_flag=$lt_prog_compiler_pic
   9376         compiler_flags=-v
   9377         linker_flags=-v
   9378         verstring=
   9379         output_objdir=.
   9380         libname=conftest
   9381         lt_save_allow_undefined_flag=$allow_undefined_flag
   9382         allow_undefined_flag=
   9383         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9384   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9385   ac_status=$?
   9386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9387   test $ac_status = 0; }
   9388         then
   9389 	  archive_cmds_need_lc=no
   9390         else
   9391 	  archive_cmds_need_lc=yes
   9392         fi
   9393         allow_undefined_flag=$lt_save_allow_undefined_flag
   9394       else
   9395         cat conftest.err 1>&5
   9396       fi
   9397       $RM conftest*
   9398       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   9399 $as_echo "$archive_cmds_need_lc" >&6; }
   9400       ;;
   9401     esac
   9402   fi
   9403   ;;
   9404 esac
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9563 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9564 
   9565 if test "$GCC" = yes; then
   9566   case $host_os in
   9567     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9568     *) lt_awk_arg="/^libraries:/" ;;
   9569   esac
   9570   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9571   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9572     # if the path contains ";" then we assume it to be the separator
   9573     # otherwise default to the standard path separator (i.e. ":") - it is
   9574     # assumed that no part of a normal pathname contains ";" but that should
   9575     # okay in the real world where ";" in dirpaths is itself problematic.
   9576     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9577   else
   9578     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9579   fi
   9580   # Ok, now we have the path, separated by spaces, we can step through it
   9581   # and add multilib dir if necessary.
   9582   lt_tmp_lt_search_path_spec=
   9583   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9584   for lt_sys_path in $lt_search_path_spec; do
   9585     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9586       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9587     else
   9588       test -d "$lt_sys_path" && \
   9589 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9590     fi
   9591   done
   9592   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9593 BEGIN {RS=" "; FS="/|\n";} {
   9594   lt_foo="";
   9595   lt_count=0;
   9596   for (lt_i = NF; lt_i > 0; lt_i--) {
   9597     if ($lt_i != "" && $lt_i != ".") {
   9598       if ($lt_i == "..") {
   9599         lt_count++;
   9600       } else {
   9601         if (lt_count == 0) {
   9602           lt_foo="/" $lt_i lt_foo;
   9603         } else {
   9604           lt_count--;
   9605         }
   9606       }
   9607     }
   9608   }
   9609   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9610   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9611 }'`
   9612   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9613 else
   9614   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9615 fi
   9616 library_names_spec=
   9617 libname_spec='lib$name'
   9618 soname_spec=
   9619 shrext_cmds=".so"
   9620 postinstall_cmds=
   9621 postuninstall_cmds=
   9622 finish_cmds=
   9623 finish_eval=
   9624 shlibpath_var=
   9625 shlibpath_overrides_runpath=unknown
   9626 version_type=none
   9627 dynamic_linker="$host_os ld.so"
   9628 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9629 need_lib_prefix=unknown
   9630 hardcode_into_libs=no
   9631 
   9632 # when you set need_version to no, make sure it does not cause -set_version
   9633 # flags to be left without arguments
   9634 need_version=unknown
   9635 
   9636 case $host_os in
   9637 aix3*)
   9638   version_type=linux
   9639   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9640   shlibpath_var=LIBPATH
   9641 
   9642   # AIX 3 has no versioning support, so we append a major version to the name.
   9643   soname_spec='${libname}${release}${shared_ext}$major'
   9644   ;;
   9645 
   9646 aix[4-9]*)
   9647   version_type=linux
   9648   need_lib_prefix=no
   9649   need_version=no
   9650   hardcode_into_libs=yes
   9651   if test "$host_cpu" = ia64; then
   9652     # AIX 5 supports IA64
   9653     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9654     shlibpath_var=LD_LIBRARY_PATH
   9655   else
   9656     # With GCC up to 2.95.x, collect2 would create an import file
   9657     # for dependence libraries.  The import file would start with
   9658     # the line `#! .'.  This would cause the generated library to
   9659     # depend on `.', always an invalid library.  This was fixed in
   9660     # development snapshots of GCC prior to 3.0.
   9661     case $host_os in
   9662       aix4 | aix4.[01] | aix4.[01].*)
   9663       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9664 	   echo ' yes '
   9665 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9666 	:
   9667       else
   9668 	can_build_shared=no
   9669       fi
   9670       ;;
   9671     esac
   9672     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9673     # soname into executable. Probably we can add versioning support to
   9674     # collect2, so additional links can be useful in future.
   9675     if test "$aix_use_runtimelinking" = yes; then
   9676       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9677       # instead of lib<name>.a to let people know that these are not
   9678       # typical AIX shared libraries.
   9679       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9680     else
   9681       # We preserve .a as extension for shared libraries through AIX4.2
   9682       # and later when we are not doing run time linking.
   9683       library_names_spec='${libname}${release}.a $libname.a'
   9684       soname_spec='${libname}${release}${shared_ext}$major'
   9685     fi
   9686     shlibpath_var=LIBPATH
   9687   fi
   9688   ;;
   9689 
   9690 amigaos*)
   9691   case $host_cpu in
   9692   powerpc)
   9693     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9694     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9695     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9696     ;;
   9697   m68k)
   9698     library_names_spec='$libname.ixlibrary $libname.a'
   9699     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9700     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'
   9701     ;;
   9702   esac
   9703   ;;
   9704 
   9705 beos*)
   9706   library_names_spec='${libname}${shared_ext}'
   9707   dynamic_linker="$host_os ld.so"
   9708   shlibpath_var=LIBRARY_PATH
   9709   ;;
   9710 
   9711 bsdi[45]*)
   9712   version_type=linux
   9713   need_version=no
   9714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9715   soname_spec='${libname}${release}${shared_ext}$major'
   9716   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9717   shlibpath_var=LD_LIBRARY_PATH
   9718   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9719   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9720   # the default ld.so.conf also contains /usr/contrib/lib and
   9721   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9722   # libtool to hard-code these into programs
   9723   ;;
   9724 
   9725 cygwin* | mingw* | pw32* | cegcc*)
   9726   version_type=windows
   9727   shrext_cmds=".dll"
   9728   need_version=no
   9729   need_lib_prefix=no
   9730 
   9731   case $GCC,$host_os in
   9732   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9733     library_names_spec='$libname.dll.a'
   9734     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9735     postinstall_cmds='base_file=`basename \${file}`~
   9736       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9737       dldir=$destdir/`dirname \$dlpath`~
   9738       test -d \$dldir || mkdir -p \$dldir~
   9739       $install_prog $dir/$dlname \$dldir/$dlname~
   9740       chmod a+x \$dldir/$dlname~
   9741       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9742         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9743       fi'
   9744     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9745       dlpath=$dir/\$dldll~
   9746        $RM \$dlpath'
   9747     shlibpath_overrides_runpath=yes
   9748 
   9749     case $host_os in
   9750     cygwin*)
   9751       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9752       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9753       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9754       ;;
   9755     mingw* | cegcc*)
   9756       # MinGW DLLs use traditional 'lib' prefix
   9757       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9758       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9759       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9760         # It is most probably a Windows format PATH printed by
   9761         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9762         # path with ; separators, and with drive letters. We can handle the
   9763         # drive letters (cygwin fileutils understands them), so leave them,
   9764         # especially as we might pass files found there to a mingw objdump,
   9765         # which wouldn't understand a cygwinified path. Ahh.
   9766         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9767       else
   9768         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9769       fi
   9770       ;;
   9771     pw32*)
   9772       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9773       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9774       ;;
   9775     esac
   9776     ;;
   9777 
   9778   *)
   9779     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9780     ;;
   9781   esac
   9782   dynamic_linker='Win32 ld.exe'
   9783   # FIXME: first we should search . and the directory the executable is in
   9784   shlibpath_var=PATH
   9785   ;;
   9786 
   9787 darwin* | rhapsody*)
   9788   dynamic_linker="$host_os dyld"
   9789   version_type=darwin
   9790   need_lib_prefix=no
   9791   need_version=no
   9792   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9793   soname_spec='${libname}${release}${major}$shared_ext'
   9794   shlibpath_overrides_runpath=yes
   9795   shlibpath_var=DYLD_LIBRARY_PATH
   9796   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9797 
   9798   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9799   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9800   ;;
   9801 
   9802 dgux*)
   9803   version_type=linux
   9804   need_lib_prefix=no
   9805   need_version=no
   9806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9807   soname_spec='${libname}${release}${shared_ext}$major'
   9808   shlibpath_var=LD_LIBRARY_PATH
   9809   ;;
   9810 
   9811 freebsd1*)
   9812   dynamic_linker=no
   9813   ;;
   9814 
   9815 freebsd* | dragonfly*)
   9816   # DragonFly does not have aout.  When/if they implement a new
   9817   # versioning mechanism, adjust this.
   9818   if test -x /usr/bin/objformat; then
   9819     objformat=`/usr/bin/objformat`
   9820   else
   9821     case $host_os in
   9822     freebsd[123]*) objformat=aout ;;
   9823     *) objformat=elf ;;
   9824     esac
   9825   fi
   9826   version_type=freebsd-$objformat
   9827   case $version_type in
   9828     freebsd-elf*)
   9829       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9830       need_version=no
   9831       need_lib_prefix=no
   9832       ;;
   9833     freebsd-*)
   9834       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9835       need_version=yes
   9836       ;;
   9837   esac
   9838   shlibpath_var=LD_LIBRARY_PATH
   9839   case $host_os in
   9840   freebsd2*)
   9841     shlibpath_overrides_runpath=yes
   9842     ;;
   9843   freebsd3.[01]* | freebsdelf3.[01]*)
   9844     shlibpath_overrides_runpath=yes
   9845     hardcode_into_libs=yes
   9846     ;;
   9847   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9848   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9849     shlibpath_overrides_runpath=no
   9850     hardcode_into_libs=yes
   9851     ;;
   9852   *) # from 4.6 on, and DragonFly
   9853     shlibpath_overrides_runpath=yes
   9854     hardcode_into_libs=yes
   9855     ;;
   9856   esac
   9857   ;;
   9858 
   9859 gnu*)
   9860   version_type=linux
   9861   need_lib_prefix=no
   9862   need_version=no
   9863   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9864   soname_spec='${libname}${release}${shared_ext}$major'
   9865   shlibpath_var=LD_LIBRARY_PATH
   9866   hardcode_into_libs=yes
   9867   ;;
   9868 
   9869 hpux9* | hpux10* | hpux11*)
   9870   # Give a soname corresponding to the major version so that dld.sl refuses to
   9871   # link against other versions.
   9872   version_type=sunos
   9873   need_lib_prefix=no
   9874   need_version=no
   9875   case $host_cpu in
   9876   ia64*)
   9877     shrext_cmds='.so'
   9878     hardcode_into_libs=yes
   9879     dynamic_linker="$host_os dld.so"
   9880     shlibpath_var=LD_LIBRARY_PATH
   9881     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9883     soname_spec='${libname}${release}${shared_ext}$major'
   9884     if test "X$HPUX_IA64_MODE" = X32; then
   9885       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9886     else
   9887       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9888     fi
   9889     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9890     ;;
   9891   hppa*64*)
   9892     shrext_cmds='.sl'
   9893     hardcode_into_libs=yes
   9894     dynamic_linker="$host_os dld.sl"
   9895     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9896     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9897     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9898     soname_spec='${libname}${release}${shared_ext}$major'
   9899     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9900     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9901     ;;
   9902   *)
   9903     shrext_cmds='.sl'
   9904     dynamic_linker="$host_os dld.sl"
   9905     shlibpath_var=SHLIB_PATH
   9906     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9907     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9908     soname_spec='${libname}${release}${shared_ext}$major'
   9909     ;;
   9910   esac
   9911   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9912   postinstall_cmds='chmod 555 $lib'
   9913   ;;
   9914 
   9915 interix[3-9]*)
   9916   version_type=linux
   9917   need_lib_prefix=no
   9918   need_version=no
   9919   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9920   soname_spec='${libname}${release}${shared_ext}$major'
   9921   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9922   shlibpath_var=LD_LIBRARY_PATH
   9923   shlibpath_overrides_runpath=no
   9924   hardcode_into_libs=yes
   9925   ;;
   9926 
   9927 irix5* | irix6* | nonstopux*)
   9928   case $host_os in
   9929     nonstopux*) version_type=nonstopux ;;
   9930     *)
   9931 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9932 		version_type=linux
   9933 	else
   9934 		version_type=irix
   9935 	fi ;;
   9936   esac
   9937   need_lib_prefix=no
   9938   need_version=no
   9939   soname_spec='${libname}${release}${shared_ext}$major'
   9940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9941   case $host_os in
   9942   irix5* | nonstopux*)
   9943     libsuff= shlibsuff=
   9944     ;;
   9945   *)
   9946     case $LD in # libtool.m4 will add one of these switches to LD
   9947     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9948       libsuff= shlibsuff= libmagic=32-bit;;
   9949     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9950       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9951     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9952       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9953     *) libsuff= shlibsuff= libmagic=never-match;;
   9954     esac
   9955     ;;
   9956   esac
   9957   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9958   shlibpath_overrides_runpath=no
   9959   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9960   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9961   hardcode_into_libs=yes
   9962   ;;
   9963 
   9964 # No shared lib support for Linux oldld, aout, or coff.
   9965 linux*oldld* | linux*aout* | linux*coff*)
   9966   dynamic_linker=no
   9967   ;;
   9968 
   9969 # This must be Linux ELF.
   9970 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9971   version_type=linux
   9972   need_lib_prefix=no
   9973   need_version=no
   9974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9975   soname_spec='${libname}${release}${shared_ext}$major'
   9976   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9977   shlibpath_var=LD_LIBRARY_PATH
   9978   shlibpath_overrides_runpath=no
   9979   # Some binutils ld are patched to set DT_RUNPATH
   9980   save_LDFLAGS=$LDFLAGS
   9981   save_libdir=$libdir
   9982   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9983        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9985 /* end confdefs.h.  */
   9986 
   9987 int
   9988 main ()
   9989 {
   9990 
   9991   ;
   9992   return 0;
   9993 }
   9994 _ACEOF
   9995 if ac_fn_c_try_link "$LINENO"; then :
   9996   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   9997   shlibpath_overrides_runpath=yes
   9998 fi
   9999 fi
   10000 rm -f core conftest.err conftest.$ac_objext \
   10001     conftest$ac_exeext conftest.$ac_ext
   10002   LDFLAGS=$save_LDFLAGS
   10003   libdir=$save_libdir
   10004 
   10005   # This implies no fast_install, which is unacceptable.
   10006   # Some rework will be needed to allow for fast_install
   10007   # before this can be enabled.
   10008   hardcode_into_libs=yes
   10009 
   10010   # Append ld.so.conf contents to the search path
   10011   if test -f /etc/ld.so.conf; then
   10012     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' ' '`
   10013     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10014   fi
   10015 
   10016   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10017   # powerpc, because MkLinux only supported shared libraries with the
   10018   # GNU dynamic linker.  Since this was broken with cross compilers,
   10019   # most powerpc-linux boxes support dynamic linking these days and
   10020   # people can always --disable-shared, the test was removed, and we
   10021   # assume the GNU/Linux dynamic linker is in use.
   10022   dynamic_linker='GNU/Linux ld.so'
   10023   ;;
   10024 
   10025 netbsdelf*-gnu)
   10026   version_type=linux
   10027   need_lib_prefix=no
   10028   need_version=no
   10029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10030   soname_spec='${libname}${release}${shared_ext}$major'
   10031   shlibpath_var=LD_LIBRARY_PATH
   10032   shlibpath_overrides_runpath=no
   10033   hardcode_into_libs=yes
   10034   dynamic_linker='NetBSD ld.elf_so'
   10035   ;;
   10036 
   10037 netbsd*)
   10038   version_type=sunos
   10039   need_lib_prefix=no
   10040   need_version=no
   10041   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10042     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10043     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10044     dynamic_linker='NetBSD (a.out) ld.so'
   10045   else
   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     dynamic_linker='NetBSD ld.elf_so'
   10049   fi
   10050   shlibpath_var=LD_LIBRARY_PATH
   10051   shlibpath_overrides_runpath=yes
   10052   hardcode_into_libs=yes
   10053   ;;
   10054 
   10055 newsos6)
   10056   version_type=linux
   10057   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10058   shlibpath_var=LD_LIBRARY_PATH
   10059   shlibpath_overrides_runpath=yes
   10060   ;;
   10061 
   10062 *nto* | *qnx*)
   10063   version_type=qnx
   10064   need_lib_prefix=no
   10065   need_version=no
   10066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10067   soname_spec='${libname}${release}${shared_ext}$major'
   10068   shlibpath_var=LD_LIBRARY_PATH
   10069   shlibpath_overrides_runpath=no
   10070   hardcode_into_libs=yes
   10071   dynamic_linker='ldqnx.so'
   10072   ;;
   10073 
   10074 openbsd*)
   10075   version_type=sunos
   10076   sys_lib_dlsearch_path_spec="/usr/lib"
   10077   need_lib_prefix=no
   10078   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10079   case $host_os in
   10080     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10081     *)				need_version=no  ;;
   10082   esac
   10083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10084   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10085   shlibpath_var=LD_LIBRARY_PATH
   10086   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10087     case $host_os in
   10088       openbsd2.[89] | openbsd2.[89].*)
   10089 	shlibpath_overrides_runpath=no
   10090 	;;
   10091       *)
   10092 	shlibpath_overrides_runpath=yes
   10093 	;;
   10094       esac
   10095   else
   10096     shlibpath_overrides_runpath=yes
   10097   fi
   10098   ;;
   10099 
   10100 os2*)
   10101   libname_spec='$name'
   10102   shrext_cmds=".dll"
   10103   need_lib_prefix=no
   10104   library_names_spec='$libname${shared_ext} $libname.a'
   10105   dynamic_linker='OS/2 ld.exe'
   10106   shlibpath_var=LIBPATH
   10107   ;;
   10108 
   10109 osf3* | osf4* | osf5*)
   10110   version_type=osf
   10111   need_lib_prefix=no
   10112   need_version=no
   10113   soname_spec='${libname}${release}${shared_ext}$major'
   10114   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10115   shlibpath_var=LD_LIBRARY_PATH
   10116   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10117   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10118   ;;
   10119 
   10120 rdos*)
   10121   dynamic_linker=no
   10122   ;;
   10123 
   10124 solaris*)
   10125   version_type=linux
   10126   need_lib_prefix=no
   10127   need_version=no
   10128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10129   soname_spec='${libname}${release}${shared_ext}$major'
   10130   shlibpath_var=LD_LIBRARY_PATH
   10131   shlibpath_overrides_runpath=yes
   10132   hardcode_into_libs=yes
   10133   # ldd complains unless libraries are executable
   10134   postinstall_cmds='chmod +x $lib'
   10135   ;;
   10136 
   10137 sunos4*)
   10138   version_type=sunos
   10139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10140   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10141   shlibpath_var=LD_LIBRARY_PATH
   10142   shlibpath_overrides_runpath=yes
   10143   if test "$with_gnu_ld" = yes; then
   10144     need_lib_prefix=no
   10145   fi
   10146   need_version=yes
   10147   ;;
   10148 
   10149 sysv4 | sysv4.3*)
   10150   version_type=linux
   10151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10152   soname_spec='${libname}${release}${shared_ext}$major'
   10153   shlibpath_var=LD_LIBRARY_PATH
   10154   case $host_vendor in
   10155     sni)
   10156       shlibpath_overrides_runpath=no
   10157       need_lib_prefix=no
   10158       runpath_var=LD_RUN_PATH
   10159       ;;
   10160     siemens)
   10161       need_lib_prefix=no
   10162       ;;
   10163     motorola)
   10164       need_lib_prefix=no
   10165       need_version=no
   10166       shlibpath_overrides_runpath=no
   10167       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10168       ;;
   10169   esac
   10170   ;;
   10171 
   10172 sysv4*MP*)
   10173   if test -d /usr/nec ;then
   10174     version_type=linux
   10175     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10176     soname_spec='$libname${shared_ext}.$major'
   10177     shlibpath_var=LD_LIBRARY_PATH
   10178   fi
   10179   ;;
   10180 
   10181 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10182   version_type=freebsd-elf
   10183   need_lib_prefix=no
   10184   need_version=no
   10185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10186   soname_spec='${libname}${release}${shared_ext}$major'
   10187   shlibpath_var=LD_LIBRARY_PATH
   10188   shlibpath_overrides_runpath=yes
   10189   hardcode_into_libs=yes
   10190   if test "$with_gnu_ld" = yes; then
   10191     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10192   else
   10193     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10194     case $host_os in
   10195       sco3.2v5*)
   10196         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10197 	;;
   10198     esac
   10199   fi
   10200   sys_lib_dlsearch_path_spec='/usr/lib'
   10201   ;;
   10202 
   10203 tpf*)
   10204   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10205   version_type=linux
   10206   need_lib_prefix=no
   10207   need_version=no
   10208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10209   shlibpath_var=LD_LIBRARY_PATH
   10210   shlibpath_overrides_runpath=no
   10211   hardcode_into_libs=yes
   10212   ;;
   10213 
   10214 uts4*)
   10215   version_type=linux
   10216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10217   soname_spec='${libname}${release}${shared_ext}$major'
   10218   shlibpath_var=LD_LIBRARY_PATH
   10219   ;;
   10220 
   10221 *)
   10222   dynamic_linker=no
   10223   ;;
   10224 esac
   10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10226 $as_echo "$dynamic_linker" >&6; }
   10227 test "$dynamic_linker" = no && can_build_shared=no
   10228 
   10229 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10230 if test "$GCC" = yes; then
   10231   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10232 fi
   10233 
   10234 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10235   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10236 fi
   10237 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10238   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10239 fi
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10328 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10329 hardcode_action=
   10330 if test -n "$hardcode_libdir_flag_spec" ||
   10331    test -n "$runpath_var" ||
   10332    test "X$hardcode_automatic" = "Xyes" ; then
   10333 
   10334   # We can hardcode non-existent directories.
   10335   if test "$hardcode_direct" != no &&
   10336      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10337      # have to relink, otherwise we might link with an installed library
   10338      # when we should be linking with a yet-to-be-installed one
   10339      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10340      test "$hardcode_minus_L" != no; then
   10341     # Linking always hardcodes the temporary library directory.
   10342     hardcode_action=relink
   10343   else
   10344     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10345     hardcode_action=immediate
   10346   fi
   10347 else
   10348   # We cannot hardcode anything, or else we can only hardcode existing
   10349   # directories.
   10350   hardcode_action=unsupported
   10351 fi
   10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10353 $as_echo "$hardcode_action" >&6; }
   10354 
   10355 if test "$hardcode_action" = relink ||
   10356    test "$inherit_rpath" = yes; then
   10357   # Fast installation is not supported
   10358   enable_fast_install=no
   10359 elif test "$shlibpath_overrides_runpath" = yes ||
   10360      test "$enable_shared" = no; then
   10361   # Fast installation is not necessary
   10362   enable_fast_install=needless
   10363 fi
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370   if test "x$enable_dlopen" != xyes; then
   10371   enable_dlopen=unknown
   10372   enable_dlopen_self=unknown
   10373   enable_dlopen_self_static=unknown
   10374 else
   10375   lt_cv_dlopen=no
   10376   lt_cv_dlopen_libs=
   10377 
   10378   case $host_os in
   10379   beos*)
   10380     lt_cv_dlopen="load_add_on"
   10381     lt_cv_dlopen_libs=
   10382     lt_cv_dlopen_self=yes
   10383     ;;
   10384 
   10385   mingw* | pw32* | cegcc*)
   10386     lt_cv_dlopen="LoadLibrary"
   10387     lt_cv_dlopen_libs=
   10388     ;;
   10389 
   10390   cygwin*)
   10391     lt_cv_dlopen="dlopen"
   10392     lt_cv_dlopen_libs=
   10393     ;;
   10394 
   10395   darwin*)
   10396   # if libdl is installed we need to link against it
   10397     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10398 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10399 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10400   $as_echo_n "(cached) " >&6
   10401 else
   10402   ac_check_lib_save_LIBS=$LIBS
   10403 LIBS="-ldl  $LIBS"
   10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10405 /* end confdefs.h.  */
   10406 
   10407 /* Override any GCC internal prototype to avoid an error.
   10408    Use char because int might match the return type of a GCC
   10409    builtin and then its argument prototype would still apply.  */
   10410 #ifdef __cplusplus
   10411 extern "C"
   10412 #endif
   10413 char dlopen ();
   10414 int
   10415 main ()
   10416 {
   10417 return dlopen ();
   10418   ;
   10419   return 0;
   10420 }
   10421 _ACEOF
   10422 if ac_fn_c_try_link "$LINENO"; then :
   10423   ac_cv_lib_dl_dlopen=yes
   10424 else
   10425   ac_cv_lib_dl_dlopen=no
   10426 fi
   10427 rm -f core conftest.err conftest.$ac_objext \
   10428     conftest$ac_exeext conftest.$ac_ext
   10429 LIBS=$ac_check_lib_save_LIBS
   10430 fi
   10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10432 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10433 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10434   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10435 else
   10436 
   10437     lt_cv_dlopen="dyld"
   10438     lt_cv_dlopen_libs=
   10439     lt_cv_dlopen_self=yes
   10440 
   10441 fi
   10442 
   10443     ;;
   10444 
   10445   *)
   10446     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10447 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10448   lt_cv_dlopen="shl_load"
   10449 else
   10450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10451 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10452 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10453   $as_echo_n "(cached) " >&6
   10454 else
   10455   ac_check_lib_save_LIBS=$LIBS
   10456 LIBS="-ldld  $LIBS"
   10457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10458 /* end confdefs.h.  */
   10459 
   10460 /* Override any GCC internal prototype to avoid an error.
   10461    Use char because int might match the return type of a GCC
   10462    builtin and then its argument prototype would still apply.  */
   10463 #ifdef __cplusplus
   10464 extern "C"
   10465 #endif
   10466 char shl_load ();
   10467 int
   10468 main ()
   10469 {
   10470 return shl_load ();
   10471   ;
   10472   return 0;
   10473 }
   10474 _ACEOF
   10475 if ac_fn_c_try_link "$LINENO"; then :
   10476   ac_cv_lib_dld_shl_load=yes
   10477 else
   10478   ac_cv_lib_dld_shl_load=no
   10479 fi
   10480 rm -f core conftest.err conftest.$ac_objext \
   10481     conftest$ac_exeext conftest.$ac_ext
   10482 LIBS=$ac_check_lib_save_LIBS
   10483 fi
   10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10485 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10486 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10487   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10488 else
   10489   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10490 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10491   lt_cv_dlopen="dlopen"
   10492 else
   10493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10494 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10495 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10496   $as_echo_n "(cached) " >&6
   10497 else
   10498   ac_check_lib_save_LIBS=$LIBS
   10499 LIBS="-ldl  $LIBS"
   10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10501 /* end confdefs.h.  */
   10502 
   10503 /* Override any GCC internal prototype to avoid an error.
   10504    Use char because int might match the return type of a GCC
   10505    builtin and then its argument prototype would still apply.  */
   10506 #ifdef __cplusplus
   10507 extern "C"
   10508 #endif
   10509 char dlopen ();
   10510 int
   10511 main ()
   10512 {
   10513 return dlopen ();
   10514   ;
   10515   return 0;
   10516 }
   10517 _ACEOF
   10518 if ac_fn_c_try_link "$LINENO"; then :
   10519   ac_cv_lib_dl_dlopen=yes
   10520 else
   10521   ac_cv_lib_dl_dlopen=no
   10522 fi
   10523 rm -f core conftest.err conftest.$ac_objext \
   10524     conftest$ac_exeext conftest.$ac_ext
   10525 LIBS=$ac_check_lib_save_LIBS
   10526 fi
   10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10528 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10529 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10530   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10531 else
   10532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10533 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10534 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   10535   $as_echo_n "(cached) " >&6
   10536 else
   10537   ac_check_lib_save_LIBS=$LIBS
   10538 LIBS="-lsvld  $LIBS"
   10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10540 /* end confdefs.h.  */
   10541 
   10542 /* Override any GCC internal prototype to avoid an error.
   10543    Use char because int might match the return type of a GCC
   10544    builtin and then its argument prototype would still apply.  */
   10545 #ifdef __cplusplus
   10546 extern "C"
   10547 #endif
   10548 char dlopen ();
   10549 int
   10550 main ()
   10551 {
   10552 return dlopen ();
   10553   ;
   10554   return 0;
   10555 }
   10556 _ACEOF
   10557 if ac_fn_c_try_link "$LINENO"; then :
   10558   ac_cv_lib_svld_dlopen=yes
   10559 else
   10560   ac_cv_lib_svld_dlopen=no
   10561 fi
   10562 rm -f core conftest.err conftest.$ac_objext \
   10563     conftest$ac_exeext conftest.$ac_ext
   10564 LIBS=$ac_check_lib_save_LIBS
   10565 fi
   10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10567 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10568 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   10569   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10570 else
   10571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10572 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10573 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   10574   $as_echo_n "(cached) " >&6
   10575 else
   10576   ac_check_lib_save_LIBS=$LIBS
   10577 LIBS="-ldld  $LIBS"
   10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10579 /* end confdefs.h.  */
   10580 
   10581 /* Override any GCC internal prototype to avoid an error.
   10582    Use char because int might match the return type of a GCC
   10583    builtin and then its argument prototype would still apply.  */
   10584 #ifdef __cplusplus
   10585 extern "C"
   10586 #endif
   10587 char dld_link ();
   10588 int
   10589 main ()
   10590 {
   10591 return dld_link ();
   10592   ;
   10593   return 0;
   10594 }
   10595 _ACEOF
   10596 if ac_fn_c_try_link "$LINENO"; then :
   10597   ac_cv_lib_dld_dld_link=yes
   10598 else
   10599   ac_cv_lib_dld_dld_link=no
   10600 fi
   10601 rm -f core conftest.err conftest.$ac_objext \
   10602     conftest$ac_exeext conftest.$ac_ext
   10603 LIBS=$ac_check_lib_save_LIBS
   10604 fi
   10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10606 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10607 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   10608   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10609 fi
   10610 
   10611 
   10612 fi
   10613 
   10614 
   10615 fi
   10616 
   10617 
   10618 fi
   10619 
   10620 
   10621 fi
   10622 
   10623 
   10624 fi
   10625 
   10626     ;;
   10627   esac
   10628 
   10629   if test "x$lt_cv_dlopen" != xno; then
   10630     enable_dlopen=yes
   10631   else
   10632     enable_dlopen=no
   10633   fi
   10634 
   10635   case $lt_cv_dlopen in
   10636   dlopen)
   10637     save_CPPFLAGS="$CPPFLAGS"
   10638     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10639 
   10640     save_LDFLAGS="$LDFLAGS"
   10641     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10642 
   10643     save_LIBS="$LIBS"
   10644     LIBS="$lt_cv_dlopen_libs $LIBS"
   10645 
   10646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10647 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10648 if test "${lt_cv_dlopen_self+set}" = set; then :
   10649   $as_echo_n "(cached) " >&6
   10650 else
   10651   	  if test "$cross_compiling" = yes; then :
   10652   lt_cv_dlopen_self=cross
   10653 else
   10654   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10655   lt_status=$lt_dlunknown
   10656   cat > conftest.$ac_ext <<_LT_EOF
   10657 #line 10657 "configure"
   10658 #include "confdefs.h"
   10659 
   10660 #if HAVE_DLFCN_H
   10661 #include <dlfcn.h>
   10662 #endif
   10663 
   10664 #include <stdio.h>
   10665 
   10666 #ifdef RTLD_GLOBAL
   10667 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10668 #else
   10669 #  ifdef DL_GLOBAL
   10670 #    define LT_DLGLOBAL		DL_GLOBAL
   10671 #  else
   10672 #    define LT_DLGLOBAL		0
   10673 #  endif
   10674 #endif
   10675 
   10676 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10677    find out it does not work in some platform. */
   10678 #ifndef LT_DLLAZY_OR_NOW
   10679 #  ifdef RTLD_LAZY
   10680 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10681 #  else
   10682 #    ifdef DL_LAZY
   10683 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10684 #    else
   10685 #      ifdef RTLD_NOW
   10686 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10687 #      else
   10688 #        ifdef DL_NOW
   10689 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10690 #        else
   10691 #          define LT_DLLAZY_OR_NOW	0
   10692 #        endif
   10693 #      endif
   10694 #    endif
   10695 #  endif
   10696 #endif
   10697 
   10698 void fnord() { int i=42;}
   10699 int main ()
   10700 {
   10701   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10702   int status = $lt_dlunknown;
   10703 
   10704   if (self)
   10705     {
   10706       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10707       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10708       /* dlclose (self); */
   10709     }
   10710   else
   10711     puts (dlerror ());
   10712 
   10713   return status;
   10714 }
   10715 _LT_EOF
   10716   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10717   (eval $ac_link) 2>&5
   10718   ac_status=$?
   10719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10720   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10721     (./conftest; exit; ) >&5 2>/dev/null
   10722     lt_status=$?
   10723     case x$lt_status in
   10724       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10725       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10726       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10727     esac
   10728   else :
   10729     # compilation failed
   10730     lt_cv_dlopen_self=no
   10731   fi
   10732 fi
   10733 rm -fr conftest*
   10734 
   10735 
   10736 fi
   10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10738 $as_echo "$lt_cv_dlopen_self" >&6; }
   10739 
   10740     if test "x$lt_cv_dlopen_self" = xyes; then
   10741       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10742       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10743 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10744 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   10745   $as_echo_n "(cached) " >&6
   10746 else
   10747   	  if test "$cross_compiling" = yes; then :
   10748   lt_cv_dlopen_self_static=cross
   10749 else
   10750   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10751   lt_status=$lt_dlunknown
   10752   cat > conftest.$ac_ext <<_LT_EOF
   10753 #line 10753 "configure"
   10754 #include "confdefs.h"
   10755 
   10756 #if HAVE_DLFCN_H
   10757 #include <dlfcn.h>
   10758 #endif
   10759 
   10760 #include <stdio.h>
   10761 
   10762 #ifdef RTLD_GLOBAL
   10763 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10764 #else
   10765 #  ifdef DL_GLOBAL
   10766 #    define LT_DLGLOBAL		DL_GLOBAL
   10767 #  else
   10768 #    define LT_DLGLOBAL		0
   10769 #  endif
   10770 #endif
   10771 
   10772 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10773    find out it does not work in some platform. */
   10774 #ifndef LT_DLLAZY_OR_NOW
   10775 #  ifdef RTLD_LAZY
   10776 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10777 #  else
   10778 #    ifdef DL_LAZY
   10779 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10780 #    else
   10781 #      ifdef RTLD_NOW
   10782 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10783 #      else
   10784 #        ifdef DL_NOW
   10785 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10786 #        else
   10787 #          define LT_DLLAZY_OR_NOW	0
   10788 #        endif
   10789 #      endif
   10790 #    endif
   10791 #  endif
   10792 #endif
   10793 
   10794 void fnord() { int i=42;}
   10795 int main ()
   10796 {
   10797   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10798   int status = $lt_dlunknown;
   10799 
   10800   if (self)
   10801     {
   10802       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10803       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10804       /* dlclose (self); */
   10805     }
   10806   else
   10807     puts (dlerror ());
   10808 
   10809   return status;
   10810 }
   10811 _LT_EOF
   10812   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10813   (eval $ac_link) 2>&5
   10814   ac_status=$?
   10815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10816   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10817     (./conftest; exit; ) >&5 2>/dev/null
   10818     lt_status=$?
   10819     case x$lt_status in
   10820       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10821       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10822       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10823     esac
   10824   else :
   10825     # compilation failed
   10826     lt_cv_dlopen_self_static=no
   10827   fi
   10828 fi
   10829 rm -fr conftest*
   10830 
   10831 
   10832 fi
   10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   10834 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10835     fi
   10836 
   10837     CPPFLAGS="$save_CPPFLAGS"
   10838     LDFLAGS="$save_LDFLAGS"
   10839     LIBS="$save_LIBS"
   10840     ;;
   10841   esac
   10842 
   10843   case $lt_cv_dlopen_self in
   10844   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10845   *) enable_dlopen_self=unknown ;;
   10846   esac
   10847 
   10848   case $lt_cv_dlopen_self_static in
   10849   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10850   *) enable_dlopen_self_static=unknown ;;
   10851   esac
   10852 fi
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 striplib=
   10871 old_striplib=
   10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   10873 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10874 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10875   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10876   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10878 $as_echo "yes" >&6; }
   10879 else
   10880 # FIXME - insert some real tests, host_os isn't really good enough
   10881   case $host_os in
   10882   darwin*)
   10883     if test -n "$STRIP" ; then
   10884       striplib="$STRIP -x"
   10885       old_striplib="$STRIP -S"
   10886       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10887 $as_echo "yes" >&6; }
   10888     else
   10889       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10890 $as_echo "no" >&6; }
   10891     fi
   10892     ;;
   10893   *)
   10894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10895 $as_echo "no" >&6; }
   10896     ;;
   10897   esac
   10898 fi
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911   # Report which library types will actually be built
   10912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   10913 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   10915 $as_echo "$can_build_shared" >&6; }
   10916 
   10917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   10918 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10919   test "$can_build_shared" = "no" && enable_shared=no
   10920 
   10921   # On AIX, shared libraries and static libraries use the same namespace, and
   10922   # are all built from PIC.
   10923   case $host_os in
   10924   aix3*)
   10925     test "$enable_shared" = yes && enable_static=no
   10926     if test -n "$RANLIB"; then
   10927       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10928       postinstall_cmds='$RANLIB $lib'
   10929     fi
   10930     ;;
   10931 
   10932   aix[4-9]*)
   10933     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10934       test "$enable_shared" = yes && enable_static=no
   10935     fi
   10936     ;;
   10937   esac
   10938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   10939 $as_echo "$enable_shared" >&6; }
   10940 
   10941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   10942 $as_echo_n "checking whether to build static libraries... " >&6; }
   10943   # Make sure either enable_shared or enable_static is yes.
   10944   test "$enable_shared" = yes || enable_static=yes
   10945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   10946 $as_echo "$enable_static" >&6; }
   10947 
   10948 
   10949 
   10950 
   10951 fi
   10952 ac_ext=c
   10953 ac_cpp='$CPP $CPPFLAGS'
   10954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10957 
   10958 CC="$lt_save_CC"
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972         ac_config_commands="$ac_config_commands libtool"
   10973 
   10974 
   10975 
   10976 
   10977 # Only expand once:
   10978 
   10979 
   10980 ac_ext=c
   10981 ac_cpp='$CPP $CPPFLAGS'
   10982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10985 if test -n "$ac_tool_prefix"; then
   10986   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   10987 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10989 $as_echo_n "checking for $ac_word... " >&6; }
   10990 if test "${ac_cv_prog_CC+set}" = set; then :
   10991   $as_echo_n "(cached) " >&6
   10992 else
   10993   if test -n "$CC"; then
   10994   ac_cv_prog_CC="$CC" # Let the user override the test.
   10995 else
   10996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10997 for as_dir in $PATH
   10998 do
   10999   IFS=$as_save_IFS
   11000   test -z "$as_dir" && as_dir=.
   11001     for ac_exec_ext in '' $ac_executable_extensions; do
   11002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11003     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11005     break 2
   11006   fi
   11007 done
   11008   done
   11009 IFS=$as_save_IFS
   11010 
   11011 fi
   11012 fi
   11013 CC=$ac_cv_prog_CC
   11014 if test -n "$CC"; then
   11015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11016 $as_echo "$CC" >&6; }
   11017 else
   11018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11019 $as_echo "no" >&6; }
   11020 fi
   11021 
   11022 
   11023 fi
   11024 if test -z "$ac_cv_prog_CC"; then
   11025   ac_ct_CC=$CC
   11026   # Extract the first word of "gcc", so it can be a program name with args.
   11027 set dummy gcc; ac_word=$2
   11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11029 $as_echo_n "checking for $ac_word... " >&6; }
   11030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   11031   $as_echo_n "(cached) " >&6
   11032 else
   11033   if test -n "$ac_ct_CC"; then
   11034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11035 else
   11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11037 for as_dir in $PATH
   11038 do
   11039   IFS=$as_save_IFS
   11040   test -z "$as_dir" && as_dir=.
   11041     for ac_exec_ext in '' $ac_executable_extensions; do
   11042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11043     ac_cv_prog_ac_ct_CC="gcc"
   11044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11045     break 2
   11046   fi
   11047 done
   11048   done
   11049 IFS=$as_save_IFS
   11050 
   11051 fi
   11052 fi
   11053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11054 if test -n "$ac_ct_CC"; then
   11055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11056 $as_echo "$ac_ct_CC" >&6; }
   11057 else
   11058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11059 $as_echo "no" >&6; }
   11060 fi
   11061 
   11062   if test "x$ac_ct_CC" = x; then
   11063     CC=""
   11064   else
   11065     case $cross_compiling:$ac_tool_warned in
   11066 yes:)
   11067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11069 ac_tool_warned=yes ;;
   11070 esac
   11071     CC=$ac_ct_CC
   11072   fi
   11073 else
   11074   CC="$ac_cv_prog_CC"
   11075 fi
   11076 
   11077 if test -z "$CC"; then
   11078           if test -n "$ac_tool_prefix"; then
   11079     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11080 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11082 $as_echo_n "checking for $ac_word... " >&6; }
   11083 if test "${ac_cv_prog_CC+set}" = set; then :
   11084   $as_echo_n "(cached) " >&6
   11085 else
   11086   if test -n "$CC"; then
   11087   ac_cv_prog_CC="$CC" # Let the user override the test.
   11088 else
   11089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11090 for as_dir in $PATH
   11091 do
   11092   IFS=$as_save_IFS
   11093   test -z "$as_dir" && as_dir=.
   11094     for ac_exec_ext in '' $ac_executable_extensions; do
   11095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11096     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11098     break 2
   11099   fi
   11100 done
   11101   done
   11102 IFS=$as_save_IFS
   11103 
   11104 fi
   11105 fi
   11106 CC=$ac_cv_prog_CC
   11107 if test -n "$CC"; then
   11108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11109 $as_echo "$CC" >&6; }
   11110 else
   11111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11112 $as_echo "no" >&6; }
   11113 fi
   11114 
   11115 
   11116   fi
   11117 fi
   11118 if test -z "$CC"; then
   11119   # Extract the first word of "cc", so it can be a program name with args.
   11120 set dummy cc; ac_word=$2
   11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11122 $as_echo_n "checking for $ac_word... " >&6; }
   11123 if test "${ac_cv_prog_CC+set}" = set; then :
   11124   $as_echo_n "(cached) " >&6
   11125 else
   11126   if test -n "$CC"; then
   11127   ac_cv_prog_CC="$CC" # Let the user override the test.
   11128 else
   11129   ac_prog_rejected=no
   11130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11131 for as_dir in $PATH
   11132 do
   11133   IFS=$as_save_IFS
   11134   test -z "$as_dir" && as_dir=.
   11135     for ac_exec_ext in '' $ac_executable_extensions; do
   11136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11137     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11138        ac_prog_rejected=yes
   11139        continue
   11140      fi
   11141     ac_cv_prog_CC="cc"
   11142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11143     break 2
   11144   fi
   11145 done
   11146   done
   11147 IFS=$as_save_IFS
   11148 
   11149 if test $ac_prog_rejected = yes; then
   11150   # We found a bogon in the path, so make sure we never use it.
   11151   set dummy $ac_cv_prog_CC
   11152   shift
   11153   if test $# != 0; then
   11154     # We chose a different compiler from the bogus one.
   11155     # However, it has the same basename, so the bogon will be chosen
   11156     # first if we set CC to just the basename; use the full file name.
   11157     shift
   11158     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11159   fi
   11160 fi
   11161 fi
   11162 fi
   11163 CC=$ac_cv_prog_CC
   11164 if test -n "$CC"; then
   11165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11166 $as_echo "$CC" >&6; }
   11167 else
   11168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11169 $as_echo "no" >&6; }
   11170 fi
   11171 
   11172 
   11173 fi
   11174 if test -z "$CC"; then
   11175   if test -n "$ac_tool_prefix"; then
   11176   for ac_prog in cl.exe
   11177   do
   11178     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11181 $as_echo_n "checking for $ac_word... " >&6; }
   11182 if test "${ac_cv_prog_CC+set}" = set; then :
   11183   $as_echo_n "(cached) " >&6
   11184 else
   11185   if test -n "$CC"; then
   11186   ac_cv_prog_CC="$CC" # Let the user override the test.
   11187 else
   11188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11189 for as_dir in $PATH
   11190 do
   11191   IFS=$as_save_IFS
   11192   test -z "$as_dir" && as_dir=.
   11193     for ac_exec_ext in '' $ac_executable_extensions; do
   11194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11195     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11197     break 2
   11198   fi
   11199 done
   11200   done
   11201 IFS=$as_save_IFS
   11202 
   11203 fi
   11204 fi
   11205 CC=$ac_cv_prog_CC
   11206 if test -n "$CC"; then
   11207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   11208 $as_echo "$CC" >&6; }
   11209 else
   11210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11211 $as_echo "no" >&6; }
   11212 fi
   11213 
   11214 
   11215     test -n "$CC" && break
   11216   done
   11217 fi
   11218 if test -z "$CC"; then
   11219   ac_ct_CC=$CC
   11220   for ac_prog in cl.exe
   11221 do
   11222   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11223 set dummy $ac_prog; ac_word=$2
   11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11225 $as_echo_n "checking for $ac_word... " >&6; }
   11226 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   11227   $as_echo_n "(cached) " >&6
   11228 else
   11229   if test -n "$ac_ct_CC"; then
   11230   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11231 else
   11232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11233 for as_dir in $PATH
   11234 do
   11235   IFS=$as_save_IFS
   11236   test -z "$as_dir" && as_dir=.
   11237     for ac_exec_ext in '' $ac_executable_extensions; do
   11238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11239     ac_cv_prog_ac_ct_CC="$ac_prog"
   11240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11241     break 2
   11242   fi
   11243 done
   11244   done
   11245 IFS=$as_save_IFS
   11246 
   11247 fi
   11248 fi
   11249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11250 if test -n "$ac_ct_CC"; then
   11251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   11252 $as_echo "$ac_ct_CC" >&6; }
   11253 else
   11254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11255 $as_echo "no" >&6; }
   11256 fi
   11257 
   11258 
   11259   test -n "$ac_ct_CC" && break
   11260 done
   11261 
   11262   if test "x$ac_ct_CC" = x; then
   11263     CC=""
   11264   else
   11265     case $cross_compiling:$ac_tool_warned in
   11266 yes:)
   11267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11269 ac_tool_warned=yes ;;
   11270 esac
   11271     CC=$ac_ct_CC
   11272   fi
   11273 fi
   11274 
   11275 fi
   11276 
   11277 
   11278 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11280 as_fn_error "no acceptable C compiler found in \$PATH
   11281 See \`config.log' for more details." "$LINENO" 5; }
   11282 
   11283 # Provide some information about the compiler.
   11284 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   11285 set X $ac_compile
   11286 ac_compiler=$2
   11287 for ac_option in --version -v -V -qversion; do
   11288   { { ac_try="$ac_compiler $ac_option >&5"
   11289 case "(($ac_try" in
   11290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11291   *) ac_try_echo=$ac_try;;
   11292 esac
   11293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   11294 $as_echo "$ac_try_echo"; } >&5
   11295   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   11296   ac_status=$?
   11297   if test -s conftest.err; then
   11298     sed '10a\
   11299 ... rest of stderr output deleted ...
   11300          10q' conftest.err >conftest.er1
   11301     cat conftest.er1 >&5
   11302   fi
   11303   rm -f conftest.er1 conftest.err
   11304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11305   test $ac_status = 0; }
   11306 done
   11307 
   11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   11309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11310 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   11311   $as_echo_n "(cached) " >&6
   11312 else
   11313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11314 /* end confdefs.h.  */
   11315 
   11316 int
   11317 main ()
   11318 {
   11319 #ifndef __GNUC__
   11320        choke me
   11321 #endif
   11322 
   11323   ;
   11324   return 0;
   11325 }
   11326 _ACEOF
   11327 if ac_fn_c_try_compile "$LINENO"; then :
   11328   ac_compiler_gnu=yes
   11329 else
   11330   ac_compiler_gnu=no
   11331 fi
   11332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11334 
   11335 fi
   11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   11337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11338 if test $ac_compiler_gnu = yes; then
   11339   GCC=yes
   11340 else
   11341   GCC=
   11342 fi
   11343 ac_test_CFLAGS=${CFLAGS+set}
   11344 ac_save_CFLAGS=$CFLAGS
   11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   11346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11347 if test "${ac_cv_prog_cc_g+set}" = set; then :
   11348   $as_echo_n "(cached) " >&6
   11349 else
   11350   ac_save_c_werror_flag=$ac_c_werror_flag
   11351    ac_c_werror_flag=yes
   11352    ac_cv_prog_cc_g=no
   11353    CFLAGS="-g"
   11354    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11355 /* end confdefs.h.  */
   11356 
   11357 int
   11358 main ()
   11359 {
   11360 
   11361   ;
   11362   return 0;
   11363 }
   11364 _ACEOF
   11365 if ac_fn_c_try_compile "$LINENO"; then :
   11366   ac_cv_prog_cc_g=yes
   11367 else
   11368   CFLAGS=""
   11369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11370 /* end confdefs.h.  */
   11371 
   11372 int
   11373 main ()
   11374 {
   11375 
   11376   ;
   11377   return 0;
   11378 }
   11379 _ACEOF
   11380 if ac_fn_c_try_compile "$LINENO"; then :
   11381 
   11382 else
   11383   ac_c_werror_flag=$ac_save_c_werror_flag
   11384 	 CFLAGS="-g"
   11385 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11386 /* end confdefs.h.  */
   11387 
   11388 int
   11389 main ()
   11390 {
   11391 
   11392   ;
   11393   return 0;
   11394 }
   11395 _ACEOF
   11396 if ac_fn_c_try_compile "$LINENO"; then :
   11397   ac_cv_prog_cc_g=yes
   11398 fi
   11399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11400 fi
   11401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11402 fi
   11403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11404    ac_c_werror_flag=$ac_save_c_werror_flag
   11405 fi
   11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   11407 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11408 if test "$ac_test_CFLAGS" = set; then
   11409   CFLAGS=$ac_save_CFLAGS
   11410 elif test $ac_cv_prog_cc_g = yes; then
   11411   if test "$GCC" = yes; then
   11412     CFLAGS="-g -O2"
   11413   else
   11414     CFLAGS="-g"
   11415   fi
   11416 else
   11417   if test "$GCC" = yes; then
   11418     CFLAGS="-O2"
   11419   else
   11420     CFLAGS=
   11421   fi
   11422 fi
   11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   11424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   11426   $as_echo_n "(cached) " >&6
   11427 else
   11428   ac_cv_prog_cc_c89=no
   11429 ac_save_CC=$CC
   11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11431 /* end confdefs.h.  */
   11432 #include <stdarg.h>
   11433 #include <stdio.h>
   11434 #include <sys/types.h>
   11435 #include <sys/stat.h>
   11436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11437 struct buf { int x; };
   11438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11439 static char *e (p, i)
   11440      char **p;
   11441      int i;
   11442 {
   11443   return p[i];
   11444 }
   11445 static char *f (char * (*g) (char **, int), char **p, ...)
   11446 {
   11447   char *s;
   11448   va_list v;
   11449   va_start (v,p);
   11450   s = g (p, va_arg (v,int));
   11451   va_end (v);
   11452   return s;
   11453 }
   11454 
   11455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11456    function prototypes and stuff, but not '\xHH' hex character constants.
   11457    These don't provoke an error unfortunately, instead are silently treated
   11458    as 'x'.  The following induces an error, until -std is added to get
   11459    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11460    array size at least.  It's necessary to write '\x00'==0 to get something
   11461    that's true only with -std.  */
   11462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11463 
   11464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11465    inside strings and character constants.  */
   11466 #define FOO(x) 'x'
   11467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11468 
   11469 int test (int i, double x);
   11470 struct s1 {int (*f) (int a);};
   11471 struct s2 {int (*f) (double a);};
   11472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11473 int argc;
   11474 char **argv;
   11475 int
   11476 main ()
   11477 {
   11478 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11479   ;
   11480   return 0;
   11481 }
   11482 _ACEOF
   11483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11484 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11485 do
   11486   CC="$ac_save_CC $ac_arg"
   11487   if ac_fn_c_try_compile "$LINENO"; then :
   11488   ac_cv_prog_cc_c89=$ac_arg
   11489 fi
   11490 rm -f core conftest.err conftest.$ac_objext
   11491   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11492 done
   11493 rm -f conftest.$ac_ext
   11494 CC=$ac_save_CC
   11495 
   11496 fi
   11497 # AC_CACHE_VAL
   11498 case "x$ac_cv_prog_cc_c89" in
   11499   x)
   11500     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11501 $as_echo "none needed" >&6; } ;;
   11502   xno)
   11503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11504 $as_echo "unsupported" >&6; } ;;
   11505   *)
   11506     CC="$CC $ac_cv_prog_cc_c89"
   11507     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   11508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11509 esac
   11510 if test "x$ac_cv_prog_cc_c89" != xno; then :
   11511 
   11512 fi
   11513 
   11514 ac_ext=c
   11515 ac_cpp='$CPP $CPPFLAGS'
   11516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11519 
   11520 # By default we simply use the C compiler to build assembly code.
   11521 
   11522 test "${CCAS+set}" = set || CCAS=$CC
   11523 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   11524 
   11525 
   11526 
   11527 depcc="$CCAS"   am_compiler_list=
   11528 
   11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   11530 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11531 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
   11532   $as_echo_n "(cached) " >&6
   11533 else
   11534   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11535   # We make a subdir and do the tests there.  Otherwise we can end up
   11536   # making bogus files that we don't know about and never remove.  For
   11537   # instance it was reported that on HP-UX the gcc test will end up
   11538   # making a dummy file named `D' -- because `-MD' means `put the output
   11539   # in D'.
   11540   mkdir conftest.dir
   11541   # Copy depcomp to subdir because otherwise we won't find it if we're
   11542   # using a relative directory.
   11543   cp "$am_depcomp" conftest.dir
   11544   cd conftest.dir
   11545   # We will build objects and dependencies in a subdirectory because
   11546   # it helps to detect inapplicable dependency modes.  For instance
   11547   # both Tru64's cc and ICC support -MD to output dependencies as a
   11548   # side effect of compilation, but ICC will put the dependencies in
   11549   # the current directory while Tru64 will put them in the object
   11550   # directory.
   11551   mkdir sub
   11552 
   11553   am_cv_CCAS_dependencies_compiler_type=none
   11554   if test "$am_compiler_list" = ""; then
   11555      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11556   fi
   11557   am__universal=false
   11558 
   11559 
   11560   for depmode in $am_compiler_list; do
   11561     # Setup a source with many dependencies, because some compilers
   11562     # like to wrap large dependency lists on column 80 (with \), and
   11563     # we should not choose a depcomp mode which is confused by this.
   11564     #
   11565     # We need to recreate these files for each test, as the compiler may
   11566     # overwrite some of them when testing with obscure command lines.
   11567     # This happens at least with the AIX C compiler.
   11568     : > sub/conftest.c
   11569     for i in 1 2 3 4 5 6; do
   11570       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11571       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11572       # Solaris 8's {/usr,}/bin/sh.
   11573       touch sub/conftst$i.h
   11574     done
   11575     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11576 
   11577     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11578     # mode.  It turns out that the SunPro C++ compiler does not properly
   11579     # handle `-M -o', and we need to detect this.  Also, some Intel
   11580     # versions had trouble with output in subdirs
   11581     am__obj=sub/conftest.${OBJEXT-o}
   11582     am__minus_obj="-o $am__obj"
   11583     case $depmode in
   11584     gcc)
   11585       # This depmode causes a compiler race in universal mode.
   11586       test "$am__universal" = false || continue
   11587       ;;
   11588     nosideeffect)
   11589       # after this tag, mechanisms are not by side-effect, so they'll
   11590       # only be used when explicitly requested
   11591       if test "x$enable_dependency_tracking" = xyes; then
   11592 	continue
   11593       else
   11594 	break
   11595       fi
   11596       ;;
   11597     msvisualcpp | msvcmsys)
   11598       # This compiler won't grok `-c -o', but also, the minuso test has
   11599       # not run yet.  These depmodes are late enough in the game, and
   11600       # so weak that their functioning should not be impacted.
   11601       am__obj=conftest.${OBJEXT-o}
   11602       am__minus_obj=
   11603       ;;
   11604     none) break ;;
   11605     esac
   11606     if depmode=$depmode \
   11607        source=sub/conftest.c object=$am__obj \
   11608        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11609        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   11610          >/dev/null 2>conftest.err &&
   11611        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11612        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11613        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   11614        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11615       # icc doesn't choke on unknown options, it will just issue warnings
   11616       # or remarks (even with -Werror).  So we grep stderr for any message
   11617       # that says an option was ignored or not supported.
   11618       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11619       #   icc: Command line warning: ignoring option '-M'; no argument required
   11620       # The diagnosis changed in icc 8.0:
   11621       #   icc: Command line remark: option '-MP' not supported
   11622       if (grep 'ignoring option' conftest.err ||
   11623           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11624         am_cv_CCAS_dependencies_compiler_type=$depmode
   11625         break
   11626       fi
   11627     fi
   11628   done
   11629 
   11630   cd ..
   11631   rm -rf conftest.dir
   11632 else
   11633   am_cv_CCAS_dependencies_compiler_type=none
   11634 fi
   11635 
   11636 fi
   11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   11638 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   11639 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   11640 
   11641  if
   11642   test "x$enable_dependency_tracking" != xno \
   11643   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   11644   am__fastdepCCAS_TRUE=
   11645   am__fastdepCCAS_FALSE='#'
   11646 else
   11647   am__fastdepCCAS_TRUE='#'
   11648   am__fastdepCCAS_FALSE=
   11649 fi
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 # Check whether --with-xorg-module-dir was given.
   11657 if test "${with_xorg_module_dir+set}" = set; then :
   11658   withval=$with_xorg_module_dir; moduledir="$withval"
   11659 else
   11660   moduledir="$libdir/xorg/modules"
   11661 fi
   11662 
   11663 
   11664 # Check whether --enable-geodegx-panel was given.
   11665 if test "${enable_geodegx_panel+set}" = set; then :
   11666   enableval=$enable_geodegx_panel;
   11667 else
   11668    AMD_CFLAGS="-DPNL_SUP $AMD_CFLAGS"
   11669 fi
   11670 
   11671 
   11672 # Check whether --enable-werror was given.
   11673 if test "${enable_werror+set}" = set; then :
   11674   enableval=$enable_werror; WERROR=$enableval
   11675 else
   11676   WERROR=no
   11677 fi
   11678 
   11679 # Check whether --enable-visibility was given.
   11680 if test "${enable_visibility+set}" = set; then :
   11681   enableval=$enable_visibility;  AMD_CFLAGS="$AMD_CFLAGS -fvisibility=hidden"
   11682 else
   11683    :
   11684 fi
   11685 
   11686 
   11687 if test "x$GCC" = "xyes"; then
   11688        GCC_WARNINGS1="-Wall -Wpointer-arith -Wstrict-prototypes"
   11689        GCC_WARNINGS2="-Wmissing-prototypes -Wmissing-declarations"
   11690        GCC_WARNINGS3="-Wnested-externs -fno-strict-aliasing"
   11691        GCC_WARNINGS="$GCC_WARNINGS1 $GCC_WARNINGS2 $GCC_WARNINGS3"
   11692        if test "x$WERROR" = "xyes"; then
   11693                GCC_WARNINGS="${GCC_WARNINGS} -Werror"
   11694        fi
   11695        AMD_CFLAGS="$GCC_WARNINGS $AMD_CFLAGS"
   11696 fi
   11697 
   11698 # Checks for extensions
   11699 
   11700 
   11701 	SAVE_CFLAGS="$CFLAGS"
   11702 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11703 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11704 /* end confdefs.h.  */
   11705 
   11706 #include "xorg-server.h"
   11707 #if !defined RANDR
   11708 #error RANDR not defined
   11709 #endif
   11710 
   11711 int
   11712 main ()
   11713 {
   11714 
   11715   ;
   11716   return 0;
   11717 }
   11718 _ACEOF
   11719 if ac_fn_c_try_compile "$LINENO"; then :
   11720   _EXT_CHECK=yes
   11721 else
   11722   _EXT_CHECK=no
   11723 fi
   11724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11725 	CFLAGS="$SAVE_CFLAGS"
   11726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   11727 $as_echo_n "checking if RANDR is defined... " >&6; }
   11728 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11729 $as_echo "$_EXT_CHECK" >&6; }
   11730 	if test "$_EXT_CHECK" != no; then
   11731 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11732 	fi
   11733 
   11734 
   11735 
   11736 	SAVE_CFLAGS="$CFLAGS"
   11737 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11738 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11739 /* end confdefs.h.  */
   11740 
   11741 #include "xorg-server.h"
   11742 #if !defined RENDER
   11743 #error RENDER not defined
   11744 #endif
   11745 
   11746 int
   11747 main ()
   11748 {
   11749 
   11750   ;
   11751   return 0;
   11752 }
   11753 _ACEOF
   11754 if ac_fn_c_try_compile "$LINENO"; then :
   11755   _EXT_CHECK=yes
   11756 else
   11757   _EXT_CHECK=no
   11758 fi
   11759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11760 	CFLAGS="$SAVE_CFLAGS"
   11761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   11762 $as_echo_n "checking if RENDER is defined... " >&6; }
   11763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11764 $as_echo "$_EXT_CHECK" >&6; }
   11765 	if test "$_EXT_CHECK" != no; then
   11766 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11767 	fi
   11768 
   11769 
   11770 
   11771 	SAVE_CFLAGS="$CFLAGS"
   11772 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11773 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11774 /* end confdefs.h.  */
   11775 
   11776 #include "xorg-server.h"
   11777 #if !defined XV
   11778 #error XV not defined
   11779 #endif
   11780 
   11781 int
   11782 main ()
   11783 {
   11784 
   11785   ;
   11786   return 0;
   11787 }
   11788 _ACEOF
   11789 if ac_fn_c_try_compile "$LINENO"; then :
   11790   _EXT_CHECK=yes
   11791 else
   11792   _EXT_CHECK=no
   11793 fi
   11794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11795 	CFLAGS="$SAVE_CFLAGS"
   11796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   11797 $as_echo_n "checking if XV is defined... " >&6; }
   11798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11799 $as_echo "$_EXT_CHECK" >&6; }
   11800 	if test "$_EXT_CHECK" != no; then
   11801 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   11802 	fi
   11803 
   11804 
   11805 
   11806 	SAVE_CFLAGS="$CFLAGS"
   11807 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   11808 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11809 /* end confdefs.h.  */
   11810 
   11811 #include "xorg-server.h"
   11812 #if !defined DPMSExtension
   11813 #error DPMSExtension not defined
   11814 #endif
   11815 
   11816 int
   11817 main ()
   11818 {
   11819 
   11820   ;
   11821   return 0;
   11822 }
   11823 _ACEOF
   11824 if ac_fn_c_try_compile "$LINENO"; then :
   11825   _EXT_CHECK=yes
   11826 else
   11827   _EXT_CHECK=no
   11828 fi
   11829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11830 	CFLAGS="$SAVE_CFLAGS"
   11831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   11832 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   11833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   11834 $as_echo "$_EXT_CHECK" >&6; }
   11835 	if test "$_EXT_CHECK" != no; then
   11836 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   11837 	fi
   11838 
   11839 
   11840 # Checks for pkg-config packages
   11841 
   11842 pkg_failed=no
   11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   11844 $as_echo_n "checking for XORG... " >&6; }
   11845 
   11846 if test -n "$PKG_CONFIG"; then
   11847     if test -n "$XORG_CFLAGS"; then
   11848         pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   11849     else
   11850         if test -n "$PKG_CONFIG" && \
   11851     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11852   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   11853   ac_status=$?
   11854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11855   test $ac_status = 0; }; then
   11856   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11857 else
   11858   pkg_failed=yes
   11859 fi
   11860     fi
   11861 else
   11862 	pkg_failed=untried
   11863 fi
   11864 if test -n "$PKG_CONFIG"; then
   11865     if test -n "$XORG_LIBS"; then
   11866         pkg_cv_XORG_LIBS="$XORG_LIBS"
   11867     else
   11868         if test -n "$PKG_CONFIG" && \
   11869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   11870   ($PKG_CONFIG --exists --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES") 2>&5
   11871   ac_status=$?
   11872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11873   test $ac_status = 0; }; then
   11874   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   11875 else
   11876   pkg_failed=yes
   11877 fi
   11878     fi
   11879 else
   11880 	pkg_failed=untried
   11881 fi
   11882 
   11883 
   11884 
   11885 if test $pkg_failed = yes; then
   11886 
   11887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11888         _pkg_short_errors_supported=yes
   11889 else
   11890         _pkg_short_errors_supported=no
   11891 fi
   11892         if test $_pkg_short_errors_supported = yes; then
   11893 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES"`
   11894         else
   11895 	        XORG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xorg-server xproto fontsproto $REQUIRED_MODULES"`
   11896         fi
   11897 	# Put the nasty error message in config.log where it belongs
   11898 	echo "$XORG_PKG_ERRORS" >&5
   11899 
   11900 	as_fn_error "Package requirements (xorg-server xproto fontsproto $REQUIRED_MODULES) were not met:
   11901 
   11902 $XORG_PKG_ERRORS
   11903 
   11904 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11905 installed software in a non-standard prefix.
   11906 
   11907 Alternatively, you may set the environment variables XORG_CFLAGS
   11908 and XORG_LIBS to avoid the need to call pkg-config.
   11909 See the pkg-config man page for more details.
   11910 " "$LINENO" 5
   11911 elif test $pkg_failed = untried; then
   11912 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11914 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   11915 is in your PATH or set the PKG_CONFIG environment variable to the full
   11916 path to pkg-config.
   11917 
   11918 Alternatively, you may set the environment variables XORG_CFLAGS
   11919 and XORG_LIBS to avoid the need to call pkg-config.
   11920 See the pkg-config man page for more details.
   11921 
   11922 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11923 See \`config.log' for more details." "$LINENO" 5; }
   11924 else
   11925 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   11926 	XORG_LIBS=$pkg_cv_XORG_LIBS
   11927         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11928 $as_echo "yes" >&6; }
   11929 	:
   11930 fi
   11931 
   11932 pkg_failed=no
   11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   11934 $as_echo_n "checking for XEXT... " >&6; }
   11935 
   11936 if test -n "$PKG_CONFIG"; then
   11937     if test -n "$XEXT_CFLAGS"; then
   11938         pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   11939     else
   11940         if test -n "$PKG_CONFIG" && \
   11941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   11942   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   11943   ac_status=$?
   11944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11945   test $ac_status = 0; }; then
   11946   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   11947 else
   11948   pkg_failed=yes
   11949 fi
   11950     fi
   11951 else
   11952 	pkg_failed=untried
   11953 fi
   11954 if test -n "$PKG_CONFIG"; then
   11955     if test -n "$XEXT_LIBS"; then
   11956         pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   11957     else
   11958         if test -n "$PKG_CONFIG" && \
   11959     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   11960   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   11961   ac_status=$?
   11962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11963   test $ac_status = 0; }; then
   11964   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   11965 else
   11966   pkg_failed=yes
   11967 fi
   11968     fi
   11969 else
   11970 	pkg_failed=untried
   11971 fi
   11972 
   11973 
   11974 
   11975 if test $pkg_failed = yes; then
   11976 
   11977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11978         _pkg_short_errors_supported=yes
   11979 else
   11980         _pkg_short_errors_supported=no
   11981 fi
   11982         if test $_pkg_short_errors_supported = yes; then
   11983 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xextproto >= 7.0.99.1"`
   11984         else
   11985 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xextproto >= 7.0.99.1"`
   11986         fi
   11987 	# Put the nasty error message in config.log where it belongs
   11988 	echo "$XEXT_PKG_ERRORS" >&5
   11989 
   11990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11991 $as_echo "no" >&6; }
   11992                 HAVE_XEXTPROTO_71="no"
   11993 elif test $pkg_failed = untried; then
   11994 	HAVE_XEXTPROTO_71="no"
   11995 else
   11996 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   11997 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   11998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11999 $as_echo "yes" >&6; }
   12000 	HAVE_XEXTPROTO_71="yes";
   12001 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   12002 
   12003 fi
   12004  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   12005   HAVE_XEXTPROTO_71_TRUE=
   12006   HAVE_XEXTPROTO_71_FALSE='#'
   12007 else
   12008   HAVE_XEXTPROTO_71_TRUE='#'
   12009   HAVE_XEXTPROTO_71_FALSE=
   12010 fi
   12011 
   12012 
   12013 # Checks for libraries.
   12014 SAVE_CPPFLAGS="$CPPFLAGS"
   12015 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   12016 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   12017 "
   12018 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then :
   12019   XSERVER_LIBPCIACCESS=yes
   12020 else
   12021   XSERVER_LIBPCIACCESS=no
   12022 fi
   12023 
   12024 CPPFLAGS="$SAVE_CPPFLAGS"
   12025 
   12026 # Checks for header files.
   12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   12028 $as_echo_n "checking for ANSI C header files... " >&6; }
   12029 if test "${ac_cv_header_stdc+set}" = set; then :
   12030   $as_echo_n "(cached) " >&6
   12031 else
   12032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12033 /* end confdefs.h.  */
   12034 #include <stdlib.h>
   12035 #include <stdarg.h>
   12036 #include <string.h>
   12037 #include <float.h>
   12038 
   12039 int
   12040 main ()
   12041 {
   12042 
   12043   ;
   12044   return 0;
   12045 }
   12046 _ACEOF
   12047 if ac_fn_c_try_compile "$LINENO"; then :
   12048   ac_cv_header_stdc=yes
   12049 else
   12050   ac_cv_header_stdc=no
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12053 
   12054 if test $ac_cv_header_stdc = yes; then
   12055   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12057 /* end confdefs.h.  */
   12058 #include <string.h>
   12059 
   12060 _ACEOF
   12061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12062   $EGREP "memchr" >/dev/null 2>&1; then :
   12063 
   12064 else
   12065   ac_cv_header_stdc=no
   12066 fi
   12067 rm -f conftest*
   12068 
   12069 fi
   12070 
   12071 if test $ac_cv_header_stdc = yes; then
   12072   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12074 /* end confdefs.h.  */
   12075 #include <stdlib.h>
   12076 
   12077 _ACEOF
   12078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12079   $EGREP "free" >/dev/null 2>&1; then :
   12080 
   12081 else
   12082   ac_cv_header_stdc=no
   12083 fi
   12084 rm -f conftest*
   12085 
   12086 fi
   12087 
   12088 if test $ac_cv_header_stdc = yes; then
   12089   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12090   if test "$cross_compiling" = yes; then :
   12091   :
   12092 else
   12093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12094 /* end confdefs.h.  */
   12095 #include <ctype.h>
   12096 #include <stdlib.h>
   12097 #if ((' ' & 0x0FF) == 0x020)
   12098 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12099 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12100 #else
   12101 # define ISLOWER(c) \
   12102 		   (('a' <= (c) && (c) <= 'i') \
   12103 		     || ('j' <= (c) && (c) <= 'r') \
   12104 		     || ('s' <= (c) && (c) <= 'z'))
   12105 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12106 #endif
   12107 
   12108 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12109 int
   12110 main ()
   12111 {
   12112   int i;
   12113   for (i = 0; i < 256; i++)
   12114     if (XOR (islower (i), ISLOWER (i))
   12115 	|| toupper (i) != TOUPPER (i))
   12116       return 2;
   12117   return 0;
   12118 }
   12119 _ACEOF
   12120 if ac_fn_c_try_run "$LINENO"; then :
   12121 
   12122 else
   12123   ac_cv_header_stdc=no
   12124 fi
   12125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12126   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12127 fi
   12128 
   12129 fi
   12130 fi
   12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   12132 $as_echo "$ac_cv_header_stdc" >&6; }
   12133 if test $ac_cv_header_stdc = yes; then
   12134 
   12135 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   12136 
   12137 fi
   12138 
   12139 
   12140 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12141 
   12142 pkg_failed=no
   12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   12144 $as_echo_n "checking for PCIACCESS... " >&6; }
   12145 
   12146 if test -n "$PKG_CONFIG"; then
   12147     if test -n "$PCIACCESS_CFLAGS"; then
   12148         pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12149     else
   12150         if test -n "$PKG_CONFIG" && \
   12151     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   12152   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12153   ac_status=$?
   12154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12155   test $ac_status = 0; }; then
   12156   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   12157 else
   12158   pkg_failed=yes
   12159 fi
   12160     fi
   12161 else
   12162 	pkg_failed=untried
   12163 fi
   12164 if test -n "$PKG_CONFIG"; then
   12165     if test -n "$PCIACCESS_LIBS"; then
   12166         pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12167     else
   12168         if test -n "$PKG_CONFIG" && \
   12169     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   12170   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   12171   ac_status=$?
   12172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12173   test $ac_status = 0; }; then
   12174   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   12175 else
   12176   pkg_failed=yes
   12177 fi
   12178     fi
   12179 else
   12180 	pkg_failed=untried
   12181 fi
   12182 
   12183 
   12184 
   12185 if test $pkg_failed = yes; then
   12186 
   12187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12188         _pkg_short_errors_supported=yes
   12189 else
   12190         _pkg_short_errors_supported=no
   12191 fi
   12192         if test $_pkg_short_errors_supported = yes; then
   12193 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   12194         else
   12195 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"`
   12196         fi
   12197 	# Put the nasty error message in config.log where it belongs
   12198 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12199 
   12200 	as_fn_error "Package requirements (pciaccess >= 0.8.0) were not met:
   12201 
   12202 $PCIACCESS_PKG_ERRORS
   12203 
   12204 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12205 installed software in a non-standard prefix.
   12206 
   12207 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12208 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12209 See the pkg-config man page for more details.
   12210 " "$LINENO" 5
   12211 elif test $pkg_failed = untried; then
   12212 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12214 as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
   12215 is in your PATH or set the PKG_CONFIG environment variable to the full
   12216 path to pkg-config.
   12217 
   12218 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12219 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12220 See the pkg-config man page for more details.
   12221 
   12222 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12223 See \`config.log' for more details." "$LINENO" 5; }
   12224 else
   12225 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12226 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12228 $as_echo "yes" >&6; }
   12229 	:
   12230 fi
   12231     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   12232 fi
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 is386=false
   12239 
   12240 case $host_cpu in
   12241   i*86)
   12242 	is386=true
   12243 	;;
   12244 esac
   12245 
   12246 # Unset is386 if compiling for AMD64/EM64T
   12247 if test $is386 = true ; then
   12248 	ac_fn_c_check_decl "$LINENO" "_LP64" "ac_cv_have_decl__LP64" "$ac_includes_default"
   12249 if test "x$ac_cv_have_decl__LP64" = x""yes; then :
   12250   ac_have_decl=1
   12251 else
   12252   ac_have_decl=0
   12253 fi
   12254 
   12255 cat >>confdefs.h <<_ACEOF
   12256 #define HAVE_DECL__LP64 $ac_have_decl
   12257 _ACEOF
   12258 if test $ac_have_decl = 1; then :
   12259   is386=false
   12260 fi
   12261 ac_fn_c_check_decl "$LINENO" "__amd64__" "ac_cv_have_decl___amd64__" "$ac_includes_default"
   12262 if test "x$ac_cv_have_decl___amd64__" = x""yes; then :
   12263   ac_have_decl=1
   12264 else
   12265   ac_have_decl=0
   12266 fi
   12267 
   12268 cat >>confdefs.h <<_ACEOF
   12269 #define HAVE_DECL___AMD64__ $ac_have_decl
   12270 _ACEOF
   12271 if test $ac_have_decl = 1; then :
   12272   is386=false
   12273 fi
   12274 ac_fn_c_check_decl "$LINENO" "amd64" "ac_cv_have_decl_amd64" "$ac_includes_default"
   12275 if test "x$ac_cv_have_decl_amd64" = x""yes; then :
   12276   ac_have_decl=1
   12277 else
   12278   ac_have_decl=0
   12279 fi
   12280 
   12281 cat >>confdefs.h <<_ACEOF
   12282 #define HAVE_DECL_AMD64 $ac_have_decl
   12283 _ACEOF
   12284 if test $ac_have_decl = 1; then :
   12285   is386=false
   12286 fi
   12287 
   12288 fi
   12289 
   12290  if test $is386 = true; then
   12291   I386ARCH_TRUE=
   12292   I386ARCH_FALSE='#'
   12293 else
   12294   I386ARCH_TRUE='#'
   12295   I386ARCH_FALSE=
   12296 fi
   12297 
   12298 
   12299 DRIVER_NAME=geode
   12300 
   12301 
   12302 ac_config_files="$ac_config_files Makefile src/Makefile"
   12303 
   12304 cat >confcache <<\_ACEOF
   12305 # This file is a shell script that caches the results of configure
   12306 # tests run on this system so they can be shared between configure
   12307 # scripts and configure runs, see configure's option --config-cache.
   12308 # It is not useful on other systems.  If it contains results you don't
   12309 # want to keep, you may remove or edit it.
   12310 #
   12311 # config.status only pays attention to the cache file if you give it
   12312 # the --recheck option to rerun configure.
   12313 #
   12314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12316 # following values.
   12317 
   12318 _ACEOF
   12319 
   12320 # The following way of writing the cache mishandles newlines in values,
   12321 # but we know of no workaround that is simple, portable, and efficient.
   12322 # So, we kill variables containing newlines.
   12323 # Ultrix sh set writes to stderr and can't be redirected directly,
   12324 # and sets the high bit in the cache file unless we assign to the vars.
   12325 (
   12326   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12327     eval ac_val=\$$ac_var
   12328     case $ac_val in #(
   12329     *${as_nl}*)
   12330       case $ac_var in #(
   12331       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   12332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12333       esac
   12334       case $ac_var in #(
   12335       _ | IFS | as_nl) ;; #(
   12336       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12337       *) { eval $ac_var=; unset $ac_var;} ;;
   12338       esac ;;
   12339     esac
   12340   done
   12341 
   12342   (set) 2>&1 |
   12343     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12344     *${as_nl}ac_space=\ *)
   12345       # `set' does not quote correctly, so add quotes: double-quote
   12346       # substitution turns \\\\ into \\, and sed turns \\ into \.
   12347       sed -n \
   12348 	"s/'/'\\\\''/g;
   12349 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12350       ;; #(
   12351     *)
   12352       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12353       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12354       ;;
   12355     esac |
   12356     sort
   12357 ) |
   12358   sed '
   12359      /^ac_cv_env_/b end
   12360      t clear
   12361      :clear
   12362      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12363      t end
   12364      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12365      :end' >>confcache
   12366 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12367   if test -w "$cache_file"; then
   12368     test "x$cache_file" != "x/dev/null" &&
   12369       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   12370 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12371     cat confcache >$cache_file
   12372   else
   12373     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   12374 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12375   fi
   12376 fi
   12377 rm -f confcache
   12378 
   12379 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12380 # Let make expand exec_prefix.
   12381 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12382 
   12383 DEFS=-DHAVE_CONFIG_H
   12384 
   12385 ac_libobjs=
   12386 ac_ltlibobjs=
   12387 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12388   # 1. Remove the extension, and $U if already installed.
   12389   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12390   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12391   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12392   #    will be set to the directory where LIBOBJS objects are built.
   12393   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12394   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   12395 done
   12396 LIBOBJS=$ac_libobjs
   12397 
   12398 LTLIBOBJS=$ac_ltlibobjs
   12399 
   12400 
   12401 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12402   as_fn_error "conditional \"AMDEP\" was never defined.
   12403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12404 fi
   12405 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12406   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   12407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12408 fi
   12409  if test -n "$EXEEXT"; then
   12410   am__EXEEXT_TRUE=
   12411   am__EXEEXT_FALSE='#'
   12412 else
   12413   am__EXEEXT_TRUE='#'
   12414   am__EXEEXT_FALSE=
   12415 fi
   12416 
   12417 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12418   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   12419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12420 fi
   12421 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   12422   as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
   12423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12424 fi
   12425 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   12426   as_fn_error "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   12427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12428 fi
   12429 if test -z "${I386ARCH_TRUE}" && test -z "${I386ARCH_FALSE}"; then
   12430   as_fn_error "conditional \"I386ARCH\" was never defined.
   12431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   12432 fi
   12433 
   12434 : ${CONFIG_STATUS=./config.status}
   12435 ac_write_fail=0
   12436 ac_clean_files_save=$ac_clean_files
   12437 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   12439 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12440 as_write_fail=0
   12441 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   12442 #! $SHELL
   12443 # Generated by $as_me.
   12444 # Run this file to recreate the current configuration.
   12445 # Compiler output produced by configure, useful for debugging
   12446 # configure, is in config.log if it exists.
   12447 
   12448 debug=false
   12449 ac_cs_recheck=false
   12450 ac_cs_silent=false
   12451 
   12452 SHELL=\${CONFIG_SHELL-$SHELL}
   12453 export SHELL
   12454 _ASEOF
   12455 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   12456 ## -------------------- ##
   12457 ## M4sh Initialization. ##
   12458 ## -------------------- ##
   12459 
   12460 # Be more Bourne compatible
   12461 DUALCASE=1; export DUALCASE # for MKS sh
   12462 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   12463   emulate sh
   12464   NULLCMD=:
   12465   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   12466   # is contrary to our usage.  Disable this feature.
   12467   alias -g '${1+"$@"}'='"$@"'
   12468   setopt NO_GLOB_SUBST
   12469 else
   12470   case `(set -o) 2>/dev/null` in #(
   12471   *posix*) :
   12472     set -o posix ;; #(
   12473   *) :
   12474      ;;
   12475 esac
   12476 fi
   12477 
   12478 
   12479 as_nl='
   12480 '
   12481 export as_nl
   12482 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   12483 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   12484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   12485 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   12486 # Prefer a ksh shell builtin over an external printf program on Solaris,
   12487 # but without wasting forks for bash or zsh.
   12488 if test -z "$BASH_VERSION$ZSH_VERSION" \
   12489     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   12490   as_echo='print -r --'
   12491   as_echo_n='print -rn --'
   12492 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   12493   as_echo='printf %s\n'
   12494   as_echo_n='printf %s'
   12495 else
   12496   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   12497     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   12498     as_echo_n='/usr/ucb/echo -n'
   12499   else
   12500     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   12501     as_echo_n_body='eval
   12502       arg=$1;
   12503       case $arg in #(
   12504       *"$as_nl"*)
   12505 	expr "X$arg" : "X\\(.*\\)$as_nl";
   12506 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   12507       esac;
   12508       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   12509     '
   12510     export as_echo_n_body
   12511     as_echo_n='sh -c $as_echo_n_body as_echo'
   12512   fi
   12513   export as_echo_body
   12514   as_echo='sh -c $as_echo_body as_echo'
   12515 fi
   12516 
   12517 # The user is always right.
   12518 if test "${PATH_SEPARATOR+set}" != set; then
   12519   PATH_SEPARATOR=:
   12520   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12521     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12522       PATH_SEPARATOR=';'
   12523   }
   12524 fi
   12525 
   12526 
   12527 # IFS
   12528 # We need space, tab and new line, in precisely that order.  Quoting is
   12529 # there to prevent editors from complaining about space-tab.
   12530 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   12531 # splitting by setting IFS to empty value.)
   12532 IFS=" ""	$as_nl"
   12533 
   12534 # Find who we are.  Look in the path if we contain no directory separator.
   12535 case $0 in #((
   12536   *[\\/]* ) as_myself=$0 ;;
   12537   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12538 for as_dir in $PATH
   12539 do
   12540   IFS=$as_save_IFS
   12541   test -z "$as_dir" && as_dir=.
   12542     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   12543   done
   12544 IFS=$as_save_IFS
   12545 
   12546      ;;
   12547 esac
   12548 # We did not find ourselves, most probably we were run as `sh COMMAND'
   12549 # in which case we are not to be found in the path.
   12550 if test "x$as_myself" = x; then
   12551   as_myself=$0
   12552 fi
   12553 if test ! -f "$as_myself"; then
   12554   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12555   exit 1
   12556 fi
   12557 
   12558 # Unset variables that we do not need and which cause bugs (e.g. in
   12559 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   12560 # suppresses any "Segmentation fault" message there.  '((' could
   12561 # trigger a bug in pdksh 5.2.14.
   12562 for as_var in BASH_ENV ENV MAIL MAILPATH
   12563 do eval test x\${$as_var+set} = xset \
   12564   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12565 done
   12566 PS1='$ '
   12567 PS2='> '
   12568 PS4='+ '
   12569 
   12570 # NLS nuisances.
   12571 LC_ALL=C
   12572 export LC_ALL
   12573 LANGUAGE=C
   12574 export LANGUAGE
   12575 
   12576 # CDPATH.
   12577 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   12578 
   12579 
   12580 # as_fn_error ERROR [LINENO LOG_FD]
   12581 # ---------------------------------
   12582 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12583 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12584 # script with status $?, using 1 if that was 0.
   12585 as_fn_error ()
   12586 {
   12587   as_status=$?; test $as_status -eq 0 && as_status=1
   12588   if test "$3"; then
   12589     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12590     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   12591   fi
   12592   $as_echo "$as_me: error: $1" >&2
   12593   as_fn_exit $as_status
   12594 } # as_fn_error
   12595 
   12596 
   12597 # as_fn_set_status STATUS
   12598 # -----------------------
   12599 # Set $? to STATUS, without forking.
   12600 as_fn_set_status ()
   12601 {
   12602   return $1
   12603 } # as_fn_set_status
   12604 
   12605 # as_fn_exit STATUS
   12606 # -----------------
   12607 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12608 as_fn_exit ()
   12609 {
   12610   set +e
   12611   as_fn_set_status $1
   12612   exit $1
   12613 } # as_fn_exit
   12614 
   12615 # as_fn_unset VAR
   12616 # ---------------
   12617 # Portably unset VAR.
   12618 as_fn_unset ()
   12619 {
   12620   { eval $1=; unset $1;}
   12621 }
   12622 as_unset=as_fn_unset
   12623 # as_fn_append VAR VALUE
   12624 # ----------------------
   12625 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12626 # advantage of any shell optimizations that allow amortized linear growth over
   12627 # repeated appends, instead of the typical quadratic growth present in naive
   12628 # implementations.
   12629 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   12630   eval 'as_fn_append ()
   12631   {
   12632     eval $1+=\$2
   12633   }'
   12634 else
   12635   as_fn_append ()
   12636   {
   12637     eval $1=\$$1\$2
   12638   }
   12639 fi # as_fn_append
   12640 
   12641 # as_fn_arith ARG...
   12642 # ------------------
   12643 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12644 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12645 # must be portable across $(()) and expr.
   12646 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   12647   eval 'as_fn_arith ()
   12648   {
   12649     as_val=$(( $* ))
   12650   }'
   12651 else
   12652   as_fn_arith ()
   12653   {
   12654     as_val=`expr "$@" || test $? -eq 1`
   12655   }
   12656 fi # as_fn_arith
   12657 
   12658 
   12659 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12660    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12661   as_expr=expr
   12662 else
   12663   as_expr=false
   12664 fi
   12665 
   12666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12667   as_basename=basename
   12668 else
   12669   as_basename=false
   12670 fi
   12671 
   12672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12673   as_dirname=dirname
   12674 else
   12675   as_dirname=false
   12676 fi
   12677 
   12678 as_me=`$as_basename -- "$0" ||
   12679 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12680 	 X"$0" : 'X\(//\)$' \| \
   12681 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12682 $as_echo X/"$0" |
   12683     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12684 	    s//\1/
   12685 	    q
   12686 	  }
   12687 	  /^X\/\(\/\/\)$/{
   12688 	    s//\1/
   12689 	    q
   12690 	  }
   12691 	  /^X\/\(\/\).*/{
   12692 	    s//\1/
   12693 	    q
   12694 	  }
   12695 	  s/.*/./; q'`
   12696 
   12697 # Avoid depending upon Character Ranges.
   12698 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12699 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12700 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12701 as_cr_digits='0123456789'
   12702 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12703 
   12704 ECHO_C= ECHO_N= ECHO_T=
   12705 case `echo -n x` in #(((((
   12706 -n*)
   12707   case `echo 'xy\c'` in
   12708   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12709   xy)  ECHO_C='\c';;
   12710   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12711        ECHO_T='	';;
   12712   esac;;
   12713 *)
   12714   ECHO_N='-n';;
   12715 esac
   12716 
   12717 rm -f conf$$ conf$$.exe conf$$.file
   12718 if test -d conf$$.dir; then
   12719   rm -f conf$$.dir/conf$$.file
   12720 else
   12721   rm -f conf$$.dir
   12722   mkdir conf$$.dir 2>/dev/null
   12723 fi
   12724 if (echo >conf$$.file) 2>/dev/null; then
   12725   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12726     as_ln_s='ln -s'
   12727     # ... but there are two gotchas:
   12728     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   12729     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   12730     # In both cases, we have to default to `cp -p'.
   12731     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12732       as_ln_s='cp -p'
   12733   elif ln conf$$.file conf$$ 2>/dev/null; then
   12734     as_ln_s=ln
   12735   else
   12736     as_ln_s='cp -p'
   12737   fi
   12738 else
   12739   as_ln_s='cp -p'
   12740 fi
   12741 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12742 rmdir conf$$.dir 2>/dev/null
   12743 
   12744 
   12745 # as_fn_mkdir_p
   12746 # -------------
   12747 # Create "$as_dir" as a directory, including parents if necessary.
   12748 as_fn_mkdir_p ()
   12749 {
   12750 
   12751   case $as_dir in #(
   12752   -*) as_dir=./$as_dir;;
   12753   esac
   12754   test -d "$as_dir" || eval $as_mkdir_p || {
   12755     as_dirs=
   12756     while :; do
   12757       case $as_dir in #(
   12758       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12759       *) as_qdir=$as_dir;;
   12760       esac
   12761       as_dirs="'$as_qdir' $as_dirs"
   12762       as_dir=`$as_dirname -- "$as_dir" ||
   12763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12764 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12765 	 X"$as_dir" : 'X\(//\)$' \| \
   12766 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12767 $as_echo X"$as_dir" |
   12768     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12769 	    s//\1/
   12770 	    q
   12771 	  }
   12772 	  /^X\(\/\/\)[^/].*/{
   12773 	    s//\1/
   12774 	    q
   12775 	  }
   12776 	  /^X\(\/\/\)$/{
   12777 	    s//\1/
   12778 	    q
   12779 	  }
   12780 	  /^X\(\/\).*/{
   12781 	    s//\1/
   12782 	    q
   12783 	  }
   12784 	  s/.*/./; q'`
   12785       test -d "$as_dir" && break
   12786     done
   12787     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12788   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   12789 
   12790 
   12791 } # as_fn_mkdir_p
   12792 if mkdir -p . 2>/dev/null; then
   12793   as_mkdir_p='mkdir -p "$as_dir"'
   12794 else
   12795   test -d ./-p && rmdir ./-p
   12796   as_mkdir_p=false
   12797 fi
   12798 
   12799 if test -x / >/dev/null 2>&1; then
   12800   as_test_x='test -x'
   12801 else
   12802   if ls -dL / >/dev/null 2>&1; then
   12803     as_ls_L_option=L
   12804   else
   12805     as_ls_L_option=
   12806   fi
   12807   as_test_x='
   12808     eval sh -c '\''
   12809       if test -d "$1"; then
   12810 	test -d "$1/.";
   12811       else
   12812 	case $1 in #(
   12813 	-*)set "./$1";;
   12814 	esac;
   12815 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   12816 	???[sx]*):;;*)false;;esac;fi
   12817     '\'' sh
   12818   '
   12819 fi
   12820 as_executable_p=$as_test_x
   12821 
   12822 # Sed expression to map a string onto a valid CPP name.
   12823 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   12824 
   12825 # Sed expression to map a string onto a valid variable name.
   12826 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   12827 
   12828 
   12829 exec 6>&1
   12830 ## ----------------------------------- ##
   12831 ## Main body of $CONFIG_STATUS script. ##
   12832 ## ----------------------------------- ##
   12833 _ASEOF
   12834 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12835 
   12836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12837 # Save the log message, to keep $0 and so on meaningful, and to
   12838 # report actual input values of CONFIG_FILES etc. instead of their
   12839 # values after options handling.
   12840 ac_log="
   12841 This file was extended by xf86-video-geode $as_me 2.11.8, which was
   12842 generated by GNU Autoconf 2.65.  Invocation command line was
   12843 
   12844   CONFIG_FILES    = $CONFIG_FILES
   12845   CONFIG_HEADERS  = $CONFIG_HEADERS
   12846   CONFIG_LINKS    = $CONFIG_LINKS
   12847   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12848   $ $0 $@
   12849 
   12850 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12851 "
   12852 
   12853 _ACEOF
   12854 
   12855 case $ac_config_files in *"
   12856 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12857 esac
   12858 
   12859 case $ac_config_headers in *"
   12860 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12861 esac
   12862 
   12863 
   12864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12865 # Files that config.status was made for.
   12866 config_files="$ac_config_files"
   12867 config_headers="$ac_config_headers"
   12868 config_commands="$ac_config_commands"
   12869 
   12870 _ACEOF
   12871 
   12872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12873 ac_cs_usage="\
   12874 \`$as_me' instantiates files and other configuration actions
   12875 from templates according to the current configuration.  Unless the files
   12876 and actions are specified as TAGs, all are instantiated by default.
   12877 
   12878 Usage: $0 [OPTION]... [TAG]...
   12879 
   12880   -h, --help       print this help, then exit
   12881   -V, --version    print version number and configuration settings, then exit
   12882       --config     print configuration, then exit
   12883   -q, --quiet, --silent
   12884                    do not print progress messages
   12885   -d, --debug      don't remove temporary files
   12886       --recheck    update $as_me by reconfiguring in the same conditions
   12887       --file=FILE[:TEMPLATE]
   12888                    instantiate the configuration file FILE
   12889       --header=FILE[:TEMPLATE]
   12890                    instantiate the configuration header FILE
   12891 
   12892 Configuration files:
   12893 $config_files
   12894 
   12895 Configuration headers:
   12896 $config_headers
   12897 
   12898 Configuration commands:
   12899 $config_commands
   12900 
   12901 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver%2Fgeode>.
   12902 xf86-video-geode home page: <http://www.x.org/wiki/GeodeDriver>."
   12903 
   12904 _ACEOF
   12905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12906 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   12907 ac_cs_version="\\
   12908 xf86-video-geode config.status 2.11.8
   12909 configured by $0, generated by GNU Autoconf 2.65,
   12910   with options \\"\$ac_cs_config\\"
   12911 
   12912 Copyright (C) 2009 Free Software Foundation, Inc.
   12913 This config.status script is free software; the Free Software Foundation
   12914 gives unlimited permission to copy, distribute and modify it."
   12915 
   12916 ac_pwd='$ac_pwd'
   12917 srcdir='$srcdir'
   12918 INSTALL='$INSTALL'
   12919 MKDIR_P='$MKDIR_P'
   12920 AWK='$AWK'
   12921 test -n "\$AWK" || AWK=awk
   12922 _ACEOF
   12923 
   12924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12925 # The default lists apply if the user does not specify any file.
   12926 ac_need_defaults=:
   12927 while test $# != 0
   12928 do
   12929   case $1 in
   12930   --*=*)
   12931     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12932     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12933     ac_shift=:
   12934     ;;
   12935   *)
   12936     ac_option=$1
   12937     ac_optarg=$2
   12938     ac_shift=shift
   12939     ;;
   12940   esac
   12941 
   12942   case $ac_option in
   12943   # Handling of the options.
   12944   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12945     ac_cs_recheck=: ;;
   12946   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12947     $as_echo "$ac_cs_version"; exit ;;
   12948   --config | --confi | --conf | --con | --co | --c )
   12949     $as_echo "$ac_cs_config"; exit ;;
   12950   --debug | --debu | --deb | --de | --d | -d )
   12951     debug=: ;;
   12952   --file | --fil | --fi | --f )
   12953     $ac_shift
   12954     case $ac_optarg in
   12955     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12956     esac
   12957     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12958     ac_need_defaults=false;;
   12959   --header | --heade | --head | --hea )
   12960     $ac_shift
   12961     case $ac_optarg in
   12962     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12963     esac
   12964     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12965     ac_need_defaults=false;;
   12966   --he | --h)
   12967     # Conflict between --help and --header
   12968     as_fn_error "ambiguous option: \`$1'
   12969 Try \`$0 --help' for more information.";;
   12970   --help | --hel | -h )
   12971     $as_echo "$ac_cs_usage"; exit ;;
   12972   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12973   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12974     ac_cs_silent=: ;;
   12975 
   12976   # This is an error.
   12977   -*) as_fn_error "unrecognized option: \`$1'
   12978 Try \`$0 --help' for more information." ;;
   12979 
   12980   *) as_fn_append ac_config_targets " $1"
   12981      ac_need_defaults=false ;;
   12982 
   12983   esac
   12984   shift
   12985 done
   12986 
   12987 ac_configure_extra_args=
   12988 
   12989 if $ac_cs_silent; then
   12990   exec 6>/dev/null
   12991   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12992 fi
   12993 
   12994 _ACEOF
   12995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12996 if \$ac_cs_recheck; then
   12997   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12998   shift
   12999   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13000   CONFIG_SHELL='$SHELL'
   13001   export CONFIG_SHELL
   13002   exec "\$@"
   13003 fi
   13004 
   13005 _ACEOF
   13006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13007 exec 5>>config.log
   13008 {
   13009   echo
   13010   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13011 ## Running $as_me. ##
   13012 _ASBOX
   13013   $as_echo "$ac_log"
   13014 } >&5
   13015 
   13016 _ACEOF
   13017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13018 #
   13019 # INIT-COMMANDS
   13020 #
   13021 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13022 
   13023 
   13024 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13025 # if CDPATH is set.
   13026 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13027 
   13028 sed_quote_subst='$sed_quote_subst'
   13029 double_quote_subst='$double_quote_subst'
   13030 delay_variable_subst='$delay_variable_subst'
   13031 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13032 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13033 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13034 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13035 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13036 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13037 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13038 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13039 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13040 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13041 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13042 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13043 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13044 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13045 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13046 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13047 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13048 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13049 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13050 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13051 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13052 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13053 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13054 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13055 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13056 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13057 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13058 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13059 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13060 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13061 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13062 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13063 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13064 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13065 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13066 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13067 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13068 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13069 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13070 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13071 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13072 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13073 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13074 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13075 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"`'
   13076 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"`'
   13077 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13078 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13079 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13080 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13081 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13082 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13083 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13084 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13085 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13086 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13087 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13088 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13089 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13090 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13091 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13092 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13093 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13094 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13095 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13096 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13097 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13098 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13099 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13100 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13101 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13102 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13103 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13104 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13105 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13106 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13107 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13108 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13109 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13110 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13111 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13112 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13113 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13114 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13115 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13116 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13117 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13118 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13119 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13120 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13121 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13122 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13123 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13124 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13125 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13126 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13127 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13128 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13129 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13130 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13131 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13132 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   13133 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13134 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13135 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13136 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13137 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13138 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13139 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   13140 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   13141 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13142 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13143 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   13144 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   13145 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   13146 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   13147 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13148 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13149 
   13150 LTCC='$LTCC'
   13151 LTCFLAGS='$LTCFLAGS'
   13152 compiler='$compiler_DEFAULT'
   13153 
   13154 # Quote evaled strings.
   13155 for var in SED \
   13156 GREP \
   13157 EGREP \
   13158 FGREP \
   13159 LD \
   13160 NM \
   13161 LN_S \
   13162 lt_SP2NL \
   13163 lt_NL2SP \
   13164 reload_flag \
   13165 OBJDUMP \
   13166 deplibs_check_method \
   13167 file_magic_cmd \
   13168 AR \
   13169 AR_FLAGS \
   13170 STRIP \
   13171 RANLIB \
   13172 CC \
   13173 CFLAGS \
   13174 compiler \
   13175 lt_cv_sys_global_symbol_pipe \
   13176 lt_cv_sys_global_symbol_to_cdecl \
   13177 lt_cv_sys_global_symbol_to_c_name_address \
   13178 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13179 SHELL \
   13180 ECHO \
   13181 lt_prog_compiler_no_builtin_flag \
   13182 lt_prog_compiler_wl \
   13183 lt_prog_compiler_pic \
   13184 lt_prog_compiler_static \
   13185 lt_cv_prog_compiler_c_o \
   13186 need_locks \
   13187 DSYMUTIL \
   13188 NMEDIT \
   13189 LIPO \
   13190 OTOOL \
   13191 OTOOL64 \
   13192 shrext_cmds \
   13193 export_dynamic_flag_spec \
   13194 whole_archive_flag_spec \
   13195 compiler_needs_object \
   13196 with_gnu_ld \
   13197 allow_undefined_flag \
   13198 no_undefined_flag \
   13199 hardcode_libdir_flag_spec \
   13200 hardcode_libdir_flag_spec_ld \
   13201 hardcode_libdir_separator \
   13202 fix_srcfile_path \
   13203 exclude_expsyms \
   13204 include_expsyms \
   13205 file_list_spec \
   13206 variables_saved_for_relink \
   13207 libname_spec \
   13208 library_names_spec \
   13209 soname_spec \
   13210 finish_eval \
   13211 old_striplib \
   13212 striplib; do
   13213     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13214     *[\\\\\\\`\\"\\\$]*)
   13215       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13216       ;;
   13217     *)
   13218       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13219       ;;
   13220     esac
   13221 done
   13222 
   13223 # Double-quote double-evaled strings.
   13224 for var in reload_cmds \
   13225 old_postinstall_cmds \
   13226 old_postuninstall_cmds \
   13227 old_archive_cmds \
   13228 extract_expsyms_cmds \
   13229 old_archive_from_new_cmds \
   13230 old_archive_from_expsyms_cmds \
   13231 archive_cmds \
   13232 archive_expsym_cmds \
   13233 module_cmds \
   13234 module_expsym_cmds \
   13235 export_symbols_cmds \
   13236 prelink_cmds \
   13237 postinstall_cmds \
   13238 postuninstall_cmds \
   13239 finish_cmds \
   13240 sys_lib_search_path_spec \
   13241 sys_lib_dlsearch_path_spec; do
   13242     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13243     *[\\\\\\\`\\"\\\$]*)
   13244       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13245       ;;
   13246     *)
   13247       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13248       ;;
   13249     esac
   13250 done
   13251 
   13252 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13253 case \$lt_ECHO in
   13254 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13255   ;;
   13256 esac
   13257 
   13258 ac_aux_dir='$ac_aux_dir'
   13259 xsi_shell='$xsi_shell'
   13260 lt_shell_append='$lt_shell_append'
   13261 
   13262 # See if we are running on zsh, and set the options which allow our
   13263 # commands through without removal of \ escapes INIT.
   13264 if test -n "\${ZSH_VERSION+set}" ; then
   13265    setopt NO_GLOB_SUBST
   13266 fi
   13267 
   13268 
   13269     PACKAGE='$PACKAGE'
   13270     VERSION='$VERSION'
   13271     TIMESTAMP='$TIMESTAMP'
   13272     RM='$RM'
   13273     ofile='$ofile'
   13274 
   13275 
   13276 
   13277 
   13278 _ACEOF
   13279 
   13280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13281 
   13282 # Handling of arguments.
   13283 for ac_config_target in $ac_config_targets
   13284 do
   13285   case $ac_config_target in
   13286     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13287     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13288     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13289     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13290     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13291 
   13292   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   13293   esac
   13294 done
   13295 
   13296 
   13297 # If the user did not use the arguments to specify the items to instantiate,
   13298 # then the envvar interface is used.  Set only those that are not.
   13299 # We use the long form for the default assignment because of an extremely
   13300 # bizarre bug on SunOS 4.1.3.
   13301 if $ac_need_defaults; then
   13302   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13303   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13304   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13305 fi
   13306 
   13307 # Have a temporary directory for convenience.  Make it in the build tree
   13308 # simply because there is no reason against having it here, and in addition,
   13309 # creating and moving files from /tmp can sometimes cause problems.
   13310 # Hook for its removal unless debugging.
   13311 # Note that there is a small window in which the directory will not be cleaned:
   13312 # after its creation but before its name has been assigned to `$tmp'.
   13313 $debug ||
   13314 {
   13315   tmp=
   13316   trap 'exit_status=$?
   13317   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13318 ' 0
   13319   trap 'as_fn_exit 1' 1 2 13 15
   13320 }
   13321 # Create a (secure) tmp directory for tmp files.
   13322 
   13323 {
   13324   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13325   test -n "$tmp" && test -d "$tmp"
   13326 }  ||
   13327 {
   13328   tmp=./conf$$-$RANDOM
   13329   (umask 077 && mkdir "$tmp")
   13330 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   13331 
   13332 # Set up the scripts for CONFIG_FILES section.
   13333 # No need to generate them if there are no CONFIG_FILES.
   13334 # This happens for instance with `./config.status config.h'.
   13335 if test -n "$CONFIG_FILES"; then
   13336 
   13337 
   13338 ac_cr=`echo X | tr X '\015'`
   13339 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   13340 # But we know of no other shell where ac_cr would be empty at this
   13341 # point, so we can use a bashism as a fallback.
   13342 if test "x$ac_cr" = x; then
   13343   eval ac_cr=\$\'\\r\'
   13344 fi
   13345 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13346 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13347   ac_cs_awk_cr='\r'
   13348 else
   13349   ac_cs_awk_cr=$ac_cr
   13350 fi
   13351 
   13352 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13353 _ACEOF
   13354 
   13355 
   13356 {
   13357   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13358   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13359   echo "_ACEOF"
   13360 } >conf$$subs.sh ||
   13361   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13362 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   13363 ac_delim='%!_!# '
   13364 for ac_last_try in false false false false false :; do
   13365   . ./conf$$subs.sh ||
   13366     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13367 
   13368   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13369   if test $ac_delim_n = $ac_delim_num; then
   13370     break
   13371   elif $ac_last_try; then
   13372     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   13373   else
   13374     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13375   fi
   13376 done
   13377 rm -f conf$$subs.sh
   13378 
   13379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13380 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13381 _ACEOF
   13382 sed -n '
   13383 h
   13384 s/^/S["/; s/!.*/"]=/
   13385 p
   13386 g
   13387 s/^[^!]*!//
   13388 :repl
   13389 t repl
   13390 s/'"$ac_delim"'$//
   13391 t delim
   13392 :nl
   13393 h
   13394 s/\(.\{148\}\)..*/\1/
   13395 t more1
   13396 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13397 p
   13398 n
   13399 b repl
   13400 :more1
   13401 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13402 p
   13403 g
   13404 s/.\{148\}//
   13405 t nl
   13406 :delim
   13407 h
   13408 s/\(.\{148\}\)..*/\1/
   13409 t more2
   13410 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13411 p
   13412 b
   13413 :more2
   13414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13415 p
   13416 g
   13417 s/.\{148\}//
   13418 t delim
   13419 ' <conf$$subs.awk | sed '
   13420 /^[^""]/{
   13421   N
   13422   s/\n//
   13423 }
   13424 ' >>$CONFIG_STATUS || ac_write_fail=1
   13425 rm -f conf$$subs.awk
   13426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13427 _ACAWK
   13428 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13429   for (key in S) S_is_set[key] = 1
   13430   FS = ""
   13431 
   13432 }
   13433 {
   13434   line = $ 0
   13435   nfields = split(line, field, "@")
   13436   substed = 0
   13437   len = length(field[1])
   13438   for (i = 2; i < nfields; i++) {
   13439     key = field[i]
   13440     keylen = length(key)
   13441     if (S_is_set[key]) {
   13442       value = S[key]
   13443       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13444       len += length(value) + length(field[++i])
   13445       substed = 1
   13446     } else
   13447       len += 1 + keylen
   13448   }
   13449 
   13450   print line
   13451 }
   13452 
   13453 _ACAWK
   13454 _ACEOF
   13455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13456 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13457   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13458 else
   13459   cat
   13460 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13461   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   13462 _ACEOF
   13463 
   13464 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13465 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13466 # trailing colons and then remove the whole line if VPATH becomes empty
   13467 # (actually we leave an empty line to preserve line numbers).
   13468 if test "x$srcdir" = x.; then
   13469   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13470 s/:*\$(srcdir):*/:/
   13471 s/:*\${srcdir}:*/:/
   13472 s/:*@srcdir@:*/:/
   13473 s/^\([^=]*=[	 ]*\):*/\1/
   13474 s/:*$//
   13475 s/^[^=]*=[	 ]*$//
   13476 }'
   13477 fi
   13478 
   13479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13480 fi # test -n "$CONFIG_FILES"
   13481 
   13482 # Set up the scripts for CONFIG_HEADERS section.
   13483 # No need to generate them if there are no CONFIG_HEADERS.
   13484 # This happens for instance with `./config.status Makefile'.
   13485 if test -n "$CONFIG_HEADERS"; then
   13486 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13487 BEGIN {
   13488 _ACEOF
   13489 
   13490 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13491 # here-document in config.status, that substitutes the proper values into
   13492 # config.h.in to produce config.h.
   13493 
   13494 # Create a delimiter string that does not exist in confdefs.h, to ease
   13495 # handling of long lines.
   13496 ac_delim='%!_!# '
   13497 for ac_last_try in false false :; do
   13498   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13499   if test -z "$ac_t"; then
   13500     break
   13501   elif $ac_last_try; then
   13502     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   13503   else
   13504     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13505   fi
   13506 done
   13507 
   13508 # For the awk script, D is an array of macro values keyed by name,
   13509 # likewise P contains macro parameters if any.  Preserve backslash
   13510 # newline sequences.
   13511 
   13512 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13513 sed -n '
   13514 s/.\{148\}/&'"$ac_delim"'/g
   13515 t rset
   13516 :rset
   13517 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13518 t def
   13519 d
   13520 :def
   13521 s/\\$//
   13522 t bsnl
   13523 s/["\\]/\\&/g
   13524 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13525 D["\1"]=" \3"/p
   13526 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13527 d
   13528 :bsnl
   13529 s/["\\]/\\&/g
   13530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13531 D["\1"]=" \3\\\\\\n"\\/p
   13532 t cont
   13533 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13534 t cont
   13535 d
   13536 :cont
   13537 n
   13538 s/.\{148\}/&'"$ac_delim"'/g
   13539 t clear
   13540 :clear
   13541 s/\\$//
   13542 t bsnlc
   13543 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   13544 d
   13545 :bsnlc
   13546 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   13547 b cont
   13548 ' <confdefs.h | sed '
   13549 s/'"$ac_delim"'/"\\\
   13550 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   13551 
   13552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13553   for (key in D) D_is_set[key] = 1
   13554   FS = ""
   13555 }
   13556 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   13557   line = \$ 0
   13558   split(line, arg, " ")
   13559   if (arg[1] == "#") {
   13560     defundef = arg[2]
   13561     mac1 = arg[3]
   13562   } else {
   13563     defundef = substr(arg[1], 2)
   13564     mac1 = arg[2]
   13565   }
   13566   split(mac1, mac2, "(") #)
   13567   macro = mac2[1]
   13568   prefix = substr(line, 1, index(line, defundef) - 1)
   13569   if (D_is_set[macro]) {
   13570     # Preserve the white space surrounding the "#".
   13571     print prefix "define", macro P[macro] D[macro]
   13572     next
   13573   } else {
   13574     # Replace #undef with comments.  This is necessary, for example,
   13575     # in the case of _POSIX_SOURCE, which is predefined and required
   13576     # on some systems where configure will not decide to define it.
   13577     if (defundef == "undef") {
   13578       print "/*", prefix defundef, macro, "*/"
   13579       next
   13580     }
   13581   }
   13582 }
   13583 { print }
   13584 _ACAWK
   13585 _ACEOF
   13586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13587   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   13588 fi # test -n "$CONFIG_HEADERS"
   13589 
   13590 
   13591 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   13592 shift
   13593 for ac_tag
   13594 do
   13595   case $ac_tag in
   13596   :[FHLC]) ac_mode=$ac_tag; continue;;
   13597   esac
   13598   case $ac_mode$ac_tag in
   13599   :[FHL]*:*);;
   13600   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   13601   :[FH]-) ac_tag=-:-;;
   13602   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   13603   esac
   13604   ac_save_IFS=$IFS
   13605   IFS=:
   13606   set x $ac_tag
   13607   IFS=$ac_save_IFS
   13608   shift
   13609   ac_file=$1
   13610   shift
   13611 
   13612   case $ac_mode in
   13613   :L) ac_source=$1;;
   13614   :[FH])
   13615     ac_file_inputs=
   13616     for ac_f
   13617     do
   13618       case $ac_f in
   13619       -) ac_f="$tmp/stdin";;
   13620       *) # Look for the file first in the build tree, then in the source tree
   13621 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   13622 	 # because $ac_f cannot contain `:'.
   13623 	 test -f "$ac_f" ||
   13624 	   case $ac_f in
   13625 	   [\\/$]*) false;;
   13626 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   13627 	   esac ||
   13628 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   13629       esac
   13630       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   13631       as_fn_append ac_file_inputs " '$ac_f'"
   13632     done
   13633 
   13634     # Let's still pretend it is `configure' which instantiates (i.e., don't
   13635     # use $as_me), people would be surprised to read:
   13636     #    /* config.h.  Generated by config.status.  */
   13637     configure_input='Generated from '`
   13638 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   13639 	`' by configure.'
   13640     if test x"$ac_file" != x-; then
   13641       configure_input="$ac_file.  $configure_input"
   13642       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   13643 $as_echo "$as_me: creating $ac_file" >&6;}
   13644     fi
   13645     # Neutralize special characters interpreted by sed in replacement strings.
   13646     case $configure_input in #(
   13647     *\&* | *\|* | *\\* )
   13648        ac_sed_conf_input=`$as_echo "$configure_input" |
   13649        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   13650     *) ac_sed_conf_input=$configure_input;;
   13651     esac
   13652 
   13653     case $ac_tag in
   13654     *:-:* | *:-) cat >"$tmp/stdin" \
   13655       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   13656     esac
   13657     ;;
   13658   esac
   13659 
   13660   ac_dir=`$as_dirname -- "$ac_file" ||
   13661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13662 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   13663 	 X"$ac_file" : 'X\(//\)$' \| \
   13664 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   13665 $as_echo X"$ac_file" |
   13666     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13667 	    s//\1/
   13668 	    q
   13669 	  }
   13670 	  /^X\(\/\/\)[^/].*/{
   13671 	    s//\1/
   13672 	    q
   13673 	  }
   13674 	  /^X\(\/\/\)$/{
   13675 	    s//\1/
   13676 	    q
   13677 	  }
   13678 	  /^X\(\/\).*/{
   13679 	    s//\1/
   13680 	    q
   13681 	  }
   13682 	  s/.*/./; q'`
   13683   as_dir="$ac_dir"; as_fn_mkdir_p
   13684   ac_builddir=.
   13685 
   13686 case "$ac_dir" in
   13687 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13688 *)
   13689   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   13690   # A ".." for each directory in $ac_dir_suffix.
   13691   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   13692   case $ac_top_builddir_sub in
   13693   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   13694   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   13695   esac ;;
   13696 esac
   13697 ac_abs_top_builddir=$ac_pwd
   13698 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   13699 # for backward compatibility:
   13700 ac_top_builddir=$ac_top_build_prefix
   13701 
   13702 case $srcdir in
   13703   .)  # We are building in place.
   13704     ac_srcdir=.
   13705     ac_top_srcdir=$ac_top_builddir_sub
   13706     ac_abs_top_srcdir=$ac_pwd ;;
   13707   [\\/]* | ?:[\\/]* )  # Absolute name.
   13708     ac_srcdir=$srcdir$ac_dir_suffix;
   13709     ac_top_srcdir=$srcdir
   13710     ac_abs_top_srcdir=$srcdir ;;
   13711   *) # Relative name.
   13712     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   13713     ac_top_srcdir=$ac_top_build_prefix$srcdir
   13714     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   13715 esac
   13716 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   13717 
   13718 
   13719   case $ac_mode in
   13720   :F)
   13721   #
   13722   # CONFIG_FILE
   13723   #
   13724 
   13725   case $INSTALL in
   13726   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   13727   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   13728   esac
   13729   ac_MKDIR_P=$MKDIR_P
   13730   case $MKDIR_P in
   13731   [\\/$]* | ?:[\\/]* ) ;;
   13732   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   13733   esac
   13734 _ACEOF
   13735 
   13736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13737 # If the template does not know about datarootdir, expand it.
   13738 # FIXME: This hack should be removed a few years after 2.60.
   13739 ac_datarootdir_hack=; ac_datarootdir_seen=
   13740 ac_sed_dataroot='
   13741 /datarootdir/ {
   13742   p
   13743   q
   13744 }
   13745 /@datadir@/p
   13746 /@docdir@/p
   13747 /@infodir@/p
   13748 /@localedir@/p
   13749 /@mandir@/p'
   13750 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13751 *datarootdir*) ac_datarootdir_seen=yes;;
   13752 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13753   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13754 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13755 _ACEOF
   13756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13757   ac_datarootdir_hack='
   13758   s&@datadir@&$datadir&g
   13759   s&@docdir@&$docdir&g
   13760   s&@infodir@&$infodir&g
   13761   s&@localedir@&$localedir&g
   13762   s&@mandir@&$mandir&g
   13763   s&\\\${datarootdir}&$datarootdir&g' ;;
   13764 esac
   13765 _ACEOF
   13766 
   13767 # Neutralize VPATH when `$srcdir' = `.'.
   13768 # Shell code in configure.ac might set extrasub.
   13769 # FIXME: do we really want to maintain this feature?
   13770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13771 ac_sed_extra="$ac_vpsub
   13772 $extrasub
   13773 _ACEOF
   13774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13775 :t
   13776 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13777 s|@configure_input@|$ac_sed_conf_input|;t t
   13778 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13779 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13780 s&@srcdir@&$ac_srcdir&;t t
   13781 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13782 s&@top_srcdir@&$ac_top_srcdir&;t t
   13783 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13784 s&@builddir@&$ac_builddir&;t t
   13785 s&@abs_builddir@&$ac_abs_builddir&;t t
   13786 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13787 s&@INSTALL@&$ac_INSTALL&;t t
   13788 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13789 $ac_datarootdir_hack
   13790 "
   13791 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   13792   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13793 
   13794 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13795   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   13796   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   13797   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13798 which seems to be undefined.  Please make sure it is defined." >&5
   13799 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   13800 which seems to be undefined.  Please make sure it is defined." >&2;}
   13801 
   13802   rm -f "$tmp/stdin"
   13803   case $ac_file in
   13804   -) cat "$tmp/out" && rm -f "$tmp/out";;
   13805   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   13806   esac \
   13807   || as_fn_error "could not create $ac_file" "$LINENO" 5
   13808  ;;
   13809   :H)
   13810   #
   13811   # CONFIG_HEADER
   13812   #
   13813   if test x"$ac_file" != x-; then
   13814     {
   13815       $as_echo "/* $configure_input  */" \
   13816       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   13817     } >"$tmp/config.h" \
   13818       || as_fn_error "could not create $ac_file" "$LINENO" 5
   13819     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   13820       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13821 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   13822     else
   13823       rm -f "$ac_file"
   13824       mv "$tmp/config.h" "$ac_file" \
   13825 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   13826     fi
   13827   else
   13828     $as_echo "/* $configure_input  */" \
   13829       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   13830       || as_fn_error "could not create -" "$LINENO" 5
   13831   fi
   13832 # Compute "$ac_file"'s index in $config_headers.
   13833 _am_arg="$ac_file"
   13834 _am_stamp_count=1
   13835 for _am_header in $config_headers :; do
   13836   case $_am_header in
   13837     $_am_arg | $_am_arg:* )
   13838       break ;;
   13839     * )
   13840       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13841   esac
   13842 done
   13843 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13844 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13845 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13846 	 X"$_am_arg" : 'X\(//\)$' \| \
   13847 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13848 $as_echo X"$_am_arg" |
   13849     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13850 	    s//\1/
   13851 	    q
   13852 	  }
   13853 	  /^X\(\/\/\)[^/].*/{
   13854 	    s//\1/
   13855 	    q
   13856 	  }
   13857 	  /^X\(\/\/\)$/{
   13858 	    s//\1/
   13859 	    q
   13860 	  }
   13861 	  /^X\(\/\).*/{
   13862 	    s//\1/
   13863 	    q
   13864 	  }
   13865 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13866  ;;
   13867 
   13868   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13869 $as_echo "$as_me: executing $ac_file commands" >&6;}
   13870  ;;
   13871   esac
   13872 
   13873 
   13874   case $ac_file$ac_mode in
   13875     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13876   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   13877   # are listed without --file.  Let's play safe and only enable the eval
   13878   # if we detect the quoting.
   13879   case $CONFIG_FILES in
   13880   *\'*) eval set x "$CONFIG_FILES" ;;
   13881   *)   set x $CONFIG_FILES ;;
   13882   esac
   13883   shift
   13884   for mf
   13885   do
   13886     # Strip MF so we end up with the name of the file.
   13887     mf=`echo "$mf" | sed -e 's/:.*$//'`
   13888     # Check whether this is an Automake generated Makefile or not.
   13889     # We used to match only the files named `Makefile.in', but
   13890     # some people rename them; so instead we look at the file content.
   13891     # Grep'ing the first line is not enough: some people post-process
   13892     # each Makefile.in and add a new line on top of each file to say so.
   13893     # Grep'ing the whole file is not good either: AIX grep has a line
   13894     # limit of 2048, but all sed's we know have understand at least 4000.
   13895     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   13896       dirpart=`$as_dirname -- "$mf" ||
   13897 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13898 	 X"$mf" : 'X\(//\)[^/]' \| \
   13899 	 X"$mf" : 'X\(//\)$' \| \
   13900 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   13901 $as_echo X"$mf" |
   13902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13903 	    s//\1/
   13904 	    q
   13905 	  }
   13906 	  /^X\(\/\/\)[^/].*/{
   13907 	    s//\1/
   13908 	    q
   13909 	  }
   13910 	  /^X\(\/\/\)$/{
   13911 	    s//\1/
   13912 	    q
   13913 	  }
   13914 	  /^X\(\/\).*/{
   13915 	    s//\1/
   13916 	    q
   13917 	  }
   13918 	  s/.*/./; q'`
   13919     else
   13920       continue
   13921     fi
   13922     # Extract the definition of DEPDIR, am__include, and am__quote
   13923     # from the Makefile without running `make'.
   13924     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   13925     test -z "$DEPDIR" && continue
   13926     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   13927     test -z "am__include" && continue
   13928     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   13929     # When using ansi2knr, U may be empty or an underscore; expand it
   13930     U=`sed -n 's/^U = //p' < "$mf"`
   13931     # Find all dependency output files, they are included files with
   13932     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   13933     # simplest approach to changing $(DEPDIR) to its actual value in the
   13934     # expansion.
   13935     for file in `sed -n "
   13936       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   13937 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   13938       # Make sure the directory exists.
   13939       test -f "$dirpart/$file" && continue
   13940       fdir=`$as_dirname -- "$file" ||
   13941 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13942 	 X"$file" : 'X\(//\)[^/]' \| \
   13943 	 X"$file" : 'X\(//\)$' \| \
   13944 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   13945 $as_echo X"$file" |
   13946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13947 	    s//\1/
   13948 	    q
   13949 	  }
   13950 	  /^X\(\/\/\)[^/].*/{
   13951 	    s//\1/
   13952 	    q
   13953 	  }
   13954 	  /^X\(\/\/\)$/{
   13955 	    s//\1/
   13956 	    q
   13957 	  }
   13958 	  /^X\(\/\).*/{
   13959 	    s//\1/
   13960 	    q
   13961 	  }
   13962 	  s/.*/./; q'`
   13963       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   13964       # echo "creating $dirpart/$file"
   13965       echo '# dummy' > "$dirpart/$file"
   13966     done
   13967   done
   13968 }
   13969  ;;
   13970     "libtool":C)
   13971 
   13972     # See if we are running on zsh, and set the options which allow our
   13973     # commands through without removal of \ escapes.
   13974     if test -n "${ZSH_VERSION+set}" ; then
   13975       setopt NO_GLOB_SUBST
   13976     fi
   13977 
   13978     cfgfile="${ofile}T"
   13979     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   13980     $RM "$cfgfile"
   13981 
   13982     cat <<_LT_EOF >> "$cfgfile"
   13983 #! $SHELL
   13984 
   13985 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   13986 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   13987 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13988 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   13989 #
   13990 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   13991 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   13992 #   Written by Gordon Matzigkeit, 1996
   13993 #
   13994 #   This file is part of GNU Libtool.
   13995 #
   13996 # GNU Libtool is free software; you can redistribute it and/or
   13997 # modify it under the terms of the GNU General Public License as
   13998 # published by the Free Software Foundation; either version 2 of
   13999 # the License, or (at your option) any later version.
   14000 #
   14001 # As a special exception to the GNU General Public License,
   14002 # if you distribute this file as part of a program or library that
   14003 # is built using GNU Libtool, you may include this file under the
   14004 # same distribution terms that you use for the rest of that program.
   14005 #
   14006 # GNU Libtool is distributed in the hope that it will be useful,
   14007 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14008 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14009 # GNU General Public License for more details.
   14010 #
   14011 # You should have received a copy of the GNU General Public License
   14012 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14013 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14014 # obtained by writing to the Free Software Foundation, Inc.,
   14015 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14016 
   14017 
   14018 # The names of the tagged configurations supported by this script.
   14019 available_tags=""
   14020 
   14021 # ### BEGIN LIBTOOL CONFIG
   14022 
   14023 # Whether or not to build static libraries.
   14024 build_old_libs=$enable_static
   14025 
   14026 # Which release of libtool.m4 was used?
   14027 macro_version=$macro_version
   14028 macro_revision=$macro_revision
   14029 
   14030 # Whether or not to build shared libraries.
   14031 build_libtool_libs=$enable_shared
   14032 
   14033 # What type of objects to build.
   14034 pic_mode=$pic_mode
   14035 
   14036 # Whether or not to optimize for fast installation.
   14037 fast_install=$enable_fast_install
   14038 
   14039 # The host system.
   14040 host_alias=$host_alias
   14041 host=$host
   14042 host_os=$host_os
   14043 
   14044 # The build system.
   14045 build_alias=$build_alias
   14046 build=$build
   14047 build_os=$build_os
   14048 
   14049 # A sed program that does not truncate output.
   14050 SED=$lt_SED
   14051 
   14052 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14053 Xsed="\$SED -e 1s/^X//"
   14054 
   14055 # A grep program that handles long lines.
   14056 GREP=$lt_GREP
   14057 
   14058 # An ERE matcher.
   14059 EGREP=$lt_EGREP
   14060 
   14061 # A literal string matcher.
   14062 FGREP=$lt_FGREP
   14063 
   14064 # A BSD- or MS-compatible name lister.
   14065 NM=$lt_NM
   14066 
   14067 # Whether we need soft or hard links.
   14068 LN_S=$lt_LN_S
   14069 
   14070 # What is the maximum length of a command?
   14071 max_cmd_len=$max_cmd_len
   14072 
   14073 # Object file suffix (normally "o").
   14074 objext=$ac_objext
   14075 
   14076 # Executable file suffix (normally "").
   14077 exeext=$exeext
   14078 
   14079 # whether the shell understands "unset".
   14080 lt_unset=$lt_unset
   14081 
   14082 # turn spaces into newlines.
   14083 SP2NL=$lt_lt_SP2NL
   14084 
   14085 # turn newlines into spaces.
   14086 NL2SP=$lt_lt_NL2SP
   14087 
   14088 # How to create reloadable object files.
   14089 reload_flag=$lt_reload_flag
   14090 reload_cmds=$lt_reload_cmds
   14091 
   14092 # An object symbol dumper.
   14093 OBJDUMP=$lt_OBJDUMP
   14094 
   14095 # Method to check whether dependent libraries are shared objects.
   14096 deplibs_check_method=$lt_deplibs_check_method
   14097 
   14098 # Command to use when deplibs_check_method == "file_magic".
   14099 file_magic_cmd=$lt_file_magic_cmd
   14100 
   14101 # The archiver.
   14102 AR=$lt_AR
   14103 AR_FLAGS=$lt_AR_FLAGS
   14104 
   14105 # A symbol stripping program.
   14106 STRIP=$lt_STRIP
   14107 
   14108 # Commands used to install an old-style archive.
   14109 RANLIB=$lt_RANLIB
   14110 old_postinstall_cmds=$lt_old_postinstall_cmds
   14111 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14112 
   14113 # A C compiler.
   14114 LTCC=$lt_CC
   14115 
   14116 # LTCC compiler flags.
   14117 LTCFLAGS=$lt_CFLAGS
   14118 
   14119 # Take the output of nm and produce a listing of raw symbols and C names.
   14120 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14121 
   14122 # Transform the output of nm in a proper C declaration.
   14123 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14124 
   14125 # Transform the output of nm in a C name address pair.
   14126 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14127 
   14128 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14129 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14130 
   14131 # The name of the directory that contains temporary libtool files.
   14132 objdir=$objdir
   14133 
   14134 # Shell to use when invoking shell scripts.
   14135 SHELL=$lt_SHELL
   14136 
   14137 # An echo program that does not interpret backslashes.
   14138 ECHO=$lt_ECHO
   14139 
   14140 # Used to examine libraries when file_magic_cmd begins with "file".
   14141 MAGIC_CMD=$MAGIC_CMD
   14142 
   14143 # Must we lock files when doing compilation?
   14144 need_locks=$lt_need_locks
   14145 
   14146 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14147 DSYMUTIL=$lt_DSYMUTIL
   14148 
   14149 # Tool to change global to local symbols on Mac OS X.
   14150 NMEDIT=$lt_NMEDIT
   14151 
   14152 # Tool to manipulate fat objects and archives on Mac OS X.
   14153 LIPO=$lt_LIPO
   14154 
   14155 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14156 OTOOL=$lt_OTOOL
   14157 
   14158 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14159 OTOOL64=$lt_OTOOL64
   14160 
   14161 # Old archive suffix (normally "a").
   14162 libext=$libext
   14163 
   14164 # Shared library suffix (normally ".so").
   14165 shrext_cmds=$lt_shrext_cmds
   14166 
   14167 # The commands to extract the exported symbol list from a shared archive.
   14168 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14169 
   14170 # Variables whose values should be saved in libtool wrapper scripts and
   14171 # restored at link time.
   14172 variables_saved_for_relink=$lt_variables_saved_for_relink
   14173 
   14174 # Do we need the "lib" prefix for modules?
   14175 need_lib_prefix=$need_lib_prefix
   14176 
   14177 # Do we need a version for libraries?
   14178 need_version=$need_version
   14179 
   14180 # Library versioning type.
   14181 version_type=$version_type
   14182 
   14183 # Shared library runtime path variable.
   14184 runpath_var=$runpath_var
   14185 
   14186 # Shared library path variable.
   14187 shlibpath_var=$shlibpath_var
   14188 
   14189 # Is shlibpath searched before the hard-coded library search path?
   14190 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14191 
   14192 # Format of library name prefix.
   14193 libname_spec=$lt_libname_spec
   14194 
   14195 # List of archive names.  First name is the real one, the rest are links.
   14196 # The last name is the one that the linker finds with -lNAME
   14197 library_names_spec=$lt_library_names_spec
   14198 
   14199 # The coded name of the library, if different from the real name.
   14200 soname_spec=$lt_soname_spec
   14201 
   14202 # Command to use after installation of a shared archive.
   14203 postinstall_cmds=$lt_postinstall_cmds
   14204 
   14205 # Command to use after uninstallation of a shared archive.
   14206 postuninstall_cmds=$lt_postuninstall_cmds
   14207 
   14208 # Commands used to finish a libtool library installation in a directory.
   14209 finish_cmds=$lt_finish_cmds
   14210 
   14211 # As "finish_cmds", except a single script fragment to be evaled but
   14212 # not shown.
   14213 finish_eval=$lt_finish_eval
   14214 
   14215 # Whether we should hardcode library paths into libraries.
   14216 hardcode_into_libs=$hardcode_into_libs
   14217 
   14218 # Compile-time system search path for libraries.
   14219 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14220 
   14221 # Run-time system search path for libraries.
   14222 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14223 
   14224 # Whether dlopen is supported.
   14225 dlopen_support=$enable_dlopen
   14226 
   14227 # Whether dlopen of programs is supported.
   14228 dlopen_self=$enable_dlopen_self
   14229 
   14230 # Whether dlopen of statically linked programs is supported.
   14231 dlopen_self_static=$enable_dlopen_self_static
   14232 
   14233 # Commands to strip libraries.
   14234 old_striplib=$lt_old_striplib
   14235 striplib=$lt_striplib
   14236 
   14237 
   14238 # The linker used to build libraries.
   14239 LD=$lt_LD
   14240 
   14241 # Commands used to build an old-style archive.
   14242 old_archive_cmds=$lt_old_archive_cmds
   14243 
   14244 # A language specific compiler.
   14245 CC=$lt_compiler
   14246 
   14247 # Is the compiler the GNU compiler?
   14248 with_gcc=$GCC
   14249 
   14250 # Compiler flag to turn off builtin functions.
   14251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14252 
   14253 # How to pass a linker flag through the compiler.
   14254 wl=$lt_lt_prog_compiler_wl
   14255 
   14256 # Additional compiler flags for building library objects.
   14257 pic_flag=$lt_lt_prog_compiler_pic
   14258 
   14259 # Compiler flag to prevent dynamic linking.
   14260 link_static_flag=$lt_lt_prog_compiler_static
   14261 
   14262 # Does compiler simultaneously support -c and -o options?
   14263 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14264 
   14265 # Whether or not to add -lc for building shared libraries.
   14266 build_libtool_need_lc=$archive_cmds_need_lc
   14267 
   14268 # Whether or not to disallow shared libs when runtime libs are static.
   14269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14270 
   14271 # Compiler flag to allow reflexive dlopens.
   14272 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14273 
   14274 # Compiler flag to generate shared objects directly from archives.
   14275 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14276 
   14277 # Whether the compiler copes with passing no objects directly.
   14278 compiler_needs_object=$lt_compiler_needs_object
   14279 
   14280 # Create an old-style archive from a shared archive.
   14281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14282 
   14283 # Create a temporary old-style archive to link instead of a shared archive.
   14284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14285 
   14286 # Commands used to build a shared archive.
   14287 archive_cmds=$lt_archive_cmds
   14288 archive_expsym_cmds=$lt_archive_expsym_cmds
   14289 
   14290 # Commands used to build a loadable module if different from building
   14291 # a shared archive.
   14292 module_cmds=$lt_module_cmds
   14293 module_expsym_cmds=$lt_module_expsym_cmds
   14294 
   14295 # Whether we are building with GNU ld or not.
   14296 with_gnu_ld=$lt_with_gnu_ld
   14297 
   14298 # Flag that allows shared libraries with undefined symbols to be built.
   14299 allow_undefined_flag=$lt_allow_undefined_flag
   14300 
   14301 # Flag that enforces no undefined symbols.
   14302 no_undefined_flag=$lt_no_undefined_flag
   14303 
   14304 # Flag to hardcode \$libdir into a binary during linking.
   14305 # This must work even if \$libdir does not exist
   14306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14307 
   14308 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14309 # during linking.  This must work even if \$libdir does not exist.
   14310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14311 
   14312 # Whether we need a single "-rpath" flag with a separated argument.
   14313 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14314 
   14315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14316 # DIR into the resulting binary.
   14317 hardcode_direct=$hardcode_direct
   14318 
   14319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14320 # DIR into the resulting binary and the resulting library dependency is
   14321 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14322 # library is relocated.
   14323 hardcode_direct_absolute=$hardcode_direct_absolute
   14324 
   14325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14326 # into the resulting binary.
   14327 hardcode_minus_L=$hardcode_minus_L
   14328 
   14329 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14330 # into the resulting binary.
   14331 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14332 
   14333 # Set to "yes" if building a shared library automatically hardcodes DIR
   14334 # into the library and all subsequent libraries and executables linked
   14335 # against it.
   14336 hardcode_automatic=$hardcode_automatic
   14337 
   14338 # Set to yes if linker adds runtime paths of dependent libraries
   14339 # to runtime path list.
   14340 inherit_rpath=$inherit_rpath
   14341 
   14342 # Whether libtool must link a program against all its dependency libraries.
   14343 link_all_deplibs=$link_all_deplibs
   14344 
   14345 # Fix the shell variable \$srcfile for the compiler.
   14346 fix_srcfile_path=$lt_fix_srcfile_path
   14347 
   14348 # Set to "yes" if exported symbols are required.
   14349 always_export_symbols=$always_export_symbols
   14350 
   14351 # The commands to list exported symbols.
   14352 export_symbols_cmds=$lt_export_symbols_cmds
   14353 
   14354 # Symbols that should not be listed in the preloaded symbols.
   14355 exclude_expsyms=$lt_exclude_expsyms
   14356 
   14357 # Symbols that must always be exported.
   14358 include_expsyms=$lt_include_expsyms
   14359 
   14360 # Commands necessary for linking programs (against libraries) with templates.
   14361 prelink_cmds=$lt_prelink_cmds
   14362 
   14363 # Specify filename containing input files.
   14364 file_list_spec=$lt_file_list_spec
   14365 
   14366 # How to hardcode a shared library path into an executable.
   14367 hardcode_action=$hardcode_action
   14368 
   14369 # ### END LIBTOOL CONFIG
   14370 
   14371 _LT_EOF
   14372 
   14373   case $host_os in
   14374   aix3*)
   14375     cat <<\_LT_EOF >> "$cfgfile"
   14376 # AIX sometimes has problems with the GCC collect2 program.  For some
   14377 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14378 # vanish in a puff of smoke.
   14379 if test "X${COLLECT_NAMES+set}" != Xset; then
   14380   COLLECT_NAMES=
   14381   export COLLECT_NAMES
   14382 fi
   14383 _LT_EOF
   14384     ;;
   14385   esac
   14386 
   14387 
   14388 ltmain="$ac_aux_dir/ltmain.sh"
   14389 
   14390 
   14391   # We use sed instead of cat because bash on DJGPP gets confused if
   14392   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14393   # text mode, it properly converts lines to CR/LF.  This bash problem
   14394   # is reportedly fixed, but why not run on old versions too?
   14395   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14396     || (rm -f "$cfgfile"; exit 1)
   14397 
   14398   case $xsi_shell in
   14399   yes)
   14400     cat << \_LT_EOF >> "$cfgfile"
   14401 
   14402 # func_dirname file append nondir_replacement
   14403 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14404 # otherwise set result to NONDIR_REPLACEMENT.
   14405 func_dirname ()
   14406 {
   14407   case ${1} in
   14408     */*) func_dirname_result="${1%/*}${2}" ;;
   14409     *  ) func_dirname_result="${3}" ;;
   14410   esac
   14411 }
   14412 
   14413 # func_basename file
   14414 func_basename ()
   14415 {
   14416   func_basename_result="${1##*/}"
   14417 }
   14418 
   14419 # func_dirname_and_basename file append nondir_replacement
   14420 # perform func_basename and func_dirname in a single function
   14421 # call:
   14422 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14423 #             add APPEND to the result, otherwise set result
   14424 #             to NONDIR_REPLACEMENT.
   14425 #             value returned in "$func_dirname_result"
   14426 #   basename: Compute filename of FILE.
   14427 #             value retuned in "$func_basename_result"
   14428 # Implementation must be kept synchronized with func_dirname
   14429 # and func_basename. For efficiency, we do not delegate to
   14430 # those functions but instead duplicate the functionality here.
   14431 func_dirname_and_basename ()
   14432 {
   14433   case ${1} in
   14434     */*) func_dirname_result="${1%/*}${2}" ;;
   14435     *  ) func_dirname_result="${3}" ;;
   14436   esac
   14437   func_basename_result="${1##*/}"
   14438 }
   14439 
   14440 # func_stripname prefix suffix name
   14441 # strip PREFIX and SUFFIX off of NAME.
   14442 # PREFIX and SUFFIX must not contain globbing or regex special
   14443 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14444 # dot (in which case that matches only a dot).
   14445 func_stripname ()
   14446 {
   14447   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   14448   # positional parameters, so assign one to ordinary parameter first.
   14449   func_stripname_result=${3}
   14450   func_stripname_result=${func_stripname_result#"${1}"}
   14451   func_stripname_result=${func_stripname_result%"${2}"}
   14452 }
   14453 
   14454 # func_opt_split
   14455 func_opt_split ()
   14456 {
   14457   func_opt_split_opt=${1%%=*}
   14458   func_opt_split_arg=${1#*=}
   14459 }
   14460 
   14461 # func_lo2o object
   14462 func_lo2o ()
   14463 {
   14464   case ${1} in
   14465     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   14466     *)    func_lo2o_result=${1} ;;
   14467   esac
   14468 }
   14469 
   14470 # func_xform libobj-or-source
   14471 func_xform ()
   14472 {
   14473   func_xform_result=${1%.*}.lo
   14474 }
   14475 
   14476 # func_arith arithmetic-term...
   14477 func_arith ()
   14478 {
   14479   func_arith_result=$(( $* ))
   14480 }
   14481 
   14482 # func_len string
   14483 # STRING may not start with a hyphen.
   14484 func_len ()
   14485 {
   14486   func_len_result=${#1}
   14487 }
   14488 
   14489 _LT_EOF
   14490     ;;
   14491   *) # Bourne compatible functions.
   14492     cat << \_LT_EOF >> "$cfgfile"
   14493 
   14494 # func_dirname file append nondir_replacement
   14495 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14496 # otherwise set result to NONDIR_REPLACEMENT.
   14497 func_dirname ()
   14498 {
   14499   # Extract subdirectory from the argument.
   14500   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   14501   if test "X$func_dirname_result" = "X${1}"; then
   14502     func_dirname_result="${3}"
   14503   else
   14504     func_dirname_result="$func_dirname_result${2}"
   14505   fi
   14506 }
   14507 
   14508 # func_basename file
   14509 func_basename ()
   14510 {
   14511   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   14512 }
   14513 
   14514 
   14515 # func_stripname prefix suffix name
   14516 # strip PREFIX and SUFFIX off of NAME.
   14517 # PREFIX and SUFFIX must not contain globbing or regex special
   14518 # characters, hashes, percent signs, but SUFFIX may contain a leading
   14519 # dot (in which case that matches only a dot).
   14520 # func_strip_suffix prefix name
   14521 func_stripname ()
   14522 {
   14523   case ${2} in
   14524     .*) func_stripname_result=`$ECHO "X${3}" \
   14525            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   14526     *)  func_stripname_result=`$ECHO "X${3}" \
   14527            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   14528   esac
   14529 }
   14530 
   14531 # sed scripts:
   14532 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   14533 my_sed_long_arg='1s/^-[^=]*=//'
   14534 
   14535 # func_opt_split
   14536 func_opt_split ()
   14537 {
   14538   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   14539   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   14540 }
   14541 
   14542 # func_lo2o object
   14543 func_lo2o ()
   14544 {
   14545   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   14546 }
   14547 
   14548 # func_xform libobj-or-source
   14549 func_xform ()
   14550 {
   14551   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   14552 }
   14553 
   14554 # func_arith arithmetic-term...
   14555 func_arith ()
   14556 {
   14557   func_arith_result=`expr "$@"`
   14558 }
   14559 
   14560 # func_len string
   14561 # STRING may not start with a hyphen.
   14562 func_len ()
   14563 {
   14564   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   14565 }
   14566 
   14567 _LT_EOF
   14568 esac
   14569 
   14570 case $lt_shell_append in
   14571   yes)
   14572     cat << \_LT_EOF >> "$cfgfile"
   14573 
   14574 # func_append var value
   14575 # Append VALUE to the end of shell variable VAR.
   14576 func_append ()
   14577 {
   14578   eval "$1+=\$2"
   14579 }
   14580 _LT_EOF
   14581     ;;
   14582   *)
   14583     cat << \_LT_EOF >> "$cfgfile"
   14584 
   14585 # func_append var value
   14586 # Append VALUE to the end of shell variable VAR.
   14587 func_append ()
   14588 {
   14589   eval "$1=\$$1\$2"
   14590 }
   14591 
   14592 _LT_EOF
   14593     ;;
   14594   esac
   14595 
   14596 
   14597   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   14598     || (rm -f "$cfgfile"; exit 1)
   14599 
   14600   mv -f "$cfgfile" "$ofile" ||
   14601     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   14602   chmod +x "$ofile"
   14603 
   14604  ;;
   14605 
   14606   esac
   14607 done # for ac_tag
   14608 
   14609 
   14610 as_fn_exit 0
   14611 _ACEOF
   14612 ac_clean_files=$ac_clean_files_save
   14613 
   14614 test $ac_write_fail = 0 ||
   14615   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   14616 
   14617 
   14618 # configure is writing to config.log, and then calls config.status.
   14619 # config.status does its own redirection, appending to config.log.
   14620 # Unfortunately, on DOS this fails, as config.log is still kept open
   14621 # by configure, so config.status won't be able to write to it; its
   14622 # output is simply discarded.  So we exec the FD to /dev/null,
   14623 # effectively closing config.log, so it can be properly (re)opened and
   14624 # appended to by config.status.  When coming back to configure, we
   14625 # need to make the FD available again.
   14626 if test "$no_create" != yes; then
   14627   ac_cs_success=:
   14628   ac_config_status_args=
   14629   test "$silent" = yes &&
   14630     ac_config_status_args="$ac_config_status_args --quiet"
   14631   exec 5>/dev/null
   14632   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14633   exec 5>>config.log
   14634   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14635   # would make configure fail if this is the last instruction.
   14636   $ac_cs_success || as_fn_exit $?
   14637 fi
   14638 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   14639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   14640 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   14641 fi
   14642 
   14643