Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-vesa 2.2.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$lt_ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 ECHO=${lt_ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $ECHO works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<_LT_EOF
    606 $*
    607 _LT_EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$lt_ECHO"; then
    616   if test "X${echo_test_string+set}" != Xset; then
    617     # find a string as large as possible, as long as the shell can cope with it
    618     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    621 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    622       then
    623         break
    624       fi
    625     done
    626   fi
    627 
    628   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    629      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    630      test "X$echo_testing_string" = "X$echo_test_string"; then
    631     :
    632   else
    633     # The Solaris, AIX, and Digital Unix default echo programs unquote
    634     # backslashes.  This makes it impossible to quote backslashes using
    635     #   echo "$something" | sed 's/\\/\\\\/g'
    636     #
    637     # So, first we look for a working echo in the user's PATH.
    638 
    639     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    640     for dir in $PATH /usr/ucb; do
    641       IFS="$lt_save_ifs"
    642       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    643          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    644          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    645          test "X$echo_testing_string" = "X$echo_test_string"; then
    646         ECHO="$dir/echo"
    647         break
    648       fi
    649     done
    650     IFS="$lt_save_ifs"
    651 
    652     if test "X$ECHO" = Xecho; then
    653       # We didn't find a better echo, so look for alternatives.
    654       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    655          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    656          test "X$echo_testing_string" = "X$echo_test_string"; then
    657         # This shell has a builtin print -r that does the trick.
    658         ECHO='print -r'
    659       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    660 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    661         # If we have ksh, try running configure again with it.
    662         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    663         export ORIGINAL_CONFIG_SHELL
    664         CONFIG_SHELL=/bin/ksh
    665         export CONFIG_SHELL
    666         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    667       else
    668         # Try using printf.
    669         ECHO='printf %s\n'
    670         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    671 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    672 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    673 	  # Cool, printf works
    674 	  :
    675         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    676 	     test "X$echo_testing_string" = 'X\t' &&
    677 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    678 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    679 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    680 	  export CONFIG_SHELL
    681 	  SHELL="$CONFIG_SHELL"
    682 	  export SHELL
    683 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    684         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    685 	     test "X$echo_testing_string" = 'X\t' &&
    686 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    687 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    688 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    689         else
    690 	  # maybe with a smaller string...
    691 	  prev=:
    692 
    693 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    694 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    695 	    then
    696 	      break
    697 	    fi
    698 	    prev="$cmd"
    699 	  done
    700 
    701 	  if test "$prev" != 'sed 50q "$0"'; then
    702 	    echo_test_string=`eval $prev`
    703 	    export echo_test_string
    704 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    705 	  else
    706 	    # Oops.  We lost completely, so just stick with echo.
    707 	    ECHO=echo
    708 	  fi
    709         fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 
    715 # Copy echo and quote the copy suitably for passing to libtool from
    716 # the Makefile, instead of quoting the original, which is used later.
    717 lt_ECHO=$ECHO
    718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    719    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    720 fi
    721 
    722 
    723 
    724 
    725 exec 7<&0 </dev/null 6>&1
    726 
    727 # Name of the host.
    728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    729 # so uname gets run too.
    730 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    731 
    732 #
    733 # Initializations.
    734 #
    735 ac_default_prefix=/usr/local
    736 ac_clean_files=
    737 ac_config_libobj_dir=.
    738 LIBOBJS=
    739 cross_compiling=no
    740 subdirs=
    741 MFLAGS=
    742 MAKEFLAGS=
    743 SHELL=${CONFIG_SHELL-/bin/sh}
    744 
    745 # Identity of this package.
    746 PACKAGE_NAME='xf86-video-vesa'
    747 PACKAGE_TARNAME='xf86-video-vesa'
    748 PACKAGE_VERSION='2.2.0'
    749 PACKAGE_STRING='xf86-video-vesa 2.2.0'
    750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    751 
    752 ac_unique_file="Makefile.am"
    753 # Factoring default headers for most tests.
    754 ac_includes_default="\
    755 #include <stdio.h>
    756 #ifdef HAVE_SYS_TYPES_H
    757 # include <sys/types.h>
    758 #endif
    759 #ifdef HAVE_SYS_STAT_H
    760 # include <sys/stat.h>
    761 #endif
    762 #ifdef STDC_HEADERS
    763 # include <stdlib.h>
    764 # include <stddef.h>
    765 #else
    766 # ifdef HAVE_STDLIB_H
    767 #  include <stdlib.h>
    768 # endif
    769 #endif
    770 #ifdef HAVE_STRING_H
    771 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    772 #  include <memory.h>
    773 # endif
    774 # include <string.h>
    775 #endif
    776 #ifdef HAVE_STRINGS_H
    777 # include <strings.h>
    778 #endif
    779 #ifdef HAVE_INTTYPES_H
    780 # include <inttypes.h>
    781 #endif
    782 #ifdef HAVE_STDINT_H
    783 # include <stdint.h>
    784 #endif
    785 #ifdef HAVE_UNISTD_H
    786 # include <unistd.h>
    787 #endif"
    788 
    789 ac_subst_vars='LTLIBOBJS
    790 LIBOBJS
    791 ADMIN_MAN_DIR
    792 DRIVER_MAN_DIR
    793 MISC_MAN_DIR
    794 FILE_MAN_DIR
    795 LIB_MAN_DIR
    796 APP_MAN_DIR
    797 ADMIN_MAN_SUFFIX
    798 DRIVER_MAN_SUFFIX
    799 MISC_MAN_SUFFIX
    800 FILE_MAN_SUFFIX
    801 LIB_MAN_SUFFIX
    802 APP_MAN_SUFFIX
    803 DRIVER_NAME
    804 INCLUDES
    805 XSERVER_LIBPCIACCESS_FALSE
    806 XSERVER_LIBPCIACCESS_TRUE
    807 PCIACCESS_LIBS
    808 PCIACCESS_CFLAGS
    809 XORG_LIBS
    810 XORG_CFLAGS
    811 PKG_CONFIG
    812 moduledir
    813 CPP
    814 OTOOL64
    815 OTOOL
    816 LIPO
    817 NMEDIT
    818 DSYMUTIL
    819 lt_ECHO
    820 RANLIB
    821 AR
    822 OBJDUMP
    823 LN_S
    824 NM
    825 ac_ct_DUMPBIN
    826 DUMPBIN
    827 LD
    828 FGREP
    829 EGREP
    830 GREP
    831 SED
    832 am__fastdepCC_FALSE
    833 am__fastdepCC_TRUE
    834 CCDEPMODE
    835 AMDEPBACKSLASH
    836 AMDEP_FALSE
    837 AMDEP_TRUE
    838 am__quote
    839 am__include
    840 DEPDIR
    841 OBJEXT
    842 EXEEXT
    843 ac_ct_CC
    844 CPPFLAGS
    845 LDFLAGS
    846 CFLAGS
    847 CC
    848 host_os
    849 host_vendor
    850 host_cpu
    851 host
    852 build_os
    853 build_vendor
    854 build_cpu
    855 build
    856 LIBTOOL
    857 MAINT
    858 MAINTAINER_MODE_FALSE
    859 MAINTAINER_MODE_TRUE
    860 am__untar
    861 am__tar
    862 AMTAR
    863 am__leading_dot
    864 SET_MAKE
    865 AWK
    866 mkdir_p
    867 MKDIR_P
    868 INSTALL_STRIP_PROGRAM
    869 STRIP
    870 install_sh
    871 MAKEINFO
    872 AUTOHEADER
    873 AUTOMAKE
    874 AUTOCONF
    875 ACLOCAL
    876 VERSION
    877 PACKAGE
    878 CYGPATH_W
    879 am__isrc
    880 INSTALL_DATA
    881 INSTALL_SCRIPT
    882 INSTALL_PROGRAM
    883 target_alias
    884 host_alias
    885 build_alias
    886 LIBS
    887 ECHO_T
    888 ECHO_N
    889 ECHO_C
    890 DEFS
    891 mandir
    892 localedir
    893 libdir
    894 psdir
    895 pdfdir
    896 dvidir
    897 htmldir
    898 infodir
    899 docdir
    900 oldincludedir
    901 includedir
    902 localstatedir
    903 sharedstatedir
    904 sysconfdir
    905 datadir
    906 datarootdir
    907 libexecdir
    908 sbindir
    909 bindir
    910 program_transform_name
    911 prefix
    912 exec_prefix
    913 PACKAGE_BUGREPORT
    914 PACKAGE_STRING
    915 PACKAGE_VERSION
    916 PACKAGE_TARNAME
    917 PACKAGE_NAME
    918 PATH_SEPARATOR
    919 SHELL'
    920 ac_subst_files=''
    921 ac_user_opts='
    922 enable_option_checking
    923 enable_maintainer_mode
    924 enable_static
    925 enable_shared
    926 with_pic
    927 enable_fast_install
    928 enable_dependency_tracking
    929 with_gnu_ld
    930 enable_libtool_lock
    931 with_xorg_module_dir
    932 with_release_version
    933 '
    934       ac_precious_vars='build_alias
    935 host_alias
    936 target_alias
    937 CC
    938 CFLAGS
    939 LDFLAGS
    940 LIBS
    941 CPPFLAGS
    942 CPP
    943 PKG_CONFIG
    944 XORG_CFLAGS
    945 XORG_LIBS
    946 PCIACCESS_CFLAGS
    947 PCIACCESS_LIBS'
    948 
    949 
    950 # Initialize some variables set by options.
    951 ac_init_help=
    952 ac_init_version=false
    953 ac_unrecognized_opts=
    954 ac_unrecognized_sep=
    955 # The variables have the same names as the options, with
    956 # dashes changed to underlines.
    957 cache_file=/dev/null
    958 exec_prefix=NONE
    959 no_create=
    960 no_recursion=
    961 prefix=NONE
    962 program_prefix=NONE
    963 program_suffix=NONE
    964 program_transform_name=s,x,x,
    965 silent=
    966 site=
    967 srcdir=
    968 verbose=
    969 x_includes=NONE
    970 x_libraries=NONE
    971 
    972 # Installation directory options.
    973 # These are left unexpanded so users can "make install exec_prefix=/foo"
    974 # and all the variables that are supposed to be based on exec_prefix
    975 # by default will actually change.
    976 # Use braces instead of parens because sh, perl, etc. also accept them.
    977 # (The list follows the same order as the GNU Coding Standards.)
    978 bindir='${exec_prefix}/bin'
    979 sbindir='${exec_prefix}/sbin'
    980 libexecdir='${exec_prefix}/libexec'
    981 datarootdir='${prefix}/share'
    982 datadir='${datarootdir}'
    983 sysconfdir='${prefix}/etc'
    984 sharedstatedir='${prefix}/com'
    985 localstatedir='${prefix}/var'
    986 includedir='${prefix}/include'
    987 oldincludedir='/usr/include'
    988 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    989 infodir='${datarootdir}/info'
    990 htmldir='${docdir}'
    991 dvidir='${docdir}'
    992 pdfdir='${docdir}'
    993 psdir='${docdir}'
    994 libdir='${exec_prefix}/lib'
    995 localedir='${datarootdir}/locale'
    996 mandir='${datarootdir}/man'
    997 
    998 ac_prev=
    999 ac_dashdash=
   1000 for ac_option
   1001 do
   1002   # If the previous option needs an argument, assign it.
   1003   if test -n "$ac_prev"; then
   1004     eval $ac_prev=\$ac_option
   1005     ac_prev=
   1006     continue
   1007   fi
   1008 
   1009   case $ac_option in
   1010   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1011   *)	ac_optarg=yes ;;
   1012   esac
   1013 
   1014   # Accept the important Cygnus configure options, so we can diagnose typos.
   1015 
   1016   case $ac_dashdash$ac_option in
   1017   --)
   1018     ac_dashdash=yes ;;
   1019 
   1020   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1021     ac_prev=bindir ;;
   1022   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1023     bindir=$ac_optarg ;;
   1024 
   1025   -build | --build | --buil | --bui | --bu)
   1026     ac_prev=build_alias ;;
   1027   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1028     build_alias=$ac_optarg ;;
   1029 
   1030   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1031   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1032     ac_prev=cache_file ;;
   1033   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1034   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1035     cache_file=$ac_optarg ;;
   1036 
   1037   --config-cache | -C)
   1038     cache_file=config.cache ;;
   1039 
   1040   -datadir | --datadir | --datadi | --datad)
   1041     ac_prev=datadir ;;
   1042   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1043     datadir=$ac_optarg ;;
   1044 
   1045   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1046   | --dataroo | --dataro | --datar)
   1047     ac_prev=datarootdir ;;
   1048   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1049   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1050     datarootdir=$ac_optarg ;;
   1051 
   1052   -disable-* | --disable-*)
   1053     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1054     # Reject names that are not valid shell variable names.
   1055     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1056       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1057    { (exit 1); exit 1; }; }
   1058     ac_useropt_orig=$ac_useropt
   1059     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1060     case $ac_user_opts in
   1061       *"
   1062 "enable_$ac_useropt"
   1063 "*) ;;
   1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1065 	 ac_unrecognized_sep=', ';;
   1066     esac
   1067     eval enable_$ac_useropt=no ;;
   1068 
   1069   -docdir | --docdir | --docdi | --doc | --do)
   1070     ac_prev=docdir ;;
   1071   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1072     docdir=$ac_optarg ;;
   1073 
   1074   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1075     ac_prev=dvidir ;;
   1076   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1077     dvidir=$ac_optarg ;;
   1078 
   1079   -enable-* | --enable-*)
   1080     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1081     # Reject names that are not valid shell variable names.
   1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1083       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1084    { (exit 1); exit 1; }; }
   1085     ac_useropt_orig=$ac_useropt
   1086     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1087     case $ac_user_opts in
   1088       *"
   1089 "enable_$ac_useropt"
   1090 "*) ;;
   1091       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1092 	 ac_unrecognized_sep=', ';;
   1093     esac
   1094     eval enable_$ac_useropt=\$ac_optarg ;;
   1095 
   1096   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1097   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1098   | --exec | --exe | --ex)
   1099     ac_prev=exec_prefix ;;
   1100   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1101   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1102   | --exec=* | --exe=* | --ex=*)
   1103     exec_prefix=$ac_optarg ;;
   1104 
   1105   -gas | --gas | --ga | --g)
   1106     # Obsolete; use --with-gas.
   1107     with_gas=yes ;;
   1108 
   1109   -help | --help | --hel | --he | -h)
   1110     ac_init_help=long ;;
   1111   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1112     ac_init_help=recursive ;;
   1113   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1114     ac_init_help=short ;;
   1115 
   1116   -host | --host | --hos | --ho)
   1117     ac_prev=host_alias ;;
   1118   -host=* | --host=* | --hos=* | --ho=*)
   1119     host_alias=$ac_optarg ;;
   1120 
   1121   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1122     ac_prev=htmldir ;;
   1123   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1124   | --ht=*)
   1125     htmldir=$ac_optarg ;;
   1126 
   1127   -includedir | --includedir | --includedi | --included | --include \
   1128   | --includ | --inclu | --incl | --inc)
   1129     ac_prev=includedir ;;
   1130   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1131   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1132     includedir=$ac_optarg ;;
   1133 
   1134   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1135     ac_prev=infodir ;;
   1136   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1137     infodir=$ac_optarg ;;
   1138 
   1139   -libdir | --libdir | --libdi | --libd)
   1140     ac_prev=libdir ;;
   1141   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1142     libdir=$ac_optarg ;;
   1143 
   1144   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1145   | --libexe | --libex | --libe)
   1146     ac_prev=libexecdir ;;
   1147   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1148   | --libexe=* | --libex=* | --libe=*)
   1149     libexecdir=$ac_optarg ;;
   1150 
   1151   -localedir | --localedir | --localedi | --localed | --locale)
   1152     ac_prev=localedir ;;
   1153   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1154     localedir=$ac_optarg ;;
   1155 
   1156   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1157   | --localstate | --localstat | --localsta | --localst | --locals)
   1158     ac_prev=localstatedir ;;
   1159   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1160   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1161     localstatedir=$ac_optarg ;;
   1162 
   1163   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1164     ac_prev=mandir ;;
   1165   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1166     mandir=$ac_optarg ;;
   1167 
   1168   -nfp | --nfp | --nf)
   1169     # Obsolete; use --without-fp.
   1170     with_fp=no ;;
   1171 
   1172   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1173   | --no-cr | --no-c | -n)
   1174     no_create=yes ;;
   1175 
   1176   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1177   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1178     no_recursion=yes ;;
   1179 
   1180   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1181   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1182   | --oldin | --oldi | --old | --ol | --o)
   1183     ac_prev=oldincludedir ;;
   1184   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1185   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1186   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1187     oldincludedir=$ac_optarg ;;
   1188 
   1189   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1190     ac_prev=prefix ;;
   1191   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1192     prefix=$ac_optarg ;;
   1193 
   1194   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1195   | --program-pre | --program-pr | --program-p)
   1196     ac_prev=program_prefix ;;
   1197   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1198   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1199     program_prefix=$ac_optarg ;;
   1200 
   1201   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1202   | --program-suf | --program-su | --program-s)
   1203     ac_prev=program_suffix ;;
   1204   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1205   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1206     program_suffix=$ac_optarg ;;
   1207 
   1208   -program-transform-name | --program-transform-name \
   1209   | --program-transform-nam | --program-transform-na \
   1210   | --program-transform-n | --program-transform- \
   1211   | --program-transform | --program-transfor \
   1212   | --program-transfo | --program-transf \
   1213   | --program-trans | --program-tran \
   1214   | --progr-tra | --program-tr | --program-t)
   1215     ac_prev=program_transform_name ;;
   1216   -program-transform-name=* | --program-transform-name=* \
   1217   | --program-transform-nam=* | --program-transform-na=* \
   1218   | --program-transform-n=* | --program-transform-=* \
   1219   | --program-transform=* | --program-transfor=* \
   1220   | --program-transfo=* | --program-transf=* \
   1221   | --program-trans=* | --program-tran=* \
   1222   | --progr-tra=* | --program-tr=* | --program-t=*)
   1223     program_transform_name=$ac_optarg ;;
   1224 
   1225   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1226     ac_prev=pdfdir ;;
   1227   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1228     pdfdir=$ac_optarg ;;
   1229 
   1230   -psdir | --psdir | --psdi | --psd | --ps)
   1231     ac_prev=psdir ;;
   1232   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1233     psdir=$ac_optarg ;;
   1234 
   1235   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1236   | -silent | --silent | --silen | --sile | --sil)
   1237     silent=yes ;;
   1238 
   1239   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1240     ac_prev=sbindir ;;
   1241   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1242   | --sbi=* | --sb=*)
   1243     sbindir=$ac_optarg ;;
   1244 
   1245   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1246   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1247   | --sharedst | --shareds | --shared | --share | --shar \
   1248   | --sha | --sh)
   1249     ac_prev=sharedstatedir ;;
   1250   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1251   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1252   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1253   | --sha=* | --sh=*)
   1254     sharedstatedir=$ac_optarg ;;
   1255 
   1256   -site | --site | --sit)
   1257     ac_prev=site ;;
   1258   -site=* | --site=* | --sit=*)
   1259     site=$ac_optarg ;;
   1260 
   1261   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1262     ac_prev=srcdir ;;
   1263   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1264     srcdir=$ac_optarg ;;
   1265 
   1266   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1267   | --syscon | --sysco | --sysc | --sys | --sy)
   1268     ac_prev=sysconfdir ;;
   1269   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1270   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1271     sysconfdir=$ac_optarg ;;
   1272 
   1273   -target | --target | --targe | --targ | --tar | --ta | --t)
   1274     ac_prev=target_alias ;;
   1275   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1276     target_alias=$ac_optarg ;;
   1277 
   1278   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1279     verbose=yes ;;
   1280 
   1281   -version | --version | --versio | --versi | --vers | -V)
   1282     ac_init_version=: ;;
   1283 
   1284   -with-* | --with-*)
   1285     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1286     # Reject names that are not valid shell variable names.
   1287     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1288       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1289    { (exit 1); exit 1; }; }
   1290     ac_useropt_orig=$ac_useropt
   1291     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1292     case $ac_user_opts in
   1293       *"
   1294 "with_$ac_useropt"
   1295 "*) ;;
   1296       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1297 	 ac_unrecognized_sep=', ';;
   1298     esac
   1299     eval with_$ac_useropt=\$ac_optarg ;;
   1300 
   1301   -without-* | --without-*)
   1302     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1303     # Reject names that are not valid shell variable names.
   1304     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1305       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1306    { (exit 1); exit 1; }; }
   1307     ac_useropt_orig=$ac_useropt
   1308     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1309     case $ac_user_opts in
   1310       *"
   1311 "with_$ac_useropt"
   1312 "*) ;;
   1313       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1314 	 ac_unrecognized_sep=', ';;
   1315     esac
   1316     eval with_$ac_useropt=no ;;
   1317 
   1318   --x)
   1319     # Obsolete; use --with-x.
   1320     with_x=yes ;;
   1321 
   1322   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1323   | --x-incl | --x-inc | --x-in | --x-i)
   1324     ac_prev=x_includes ;;
   1325   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1326   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1327     x_includes=$ac_optarg ;;
   1328 
   1329   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1330   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1331     ac_prev=x_libraries ;;
   1332   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1333   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1334     x_libraries=$ac_optarg ;;
   1335 
   1336   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1337 Try \`$0 --help' for more information." >&2
   1338    { (exit 1); exit 1; }; }
   1339     ;;
   1340 
   1341   *=*)
   1342     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1343     # Reject names that are not valid shell variable names.
   1344     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1345       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1346    { (exit 1); exit 1; }; }
   1347     eval $ac_envvar=\$ac_optarg
   1348     export $ac_envvar ;;
   1349 
   1350   *)
   1351     # FIXME: should be removed in autoconf 3.0.
   1352     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1353     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1354       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1355     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1356     ;;
   1357 
   1358   esac
   1359 done
   1360 
   1361 if test -n "$ac_prev"; then
   1362   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1363   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1364    { (exit 1); exit 1; }; }
   1365 fi
   1366 
   1367 if test -n "$ac_unrecognized_opts"; then
   1368   case $enable_option_checking in
   1369     no) ;;
   1370     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1371    { (exit 1); exit 1; }; } ;;
   1372     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1373   esac
   1374 fi
   1375 
   1376 # Check all directory arguments for consistency.
   1377 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1378 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1379 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1380 		libdir localedir mandir
   1381 do
   1382   eval ac_val=\$$ac_var
   1383   # Remove trailing slashes.
   1384   case $ac_val in
   1385     */ )
   1386       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1387       eval $ac_var=\$ac_val;;
   1388   esac
   1389   # Be sure to have absolute directory names.
   1390   case $ac_val in
   1391     [\\/$]* | ?:[\\/]* )  continue;;
   1392     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1393   esac
   1394   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1395    { (exit 1); exit 1; }; }
   1396 done
   1397 
   1398 # There might be people who depend on the old broken behavior: `$host'
   1399 # used to hold the argument of --host etc.
   1400 # FIXME: To remove some day.
   1401 build=$build_alias
   1402 host=$host_alias
   1403 target=$target_alias
   1404 
   1405 # FIXME: To remove some day.
   1406 if test "x$host_alias" != x; then
   1407   if test "x$build_alias" = x; then
   1408     cross_compiling=maybe
   1409     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1410     If a cross compiler is detected then cross compile mode will be used." >&2
   1411   elif test "x$build_alias" != "x$host_alias"; then
   1412     cross_compiling=yes
   1413   fi
   1414 fi
   1415 
   1416 ac_tool_prefix=
   1417 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1418 
   1419 test "$silent" = yes && exec 6>/dev/null
   1420 
   1421 
   1422 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1423 ac_ls_di=`ls -di .` &&
   1424 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1425   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1426    { (exit 1); exit 1; }; }
   1427 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1428   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1429    { (exit 1); exit 1; }; }
   1430 
   1431 
   1432 # Find the source files, if location was not specified.
   1433 if test -z "$srcdir"; then
   1434   ac_srcdir_defaulted=yes
   1435   # Try the directory containing this script, then the parent directory.
   1436   ac_confdir=`$as_dirname -- "$as_myself" ||
   1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1438 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1439 	 X"$as_myself" : 'X\(//\)$' \| \
   1440 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1441 $as_echo X"$as_myself" |
   1442     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1443 	    s//\1/
   1444 	    q
   1445 	  }
   1446 	  /^X\(\/\/\)[^/].*/{
   1447 	    s//\1/
   1448 	    q
   1449 	  }
   1450 	  /^X\(\/\/\)$/{
   1451 	    s//\1/
   1452 	    q
   1453 	  }
   1454 	  /^X\(\/\).*/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  s/.*/./; q'`
   1459   srcdir=$ac_confdir
   1460   if test ! -r "$srcdir/$ac_unique_file"; then
   1461     srcdir=..
   1462   fi
   1463 else
   1464   ac_srcdir_defaulted=no
   1465 fi
   1466 if test ! -r "$srcdir/$ac_unique_file"; then
   1467   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1468   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1469    { (exit 1); exit 1; }; }
   1470 fi
   1471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1472 ac_abs_confdir=`(
   1473 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1474    { (exit 1); exit 1; }; }
   1475 	pwd)`
   1476 # When building in place, set srcdir=.
   1477 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1478   srcdir=.
   1479 fi
   1480 # Remove unnecessary trailing slashes from srcdir.
   1481 # Double slashes in file names in object file debugging info
   1482 # mess up M-x gdb in Emacs.
   1483 case $srcdir in
   1484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1485 esac
   1486 for ac_var in $ac_precious_vars; do
   1487   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1488   eval ac_env_${ac_var}_value=\$${ac_var}
   1489   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1490   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1491 done
   1492 
   1493 #
   1494 # Report the --help message.
   1495 #
   1496 if test "$ac_init_help" = "long"; then
   1497   # Omit some internal or obsolete options to make the list less imposing.
   1498   # This message is too long to be a string in the A/UX 3.1 sh.
   1499   cat <<_ACEOF
   1500 \`configure' configures xf86-video-vesa 2.2.0 to adapt to many kinds of systems.
   1501 
   1502 Usage: $0 [OPTION]... [VAR=VALUE]...
   1503 
   1504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1505 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1506 
   1507 Defaults for the options are specified in brackets.
   1508 
   1509 Configuration:
   1510   -h, --help              display this help and exit
   1511       --help=short        display options specific to this package
   1512       --help=recursive    display the short help of all the included packages
   1513   -V, --version           display version information and exit
   1514   -q, --quiet, --silent   do not print \`checking...' messages
   1515       --cache-file=FILE   cache test results in FILE [disabled]
   1516   -C, --config-cache      alias for \`--cache-file=config.cache'
   1517   -n, --no-create         do not create output files
   1518       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1519 
   1520 Installation directories:
   1521   --prefix=PREFIX         install architecture-independent files in PREFIX
   1522                           [$ac_default_prefix]
   1523   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1524                           [PREFIX]
   1525 
   1526 By default, \`make install' will install all the files in
   1527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1529 for instance \`--prefix=\$HOME'.
   1530 
   1531 For better control, use the options below.
   1532 
   1533 Fine tuning of the installation directories:
   1534   --bindir=DIR            user executables [EPREFIX/bin]
   1535   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1536   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1537   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1538   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1539   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1540   --libdir=DIR            object code libraries [EPREFIX/lib]
   1541   --includedir=DIR        C header files [PREFIX/include]
   1542   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1543   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1544   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1545   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1546   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1547   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1548   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-vesa]
   1549   --htmldir=DIR           html documentation [DOCDIR]
   1550   --dvidir=DIR            dvi documentation [DOCDIR]
   1551   --pdfdir=DIR            pdf documentation [DOCDIR]
   1552   --psdir=DIR             ps documentation [DOCDIR]
   1553 _ACEOF
   1554 
   1555   cat <<\_ACEOF
   1556 
   1557 Program names:
   1558   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1559   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1560   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1561 
   1562 System types:
   1563   --build=BUILD     configure for building on BUILD [guessed]
   1564   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1565 _ACEOF
   1566 fi
   1567 
   1568 if test -n "$ac_init_help"; then
   1569   case $ac_init_help in
   1570      short | recursive ) echo "Configuration of xf86-video-vesa 2.2.0:";;
   1571    esac
   1572   cat <<\_ACEOF
   1573 
   1574 Optional Features:
   1575   --disable-option-checking  ignore unrecognized --enable/--with options
   1576   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1577   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1578   --enable-maintainer-mode  enable make rules and dependencies not useful
   1579 			  (and sometimes confusing) to the casual installer
   1580   --enable-static[=PKGS]  build static libraries [default=no]
   1581   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1582   --enable-fast-install[=PKGS]
   1583                           optimize for fast installation [default=yes]
   1584   --disable-dependency-tracking  speeds up one-time build
   1585   --enable-dependency-tracking   do not reject slow dependency extractors
   1586   --disable-libtool-lock  avoid locking (might break parallel builds)
   1587 
   1588 Optional Packages:
   1589   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1590   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1591   --with-pic              try to use only PIC/non-PIC objects [default=use
   1592                           both]
   1593   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1594   --with-xorg-module-dir=DIR
   1595   --with-release-version=STRING
   1596                           Use release version string in package name
   1597 
   1598 Some influential environment variables:
   1599   CC          C compiler command
   1600   CFLAGS      C compiler flags
   1601   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1602               nonstandard directory <lib dir>
   1603   LIBS        libraries to pass to the linker, e.g. -l<library>
   1604   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1605               you have headers in a nonstandard directory <include dir>
   1606   CPP         C preprocessor
   1607   PKG_CONFIG  path to pkg-config utility
   1608   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1609   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1610   PCIACCESS_CFLAGS
   1611               C compiler flags for PCIACCESS, overriding pkg-config
   1612   PCIACCESS_LIBS
   1613               linker flags for PCIACCESS, overriding pkg-config
   1614 
   1615 Use these variables to override the choices made by `configure' or to help
   1616 it to find libraries and programs with nonstandard names/locations.
   1617 
   1618 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1619 _ACEOF
   1620 ac_status=$?
   1621 fi
   1622 
   1623 if test "$ac_init_help" = "recursive"; then
   1624   # If there are subdirs, report their specific --help.
   1625   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1626     test -d "$ac_dir" ||
   1627       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1628       continue
   1629     ac_builddir=.
   1630 
   1631 case "$ac_dir" in
   1632 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1633 *)
   1634   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1635   # A ".." for each directory in $ac_dir_suffix.
   1636   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1637   case $ac_top_builddir_sub in
   1638   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1639   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1640   esac ;;
   1641 esac
   1642 ac_abs_top_builddir=$ac_pwd
   1643 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1644 # for backward compatibility:
   1645 ac_top_builddir=$ac_top_build_prefix
   1646 
   1647 case $srcdir in
   1648   .)  # We are building in place.
   1649     ac_srcdir=.
   1650     ac_top_srcdir=$ac_top_builddir_sub
   1651     ac_abs_top_srcdir=$ac_pwd ;;
   1652   [\\/]* | ?:[\\/]* )  # Absolute name.
   1653     ac_srcdir=$srcdir$ac_dir_suffix;
   1654     ac_top_srcdir=$srcdir
   1655     ac_abs_top_srcdir=$srcdir ;;
   1656   *) # Relative name.
   1657     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1658     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1659     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1660 esac
   1661 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1662 
   1663     cd "$ac_dir" || { ac_status=$?; continue; }
   1664     # Check for guested configure.
   1665     if test -f "$ac_srcdir/configure.gnu"; then
   1666       echo &&
   1667       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1668     elif test -f "$ac_srcdir/configure"; then
   1669       echo &&
   1670       $SHELL "$ac_srcdir/configure" --help=recursive
   1671     else
   1672       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1673     fi || ac_status=$?
   1674     cd "$ac_pwd" || { ac_status=$?; break; }
   1675   done
   1676 fi
   1677 
   1678 test -n "$ac_init_help" && exit $ac_status
   1679 if $ac_init_version; then
   1680   cat <<\_ACEOF
   1681 xf86-video-vesa configure 2.2.0
   1682 generated by GNU Autoconf 2.63
   1683 
   1684 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1685 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1686 This configure script is free software; the Free Software Foundation
   1687 gives unlimited permission to copy, distribute and modify it.
   1688 _ACEOF
   1689   exit
   1690 fi
   1691 cat >config.log <<_ACEOF
   1692 This file contains any messages produced by compilers while
   1693 running configure, to aid debugging if configure makes a mistake.
   1694 
   1695 It was created by xf86-video-vesa $as_me 2.2.0, which was
   1696 generated by GNU Autoconf 2.63.  Invocation command line was
   1697 
   1698   $ $0 $@
   1699 
   1700 _ACEOF
   1701 exec 5>>config.log
   1702 {
   1703 cat <<_ASUNAME
   1704 ## --------- ##
   1705 ## Platform. ##
   1706 ## --------- ##
   1707 
   1708 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1709 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1710 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1711 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1712 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1713 
   1714 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1715 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1716 
   1717 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1718 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1719 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1720 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1721 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1722 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1723 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1724 
   1725 _ASUNAME
   1726 
   1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1728 for as_dir in $PATH
   1729 do
   1730   IFS=$as_save_IFS
   1731   test -z "$as_dir" && as_dir=.
   1732   $as_echo "PATH: $as_dir"
   1733 done
   1734 IFS=$as_save_IFS
   1735 
   1736 } >&5
   1737 
   1738 cat >&5 <<_ACEOF
   1739 
   1740 
   1741 ## ----------- ##
   1742 ## Core tests. ##
   1743 ## ----------- ##
   1744 
   1745 _ACEOF
   1746 
   1747 
   1748 # Keep a trace of the command line.
   1749 # Strip out --no-create and --no-recursion so they do not pile up.
   1750 # Strip out --silent because we don't want to record it for future runs.
   1751 # Also quote any args containing shell meta-characters.
   1752 # Make two passes to allow for proper duplicate-argument suppression.
   1753 ac_configure_args=
   1754 ac_configure_args0=
   1755 ac_configure_args1=
   1756 ac_must_keep_next=false
   1757 for ac_pass in 1 2
   1758 do
   1759   for ac_arg
   1760   do
   1761     case $ac_arg in
   1762     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1763     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1764     | -silent | --silent | --silen | --sile | --sil)
   1765       continue ;;
   1766     *\'*)
   1767       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1768     esac
   1769     case $ac_pass in
   1770     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1771     2)
   1772       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1773       if test $ac_must_keep_next = true; then
   1774 	ac_must_keep_next=false # Got value, back to normal.
   1775       else
   1776 	case $ac_arg in
   1777 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1778 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1779 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1780 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1781 	    case "$ac_configure_args0 " in
   1782 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1783 	    esac
   1784 	    ;;
   1785 	  -* ) ac_must_keep_next=true ;;
   1786 	esac
   1787       fi
   1788       ac_configure_args="$ac_configure_args '$ac_arg'"
   1789       ;;
   1790     esac
   1791   done
   1792 done
   1793 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1794 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1795 
   1796 # When interrupted or exit'd, cleanup temporary files, and complete
   1797 # config.log.  We remove comments because anyway the quotes in there
   1798 # would cause problems or look ugly.
   1799 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1800 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1801 trap 'exit_status=$?
   1802   # Save into config.log some information that might help in debugging.
   1803   {
   1804     echo
   1805 
   1806     cat <<\_ASBOX
   1807 ## ---------------- ##
   1808 ## Cache variables. ##
   1809 ## ---------------- ##
   1810 _ASBOX
   1811     echo
   1812     # The following way of writing the cache mishandles newlines in values,
   1813 (
   1814   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1815     eval ac_val=\$$ac_var
   1816     case $ac_val in #(
   1817     *${as_nl}*)
   1818       case $ac_var in #(
   1819       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1821       esac
   1822       case $ac_var in #(
   1823       _ | IFS | as_nl) ;; #(
   1824       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1825       *) $as_unset $ac_var ;;
   1826       esac ;;
   1827     esac
   1828   done
   1829   (set) 2>&1 |
   1830     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1831     *${as_nl}ac_space=\ *)
   1832       sed -n \
   1833 	"s/'\''/'\''\\\\'\'''\''/g;
   1834 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1835       ;; #(
   1836     *)
   1837       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1838       ;;
   1839     esac |
   1840     sort
   1841 )
   1842     echo
   1843 
   1844     cat <<\_ASBOX
   1845 ## ----------------- ##
   1846 ## Output variables. ##
   1847 ## ----------------- ##
   1848 _ASBOX
   1849     echo
   1850     for ac_var in $ac_subst_vars
   1851     do
   1852       eval ac_val=\$$ac_var
   1853       case $ac_val in
   1854       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1855       esac
   1856       $as_echo "$ac_var='\''$ac_val'\''"
   1857     done | sort
   1858     echo
   1859 
   1860     if test -n "$ac_subst_files"; then
   1861       cat <<\_ASBOX
   1862 ## ------------------- ##
   1863 ## File substitutions. ##
   1864 ## ------------------- ##
   1865 _ASBOX
   1866       echo
   1867       for ac_var in $ac_subst_files
   1868       do
   1869 	eval ac_val=\$$ac_var
   1870 	case $ac_val in
   1871 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1872 	esac
   1873 	$as_echo "$ac_var='\''$ac_val'\''"
   1874       done | sort
   1875       echo
   1876     fi
   1877 
   1878     if test -s confdefs.h; then
   1879       cat <<\_ASBOX
   1880 ## ----------- ##
   1881 ## confdefs.h. ##
   1882 ## ----------- ##
   1883 _ASBOX
   1884       echo
   1885       cat confdefs.h
   1886       echo
   1887     fi
   1888     test "$ac_signal" != 0 &&
   1889       $as_echo "$as_me: caught signal $ac_signal"
   1890     $as_echo "$as_me: exit $exit_status"
   1891   } >&5
   1892   rm -f core *.core core.conftest.* &&
   1893     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1894     exit $exit_status
   1895 ' 0
   1896 for ac_signal in 1 2 13 15; do
   1897   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1898 done
   1899 ac_signal=0
   1900 
   1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1902 rm -f -r conftest* confdefs.h
   1903 
   1904 # Predefined preprocessor variables.
   1905 
   1906 cat >>confdefs.h <<_ACEOF
   1907 #define PACKAGE_NAME "$PACKAGE_NAME"
   1908 _ACEOF
   1909 
   1910 
   1911 cat >>confdefs.h <<_ACEOF
   1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1913 _ACEOF
   1914 
   1915 
   1916 cat >>confdefs.h <<_ACEOF
   1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1918 _ACEOF
   1919 
   1920 
   1921 cat >>confdefs.h <<_ACEOF
   1922 #define PACKAGE_STRING "$PACKAGE_STRING"
   1923 _ACEOF
   1924 
   1925 
   1926 cat >>confdefs.h <<_ACEOF
   1927 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1928 _ACEOF
   1929 
   1930 
   1931 # Let the site file select an alternate cache file if it wants to.
   1932 # Prefer an explicitly selected file to automatically selected ones.
   1933 ac_site_file1=NONE
   1934 ac_site_file2=NONE
   1935 if test -n "$CONFIG_SITE"; then
   1936   ac_site_file1=$CONFIG_SITE
   1937 elif test "x$prefix" != xNONE; then
   1938   ac_site_file1=$prefix/share/config.site
   1939   ac_site_file2=$prefix/etc/config.site
   1940 else
   1941   ac_site_file1=$ac_default_prefix/share/config.site
   1942   ac_site_file2=$ac_default_prefix/etc/config.site
   1943 fi
   1944 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1945 do
   1946   test "x$ac_site_file" = xNONE && continue
   1947   if test -r "$ac_site_file"; then
   1948     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1949 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1950     sed 's/^/| /' "$ac_site_file" >&5
   1951     . "$ac_site_file"
   1952   fi
   1953 done
   1954 
   1955 if test -r "$cache_file"; then
   1956   # Some versions of bash will fail to source /dev/null (special
   1957   # files actually), so we avoid doing that.
   1958   if test -f "$cache_file"; then
   1959     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1961     case $cache_file in
   1962       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1963       *)                      . "./$cache_file";;
   1964     esac
   1965   fi
   1966 else
   1967   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1969   >$cache_file
   1970 fi
   1971 
   1972 # Check that the precious variables saved in the cache have kept the same
   1973 # value.
   1974 ac_cache_corrupted=false
   1975 for ac_var in $ac_precious_vars; do
   1976   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1977   eval ac_new_set=\$ac_env_${ac_var}_set
   1978   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1979   eval ac_new_val=\$ac_env_${ac_var}_value
   1980   case $ac_old_set,$ac_new_set in
   1981     set,)
   1982       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1983 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1984       ac_cache_corrupted=: ;;
   1985     ,set)
   1986       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1987 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1988       ac_cache_corrupted=: ;;
   1989     ,);;
   1990     *)
   1991       if test "x$ac_old_val" != "x$ac_new_val"; then
   1992 	# differences in whitespace do not lead to failure.
   1993 	ac_old_val_w=`echo x $ac_old_val`
   1994 	ac_new_val_w=`echo x $ac_new_val`
   1995 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1996 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1998 	  ac_cache_corrupted=:
   1999 	else
   2000 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2002 	  eval $ac_var=\$ac_old_val
   2003 	fi
   2004 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2005 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2006 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2007 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2008       fi;;
   2009   esac
   2010   # Pass precious variables to config.status.
   2011   if test "$ac_new_set" = set; then
   2012     case $ac_new_val in
   2013     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2014     *) ac_arg=$ac_var=$ac_new_val ;;
   2015     esac
   2016     case " $ac_configure_args " in
   2017       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2018       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2019     esac
   2020   fi
   2021 done
   2022 if $ac_cache_corrupted; then
   2023   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2025   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2027   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2028 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2029    { (exit 1); exit 1; }; }
   2030 fi
   2031 
   2032 
   2033 
   2034 
   2035 
   2036 
   2037 
   2038 
   2039 
   2040 
   2041 
   2042 
   2043 
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 ac_ext=c
   2057 ac_cpp='$CPP $CPPFLAGS'
   2058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2061 
   2062 
   2063 
   2064 
   2065 ac_config_headers="$ac_config_headers config.h"
   2066 
   2067 ac_aux_dir=
   2068 for ac_dir in . "$srcdir"/.; do
   2069   if test -f "$ac_dir/install-sh"; then
   2070     ac_aux_dir=$ac_dir
   2071     ac_install_sh="$ac_aux_dir/install-sh -c"
   2072     break
   2073   elif test -f "$ac_dir/install.sh"; then
   2074     ac_aux_dir=$ac_dir
   2075     ac_install_sh="$ac_aux_dir/install.sh -c"
   2076     break
   2077   elif test -f "$ac_dir/shtool"; then
   2078     ac_aux_dir=$ac_dir
   2079     ac_install_sh="$ac_aux_dir/shtool install -c"
   2080     break
   2081   fi
   2082 done
   2083 if test -z "$ac_aux_dir"; then
   2084   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2085 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2086    { (exit 1); exit 1; }; }
   2087 fi
   2088 
   2089 # These three variables are undocumented and unsupported,
   2090 # and are intended to be withdrawn in a future Autoconf release.
   2091 # They can cause serious problems if a builder's source tree is in a directory
   2092 # whose full name contains unusual characters.
   2093 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2094 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2095 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2096 
   2097 
   2098 
   2099 am__api_version='1.10'
   2100 
   2101 # Find a good install program.  We prefer a C program (faster),
   2102 # so one script is as good as another.  But avoid the broken or
   2103 # incompatible versions:
   2104 # SysV /etc/install, /usr/sbin/install
   2105 # SunOS /usr/etc/install
   2106 # IRIX /sbin/install
   2107 # AIX /bin/install
   2108 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2109 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2110 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2111 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2112 # OS/2's system install, which has a completely different semantic
   2113 # ./install, which can be erroneously created by make from ./install.sh.
   2114 # Reject install programs that cannot install multiple files.
   2115 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2116 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2117 if test -z "$INSTALL"; then
   2118 if test "${ac_cv_path_install+set}" = set; then
   2119   $as_echo_n "(cached) " >&6
   2120 else
   2121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2122 for as_dir in $PATH
   2123 do
   2124   IFS=$as_save_IFS
   2125   test -z "$as_dir" && as_dir=.
   2126   # Account for people who put trailing slashes in PATH elements.
   2127 case $as_dir/ in
   2128   ./ | .// | /cC/* | \
   2129   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2130   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2131   /usr/ucb/* ) ;;
   2132   *)
   2133     # OSF1 and SCO ODT 3.0 have their own names for install.
   2134     # Don't use installbsd from OSF since it installs stuff as root
   2135     # by default.
   2136     for ac_prog in ginstall scoinst install; do
   2137       for ac_exec_ext in '' $ac_executable_extensions; do
   2138 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2139 	  if test $ac_prog = install &&
   2140 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2141 	    # AIX install.  It has an incompatible calling convention.
   2142 	    :
   2143 	  elif test $ac_prog = install &&
   2144 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2145 	    # program-specific install script used by HP pwplus--don't use.
   2146 	    :
   2147 	  else
   2148 	    rm -rf conftest.one conftest.two conftest.dir
   2149 	    echo one > conftest.one
   2150 	    echo two > conftest.two
   2151 	    mkdir conftest.dir
   2152 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2153 	      test -s conftest.one && test -s conftest.two &&
   2154 	      test -s conftest.dir/conftest.one &&
   2155 	      test -s conftest.dir/conftest.two
   2156 	    then
   2157 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2158 	      break 3
   2159 	    fi
   2160 	  fi
   2161 	fi
   2162       done
   2163     done
   2164     ;;
   2165 esac
   2166 
   2167 done
   2168 IFS=$as_save_IFS
   2169 
   2170 rm -rf conftest.one conftest.two conftest.dir
   2171 
   2172 fi
   2173   if test "${ac_cv_path_install+set}" = set; then
   2174     INSTALL=$ac_cv_path_install
   2175   else
   2176     # As a last resort, use the slow shell script.  Don't cache a
   2177     # value for INSTALL within a source directory, because that will
   2178     # break other packages using the cache if that directory is
   2179     # removed, or if the value is a relative name.
   2180     INSTALL=$ac_install_sh
   2181   fi
   2182 fi
   2183 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2184 $as_echo "$INSTALL" >&6; }
   2185 
   2186 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2187 # It thinks the first close brace ends the variable substitution.
   2188 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2189 
   2190 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2191 
   2192 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2193 
   2194 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2195 $as_echo_n "checking whether build environment is sane... " >&6; }
   2196 # Just in case
   2197 sleep 1
   2198 echo timestamp > conftest.file
   2199 # Do `set' in a subshell so we don't clobber the current shell's
   2200 # arguments.  Must try -L first in case configure is actually a
   2201 # symlink; some systems play weird games with the mod time of symlinks
   2202 # (eg FreeBSD returns the mod time of the symlink's containing
   2203 # directory).
   2204 if (
   2205    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2206    if test "$*" = "X"; then
   2207       # -L didn't work.
   2208       set X `ls -t $srcdir/configure conftest.file`
   2209    fi
   2210    rm -f conftest.file
   2211    if test "$*" != "X $srcdir/configure conftest.file" \
   2212       && test "$*" != "X conftest.file $srcdir/configure"; then
   2213 
   2214       # If neither matched, then we have a broken ls.  This can happen
   2215       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2216       # broken ls alias from the environment.  This has actually
   2217       # happened.  Such a system could not be considered "sane".
   2218       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2219 alias in your environment" >&5
   2220 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2221 alias in your environment" >&2;}
   2222    { (exit 1); exit 1; }; }
   2223    fi
   2224 
   2225    test "$2" = conftest.file
   2226    )
   2227 then
   2228    # Ok.
   2229    :
   2230 else
   2231    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2232 Check your system clock" >&5
   2233 $as_echo "$as_me: error: newly created file is older than distributed files!
   2234 Check your system clock" >&2;}
   2235    { (exit 1); exit 1; }; }
   2236 fi
   2237 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2238 $as_echo "yes" >&6; }
   2239 test "$program_prefix" != NONE &&
   2240   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2241 # Use a double $ so make ignores it.
   2242 test "$program_suffix" != NONE &&
   2243   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2244 # Double any \ or $.
   2245 # By default was `s,x,x', remove it if useless.
   2246 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2247 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2248 
   2249 # expand $ac_aux_dir to an absolute path
   2250 am_aux_dir=`cd $ac_aux_dir && pwd`
   2251 
   2252 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2253 # Use eval to expand $SHELL
   2254 if eval "$MISSING --run true"; then
   2255   am_missing_run="$MISSING --run "
   2256 else
   2257   am_missing_run=
   2258   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2259 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2260 fi
   2261 
   2262 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2263 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2264 if test -z "$MKDIR_P"; then
   2265   if test "${ac_cv_path_mkdir+set}" = set; then
   2266   $as_echo_n "(cached) " >&6
   2267 else
   2268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2269 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2270 do
   2271   IFS=$as_save_IFS
   2272   test -z "$as_dir" && as_dir=.
   2273   for ac_prog in mkdir gmkdir; do
   2274 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2275 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2276 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2277 	     'mkdir (GNU coreutils) '* | \
   2278 	     'mkdir (coreutils) '* | \
   2279 	     'mkdir (fileutils) '4.1*)
   2280 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2281 	       break 3;;
   2282 	   esac
   2283 	 done
   2284        done
   2285 done
   2286 IFS=$as_save_IFS
   2287 
   2288 fi
   2289 
   2290   if test "${ac_cv_path_mkdir+set}" = set; then
   2291     MKDIR_P="$ac_cv_path_mkdir -p"
   2292   else
   2293     # As a last resort, use the slow shell script.  Don't cache a
   2294     # value for MKDIR_P within a source directory, because that will
   2295     # break other packages using the cache if that directory is
   2296     # removed, or if the value is a relative name.
   2297     test -d ./--version && rmdir ./--version
   2298     MKDIR_P="$ac_install_sh -d"
   2299   fi
   2300 fi
   2301 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2302 $as_echo "$MKDIR_P" >&6; }
   2303 
   2304 mkdir_p="$MKDIR_P"
   2305 case $mkdir_p in
   2306   [\\/$]* | ?:[\\/]*) ;;
   2307   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2308 esac
   2309 
   2310 for ac_prog in gawk mawk nawk awk
   2311 do
   2312   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2313 set dummy $ac_prog; ac_word=$2
   2314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2315 $as_echo_n "checking for $ac_word... " >&6; }
   2316 if test "${ac_cv_prog_AWK+set}" = set; then
   2317   $as_echo_n "(cached) " >&6
   2318 else
   2319   if test -n "$AWK"; then
   2320   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2321 else
   2322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2323 for as_dir in $PATH
   2324 do
   2325   IFS=$as_save_IFS
   2326   test -z "$as_dir" && as_dir=.
   2327   for ac_exec_ext in '' $ac_executable_extensions; do
   2328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2329     ac_cv_prog_AWK="$ac_prog"
   2330     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2331     break 2
   2332   fi
   2333 done
   2334 done
   2335 IFS=$as_save_IFS
   2336 
   2337 fi
   2338 fi
   2339 AWK=$ac_cv_prog_AWK
   2340 if test -n "$AWK"; then
   2341   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2342 $as_echo "$AWK" >&6; }
   2343 else
   2344   { $as_echo "$as_me:$LINENO: result: no" >&5
   2345 $as_echo "no" >&6; }
   2346 fi
   2347 
   2348 
   2349   test -n "$AWK" && break
   2350 done
   2351 
   2352 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2353 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2354 set x ${MAKE-make}
   2355 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2356 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2357   $as_echo_n "(cached) " >&6
   2358 else
   2359   cat >conftest.make <<\_ACEOF
   2360 SHELL = /bin/sh
   2361 all:
   2362 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2363 _ACEOF
   2364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2365 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2366   *@@@%%%=?*=@@@%%%*)
   2367     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2368   *)
   2369     eval ac_cv_prog_make_${ac_make}_set=no;;
   2370 esac
   2371 rm -f conftest.make
   2372 fi
   2373 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2374   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2375 $as_echo "yes" >&6; }
   2376   SET_MAKE=
   2377 else
   2378   { $as_echo "$as_me:$LINENO: result: no" >&5
   2379 $as_echo "no" >&6; }
   2380   SET_MAKE="MAKE=${MAKE-make}"
   2381 fi
   2382 
   2383 rm -rf .tst 2>/dev/null
   2384 mkdir .tst 2>/dev/null
   2385 if test -d .tst; then
   2386   am__leading_dot=.
   2387 else
   2388   am__leading_dot=_
   2389 fi
   2390 rmdir .tst 2>/dev/null
   2391 
   2392 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2393   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2394   # is not polluted with repeated "-I."
   2395   am__isrc=' -I$(srcdir)'
   2396   # test to see if srcdir already configured
   2397   if test -f $srcdir/config.status; then
   2398     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2399 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2400    { (exit 1); exit 1; }; }
   2401   fi
   2402 fi
   2403 
   2404 # test whether we have cygpath
   2405 if test -z "$CYGPATH_W"; then
   2406   if (cygpath --version) >/dev/null 2>/dev/null; then
   2407     CYGPATH_W='cygpath -w'
   2408   else
   2409     CYGPATH_W=echo
   2410   fi
   2411 fi
   2412 
   2413 
   2414 # Define the identity of the package.
   2415  PACKAGE='xf86-video-vesa'
   2416  VERSION='2.2.0'
   2417 
   2418 
   2419 cat >>confdefs.h <<_ACEOF
   2420 #define PACKAGE "$PACKAGE"
   2421 _ACEOF
   2422 
   2423 
   2424 cat >>confdefs.h <<_ACEOF
   2425 #define VERSION "$VERSION"
   2426 _ACEOF
   2427 
   2428 # Some tools Automake needs.
   2429 
   2430 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2431 
   2432 
   2433 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2434 
   2435 
   2436 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2437 
   2438 
   2439 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2440 
   2441 
   2442 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2443 
   2444 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2445 
   2446 # Installed binaries are usually stripped using `strip' when the user
   2447 # run `make install-strip'.  However `strip' might not be the right
   2448 # tool to use in cross-compilation environments, therefore Automake
   2449 # will honor the `STRIP' environment variable to overrule this program.
   2450 if test "$cross_compiling" != no; then
   2451   if test -n "$ac_tool_prefix"; then
   2452   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2453 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2455 $as_echo_n "checking for $ac_word... " >&6; }
   2456 if test "${ac_cv_prog_STRIP+set}" = set; then
   2457   $as_echo_n "(cached) " >&6
   2458 else
   2459   if test -n "$STRIP"; then
   2460   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2461 else
   2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2463 for as_dir in $PATH
   2464 do
   2465   IFS=$as_save_IFS
   2466   test -z "$as_dir" && as_dir=.
   2467   for ac_exec_ext in '' $ac_executable_extensions; do
   2468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2469     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2470     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2471     break 2
   2472   fi
   2473 done
   2474 done
   2475 IFS=$as_save_IFS
   2476 
   2477 fi
   2478 fi
   2479 STRIP=$ac_cv_prog_STRIP
   2480 if test -n "$STRIP"; then
   2481   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2482 $as_echo "$STRIP" >&6; }
   2483 else
   2484   { $as_echo "$as_me:$LINENO: result: no" >&5
   2485 $as_echo "no" >&6; }
   2486 fi
   2487 
   2488 
   2489 fi
   2490 if test -z "$ac_cv_prog_STRIP"; then
   2491   ac_ct_STRIP=$STRIP
   2492   # Extract the first word of "strip", so it can be a program name with args.
   2493 set dummy strip; ac_word=$2
   2494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2495 $as_echo_n "checking for $ac_word... " >&6; }
   2496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2497   $as_echo_n "(cached) " >&6
   2498 else
   2499   if test -n "$ac_ct_STRIP"; then
   2500   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2501 else
   2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2503 for as_dir in $PATH
   2504 do
   2505   IFS=$as_save_IFS
   2506   test -z "$as_dir" && as_dir=.
   2507   for ac_exec_ext in '' $ac_executable_extensions; do
   2508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2509     ac_cv_prog_ac_ct_STRIP="strip"
   2510     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2511     break 2
   2512   fi
   2513 done
   2514 done
   2515 IFS=$as_save_IFS
   2516 
   2517 fi
   2518 fi
   2519 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2520 if test -n "$ac_ct_STRIP"; then
   2521   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2522 $as_echo "$ac_ct_STRIP" >&6; }
   2523 else
   2524   { $as_echo "$as_me:$LINENO: result: no" >&5
   2525 $as_echo "no" >&6; }
   2526 fi
   2527 
   2528   if test "x$ac_ct_STRIP" = x; then
   2529     STRIP=":"
   2530   else
   2531     case $cross_compiling:$ac_tool_warned in
   2532 yes:)
   2533 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2535 ac_tool_warned=yes ;;
   2536 esac
   2537     STRIP=$ac_ct_STRIP
   2538   fi
   2539 else
   2540   STRIP="$ac_cv_prog_STRIP"
   2541 fi
   2542 
   2543 fi
   2544 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2545 
   2546 # We need awk for the "check" target.  The system "awk" is bad on
   2547 # some platforms.
   2548 # Always define AMTAR for backward compatibility.
   2549 
   2550 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2551 
   2552 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2553 
   2554 
   2555 
   2556 
   2557 
   2558 
   2559 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2560 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2561     # Check whether --enable-maintainer-mode was given.
   2562 if test "${enable_maintainer_mode+set}" = set; then
   2563   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2564 else
   2565   USE_MAINTAINER_MODE=no
   2566 fi
   2567 
   2568   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2569 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2570    if test $USE_MAINTAINER_MODE = yes; then
   2571   MAINTAINER_MODE_TRUE=
   2572   MAINTAINER_MODE_FALSE='#'
   2573 else
   2574   MAINTAINER_MODE_TRUE='#'
   2575   MAINTAINER_MODE_FALSE=
   2576 fi
   2577 
   2578   MAINT=$MAINTAINER_MODE_TRUE
   2579 
   2580 
   2581 
   2582 # Checks for programs.
   2583 # Check whether --enable-static was given.
   2584 if test "${enable_static+set}" = set; then
   2585   enableval=$enable_static; p=${PACKAGE-default}
   2586     case $enableval in
   2587     yes) enable_static=yes ;;
   2588     no) enable_static=no ;;
   2589     *)
   2590      enable_static=no
   2591       # Look at the argument we got.  We use all the common list separators.
   2592       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2593       for pkg in $enableval; do
   2594 	IFS="$lt_save_ifs"
   2595 	if test "X$pkg" = "X$p"; then
   2596 	  enable_static=yes
   2597 	fi
   2598       done
   2599       IFS="$lt_save_ifs"
   2600       ;;
   2601     esac
   2602 else
   2603   enable_static=no
   2604 fi
   2605 
   2606 
   2607 
   2608 
   2609 
   2610 
   2611 
   2612 
   2613 
   2614 case `pwd` in
   2615   *\ * | *\	*)
   2616     { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2617 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2618 esac
   2619 
   2620 
   2621 
   2622 macro_version='2.2.6'
   2623 macro_revision='1.3012'
   2624 
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 ltmain="$ac_aux_dir/ltmain.sh"
   2638 
   2639 # Make sure we can run config.sub.
   2640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2641   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2642 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2643    { (exit 1); exit 1; }; }
   2644 
   2645 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2646 $as_echo_n "checking build system type... " >&6; }
   2647 if test "${ac_cv_build+set}" = set; then
   2648   $as_echo_n "(cached) " >&6
   2649 else
   2650   ac_build_alias=$build_alias
   2651 test "x$ac_build_alias" = x &&
   2652   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2653 test "x$ac_build_alias" = x &&
   2654   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2655 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2656    { (exit 1); exit 1; }; }
   2657 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2658   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2659 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2660    { (exit 1); exit 1; }; }
   2661 
   2662 fi
   2663 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2664 $as_echo "$ac_cv_build" >&6; }
   2665 case $ac_cv_build in
   2666 *-*-*) ;;
   2667 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2668 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2669    { (exit 1); exit 1; }; };;
   2670 esac
   2671 build=$ac_cv_build
   2672 ac_save_IFS=$IFS; IFS='-'
   2673 set x $ac_cv_build
   2674 shift
   2675 build_cpu=$1
   2676 build_vendor=$2
   2677 shift; shift
   2678 # Remember, the first character of IFS is used to create $*,
   2679 # except with old shells:
   2680 build_os=$*
   2681 IFS=$ac_save_IFS
   2682 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2683 
   2684 
   2685 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2686 $as_echo_n "checking host system type... " >&6; }
   2687 if test "${ac_cv_host+set}" = set; then
   2688   $as_echo_n "(cached) " >&6
   2689 else
   2690   if test "x$host_alias" = x; then
   2691   ac_cv_host=$ac_cv_build
   2692 else
   2693   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2694     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2695 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2696    { (exit 1); exit 1; }; }
   2697 fi
   2698 
   2699 fi
   2700 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2701 $as_echo "$ac_cv_host" >&6; }
   2702 case $ac_cv_host in
   2703 *-*-*) ;;
   2704 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2705 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2706    { (exit 1); exit 1; }; };;
   2707 esac
   2708 host=$ac_cv_host
   2709 ac_save_IFS=$IFS; IFS='-'
   2710 set x $ac_cv_host
   2711 shift
   2712 host_cpu=$1
   2713 host_vendor=$2
   2714 shift; shift
   2715 # Remember, the first character of IFS is used to create $*,
   2716 # except with old shells:
   2717 host_os=$*
   2718 IFS=$ac_save_IFS
   2719 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2720 
   2721 
   2722 DEPDIR="${am__leading_dot}deps"
   2723 
   2724 ac_config_commands="$ac_config_commands depfiles"
   2725 
   2726 
   2727 am_make=${MAKE-make}
   2728 cat > confinc << 'END'
   2729 am__doit:
   2730 	@echo done
   2731 .PHONY: am__doit
   2732 END
   2733 # If we don't find an include directive, just comment out the code.
   2734 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2735 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2736 am__include="#"
   2737 am__quote=
   2738 _am_result=none
   2739 # First try GNU make style include.
   2740 echo "include confinc" > confmf
   2741 # We grep out `Entering directory' and `Leaving directory'
   2742 # messages which can occur if `w' ends up in MAKEFLAGS.
   2743 # In particular we don't look at `^make:' because GNU make might
   2744 # be invoked under some other name (usually "gmake"), in which
   2745 # case it prints its new name instead of `make'.
   2746 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2747    am__include=include
   2748    am__quote=
   2749    _am_result=GNU
   2750 fi
   2751 # Now try BSD make style include.
   2752 if test "$am__include" = "#"; then
   2753    echo '.include "confinc"' > confmf
   2754    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2755       am__include=.include
   2756       am__quote="\""
   2757       _am_result=BSD
   2758    fi
   2759 fi
   2760 
   2761 
   2762 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2763 $as_echo "$_am_result" >&6; }
   2764 rm -f confinc confmf
   2765 
   2766 # Check whether --enable-dependency-tracking was given.
   2767 if test "${enable_dependency_tracking+set}" = set; then
   2768   enableval=$enable_dependency_tracking;
   2769 fi
   2770 
   2771 if test "x$enable_dependency_tracking" != xno; then
   2772   am_depcomp="$ac_aux_dir/depcomp"
   2773   AMDEPBACKSLASH='\'
   2774 fi
   2775  if test "x$enable_dependency_tracking" != xno; then
   2776   AMDEP_TRUE=
   2777   AMDEP_FALSE='#'
   2778 else
   2779   AMDEP_TRUE='#'
   2780   AMDEP_FALSE=
   2781 fi
   2782 
   2783 
   2784 ac_ext=c
   2785 ac_cpp='$CPP $CPPFLAGS'
   2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2789 if test -n "$ac_tool_prefix"; then
   2790   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2791 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2793 $as_echo_n "checking for $ac_word... " >&6; }
   2794 if test "${ac_cv_prog_CC+set}" = set; then
   2795   $as_echo_n "(cached) " >&6
   2796 else
   2797   if test -n "$CC"; then
   2798   ac_cv_prog_CC="$CC" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805   for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2808     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812 done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi
   2816 fi
   2817 CC=$ac_cv_prog_CC
   2818 if test -n "$CC"; then
   2819   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2820 $as_echo "$CC" >&6; }
   2821 else
   2822   { $as_echo "$as_me:$LINENO: result: no" >&5
   2823 $as_echo "no" >&6; }
   2824 fi
   2825 
   2826 
   2827 fi
   2828 if test -z "$ac_cv_prog_CC"; then
   2829   ac_ct_CC=$CC
   2830   # Extract the first word of "gcc", so it can be a program name with args.
   2831 set dummy gcc; ac_word=$2
   2832 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2833 $as_echo_n "checking for $ac_word... " >&6; }
   2834 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   if test -n "$ac_ct_CC"; then
   2838   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2839 else
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   test -z "$as_dir" && as_dir=.
   2845   for ac_exec_ext in '' $ac_executable_extensions; do
   2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2847     ac_cv_prog_ac_ct_CC="gcc"
   2848     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2849     break 2
   2850   fi
   2851 done
   2852 done
   2853 IFS=$as_save_IFS
   2854 
   2855 fi
   2856 fi
   2857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2858 if test -n "$ac_ct_CC"; then
   2859   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2860 $as_echo "$ac_ct_CC" >&6; }
   2861 else
   2862   { $as_echo "$as_me:$LINENO: result: no" >&5
   2863 $as_echo "no" >&6; }
   2864 fi
   2865 
   2866   if test "x$ac_ct_CC" = x; then
   2867     CC=""
   2868   else
   2869     case $cross_compiling:$ac_tool_warned in
   2870 yes:)
   2871 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2873 ac_tool_warned=yes ;;
   2874 esac
   2875     CC=$ac_ct_CC
   2876   fi
   2877 else
   2878   CC="$ac_cv_prog_CC"
   2879 fi
   2880 
   2881 if test -z "$CC"; then
   2882           if test -n "$ac_tool_prefix"; then
   2883     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2884 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2886 $as_echo_n "checking for $ac_word... " >&6; }
   2887 if test "${ac_cv_prog_CC+set}" = set; then
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   if test -n "$CC"; then
   2891   ac_cv_prog_CC="$CC" # Let the user override the test.
   2892 else
   2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2894 for as_dir in $PATH
   2895 do
   2896   IFS=$as_save_IFS
   2897   test -z "$as_dir" && as_dir=.
   2898   for ac_exec_ext in '' $ac_executable_extensions; do
   2899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2900     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2901     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2902     break 2
   2903   fi
   2904 done
   2905 done
   2906 IFS=$as_save_IFS
   2907 
   2908 fi
   2909 fi
   2910 CC=$ac_cv_prog_CC
   2911 if test -n "$CC"; then
   2912   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2913 $as_echo "$CC" >&6; }
   2914 else
   2915   { $as_echo "$as_me:$LINENO: result: no" >&5
   2916 $as_echo "no" >&6; }
   2917 fi
   2918 
   2919 
   2920   fi
   2921 fi
   2922 if test -z "$CC"; then
   2923   # Extract the first word of "cc", so it can be a program name with args.
   2924 set dummy cc; ac_word=$2
   2925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2926 $as_echo_n "checking for $ac_word... " >&6; }
   2927 if test "${ac_cv_prog_CC+set}" = set; then
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   if test -n "$CC"; then
   2931   ac_cv_prog_CC="$CC" # Let the user override the test.
   2932 else
   2933   ac_prog_rejected=no
   2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2935 for as_dir in $PATH
   2936 do
   2937   IFS=$as_save_IFS
   2938   test -z "$as_dir" && as_dir=.
   2939   for ac_exec_ext in '' $ac_executable_extensions; do
   2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2941     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2942        ac_prog_rejected=yes
   2943        continue
   2944      fi
   2945     ac_cv_prog_CC="cc"
   2946     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2947     break 2
   2948   fi
   2949 done
   2950 done
   2951 IFS=$as_save_IFS
   2952 
   2953 if test $ac_prog_rejected = yes; then
   2954   # We found a bogon in the path, so make sure we never use it.
   2955   set dummy $ac_cv_prog_CC
   2956   shift
   2957   if test $# != 0; then
   2958     # We chose a different compiler from the bogus one.
   2959     # However, it has the same basename, so the bogon will be chosen
   2960     # first if we set CC to just the basename; use the full file name.
   2961     shift
   2962     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2963   fi
   2964 fi
   2965 fi
   2966 fi
   2967 CC=$ac_cv_prog_CC
   2968 if test -n "$CC"; then
   2969   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2970 $as_echo "$CC" >&6; }
   2971 else
   2972   { $as_echo "$as_me:$LINENO: result: no" >&5
   2973 $as_echo "no" >&6; }
   2974 fi
   2975 
   2976 
   2977 fi
   2978 if test -z "$CC"; then
   2979   if test -n "$ac_tool_prefix"; then
   2980   for ac_prog in cl.exe
   2981   do
   2982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2984 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2985 $as_echo_n "checking for $ac_word... " >&6; }
   2986 if test "${ac_cv_prog_CC+set}" = set; then
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   if test -n "$CC"; then
   2990   ac_cv_prog_CC="$CC" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997   for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2999     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3000     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004 done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 CC=$ac_cv_prog_CC
   3010 if test -n "$CC"; then
   3011   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3012 $as_echo "$CC" >&6; }
   3013 else
   3014   { $as_echo "$as_me:$LINENO: result: no" >&5
   3015 $as_echo "no" >&6; }
   3016 fi
   3017 
   3018 
   3019     test -n "$CC" && break
   3020   done
   3021 fi
   3022 if test -z "$CC"; then
   3023   ac_ct_CC=$CC
   3024   for ac_prog in cl.exe
   3025 do
   3026   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3027 set dummy $ac_prog; ac_word=$2
   3028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3029 $as_echo_n "checking for $ac_word... " >&6; }
   3030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3031   $as_echo_n "(cached) " >&6
   3032 else
   3033   if test -n "$ac_ct_CC"; then
   3034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3035 else
   3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3037 for as_dir in $PATH
   3038 do
   3039   IFS=$as_save_IFS
   3040   test -z "$as_dir" && as_dir=.
   3041   for ac_exec_ext in '' $ac_executable_extensions; do
   3042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3043     ac_cv_prog_ac_ct_CC="$ac_prog"
   3044     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3045     break 2
   3046   fi
   3047 done
   3048 done
   3049 IFS=$as_save_IFS
   3050 
   3051 fi
   3052 fi
   3053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3054 if test -n "$ac_ct_CC"; then
   3055   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3056 $as_echo "$ac_ct_CC" >&6; }
   3057 else
   3058   { $as_echo "$as_me:$LINENO: result: no" >&5
   3059 $as_echo "no" >&6; }
   3060 fi
   3061 
   3062 
   3063   test -n "$ac_ct_CC" && break
   3064 done
   3065 
   3066   if test "x$ac_ct_CC" = x; then
   3067     CC=""
   3068   else
   3069     case $cross_compiling:$ac_tool_warned in
   3070 yes:)
   3071 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3073 ac_tool_warned=yes ;;
   3074 esac
   3075     CC=$ac_ct_CC
   3076   fi
   3077 fi
   3078 
   3079 fi
   3080 
   3081 
   3082 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3084 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3085 See \`config.log' for more details." >&5
   3086 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3087 See \`config.log' for more details." >&2;}
   3088    { (exit 1); exit 1; }; }; }
   3089 
   3090 # Provide some information about the compiler.
   3091 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3092 set X $ac_compile
   3093 ac_compiler=$2
   3094 { (ac_try="$ac_compiler --version >&5"
   3095 case "(($ac_try" in
   3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3097   *) ac_try_echo=$ac_try;;
   3098 esac
   3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3100 $as_echo "$ac_try_echo") >&5
   3101   (eval "$ac_compiler --version >&5") 2>&5
   3102   ac_status=$?
   3103   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3104   (exit $ac_status); }
   3105 { (ac_try="$ac_compiler -v >&5"
   3106 case "(($ac_try" in
   3107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3108   *) ac_try_echo=$ac_try;;
   3109 esac
   3110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3111 $as_echo "$ac_try_echo") >&5
   3112   (eval "$ac_compiler -v >&5") 2>&5
   3113   ac_status=$?
   3114   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3115   (exit $ac_status); }
   3116 { (ac_try="$ac_compiler -V >&5"
   3117 case "(($ac_try" in
   3118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3119   *) ac_try_echo=$ac_try;;
   3120 esac
   3121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3122 $as_echo "$ac_try_echo") >&5
   3123   (eval "$ac_compiler -V >&5") 2>&5
   3124   ac_status=$?
   3125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3126   (exit $ac_status); }
   3127 
   3128 cat >conftest.$ac_ext <<_ACEOF
   3129 /* confdefs.h.  */
   3130 _ACEOF
   3131 cat confdefs.h >>conftest.$ac_ext
   3132 cat >>conftest.$ac_ext <<_ACEOF
   3133 /* end confdefs.h.  */
   3134 
   3135 int
   3136 main ()
   3137 {
   3138 
   3139   ;
   3140   return 0;
   3141 }
   3142 _ACEOF
   3143 ac_clean_files_save=$ac_clean_files
   3144 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3145 # Try to create an executable without -o first, disregard a.out.
   3146 # It will help us diagnose broken compilers, and finding out an intuition
   3147 # of exeext.
   3148 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3149 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3150 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3151 
   3152 # The possible output files:
   3153 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3154 
   3155 ac_rmfiles=
   3156 for ac_file in $ac_files
   3157 do
   3158   case $ac_file in
   3159     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3160     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3161   esac
   3162 done
   3163 rm -f $ac_rmfiles
   3164 
   3165 if { (ac_try="$ac_link_default"
   3166 case "(($ac_try" in
   3167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3168   *) ac_try_echo=$ac_try;;
   3169 esac
   3170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3171 $as_echo "$ac_try_echo") >&5
   3172   (eval "$ac_link_default") 2>&5
   3173   ac_status=$?
   3174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3175   (exit $ac_status); }; then
   3176   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3177 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3178 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3179 # so that the user can short-circuit this test for compilers unknown to
   3180 # Autoconf.
   3181 for ac_file in $ac_files ''
   3182 do
   3183   test -f "$ac_file" || continue
   3184   case $ac_file in
   3185     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3186 	;;
   3187     [ab].out )
   3188 	# We found the default executable, but exeext='' is most
   3189 	# certainly right.
   3190 	break;;
   3191     *.* )
   3192         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3193 	then :; else
   3194 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3195 	fi
   3196 	# We set ac_cv_exeext here because the later test for it is not
   3197 	# safe: cross compilers may not add the suffix if given an `-o'
   3198 	# argument, so we may need to know it at that point already.
   3199 	# Even if this section looks crufty: it has the advantage of
   3200 	# actually working.
   3201 	break;;
   3202     * )
   3203 	break;;
   3204   esac
   3205 done
   3206 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3207 
   3208 else
   3209   ac_file=''
   3210 fi
   3211 
   3212 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3213 $as_echo "$ac_file" >&6; }
   3214 if test -z "$ac_file"; then
   3215   $as_echo "$as_me: failed program was:" >&5
   3216 sed 's/^/| /' conftest.$ac_ext >&5
   3217 
   3218 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3220 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3221 See \`config.log' for more details." >&5
   3222 $as_echo "$as_me: error: C compiler cannot create executables
   3223 See \`config.log' for more details." >&2;}
   3224    { (exit 77); exit 77; }; }; }
   3225 fi
   3226 
   3227 ac_exeext=$ac_cv_exeext
   3228 
   3229 # Check that the compiler produces executables we can run.  If not, either
   3230 # the compiler is broken, or we cross compile.
   3231 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3232 $as_echo_n "checking whether the C compiler works... " >&6; }
   3233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3234 # If not cross compiling, check that we can run a simple program.
   3235 if test "$cross_compiling" != yes; then
   3236   if { ac_try='./$ac_file'
   3237   { (case "(($ac_try" in
   3238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3239   *) ac_try_echo=$ac_try;;
   3240 esac
   3241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3242 $as_echo "$ac_try_echo") >&5
   3243   (eval "$ac_try") 2>&5
   3244   ac_status=$?
   3245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3246   (exit $ac_status); }; }; then
   3247     cross_compiling=no
   3248   else
   3249     if test "$cross_compiling" = maybe; then
   3250 	cross_compiling=yes
   3251     else
   3252 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3254 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3255 If you meant to cross compile, use \`--host'.
   3256 See \`config.log' for more details." >&5
   3257 $as_echo "$as_me: error: cannot run C compiled programs.
   3258 If you meant to cross compile, use \`--host'.
   3259 See \`config.log' for more details." >&2;}
   3260    { (exit 1); exit 1; }; }; }
   3261     fi
   3262   fi
   3263 fi
   3264 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3265 $as_echo "yes" >&6; }
   3266 
   3267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3268 ac_clean_files=$ac_clean_files_save
   3269 # Check that the compiler produces executables we can run.  If not, either
   3270 # the compiler is broken, or we cross compile.
   3271 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3272 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3273 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3274 $as_echo "$cross_compiling" >&6; }
   3275 
   3276 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3277 $as_echo_n "checking for suffix of executables... " >&6; }
   3278 if { (ac_try="$ac_link"
   3279 case "(($ac_try" in
   3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3281   *) ac_try_echo=$ac_try;;
   3282 esac
   3283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3284 $as_echo "$ac_try_echo") >&5
   3285   (eval "$ac_link") 2>&5
   3286   ac_status=$?
   3287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3288   (exit $ac_status); }; then
   3289   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3290 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3291 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3292 # `rm'.
   3293 for ac_file in conftest.exe conftest conftest.*; do
   3294   test -f "$ac_file" || continue
   3295   case $ac_file in
   3296     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3297     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3298 	  break;;
   3299     * ) break;;
   3300   esac
   3301 done
   3302 else
   3303   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3305 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3306 See \`config.log' for more details." >&5
   3307 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3308 See \`config.log' for more details." >&2;}
   3309    { (exit 1); exit 1; }; }; }
   3310 fi
   3311 
   3312 rm -f conftest$ac_cv_exeext
   3313 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3314 $as_echo "$ac_cv_exeext" >&6; }
   3315 
   3316 rm -f conftest.$ac_ext
   3317 EXEEXT=$ac_cv_exeext
   3318 ac_exeext=$EXEEXT
   3319 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3320 $as_echo_n "checking for suffix of object files... " >&6; }
   3321 if test "${ac_cv_objext+set}" = set; then
   3322   $as_echo_n "(cached) " >&6
   3323 else
   3324   cat >conftest.$ac_ext <<_ACEOF
   3325 /* confdefs.h.  */
   3326 _ACEOF
   3327 cat confdefs.h >>conftest.$ac_ext
   3328 cat >>conftest.$ac_ext <<_ACEOF
   3329 /* end confdefs.h.  */
   3330 
   3331 int
   3332 main ()
   3333 {
   3334 
   3335   ;
   3336   return 0;
   3337 }
   3338 _ACEOF
   3339 rm -f conftest.o conftest.obj
   3340 if { (ac_try="$ac_compile"
   3341 case "(($ac_try" in
   3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3343   *) ac_try_echo=$ac_try;;
   3344 esac
   3345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3346 $as_echo "$ac_try_echo") >&5
   3347   (eval "$ac_compile") 2>&5
   3348   ac_status=$?
   3349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3350   (exit $ac_status); }; then
   3351   for ac_file in conftest.o conftest.obj conftest.*; do
   3352   test -f "$ac_file" || continue;
   3353   case $ac_file in
   3354     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3355     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3356        break;;
   3357   esac
   3358 done
   3359 else
   3360   $as_echo "$as_me: failed program was:" >&5
   3361 sed 's/^/| /' conftest.$ac_ext >&5
   3362 
   3363 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3365 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3366 See \`config.log' for more details." >&5
   3367 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3368 See \`config.log' for more details." >&2;}
   3369    { (exit 1); exit 1; }; }; }
   3370 fi
   3371 
   3372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3373 fi
   3374 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3375 $as_echo "$ac_cv_objext" >&6; }
   3376 OBJEXT=$ac_cv_objext
   3377 ac_objext=$OBJEXT
   3378 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3379 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3380 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3381   $as_echo_n "(cached) " >&6
   3382 else
   3383   cat >conftest.$ac_ext <<_ACEOF
   3384 /* confdefs.h.  */
   3385 _ACEOF
   3386 cat confdefs.h >>conftest.$ac_ext
   3387 cat >>conftest.$ac_ext <<_ACEOF
   3388 /* end confdefs.h.  */
   3389 
   3390 int
   3391 main ()
   3392 {
   3393 #ifndef __GNUC__
   3394        choke me
   3395 #endif
   3396 
   3397   ;
   3398   return 0;
   3399 }
   3400 _ACEOF
   3401 rm -f conftest.$ac_objext
   3402 if { (ac_try="$ac_compile"
   3403 case "(($ac_try" in
   3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3405   *) ac_try_echo=$ac_try;;
   3406 esac
   3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3408 $as_echo "$ac_try_echo") >&5
   3409   (eval "$ac_compile") 2>conftest.er1
   3410   ac_status=$?
   3411   grep -v '^ *+' conftest.er1 >conftest.err
   3412   rm -f conftest.er1
   3413   cat conftest.err >&5
   3414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3415   (exit $ac_status); } && {
   3416 	 test -z "$ac_c_werror_flag" ||
   3417 	 test ! -s conftest.err
   3418        } && test -s conftest.$ac_objext; then
   3419   ac_compiler_gnu=yes
   3420 else
   3421   $as_echo "$as_me: failed program was:" >&5
   3422 sed 's/^/| /' conftest.$ac_ext >&5
   3423 
   3424 	ac_compiler_gnu=no
   3425 fi
   3426 
   3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3428 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3429 
   3430 fi
   3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3432 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3433 if test $ac_compiler_gnu = yes; then
   3434   GCC=yes
   3435 else
   3436   GCC=
   3437 fi
   3438 ac_test_CFLAGS=${CFLAGS+set}
   3439 ac_save_CFLAGS=$CFLAGS
   3440 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3441 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3442 if test "${ac_cv_prog_cc_g+set}" = set; then
   3443   $as_echo_n "(cached) " >&6
   3444 else
   3445   ac_save_c_werror_flag=$ac_c_werror_flag
   3446    ac_c_werror_flag=yes
   3447    ac_cv_prog_cc_g=no
   3448    CFLAGS="-g"
   3449    cat >conftest.$ac_ext <<_ACEOF
   3450 /* confdefs.h.  */
   3451 _ACEOF
   3452 cat confdefs.h >>conftest.$ac_ext
   3453 cat >>conftest.$ac_ext <<_ACEOF
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 
   3460   ;
   3461   return 0;
   3462 }
   3463 _ACEOF
   3464 rm -f conftest.$ac_objext
   3465 if { (ac_try="$ac_compile"
   3466 case "(($ac_try" in
   3467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3468   *) ac_try_echo=$ac_try;;
   3469 esac
   3470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3471 $as_echo "$ac_try_echo") >&5
   3472   (eval "$ac_compile") 2>conftest.er1
   3473   ac_status=$?
   3474   grep -v '^ *+' conftest.er1 >conftest.err
   3475   rm -f conftest.er1
   3476   cat conftest.err >&5
   3477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3478   (exit $ac_status); } && {
   3479 	 test -z "$ac_c_werror_flag" ||
   3480 	 test ! -s conftest.err
   3481        } && test -s conftest.$ac_objext; then
   3482   ac_cv_prog_cc_g=yes
   3483 else
   3484   $as_echo "$as_me: failed program was:" >&5
   3485 sed 's/^/| /' conftest.$ac_ext >&5
   3486 
   3487 	CFLAGS=""
   3488       cat >conftest.$ac_ext <<_ACEOF
   3489 /* confdefs.h.  */
   3490 _ACEOF
   3491 cat confdefs.h >>conftest.$ac_ext
   3492 cat >>conftest.$ac_ext <<_ACEOF
   3493 /* end confdefs.h.  */
   3494 
   3495 int
   3496 main ()
   3497 {
   3498 
   3499   ;
   3500   return 0;
   3501 }
   3502 _ACEOF
   3503 rm -f conftest.$ac_objext
   3504 if { (ac_try="$ac_compile"
   3505 case "(($ac_try" in
   3506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3507   *) ac_try_echo=$ac_try;;
   3508 esac
   3509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3510 $as_echo "$ac_try_echo") >&5
   3511   (eval "$ac_compile") 2>conftest.er1
   3512   ac_status=$?
   3513   grep -v '^ *+' conftest.er1 >conftest.err
   3514   rm -f conftest.er1
   3515   cat conftest.err >&5
   3516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3517   (exit $ac_status); } && {
   3518 	 test -z "$ac_c_werror_flag" ||
   3519 	 test ! -s conftest.err
   3520        } && test -s conftest.$ac_objext; then
   3521   :
   3522 else
   3523   $as_echo "$as_me: failed program was:" >&5
   3524 sed 's/^/| /' conftest.$ac_ext >&5
   3525 
   3526 	ac_c_werror_flag=$ac_save_c_werror_flag
   3527 	 CFLAGS="-g"
   3528 	 cat >conftest.$ac_ext <<_ACEOF
   3529 /* confdefs.h.  */
   3530 _ACEOF
   3531 cat confdefs.h >>conftest.$ac_ext
   3532 cat >>conftest.$ac_ext <<_ACEOF
   3533 /* end confdefs.h.  */
   3534 
   3535 int
   3536 main ()
   3537 {
   3538 
   3539   ;
   3540   return 0;
   3541 }
   3542 _ACEOF
   3543 rm -f conftest.$ac_objext
   3544 if { (ac_try="$ac_compile"
   3545 case "(($ac_try" in
   3546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3547   *) ac_try_echo=$ac_try;;
   3548 esac
   3549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3550 $as_echo "$ac_try_echo") >&5
   3551   (eval "$ac_compile") 2>conftest.er1
   3552   ac_status=$?
   3553   grep -v '^ *+' conftest.er1 >conftest.err
   3554   rm -f conftest.er1
   3555   cat conftest.err >&5
   3556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3557   (exit $ac_status); } && {
   3558 	 test -z "$ac_c_werror_flag" ||
   3559 	 test ! -s conftest.err
   3560        } && test -s conftest.$ac_objext; then
   3561   ac_cv_prog_cc_g=yes
   3562 else
   3563   $as_echo "$as_me: failed program was:" >&5
   3564 sed 's/^/| /' conftest.$ac_ext >&5
   3565 
   3566 
   3567 fi
   3568 
   3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3570 fi
   3571 
   3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3573 fi
   3574 
   3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3576    ac_c_werror_flag=$ac_save_c_werror_flag
   3577 fi
   3578 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3579 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3580 if test "$ac_test_CFLAGS" = set; then
   3581   CFLAGS=$ac_save_CFLAGS
   3582 elif test $ac_cv_prog_cc_g = yes; then
   3583   if test "$GCC" = yes; then
   3584     CFLAGS="-g -O2"
   3585   else
   3586     CFLAGS="-g"
   3587   fi
   3588 else
   3589   if test "$GCC" = yes; then
   3590     CFLAGS="-O2"
   3591   else
   3592     CFLAGS=
   3593   fi
   3594 fi
   3595 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3596 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3597 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3598   $as_echo_n "(cached) " >&6
   3599 else
   3600   ac_cv_prog_cc_c89=no
   3601 ac_save_CC=$CC
   3602 cat >conftest.$ac_ext <<_ACEOF
   3603 /* confdefs.h.  */
   3604 _ACEOF
   3605 cat confdefs.h >>conftest.$ac_ext
   3606 cat >>conftest.$ac_ext <<_ACEOF
   3607 /* end confdefs.h.  */
   3608 #include <stdarg.h>
   3609 #include <stdio.h>
   3610 #include <sys/types.h>
   3611 #include <sys/stat.h>
   3612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3613 struct buf { int x; };
   3614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3615 static char *e (p, i)
   3616      char **p;
   3617      int i;
   3618 {
   3619   return p[i];
   3620 }
   3621 static char *f (char * (*g) (char **, int), char **p, ...)
   3622 {
   3623   char *s;
   3624   va_list v;
   3625   va_start (v,p);
   3626   s = g (p, va_arg (v,int));
   3627   va_end (v);
   3628   return s;
   3629 }
   3630 
   3631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3632    function prototypes and stuff, but not '\xHH' hex character constants.
   3633    These don't provoke an error unfortunately, instead are silently treated
   3634    as 'x'.  The following induces an error, until -std is added to get
   3635    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3636    array size at least.  It's necessary to write '\x00'==0 to get something
   3637    that's true only with -std.  */
   3638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3639 
   3640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3641    inside strings and character constants.  */
   3642 #define FOO(x) 'x'
   3643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3644 
   3645 int test (int i, double x);
   3646 struct s1 {int (*f) (int a);};
   3647 struct s2 {int (*f) (double a);};
   3648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3649 int argc;
   3650 char **argv;
   3651 int
   3652 main ()
   3653 {
   3654 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3655   ;
   3656   return 0;
   3657 }
   3658 _ACEOF
   3659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3660 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3661 do
   3662   CC="$ac_save_CC $ac_arg"
   3663   rm -f conftest.$ac_objext
   3664 if { (ac_try="$ac_compile"
   3665 case "(($ac_try" in
   3666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3667   *) ac_try_echo=$ac_try;;
   3668 esac
   3669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3670 $as_echo "$ac_try_echo") >&5
   3671   (eval "$ac_compile") 2>conftest.er1
   3672   ac_status=$?
   3673   grep -v '^ *+' conftest.er1 >conftest.err
   3674   rm -f conftest.er1
   3675   cat conftest.err >&5
   3676   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3677   (exit $ac_status); } && {
   3678 	 test -z "$ac_c_werror_flag" ||
   3679 	 test ! -s conftest.err
   3680        } && test -s conftest.$ac_objext; then
   3681   ac_cv_prog_cc_c89=$ac_arg
   3682 else
   3683   $as_echo "$as_me: failed program was:" >&5
   3684 sed 's/^/| /' conftest.$ac_ext >&5
   3685 
   3686 
   3687 fi
   3688 
   3689 rm -f core conftest.err conftest.$ac_objext
   3690   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3691 done
   3692 rm -f conftest.$ac_ext
   3693 CC=$ac_save_CC
   3694 
   3695 fi
   3696 # AC_CACHE_VAL
   3697 case "x$ac_cv_prog_cc_c89" in
   3698   x)
   3699     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3700 $as_echo "none needed" >&6; } ;;
   3701   xno)
   3702     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3703 $as_echo "unsupported" >&6; } ;;
   3704   *)
   3705     CC="$CC $ac_cv_prog_cc_c89"
   3706     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3707 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3708 esac
   3709 
   3710 
   3711 ac_ext=c
   3712 ac_cpp='$CPP $CPPFLAGS'
   3713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3716 
   3717 depcc="$CC"   am_compiler_list=
   3718 
   3719 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3720 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3721 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3722   $as_echo_n "(cached) " >&6
   3723 else
   3724   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3725   # We make a subdir and do the tests there.  Otherwise we can end up
   3726   # making bogus files that we don't know about and never remove.  For
   3727   # instance it was reported that on HP-UX the gcc test will end up
   3728   # making a dummy file named `D' -- because `-MD' means `put the output
   3729   # in D'.
   3730   mkdir conftest.dir
   3731   # Copy depcomp to subdir because otherwise we won't find it if we're
   3732   # using a relative directory.
   3733   cp "$am_depcomp" conftest.dir
   3734   cd conftest.dir
   3735   # We will build objects and dependencies in a subdirectory because
   3736   # it helps to detect inapplicable dependency modes.  For instance
   3737   # both Tru64's cc and ICC support -MD to output dependencies as a
   3738   # side effect of compilation, but ICC will put the dependencies in
   3739   # the current directory while Tru64 will put them in the object
   3740   # directory.
   3741   mkdir sub
   3742 
   3743   am_cv_CC_dependencies_compiler_type=none
   3744   if test "$am_compiler_list" = ""; then
   3745      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3746   fi
   3747   for depmode in $am_compiler_list; do
   3748     # Setup a source with many dependencies, because some compilers
   3749     # like to wrap large dependency lists on column 80 (with \), and
   3750     # we should not choose a depcomp mode which is confused by this.
   3751     #
   3752     # We need to recreate these files for each test, as the compiler may
   3753     # overwrite some of them when testing with obscure command lines.
   3754     # This happens at least with the AIX C compiler.
   3755     : > sub/conftest.c
   3756     for i in 1 2 3 4 5 6; do
   3757       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3758       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3759       # Solaris 8's {/usr,}/bin/sh.
   3760       touch sub/conftst$i.h
   3761     done
   3762     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3763 
   3764     case $depmode in
   3765     nosideeffect)
   3766       # after this tag, mechanisms are not by side-effect, so they'll
   3767       # only be used when explicitly requested
   3768       if test "x$enable_dependency_tracking" = xyes; then
   3769 	continue
   3770       else
   3771 	break
   3772       fi
   3773       ;;
   3774     none) break ;;
   3775     esac
   3776     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3777     # mode.  It turns out that the SunPro C++ compiler does not properly
   3778     # handle `-M -o', and we need to detect this.
   3779     if depmode=$depmode \
   3780        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3781        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3782        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3783          >/dev/null 2>conftest.err &&
   3784        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3785        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3786        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3787        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3788       # icc doesn't choke on unknown options, it will just issue warnings
   3789       # or remarks (even with -Werror).  So we grep stderr for any message
   3790       # that says an option was ignored or not supported.
   3791       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3792       #   icc: Command line warning: ignoring option '-M'; no argument required
   3793       # The diagnosis changed in icc 8.0:
   3794       #   icc: Command line remark: option '-MP' not supported
   3795       if (grep 'ignoring option' conftest.err ||
   3796           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3797         am_cv_CC_dependencies_compiler_type=$depmode
   3798         break
   3799       fi
   3800     fi
   3801   done
   3802 
   3803   cd ..
   3804   rm -rf conftest.dir
   3805 else
   3806   am_cv_CC_dependencies_compiler_type=none
   3807 fi
   3808 
   3809 fi
   3810 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3811 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3812 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3813 
   3814  if
   3815   test "x$enable_dependency_tracking" != xno \
   3816   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3817   am__fastdepCC_TRUE=
   3818   am__fastdepCC_FALSE='#'
   3819 else
   3820   am__fastdepCC_TRUE='#'
   3821   am__fastdepCC_FALSE=
   3822 fi
   3823 
   3824 
   3825 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3826 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3827 if test "${ac_cv_path_SED+set}" = set; then
   3828   $as_echo_n "(cached) " >&6
   3829 else
   3830             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3831      for ac_i in 1 2 3 4 5 6 7; do
   3832        ac_script="$ac_script$as_nl$ac_script"
   3833      done
   3834      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3835      $as_unset ac_script || ac_script=
   3836      if test -z "$SED"; then
   3837   ac_path_SED_found=false
   3838   # Loop through the user's path and test for each of PROGNAME-LIST
   3839   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3840 for as_dir in $PATH
   3841 do
   3842   IFS=$as_save_IFS
   3843   test -z "$as_dir" && as_dir=.
   3844   for ac_prog in sed gsed; do
   3845     for ac_exec_ext in '' $ac_executable_extensions; do
   3846       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3847       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3848 # Check for GNU ac_path_SED and select it if it is found.
   3849   # Check for GNU $ac_path_SED
   3850 case `"$ac_path_SED" --version 2>&1` in
   3851 *GNU*)
   3852   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3853 *)
   3854   ac_count=0
   3855   $as_echo_n 0123456789 >"conftest.in"
   3856   while :
   3857   do
   3858     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3859     mv "conftest.tmp" "conftest.in"
   3860     cp "conftest.in" "conftest.nl"
   3861     $as_echo '' >> "conftest.nl"
   3862     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3863     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3864     ac_count=`expr $ac_count + 1`
   3865     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3866       # Best one so far, save it but keep looking for a better one
   3867       ac_cv_path_SED="$ac_path_SED"
   3868       ac_path_SED_max=$ac_count
   3869     fi
   3870     # 10*(2^10) chars as input seems more than enough
   3871     test $ac_count -gt 10 && break
   3872   done
   3873   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3874 esac
   3875 
   3876       $ac_path_SED_found && break 3
   3877     done
   3878   done
   3879 done
   3880 IFS=$as_save_IFS
   3881   if test -z "$ac_cv_path_SED"; then
   3882     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   3883 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   3884    { (exit 1); exit 1; }; }
   3885   fi
   3886 else
   3887   ac_cv_path_SED=$SED
   3888 fi
   3889 
   3890 fi
   3891 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   3892 $as_echo "$ac_cv_path_SED" >&6; }
   3893  SED="$ac_cv_path_SED"
   3894   rm -f conftest.sed
   3895 
   3896 test -z "$SED" && SED=sed
   3897 Xsed="$SED -e 1s/^X//"
   3898 
   3899 
   3900 
   3901 
   3902 
   3903 
   3904 
   3905 
   3906 
   3907 
   3908 
   3909 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3910 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3911 if test "${ac_cv_path_GREP+set}" = set; then
   3912   $as_echo_n "(cached) " >&6
   3913 else
   3914   if test -z "$GREP"; then
   3915   ac_path_GREP_found=false
   3916   # Loop through the user's path and test for each of PROGNAME-LIST
   3917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3919 do
   3920   IFS=$as_save_IFS
   3921   test -z "$as_dir" && as_dir=.
   3922   for ac_prog in grep ggrep; do
   3923     for ac_exec_ext in '' $ac_executable_extensions; do
   3924       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3925       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3926 # Check for GNU ac_path_GREP and select it if it is found.
   3927   # Check for GNU $ac_path_GREP
   3928 case `"$ac_path_GREP" --version 2>&1` in
   3929 *GNU*)
   3930   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3931 *)
   3932   ac_count=0
   3933   $as_echo_n 0123456789 >"conftest.in"
   3934   while :
   3935   do
   3936     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3937     mv "conftest.tmp" "conftest.in"
   3938     cp "conftest.in" "conftest.nl"
   3939     $as_echo 'GREP' >> "conftest.nl"
   3940     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3941     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3942     ac_count=`expr $ac_count + 1`
   3943     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3944       # Best one so far, save it but keep looking for a better one
   3945       ac_cv_path_GREP="$ac_path_GREP"
   3946       ac_path_GREP_max=$ac_count
   3947     fi
   3948     # 10*(2^10) chars as input seems more than enough
   3949     test $ac_count -gt 10 && break
   3950   done
   3951   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3952 esac
   3953 
   3954       $ac_path_GREP_found && break 3
   3955     done
   3956   done
   3957 done
   3958 IFS=$as_save_IFS
   3959   if test -z "$ac_cv_path_GREP"; then
   3960     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3961 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3962    { (exit 1); exit 1; }; }
   3963   fi
   3964 else
   3965   ac_cv_path_GREP=$GREP
   3966 fi
   3967 
   3968 fi
   3969 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3970 $as_echo "$ac_cv_path_GREP" >&6; }
   3971  GREP="$ac_cv_path_GREP"
   3972 
   3973 
   3974 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3975 $as_echo_n "checking for egrep... " >&6; }
   3976 if test "${ac_cv_path_EGREP+set}" = set; then
   3977   $as_echo_n "(cached) " >&6
   3978 else
   3979   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3980    then ac_cv_path_EGREP="$GREP -E"
   3981    else
   3982      if test -z "$EGREP"; then
   3983   ac_path_EGREP_found=false
   3984   # Loop through the user's path and test for each of PROGNAME-LIST
   3985   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3986 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3987 do
   3988   IFS=$as_save_IFS
   3989   test -z "$as_dir" && as_dir=.
   3990   for ac_prog in egrep; do
   3991     for ac_exec_ext in '' $ac_executable_extensions; do
   3992       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3993       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3994 # Check for GNU ac_path_EGREP and select it if it is found.
   3995   # Check for GNU $ac_path_EGREP
   3996 case `"$ac_path_EGREP" --version 2>&1` in
   3997 *GNU*)
   3998   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3999 *)
   4000   ac_count=0
   4001   $as_echo_n 0123456789 >"conftest.in"
   4002   while :
   4003   do
   4004     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4005     mv "conftest.tmp" "conftest.in"
   4006     cp "conftest.in" "conftest.nl"
   4007     $as_echo 'EGREP' >> "conftest.nl"
   4008     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4009     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4010     ac_count=`expr $ac_count + 1`
   4011     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4012       # Best one so far, save it but keep looking for a better one
   4013       ac_cv_path_EGREP="$ac_path_EGREP"
   4014       ac_path_EGREP_max=$ac_count
   4015     fi
   4016     # 10*(2^10) chars as input seems more than enough
   4017     test $ac_count -gt 10 && break
   4018   done
   4019   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4020 esac
   4021 
   4022       $ac_path_EGREP_found && break 3
   4023     done
   4024   done
   4025 done
   4026 IFS=$as_save_IFS
   4027   if test -z "$ac_cv_path_EGREP"; then
   4028     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4029 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4030    { (exit 1); exit 1; }; }
   4031   fi
   4032 else
   4033   ac_cv_path_EGREP=$EGREP
   4034 fi
   4035 
   4036    fi
   4037 fi
   4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4039 $as_echo "$ac_cv_path_EGREP" >&6; }
   4040  EGREP="$ac_cv_path_EGREP"
   4041 
   4042 
   4043 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
   4044 $as_echo_n "checking for fgrep... " >&6; }
   4045 if test "${ac_cv_path_FGREP+set}" = set; then
   4046   $as_echo_n "(cached) " >&6
   4047 else
   4048   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4049    then ac_cv_path_FGREP="$GREP -F"
   4050    else
   4051      if test -z "$FGREP"; then
   4052   ac_path_FGREP_found=false
   4053   # Loop through the user's path and test for each of PROGNAME-LIST
   4054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4055 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4056 do
   4057   IFS=$as_save_IFS
   4058   test -z "$as_dir" && as_dir=.
   4059   for ac_prog in fgrep; do
   4060     for ac_exec_ext in '' $ac_executable_extensions; do
   4061       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4062       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4063 # Check for GNU ac_path_FGREP and select it if it is found.
   4064   # Check for GNU $ac_path_FGREP
   4065 case `"$ac_path_FGREP" --version 2>&1` in
   4066 *GNU*)
   4067   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4068 *)
   4069   ac_count=0
   4070   $as_echo_n 0123456789 >"conftest.in"
   4071   while :
   4072   do
   4073     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4074     mv "conftest.tmp" "conftest.in"
   4075     cp "conftest.in" "conftest.nl"
   4076     $as_echo 'FGREP' >> "conftest.nl"
   4077     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4078     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4079     ac_count=`expr $ac_count + 1`
   4080     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4081       # Best one so far, save it but keep looking for a better one
   4082       ac_cv_path_FGREP="$ac_path_FGREP"
   4083       ac_path_FGREP_max=$ac_count
   4084     fi
   4085     # 10*(2^10) chars as input seems more than enough
   4086     test $ac_count -gt 10 && break
   4087   done
   4088   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4089 esac
   4090 
   4091       $ac_path_FGREP_found && break 3
   4092     done
   4093   done
   4094 done
   4095 IFS=$as_save_IFS
   4096   if test -z "$ac_cv_path_FGREP"; then
   4097     { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4098 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4099    { (exit 1); exit 1; }; }
   4100   fi
   4101 else
   4102   ac_cv_path_FGREP=$FGREP
   4103 fi
   4104 
   4105    fi
   4106 fi
   4107 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
   4108 $as_echo "$ac_cv_path_FGREP" >&6; }
   4109  FGREP="$ac_cv_path_FGREP"
   4110 
   4111 
   4112 test -z "$GREP" && GREP=grep
   4113 
   4114 
   4115 
   4116 
   4117 
   4118 
   4119 
   4120 
   4121 
   4122 
   4123 
   4124 
   4125 
   4126 
   4127 
   4128 
   4129 
   4130 
   4131 
   4132 # Check whether --with-gnu-ld was given.
   4133 if test "${with_gnu_ld+set}" = set; then
   4134   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4135 else
   4136   with_gnu_ld=no
   4137 fi
   4138 
   4139 ac_prog=ld
   4140 if test "$GCC" = yes; then
   4141   # Check if gcc -print-prog-name=ld gives a path.
   4142   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4143 $as_echo_n "checking for ld used by $CC... " >&6; }
   4144   case $host in
   4145   *-*-mingw*)
   4146     # gcc leaves a trailing carriage return which upsets mingw
   4147     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4148   *)
   4149     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4150   esac
   4151   case $ac_prog in
   4152     # Accept absolute paths.
   4153     [\\/]* | ?:[\\/]*)
   4154       re_direlt='/[^/][^/]*/\.\./'
   4155       # Canonicalize the pathname of ld
   4156       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4157       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4158 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4159       done
   4160       test -z "$LD" && LD="$ac_prog"
   4161       ;;
   4162   "")
   4163     # If it fails, then pretend we aren't using GCC.
   4164     ac_prog=ld
   4165     ;;
   4166   *)
   4167     # If it is relative, then search for the first ld in PATH.
   4168     with_gnu_ld=unknown
   4169     ;;
   4170   esac
   4171 elif test "$with_gnu_ld" = yes; then
   4172   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4173 $as_echo_n "checking for GNU ld... " >&6; }
   4174 else
   4175   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4176 $as_echo_n "checking for non-GNU ld... " >&6; }
   4177 fi
   4178 if test "${lt_cv_path_LD+set}" = set; then
   4179   $as_echo_n "(cached) " >&6
   4180 else
   4181   if test -z "$LD"; then
   4182   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4183   for ac_dir in $PATH; do
   4184     IFS="$lt_save_ifs"
   4185     test -z "$ac_dir" && ac_dir=.
   4186     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4187       lt_cv_path_LD="$ac_dir/$ac_prog"
   4188       # Check to see if the program is GNU ld.  I'd rather use --version,
   4189       # but apparently some variants of GNU ld only accept -v.
   4190       # Break only if it was the GNU/non-GNU ld that we prefer.
   4191       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4192       *GNU* | *'with BFD'*)
   4193 	test "$with_gnu_ld" != no && break
   4194 	;;
   4195       *)
   4196 	test "$with_gnu_ld" != yes && break
   4197 	;;
   4198       esac
   4199     fi
   4200   done
   4201   IFS="$lt_save_ifs"
   4202 else
   4203   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4204 fi
   4205 fi
   4206 
   4207 LD="$lt_cv_path_LD"
   4208 if test -n "$LD"; then
   4209   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4210 $as_echo "$LD" >&6; }
   4211 else
   4212   { $as_echo "$as_me:$LINENO: result: no" >&5
   4213 $as_echo "no" >&6; }
   4214 fi
   4215 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4216 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4217    { (exit 1); exit 1; }; }
   4218 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4220 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4221   $as_echo_n "(cached) " >&6
   4222 else
   4223   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4224 case `$LD -v 2>&1 </dev/null` in
   4225 *GNU* | *'with BFD'*)
   4226   lt_cv_prog_gnu_ld=yes
   4227   ;;
   4228 *)
   4229   lt_cv_prog_gnu_ld=no
   4230   ;;
   4231 esac
   4232 fi
   4233 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4234 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4235 with_gnu_ld=$lt_cv_prog_gnu_ld
   4236 
   4237 
   4238 
   4239 
   4240 
   4241 
   4242 
   4243 
   4244 
   4245 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   4246 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4247 if test "${lt_cv_path_NM+set}" = set; then
   4248   $as_echo_n "(cached) " >&6
   4249 else
   4250   if test -n "$NM"; then
   4251   # Let the user override the test.
   4252   lt_cv_path_NM="$NM"
   4253 else
   4254   lt_nm_to_check="${ac_tool_prefix}nm"
   4255   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4256     lt_nm_to_check="$lt_nm_to_check nm"
   4257   fi
   4258   for lt_tmp_nm in $lt_nm_to_check; do
   4259     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4260     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4261       IFS="$lt_save_ifs"
   4262       test -z "$ac_dir" && ac_dir=.
   4263       tmp_nm="$ac_dir/$lt_tmp_nm"
   4264       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4265 	# Check to see if the nm accepts a BSD-compat flag.
   4266 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4267 	#   nm: unknown option "B" ignored
   4268 	# Tru64's nm complains that /dev/null is an invalid object file
   4269 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4270 	*/dev/null* | *'Invalid file or object type'*)
   4271 	  lt_cv_path_NM="$tmp_nm -B"
   4272 	  break
   4273 	  ;;
   4274 	*)
   4275 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4276 	  */dev/null*)
   4277 	    lt_cv_path_NM="$tmp_nm -p"
   4278 	    break
   4279 	    ;;
   4280 	  *)
   4281 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4282 	    continue # so that we can try to find one that supports BSD flags
   4283 	    ;;
   4284 	  esac
   4285 	  ;;
   4286 	esac
   4287       fi
   4288     done
   4289     IFS="$lt_save_ifs"
   4290   done
   4291   : ${lt_cv_path_NM=no}
   4292 fi
   4293 fi
   4294 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4295 $as_echo "$lt_cv_path_NM" >&6; }
   4296 if test "$lt_cv_path_NM" != "no"; then
   4297   NM="$lt_cv_path_NM"
   4298 else
   4299   # Didn't find any BSD compatible name lister, look for dumpbin.
   4300   if test -n "$ac_tool_prefix"; then
   4301   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4302   do
   4303     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4306 $as_echo_n "checking for $ac_word... " >&6; }
   4307 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   4308   $as_echo_n "(cached) " >&6
   4309 else
   4310   if test -n "$DUMPBIN"; then
   4311   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4312 else
   4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4314 for as_dir in $PATH
   4315 do
   4316   IFS=$as_save_IFS
   4317   test -z "$as_dir" && as_dir=.
   4318   for ac_exec_ext in '' $ac_executable_extensions; do
   4319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4320     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4322     break 2
   4323   fi
   4324 done
   4325 done
   4326 IFS=$as_save_IFS
   4327 
   4328 fi
   4329 fi
   4330 DUMPBIN=$ac_cv_prog_DUMPBIN
   4331 if test -n "$DUMPBIN"; then
   4332   { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   4333 $as_echo "$DUMPBIN" >&6; }
   4334 else
   4335   { $as_echo "$as_me:$LINENO: result: no" >&5
   4336 $as_echo "no" >&6; }
   4337 fi
   4338 
   4339 
   4340     test -n "$DUMPBIN" && break
   4341   done
   4342 fi
   4343 if test -z "$DUMPBIN"; then
   4344   ac_ct_DUMPBIN=$DUMPBIN
   4345   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   4346 do
   4347   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4348 set dummy $ac_prog; ac_word=$2
   4349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4350 $as_echo_n "checking for $ac_word... " >&6; }
   4351 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   if test -n "$ac_ct_DUMPBIN"; then
   4355   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4356 else
   4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4358 for as_dir in $PATH
   4359 do
   4360   IFS=$as_save_IFS
   4361   test -z "$as_dir" && as_dir=.
   4362   for ac_exec_ext in '' $ac_executable_extensions; do
   4363   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4364     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4366     break 2
   4367   fi
   4368 done
   4369 done
   4370 IFS=$as_save_IFS
   4371 
   4372 fi
   4373 fi
   4374 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4375 if test -n "$ac_ct_DUMPBIN"; then
   4376   { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   4377 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4378 else
   4379   { $as_echo "$as_me:$LINENO: result: no" >&5
   4380 $as_echo "no" >&6; }
   4381 fi
   4382 
   4383 
   4384   test -n "$ac_ct_DUMPBIN" && break
   4385 done
   4386 
   4387   if test "x$ac_ct_DUMPBIN" = x; then
   4388     DUMPBIN=":"
   4389   else
   4390     case $cross_compiling:$ac_tool_warned in
   4391 yes:)
   4392 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4394 ac_tool_warned=yes ;;
   4395 esac
   4396     DUMPBIN=$ac_ct_DUMPBIN
   4397   fi
   4398 fi
   4399 
   4400 
   4401   if test "$DUMPBIN" != ":"; then
   4402     NM="$DUMPBIN"
   4403   fi
   4404 fi
   4405 test -z "$NM" && NM=nm
   4406 
   4407 
   4408 
   4409 
   4410 
   4411 
   4412 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   4413 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4414 if test "${lt_cv_nm_interface+set}" = set; then
   4415   $as_echo_n "(cached) " >&6
   4416 else
   4417   lt_cv_nm_interface="BSD nm"
   4418   echo "int some_variable = 0;" > conftest.$ac_ext
   4419   (eval echo "\"\$as_me:4419: $ac_compile\"" >&5)
   4420   (eval "$ac_compile" 2>conftest.err)
   4421   cat conftest.err >&5
   4422   (eval echo "\"\$as_me:4422: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4423   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4424   cat conftest.err >&5
   4425   (eval echo "\"\$as_me:4425: output\"" >&5)
   4426   cat conftest.out >&5
   4427   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4428     lt_cv_nm_interface="MS dumpbin"
   4429   fi
   4430   rm -f conftest*
   4431 fi
   4432 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   4433 $as_echo "$lt_cv_nm_interface" >&6; }
   4434 
   4435 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4436 $as_echo_n "checking whether ln -s works... " >&6; }
   4437 LN_S=$as_ln_s
   4438 if test "$LN_S" = "ln -s"; then
   4439   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4440 $as_echo "yes" >&6; }
   4441 else
   4442   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4443 $as_echo "no, using $LN_S" >&6; }
   4444 fi
   4445 
   4446 # find the maximum length of command line arguments
   4447 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   4448 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4449 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   4450   $as_echo_n "(cached) " >&6
   4451 else
   4452     i=0
   4453   teststring="ABCD"
   4454 
   4455   case $build_os in
   4456   msdosdjgpp*)
   4457     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4458     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4459     # during glob expansion).  Even if it were fixed, the result of this
   4460     # check would be larger than it should be.
   4461     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4462     ;;
   4463 
   4464   gnu*)
   4465     # Under GNU Hurd, this test is not required because there is
   4466     # no limit to the length of command line arguments.
   4467     # Libtool will interpret -1 as no limit whatsoever
   4468     lt_cv_sys_max_cmd_len=-1;
   4469     ;;
   4470 
   4471   cygwin* | mingw* | cegcc*)
   4472     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4473     # about 5 minutes as the teststring grows exponentially.
   4474     # Worse, since 9x/ME are not pre-emptively multitasking,
   4475     # you end up with a "frozen" computer, even though with patience
   4476     # the test eventually succeeds (with a max line length of 256k).
   4477     # Instead, let's just punt: use the minimum linelength reported by
   4478     # all of the supported platforms: 8192 (on NT/2K/XP).
   4479     lt_cv_sys_max_cmd_len=8192;
   4480     ;;
   4481 
   4482   amigaos*)
   4483     # On AmigaOS with pdksh, this test takes hours, literally.
   4484     # So we just punt and use a minimum line length of 8192.
   4485     lt_cv_sys_max_cmd_len=8192;
   4486     ;;
   4487 
   4488   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4489     # This has been around since 386BSD, at least.  Likely further.
   4490     if test -x /sbin/sysctl; then
   4491       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4492     elif test -x /usr/sbin/sysctl; then
   4493       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4494     else
   4495       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4496     fi
   4497     # And add a safety zone
   4498     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4499     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4500     ;;
   4501 
   4502   interix*)
   4503     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4504     lt_cv_sys_max_cmd_len=196608
   4505     ;;
   4506 
   4507   osf*)
   4508     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4509     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4510     # nice to cause kernel panics so lets avoid the loop below.
   4511     # First set a reasonable default.
   4512     lt_cv_sys_max_cmd_len=16384
   4513     #
   4514     if test -x /sbin/sysconfig; then
   4515       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4516         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4517       esac
   4518     fi
   4519     ;;
   4520   sco3.2v5*)
   4521     lt_cv_sys_max_cmd_len=102400
   4522     ;;
   4523   sysv5* | sco5v6* | sysv4.2uw2*)
   4524     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4525     if test -n "$kargmax"; then
   4526       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4527     else
   4528       lt_cv_sys_max_cmd_len=32768
   4529     fi
   4530     ;;
   4531   *)
   4532     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4533     if test -n "$lt_cv_sys_max_cmd_len"; then
   4534       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4535       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4536     else
   4537       # Make teststring a little bigger before we do anything with it.
   4538       # a 1K string should be a reasonable start.
   4539       for i in 1 2 3 4 5 6 7 8 ; do
   4540         teststring=$teststring$teststring
   4541       done
   4542       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4543       # If test is not a shell built-in, we'll probably end up computing a
   4544       # maximum length that is only half of the actual maximum length, but
   4545       # we can't tell.
   4546       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   4547 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   4548 	      test $i != 17 # 1/2 MB should be enough
   4549       do
   4550         i=`expr $i + 1`
   4551         teststring=$teststring$teststring
   4552       done
   4553       # Only check the string length outside the loop.
   4554       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4555       teststring=
   4556       # Add a significant safety factor because C++ compilers can tack on
   4557       # massive amounts of additional arguments before passing them to the
   4558       # linker.  It appears as though 1/2 is a usable value.
   4559       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4560     fi
   4561     ;;
   4562   esac
   4563 
   4564 fi
   4565 
   4566 if test -n $lt_cv_sys_max_cmd_len ; then
   4567   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   4568 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4569 else
   4570   { $as_echo "$as_me:$LINENO: result: none" >&5
   4571 $as_echo "none" >&6; }
   4572 fi
   4573 max_cmd_len=$lt_cv_sys_max_cmd_len
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 : ${CP="cp -f"}
   4581 : ${MV="mv -f"}
   4582 : ${RM="rm -f"}
   4583 
   4584 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   4585 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4586 # Try some XSI features
   4587 xsi_shell=no
   4588 ( _lt_dummy="a/b/c"
   4589   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   4590       = c,a/b,, \
   4591     && eval 'test $(( 1 + 1 )) -eq 2 \
   4592     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4593   && xsi_shell=yes
   4594 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
   4595 $as_echo "$xsi_shell" >&6; }
   4596 
   4597 
   4598 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   4599 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4600 lt_shell_append=no
   4601 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4602     >/dev/null 2>&1 \
   4603   && lt_shell_append=yes
   4604 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   4605 $as_echo "$lt_shell_append" >&6; }
   4606 
   4607 
   4608 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4609   lt_unset=unset
   4610 else
   4611   lt_unset=false
   4612 fi
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 # test EBCDIC or ASCII
   4619 case `echo X|tr X '\101'` in
   4620  A) # ASCII based system
   4621     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4622   lt_SP2NL='tr \040 \012'
   4623   lt_NL2SP='tr \015\012 \040\040'
   4624   ;;
   4625  *) # EBCDIC based system
   4626   lt_SP2NL='tr \100 \n'
   4627   lt_NL2SP='tr \r\n \100\100'
   4628   ;;
   4629 esac
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4640 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4641 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4642   $as_echo_n "(cached) " >&6
   4643 else
   4644   lt_cv_ld_reload_flag='-r'
   4645 fi
   4646 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4647 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4648 reload_flag=$lt_cv_ld_reload_flag
   4649 case $reload_flag in
   4650 "" | " "*) ;;
   4651 *) reload_flag=" $reload_flag" ;;
   4652 esac
   4653 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4654 case $host_os in
   4655   darwin*)
   4656     if test "$GCC" = yes; then
   4657       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4658     else
   4659       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4660     fi
   4661     ;;
   4662 esac
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 if test -n "$ac_tool_prefix"; then
   4673   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4674 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4676 $as_echo_n "checking for $ac_word... " >&6; }
   4677 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
   4678   $as_echo_n "(cached) " >&6
   4679 else
   4680   if test -n "$OBJDUMP"; then
   4681   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4682 else
   4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4684 for as_dir in $PATH
   4685 do
   4686   IFS=$as_save_IFS
   4687   test -z "$as_dir" && as_dir=.
   4688   for ac_exec_ext in '' $ac_executable_extensions; do
   4689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4690     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4691     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4692     break 2
   4693   fi
   4694 done
   4695 done
   4696 IFS=$as_save_IFS
   4697 
   4698 fi
   4699 fi
   4700 OBJDUMP=$ac_cv_prog_OBJDUMP
   4701 if test -n "$OBJDUMP"; then
   4702   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
   4703 $as_echo "$OBJDUMP" >&6; }
   4704 else
   4705   { $as_echo "$as_me:$LINENO: result: no" >&5
   4706 $as_echo "no" >&6; }
   4707 fi
   4708 
   4709 
   4710 fi
   4711 if test -z "$ac_cv_prog_OBJDUMP"; then
   4712   ac_ct_OBJDUMP=$OBJDUMP
   4713   # Extract the first word of "objdump", so it can be a program name with args.
   4714 set dummy objdump; ac_word=$2
   4715 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4716 $as_echo_n "checking for $ac_word... " >&6; }
   4717 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
   4718   $as_echo_n "(cached) " >&6
   4719 else
   4720   if test -n "$ac_ct_OBJDUMP"; then
   4721   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4722 else
   4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4724 for as_dir in $PATH
   4725 do
   4726   IFS=$as_save_IFS
   4727   test -z "$as_dir" && as_dir=.
   4728   for ac_exec_ext in '' $ac_executable_extensions; do
   4729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4730     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4731     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4732     break 2
   4733   fi
   4734 done
   4735 done
   4736 IFS=$as_save_IFS
   4737 
   4738 fi
   4739 fi
   4740 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4741 if test -n "$ac_ct_OBJDUMP"; then
   4742   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
   4743 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4744 else
   4745   { $as_echo "$as_me:$LINENO: result: no" >&5
   4746 $as_echo "no" >&6; }
   4747 fi
   4748 
   4749   if test "x$ac_ct_OBJDUMP" = x; then
   4750     OBJDUMP="false"
   4751   else
   4752     case $cross_compiling:$ac_tool_warned in
   4753 yes:)
   4754 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   4755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4756 ac_tool_warned=yes ;;
   4757 esac
   4758     OBJDUMP=$ac_ct_OBJDUMP
   4759   fi
   4760 else
   4761   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4762 fi
   4763 
   4764 test -z "$OBJDUMP" && OBJDUMP=objdump
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4775 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4776 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4777   $as_echo_n "(cached) " >&6
   4778 else
   4779   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4780 lt_cv_file_magic_test_file=
   4781 lt_cv_deplibs_check_method='unknown'
   4782 # Need to set the preceding variable on all platforms that support
   4783 # interlibrary dependencies.
   4784 # 'none' -- dependencies not supported.
   4785 # `unknown' -- same as none, but documents that we really don't know.
   4786 # 'pass_all' -- all dependencies passed with no checks.
   4787 # 'test_compile' -- check by making test program.
   4788 # 'file_magic [[regex]]' -- check by looking for files in library path
   4789 # which responds to the $file_magic_cmd with a given extended regex.
   4790 # If you have `file' or equivalent on your system and you're not sure
   4791 # whether `pass_all' will *always* work, you probably want this one.
   4792 
   4793 case $host_os in
   4794 aix[4-9]*)
   4795   lt_cv_deplibs_check_method=pass_all
   4796   ;;
   4797 
   4798 beos*)
   4799   lt_cv_deplibs_check_method=pass_all
   4800   ;;
   4801 
   4802 bsdi[45]*)
   4803   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4804   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4805   lt_cv_file_magic_test_file=/shlib/libc.so
   4806   ;;
   4807 
   4808 cygwin*)
   4809   # func_win32_libid is a shell function defined in ltmain.sh
   4810   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4811   lt_cv_file_magic_cmd='func_win32_libid'
   4812   ;;
   4813 
   4814 mingw* | pw32*)
   4815   # Base MSYS/MinGW do not provide the 'file' command needed by
   4816   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4817   # unless we find 'file', for example because we are cross-compiling.
   4818   if ( file / ) >/dev/null 2>&1; then
   4819     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4820     lt_cv_file_magic_cmd='func_win32_libid'
   4821   else
   4822     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4823     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4824   fi
   4825   ;;
   4826 
   4827 cegcc)
   4828   # use the weaker test based on 'objdump'. See mingw*.
   4829   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4830   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4831   ;;
   4832 
   4833 darwin* | rhapsody*)
   4834   lt_cv_deplibs_check_method=pass_all
   4835   ;;
   4836 
   4837 freebsd* | dragonfly*)
   4838   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4839     case $host_cpu in
   4840     i*86 )
   4841       # Not sure whether the presence of OpenBSD here was a mistake.
   4842       # Let's accept both of them until this is cleared up.
   4843       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4844       lt_cv_file_magic_cmd=/usr/bin/file
   4845       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4846       ;;
   4847     esac
   4848   else
   4849     lt_cv_deplibs_check_method=pass_all
   4850   fi
   4851   ;;
   4852 
   4853 gnu*)
   4854   lt_cv_deplibs_check_method=pass_all
   4855   ;;
   4856 
   4857 hpux10.20* | hpux11*)
   4858   lt_cv_file_magic_cmd=/usr/bin/file
   4859   case $host_cpu in
   4860   ia64*)
   4861     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4862     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4863     ;;
   4864   hppa*64*)
   4865     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]'
   4866     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4867     ;;
   4868   *)
   4869     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4870     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4871     ;;
   4872   esac
   4873   ;;
   4874 
   4875 interix[3-9]*)
   4876   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4877   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4878   ;;
   4879 
   4880 irix5* | irix6* | nonstopux*)
   4881   case $LD in
   4882   *-32|*"-32 ") libmagic=32-bit;;
   4883   *-n32|*"-n32 ") libmagic=N32;;
   4884   *-64|*"-64 ") libmagic=64-bit;;
   4885   *) libmagic=never-match;;
   4886   esac
   4887   lt_cv_deplibs_check_method=pass_all
   4888   ;;
   4889 
   4890 # This must be Linux ELF.
   4891 linux* | k*bsd*-gnu)
   4892   lt_cv_deplibs_check_method=pass_all
   4893   ;;
   4894 
   4895 netbsd*)
   4896   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4897     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4898   else
   4899     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4900   fi
   4901   ;;
   4902 
   4903 newos6*)
   4904   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4905   lt_cv_file_magic_cmd=/usr/bin/file
   4906   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4907   ;;
   4908 
   4909 *nto* | *qnx*)
   4910   lt_cv_deplibs_check_method=pass_all
   4911   ;;
   4912 
   4913 openbsd*)
   4914   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4915     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4916   else
   4917     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4918   fi
   4919   ;;
   4920 
   4921 osf3* | osf4* | osf5*)
   4922   lt_cv_deplibs_check_method=pass_all
   4923   ;;
   4924 
   4925 rdos*)
   4926   lt_cv_deplibs_check_method=pass_all
   4927   ;;
   4928 
   4929 solaris*)
   4930   lt_cv_deplibs_check_method=pass_all
   4931   ;;
   4932 
   4933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4934   lt_cv_deplibs_check_method=pass_all
   4935   ;;
   4936 
   4937 sysv4 | sysv4.3*)
   4938   case $host_vendor in
   4939   motorola)
   4940     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]'
   4941     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4942     ;;
   4943   ncr)
   4944     lt_cv_deplibs_check_method=pass_all
   4945     ;;
   4946   sequent)
   4947     lt_cv_file_magic_cmd='/bin/file'
   4948     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4949     ;;
   4950   sni)
   4951     lt_cv_file_magic_cmd='/bin/file'
   4952     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4953     lt_cv_file_magic_test_file=/lib/libc.so
   4954     ;;
   4955   siemens)
   4956     lt_cv_deplibs_check_method=pass_all
   4957     ;;
   4958   pc)
   4959     lt_cv_deplibs_check_method=pass_all
   4960     ;;
   4961   esac
   4962   ;;
   4963 
   4964 tpf*)
   4965   lt_cv_deplibs_check_method=pass_all
   4966   ;;
   4967 esac
   4968 
   4969 fi
   4970 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4971 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4972 file_magic_cmd=$lt_cv_file_magic_cmd
   4973 deplibs_check_method=$lt_cv_deplibs_check_method
   4974 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 if test -n "$ac_tool_prefix"; then
   4988   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   4989 set dummy ${ac_tool_prefix}ar; ac_word=$2
   4990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   4991 $as_echo_n "checking for $ac_word... " >&6; }
   4992 if test "${ac_cv_prog_AR+set}" = set; then
   4993   $as_echo_n "(cached) " >&6
   4994 else
   4995   if test -n "$AR"; then
   4996   ac_cv_prog_AR="$AR" # Let the user override the test.
   4997 else
   4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4999 for as_dir in $PATH
   5000 do
   5001   IFS=$as_save_IFS
   5002   test -z "$as_dir" && as_dir=.
   5003   for ac_exec_ext in '' $ac_executable_extensions; do
   5004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5005     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5006     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5007     break 2
   5008   fi
   5009 done
   5010 done
   5011 IFS=$as_save_IFS
   5012 
   5013 fi
   5014 fi
   5015 AR=$ac_cv_prog_AR
   5016 if test -n "$AR"; then
   5017   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5018 $as_echo "$AR" >&6; }
   5019 else
   5020   { $as_echo "$as_me:$LINENO: result: no" >&5
   5021 $as_echo "no" >&6; }
   5022 fi
   5023 
   5024 
   5025 fi
   5026 if test -z "$ac_cv_prog_AR"; then
   5027   ac_ct_AR=$AR
   5028   # Extract the first word of "ar", so it can be a program name with args.
   5029 set dummy ar; ac_word=$2
   5030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5031 $as_echo_n "checking for $ac_word... " >&6; }
   5032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5033   $as_echo_n "(cached) " >&6
   5034 else
   5035   if test -n "$ac_ct_AR"; then
   5036   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5037 else
   5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5039 for as_dir in $PATH
   5040 do
   5041   IFS=$as_save_IFS
   5042   test -z "$as_dir" && as_dir=.
   5043   for ac_exec_ext in '' $ac_executable_extensions; do
   5044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5045     ac_cv_prog_ac_ct_AR="ar"
   5046     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5047     break 2
   5048   fi
   5049 done
   5050 done
   5051 IFS=$as_save_IFS
   5052 
   5053 fi
   5054 fi
   5055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5056 if test -n "$ac_ct_AR"; then
   5057   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5058 $as_echo "$ac_ct_AR" >&6; }
   5059 else
   5060   { $as_echo "$as_me:$LINENO: result: no" >&5
   5061 $as_echo "no" >&6; }
   5062 fi
   5063 
   5064   if test "x$ac_ct_AR" = x; then
   5065     AR="false"
   5066   else
   5067     case $cross_compiling:$ac_tool_warned in
   5068 yes:)
   5069 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5071 ac_tool_warned=yes ;;
   5072 esac
   5073     AR=$ac_ct_AR
   5074   fi
   5075 else
   5076   AR="$ac_cv_prog_AR"
   5077 fi
   5078 
   5079 test -z "$AR" && AR=ar
   5080 test -z "$AR_FLAGS" && AR_FLAGS=cru
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 if test -n "$ac_tool_prefix"; then
   5093   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5094 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5096 $as_echo_n "checking for $ac_word... " >&6; }
   5097 if test "${ac_cv_prog_STRIP+set}" = set; then
   5098   $as_echo_n "(cached) " >&6
   5099 else
   5100   if test -n "$STRIP"; then
   5101   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5102 else
   5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5104 for as_dir in $PATH
   5105 do
   5106   IFS=$as_save_IFS
   5107   test -z "$as_dir" && as_dir=.
   5108   for ac_exec_ext in '' $ac_executable_extensions; do
   5109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5110     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5112     break 2
   5113   fi
   5114 done
   5115 done
   5116 IFS=$as_save_IFS
   5117 
   5118 fi
   5119 fi
   5120 STRIP=$ac_cv_prog_STRIP
   5121 if test -n "$STRIP"; then
   5122   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   5123 $as_echo "$STRIP" >&6; }
   5124 else
   5125   { $as_echo "$as_me:$LINENO: result: no" >&5
   5126 $as_echo "no" >&6; }
   5127 fi
   5128 
   5129 
   5130 fi
   5131 if test -z "$ac_cv_prog_STRIP"; then
   5132   ac_ct_STRIP=$STRIP
   5133   # Extract the first word of "strip", so it can be a program name with args.
   5134 set dummy strip; ac_word=$2
   5135 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5136 $as_echo_n "checking for $ac_word... " >&6; }
   5137 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   5138   $as_echo_n "(cached) " >&6
   5139 else
   5140   if test -n "$ac_ct_STRIP"; then
   5141   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5142 else
   5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5144 for as_dir in $PATH
   5145 do
   5146   IFS=$as_save_IFS
   5147   test -z "$as_dir" && as_dir=.
   5148   for ac_exec_ext in '' $ac_executable_extensions; do
   5149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5150     ac_cv_prog_ac_ct_STRIP="strip"
   5151     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5152     break 2
   5153   fi
   5154 done
   5155 done
   5156 IFS=$as_save_IFS
   5157 
   5158 fi
   5159 fi
   5160 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5161 if test -n "$ac_ct_STRIP"; then
   5162   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   5163 $as_echo "$ac_ct_STRIP" >&6; }
   5164 else
   5165   { $as_echo "$as_me:$LINENO: result: no" >&5
   5166 $as_echo "no" >&6; }
   5167 fi
   5168 
   5169   if test "x$ac_ct_STRIP" = x; then
   5170     STRIP=":"
   5171   else
   5172     case $cross_compiling:$ac_tool_warned in
   5173 yes:)
   5174 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5176 ac_tool_warned=yes ;;
   5177 esac
   5178     STRIP=$ac_ct_STRIP
   5179   fi
   5180 else
   5181   STRIP="$ac_cv_prog_STRIP"
   5182 fi
   5183 
   5184 test -z "$STRIP" && STRIP=:
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 if test -n "$ac_tool_prefix"; then
   5192   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5195 $as_echo_n "checking for $ac_word... " >&6; }
   5196 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   if test -n "$RANLIB"; then
   5200   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5201 else
   5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5203 for as_dir in $PATH
   5204 do
   5205   IFS=$as_save_IFS
   5206   test -z "$as_dir" && as_dir=.
   5207   for ac_exec_ext in '' $ac_executable_extensions; do
   5208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5209     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5211     break 2
   5212   fi
   5213 done
   5214 done
   5215 IFS=$as_save_IFS
   5216 
   5217 fi
   5218 fi
   5219 RANLIB=$ac_cv_prog_RANLIB
   5220 if test -n "$RANLIB"; then
   5221   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5222 $as_echo "$RANLIB" >&6; }
   5223 else
   5224   { $as_echo "$as_me:$LINENO: result: no" >&5
   5225 $as_echo "no" >&6; }
   5226 fi
   5227 
   5228 
   5229 fi
   5230 if test -z "$ac_cv_prog_RANLIB"; then
   5231   ac_ct_RANLIB=$RANLIB
   5232   # Extract the first word of "ranlib", so it can be a program name with args.
   5233 set dummy ranlib; ac_word=$2
   5234 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5235 $as_echo_n "checking for $ac_word... " >&6; }
   5236 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5237   $as_echo_n "(cached) " >&6
   5238 else
   5239   if test -n "$ac_ct_RANLIB"; then
   5240   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5241 else
   5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5243 for as_dir in $PATH
   5244 do
   5245   IFS=$as_save_IFS
   5246   test -z "$as_dir" && as_dir=.
   5247   for ac_exec_ext in '' $ac_executable_extensions; do
   5248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5249     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5250     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5251     break 2
   5252   fi
   5253 done
   5254 done
   5255 IFS=$as_save_IFS
   5256 
   5257 fi
   5258 fi
   5259 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5260 if test -n "$ac_ct_RANLIB"; then
   5261   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5262 $as_echo "$ac_ct_RANLIB" >&6; }
   5263 else
   5264   { $as_echo "$as_me:$LINENO: result: no" >&5
   5265 $as_echo "no" >&6; }
   5266 fi
   5267 
   5268   if test "x$ac_ct_RANLIB" = x; then
   5269     RANLIB=":"
   5270   else
   5271     case $cross_compiling:$ac_tool_warned in
   5272 yes:)
   5273 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5275 ac_tool_warned=yes ;;
   5276 esac
   5277     RANLIB=$ac_ct_RANLIB
   5278   fi
   5279 else
   5280   RANLIB="$ac_cv_prog_RANLIB"
   5281 fi
   5282 
   5283 test -z "$RANLIB" && RANLIB=:
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 # Determine commands to create old-style static archives.
   5291 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5292 old_postinstall_cmds='chmod 644 $oldlib'
   5293 old_postuninstall_cmds=
   5294 
   5295 if test -n "$RANLIB"; then
   5296   case $host_os in
   5297   openbsd*)
   5298     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5299     ;;
   5300   *)
   5301     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5302     ;;
   5303   esac
   5304   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5305 fi
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 # If no C compiler was specified, use CC.
   5341 LTCC=${LTCC-"$CC"}
   5342 
   5343 # If no C compiler flags were specified, use CFLAGS.
   5344 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5345 
   5346 # Allow CC to be a program name with arguments.
   5347 compiler=$CC
   5348 
   5349 
   5350 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5351 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   5352 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5353 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   5354   $as_echo_n "(cached) " >&6
   5355 else
   5356 
   5357 # These are sane defaults that work on at least a few old systems.
   5358 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5359 
   5360 # Character class describing NM global symbol codes.
   5361 symcode='[BCDEGRST]'
   5362 
   5363 # Regexp to match symbols that can be accessed directly from C.
   5364 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5365 
   5366 # Define system-specific variables.
   5367 case $host_os in
   5368 aix*)
   5369   symcode='[BCDT]'
   5370   ;;
   5371 cygwin* | mingw* | pw32* | cegcc*)
   5372   symcode='[ABCDGISTW]'
   5373   ;;
   5374 hpux*)
   5375   if test "$host_cpu" = ia64; then
   5376     symcode='[ABCDEGRST]'
   5377   fi
   5378   ;;
   5379 irix* | nonstopux*)
   5380   symcode='[BCDEGRST]'
   5381   ;;
   5382 osf*)
   5383   symcode='[BCDEGQRST]'
   5384   ;;
   5385 solaris*)
   5386   symcode='[BDRT]'
   5387   ;;
   5388 sco3.2v5*)
   5389   symcode='[DT]'
   5390   ;;
   5391 sysv4.2uw2*)
   5392   symcode='[DT]'
   5393   ;;
   5394 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5395   symcode='[ABDT]'
   5396   ;;
   5397 sysv4)
   5398   symcode='[DFNSTU]'
   5399   ;;
   5400 esac
   5401 
   5402 # If we're using GNU nm, then use its standard symbol codes.
   5403 case `$NM -V 2>&1` in
   5404 *GNU* | *'with BFD'*)
   5405   symcode='[ABCDGIRSTW]' ;;
   5406 esac
   5407 
   5408 # Transform an extracted symbol line into a proper C declaration.
   5409 # Some systems (esp. on ia64) link data and code symbols differently,
   5410 # so use this general approach.
   5411 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5412 
   5413 # Transform an extracted symbol line into symbol name and symbol address
   5414 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5415 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'"
   5416 
   5417 # Handle CRLF in mingw tool chain
   5418 opt_cr=
   5419 case $build_os in
   5420 mingw*)
   5421   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5422   ;;
   5423 esac
   5424 
   5425 # Try without a prefix underscore, then with it.
   5426 for ac_symprfx in "" "_"; do
   5427 
   5428   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5429   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5430 
   5431   # Write the raw and C identifiers.
   5432   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5433     # Fake it for dumpbin and say T for any non-static function
   5434     # and D for any global variable.
   5435     # Also find C++ and __fastcall symbols from MSVC++,
   5436     # which start with @ or ?.
   5437     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5438 "     {last_section=section; section=\$ 3};"\
   5439 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5440 "     \$ 0!~/External *\|/{next};"\
   5441 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5442 "     {if(hide[section]) next};"\
   5443 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5444 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5445 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5446 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5447 "     ' prfx=^$ac_symprfx"
   5448   else
   5449     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5450   fi
   5451 
   5452   # Check to see that the pipe works correctly.
   5453   pipe_works=no
   5454 
   5455   rm -f conftest*
   5456   cat > conftest.$ac_ext <<_LT_EOF
   5457 #ifdef __cplusplus
   5458 extern "C" {
   5459 #endif
   5460 char nm_test_var;
   5461 void nm_test_func(void);
   5462 void nm_test_func(void){}
   5463 #ifdef __cplusplus
   5464 }
   5465 #endif
   5466 int main(){nm_test_var='a';nm_test_func();return(0);}
   5467 _LT_EOF
   5468 
   5469   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5470   (eval $ac_compile) 2>&5
   5471   ac_status=$?
   5472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5473   (exit $ac_status); }; then
   5474     # Now try to grab the symbols.
   5475     nlist=conftest.nm
   5476     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   5477   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   5478   ac_status=$?
   5479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5480   (exit $ac_status); } && test -s "$nlist"; then
   5481       # Try sorting and uniquifying the output.
   5482       if sort "$nlist" | uniq > "$nlist"T; then
   5483 	mv -f "$nlist"T "$nlist"
   5484       else
   5485 	rm -f "$nlist"T
   5486       fi
   5487 
   5488       # Make sure that we snagged all the symbols we need.
   5489       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5490 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5491 	  cat <<_LT_EOF > conftest.$ac_ext
   5492 #ifdef __cplusplus
   5493 extern "C" {
   5494 #endif
   5495 
   5496 _LT_EOF
   5497 	  # Now generate the symbol file.
   5498 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5499 
   5500 	  cat <<_LT_EOF >> conftest.$ac_ext
   5501 
   5502 /* The mapping between symbol names and symbols.  */
   5503 const struct {
   5504   const char *name;
   5505   void       *address;
   5506 }
   5507 lt__PROGRAM__LTX_preloaded_symbols[] =
   5508 {
   5509   { "@PROGRAM@", (void *) 0 },
   5510 _LT_EOF
   5511 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5512 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5513   {0, (void *) 0}
   5514 };
   5515 
   5516 /* This works around a problem in FreeBSD linker */
   5517 #ifdef FREEBSD_WORKAROUND
   5518 static const void *lt_preloaded_setup() {
   5519   return lt__PROGRAM__LTX_preloaded_symbols;
   5520 }
   5521 #endif
   5522 
   5523 #ifdef __cplusplus
   5524 }
   5525 #endif
   5526 _LT_EOF
   5527 	  # Now try linking the two files.
   5528 	  mv conftest.$ac_objext conftstm.$ac_objext
   5529 	  lt_save_LIBS="$LIBS"
   5530 	  lt_save_CFLAGS="$CFLAGS"
   5531 	  LIBS="conftstm.$ac_objext"
   5532 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5533 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5534   (eval $ac_link) 2>&5
   5535   ac_status=$?
   5536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5537   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   5538 	    pipe_works=yes
   5539 	  fi
   5540 	  LIBS="$lt_save_LIBS"
   5541 	  CFLAGS="$lt_save_CFLAGS"
   5542 	else
   5543 	  echo "cannot find nm_test_func in $nlist" >&5
   5544 	fi
   5545       else
   5546 	echo "cannot find nm_test_var in $nlist" >&5
   5547       fi
   5548     else
   5549       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5550     fi
   5551   else
   5552     echo "$progname: failed program was:" >&5
   5553     cat conftest.$ac_ext >&5
   5554   fi
   5555   rm -rf conftest* conftst*
   5556 
   5557   # Do not use the global_symbol_pipe unless it works.
   5558   if test "$pipe_works" = yes; then
   5559     break
   5560   else
   5561     lt_cv_sys_global_symbol_pipe=
   5562   fi
   5563 done
   5564 
   5565 fi
   5566 
   5567 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5568   lt_cv_sys_global_symbol_to_cdecl=
   5569 fi
   5570 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5571   { $as_echo "$as_me:$LINENO: result: failed" >&5
   5572 $as_echo "failed" >&6; }
   5573 else
   5574   { $as_echo "$as_me:$LINENO: result: ok" >&5
   5575 $as_echo "ok" >&6; }
   5576 fi
   5577 
   5578 
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 
   5600 # Check whether --enable-libtool-lock was given.
   5601 if test "${enable_libtool_lock+set}" = set; then
   5602   enableval=$enable_libtool_lock;
   5603 fi
   5604 
   5605 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   5606 
   5607 # Some flags need to be propagated to the compiler or linker for good
   5608 # libtool support.
   5609 case $host in
   5610 ia64-*-hpux*)
   5611   # Find out which ABI we are using.
   5612   echo 'int i;' > conftest.$ac_ext
   5613   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5614   (eval $ac_compile) 2>&5
   5615   ac_status=$?
   5616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5617   (exit $ac_status); }; then
   5618     case `/usr/bin/file conftest.$ac_objext` in
   5619       *ELF-32*)
   5620 	HPUX_IA64_MODE="32"
   5621 	;;
   5622       *ELF-64*)
   5623 	HPUX_IA64_MODE="64"
   5624 	;;
   5625     esac
   5626   fi
   5627   rm -rf conftest*
   5628   ;;
   5629 *-*-irix6*)
   5630   # Find out which ABI we are using.
   5631   echo '#line 5631 "configure"' > conftest.$ac_ext
   5632   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5633   (eval $ac_compile) 2>&5
   5634   ac_status=$?
   5635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5636   (exit $ac_status); }; then
   5637     if test "$lt_cv_prog_gnu_ld" = yes; then
   5638       case `/usr/bin/file conftest.$ac_objext` in
   5639 	*32-bit*)
   5640 	  LD="${LD-ld} -melf32bsmip"
   5641 	  ;;
   5642 	*N32*)
   5643 	  LD="${LD-ld} -melf32bmipn32"
   5644 	  ;;
   5645 	*64-bit*)
   5646 	  LD="${LD-ld} -melf64bmip"
   5647 	;;
   5648       esac
   5649     else
   5650       case `/usr/bin/file conftest.$ac_objext` in
   5651 	*32-bit*)
   5652 	  LD="${LD-ld} -32"
   5653 	  ;;
   5654 	*N32*)
   5655 	  LD="${LD-ld} -n32"
   5656 	  ;;
   5657 	*64-bit*)
   5658 	  LD="${LD-ld} -64"
   5659 	  ;;
   5660       esac
   5661     fi
   5662   fi
   5663   rm -rf conftest*
   5664   ;;
   5665 
   5666 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   5667 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   5668   # Find out which ABI we are using.
   5669   echo 'int i;' > conftest.$ac_ext
   5670   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5671   (eval $ac_compile) 2>&5
   5672   ac_status=$?
   5673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5674   (exit $ac_status); }; then
   5675     case `/usr/bin/file conftest.o` in
   5676       *32-bit*)
   5677 	case $host in
   5678 	  x86_64-*kfreebsd*-gnu)
   5679 	    LD="${LD-ld} -m elf_i386_fbsd"
   5680 	    ;;
   5681 	  x86_64-*linux*)
   5682 	    LD="${LD-ld} -m elf_i386"
   5683 	    ;;
   5684 	  ppc64-*linux*|powerpc64-*linux*)
   5685 	    LD="${LD-ld} -m elf32ppclinux"
   5686 	    ;;
   5687 	  s390x-*linux*)
   5688 	    LD="${LD-ld} -m elf_s390"
   5689 	    ;;
   5690 	  sparc64-*linux*)
   5691 	    LD="${LD-ld} -m elf32_sparc"
   5692 	    ;;
   5693 	esac
   5694 	;;
   5695       *64-bit*)
   5696 	case $host in
   5697 	  x86_64-*kfreebsd*-gnu)
   5698 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   5699 	    ;;
   5700 	  x86_64-*linux*)
   5701 	    LD="${LD-ld} -m elf_x86_64"
   5702 	    ;;
   5703 	  ppc*-*linux*|powerpc*-*linux*)
   5704 	    LD="${LD-ld} -m elf64ppc"
   5705 	    ;;
   5706 	  s390*-*linux*|s390*-*tpf*)
   5707 	    LD="${LD-ld} -m elf64_s390"
   5708 	    ;;
   5709 	  sparc*-*linux*)
   5710 	    LD="${LD-ld} -m elf64_sparc"
   5711 	    ;;
   5712 	esac
   5713 	;;
   5714     esac
   5715   fi
   5716   rm -rf conftest*
   5717   ;;
   5718 
   5719 *-*-sco3.2v5*)
   5720   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   5721   SAVE_CFLAGS="$CFLAGS"
   5722   CFLAGS="$CFLAGS -belf"
   5723   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   5724 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   5725 if test "${lt_cv_cc_needs_belf+set}" = set; then
   5726   $as_echo_n "(cached) " >&6
   5727 else
   5728   ac_ext=c
   5729 ac_cpp='$CPP $CPPFLAGS'
   5730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5733 
   5734      cat >conftest.$ac_ext <<_ACEOF
   5735 /* confdefs.h.  */
   5736 _ACEOF
   5737 cat confdefs.h >>conftest.$ac_ext
   5738 cat >>conftest.$ac_ext <<_ACEOF
   5739 /* end confdefs.h.  */
   5740 
   5741 int
   5742 main ()
   5743 {
   5744 
   5745   ;
   5746   return 0;
   5747 }
   5748 _ACEOF
   5749 rm -f conftest.$ac_objext conftest$ac_exeext
   5750 if { (ac_try="$ac_link"
   5751 case "(($ac_try" in
   5752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5753   *) ac_try_echo=$ac_try;;
   5754 esac
   5755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5756 $as_echo "$ac_try_echo") >&5
   5757   (eval "$ac_link") 2>conftest.er1
   5758   ac_status=$?
   5759   grep -v '^ *+' conftest.er1 >conftest.err
   5760   rm -f conftest.er1
   5761   cat conftest.err >&5
   5762   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5763   (exit $ac_status); } && {
   5764 	 test -z "$ac_c_werror_flag" ||
   5765 	 test ! -s conftest.err
   5766        } && test -s conftest$ac_exeext && {
   5767 	 test "$cross_compiling" = yes ||
   5768 	 $as_test_x conftest$ac_exeext
   5769        }; then
   5770   lt_cv_cc_needs_belf=yes
   5771 else
   5772   $as_echo "$as_me: failed program was:" >&5
   5773 sed 's/^/| /' conftest.$ac_ext >&5
   5774 
   5775 	lt_cv_cc_needs_belf=no
   5776 fi
   5777 
   5778 rm -rf conftest.dSYM
   5779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5780       conftest$ac_exeext conftest.$ac_ext
   5781      ac_ext=c
   5782 ac_cpp='$CPP $CPPFLAGS'
   5783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5786 
   5787 fi
   5788 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   5789 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   5790   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   5791     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   5792     CFLAGS="$SAVE_CFLAGS"
   5793   fi
   5794   ;;
   5795 sparc*-*solaris*)
   5796   # Find out which ABI we are using.
   5797   echo 'int i;' > conftest.$ac_ext
   5798   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5799   (eval $ac_compile) 2>&5
   5800   ac_status=$?
   5801   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5802   (exit $ac_status); }; then
   5803     case `/usr/bin/file conftest.o` in
   5804     *64-bit*)
   5805       case $lt_cv_prog_gnu_ld in
   5806       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   5807       *)
   5808 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   5809 	  LD="${LD-ld} -64"
   5810 	fi
   5811 	;;
   5812       esac
   5813       ;;
   5814     esac
   5815   fi
   5816   rm -rf conftest*
   5817   ;;
   5818 esac
   5819 
   5820 need_locks="$enable_libtool_lock"
   5821 
   5822 
   5823   case $host_os in
   5824     rhapsody* | darwin*)
   5825     if test -n "$ac_tool_prefix"; then
   5826   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   5827 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   5828 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5829 $as_echo_n "checking for $ac_word... " >&6; }
   5830 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   5831   $as_echo_n "(cached) " >&6
   5832 else
   5833   if test -n "$DSYMUTIL"; then
   5834   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   5835 else
   5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5837 for as_dir in $PATH
   5838 do
   5839   IFS=$as_save_IFS
   5840   test -z "$as_dir" && as_dir=.
   5841   for ac_exec_ext in '' $ac_executable_extensions; do
   5842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5843     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   5844     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5845     break 2
   5846   fi
   5847 done
   5848 done
   5849 IFS=$as_save_IFS
   5850 
   5851 fi
   5852 fi
   5853 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   5854 if test -n "$DSYMUTIL"; then
   5855   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   5856 $as_echo "$DSYMUTIL" >&6; }
   5857 else
   5858   { $as_echo "$as_me:$LINENO: result: no" >&5
   5859 $as_echo "no" >&6; }
   5860 fi
   5861 
   5862 
   5863 fi
   5864 if test -z "$ac_cv_prog_DSYMUTIL"; then
   5865   ac_ct_DSYMUTIL=$DSYMUTIL
   5866   # Extract the first word of "dsymutil", so it can be a program name with args.
   5867 set dummy dsymutil; ac_word=$2
   5868 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5869 $as_echo_n "checking for $ac_word... " >&6; }
   5870 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   5871   $as_echo_n "(cached) " >&6
   5872 else
   5873   if test -n "$ac_ct_DSYMUTIL"; then
   5874   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   5875 else
   5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5877 for as_dir in $PATH
   5878 do
   5879   IFS=$as_save_IFS
   5880   test -z "$as_dir" && as_dir=.
   5881   for ac_exec_ext in '' $ac_executable_extensions; do
   5882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5883     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   5884     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5885     break 2
   5886   fi
   5887 done
   5888 done
   5889 IFS=$as_save_IFS
   5890 
   5891 fi
   5892 fi
   5893 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   5894 if test -n "$ac_ct_DSYMUTIL"; then
   5895   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   5896 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   5897 else
   5898   { $as_echo "$as_me:$LINENO: result: no" >&5
   5899 $as_echo "no" >&6; }
   5900 fi
   5901 
   5902   if test "x$ac_ct_DSYMUTIL" = x; then
   5903     DSYMUTIL=":"
   5904   else
   5905     case $cross_compiling:$ac_tool_warned in
   5906 yes:)
   5907 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5909 ac_tool_warned=yes ;;
   5910 esac
   5911     DSYMUTIL=$ac_ct_DSYMUTIL
   5912   fi
   5913 else
   5914   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   5915 fi
   5916 
   5917     if test -n "$ac_tool_prefix"; then
   5918   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   5919 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   5920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5921 $as_echo_n "checking for $ac_word... " >&6; }
   5922 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   if test -n "$NMEDIT"; then
   5926   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   5927 else
   5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5929 for as_dir in $PATH
   5930 do
   5931   IFS=$as_save_IFS
   5932   test -z "$as_dir" && as_dir=.
   5933   for ac_exec_ext in '' $ac_executable_extensions; do
   5934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5935     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   5936     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5937     break 2
   5938   fi
   5939 done
   5940 done
   5941 IFS=$as_save_IFS
   5942 
   5943 fi
   5944 fi
   5945 NMEDIT=$ac_cv_prog_NMEDIT
   5946 if test -n "$NMEDIT"; then
   5947   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   5948 $as_echo "$NMEDIT" >&6; }
   5949 else
   5950   { $as_echo "$as_me:$LINENO: result: no" >&5
   5951 $as_echo "no" >&6; }
   5952 fi
   5953 
   5954 
   5955 fi
   5956 if test -z "$ac_cv_prog_NMEDIT"; then
   5957   ac_ct_NMEDIT=$NMEDIT
   5958   # Extract the first word of "nmedit", so it can be a program name with args.
   5959 set dummy nmedit; ac_word=$2
   5960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5961 $as_echo_n "checking for $ac_word... " >&6; }
   5962 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   5963   $as_echo_n "(cached) " >&6
   5964 else
   5965   if test -n "$ac_ct_NMEDIT"; then
   5966   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   5967 else
   5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5969 for as_dir in $PATH
   5970 do
   5971   IFS=$as_save_IFS
   5972   test -z "$as_dir" && as_dir=.
   5973   for ac_exec_ext in '' $ac_executable_extensions; do
   5974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5975     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   5976     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5977     break 2
   5978   fi
   5979 done
   5980 done
   5981 IFS=$as_save_IFS
   5982 
   5983 fi
   5984 fi
   5985 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   5986 if test -n "$ac_ct_NMEDIT"; then
   5987   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   5988 $as_echo "$ac_ct_NMEDIT" >&6; }
   5989 else
   5990   { $as_echo "$as_me:$LINENO: result: no" >&5
   5991 $as_echo "no" >&6; }
   5992 fi
   5993 
   5994   if test "x$ac_ct_NMEDIT" = x; then
   5995     NMEDIT=":"
   5996   else
   5997     case $cross_compiling:$ac_tool_warned in
   5998 yes:)
   5999 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6001 ac_tool_warned=yes ;;
   6002 esac
   6003     NMEDIT=$ac_ct_NMEDIT
   6004   fi
   6005 else
   6006   NMEDIT="$ac_cv_prog_NMEDIT"
   6007 fi
   6008 
   6009     if test -n "$ac_tool_prefix"; then
   6010   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6011 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6013 $as_echo_n "checking for $ac_word... " >&6; }
   6014 if test "${ac_cv_prog_LIPO+set}" = set; then
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   if test -n "$LIPO"; then
   6018   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6019 else
   6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6021 for as_dir in $PATH
   6022 do
   6023   IFS=$as_save_IFS
   6024   test -z "$as_dir" && as_dir=.
   6025   for ac_exec_ext in '' $ac_executable_extensions; do
   6026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6027     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6028     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6029     break 2
   6030   fi
   6031 done
   6032 done
   6033 IFS=$as_save_IFS
   6034 
   6035 fi
   6036 fi
   6037 LIPO=$ac_cv_prog_LIPO
   6038 if test -n "$LIPO"; then
   6039   { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
   6040 $as_echo "$LIPO" >&6; }
   6041 else
   6042   { $as_echo "$as_me:$LINENO: result: no" >&5
   6043 $as_echo "no" >&6; }
   6044 fi
   6045 
   6046 
   6047 fi
   6048 if test -z "$ac_cv_prog_LIPO"; then
   6049   ac_ct_LIPO=$LIPO
   6050   # Extract the first word of "lipo", so it can be a program name with args.
   6051 set dummy lipo; ac_word=$2
   6052 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6053 $as_echo_n "checking for $ac_word... " >&6; }
   6054 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   if test -n "$ac_ct_LIPO"; then
   6058   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6059 else
   6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6061 for as_dir in $PATH
   6062 do
   6063   IFS=$as_save_IFS
   6064   test -z "$as_dir" && as_dir=.
   6065   for ac_exec_ext in '' $ac_executable_extensions; do
   6066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6067     ac_cv_prog_ac_ct_LIPO="lipo"
   6068     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6069     break 2
   6070   fi
   6071 done
   6072 done
   6073 IFS=$as_save_IFS
   6074 
   6075 fi
   6076 fi
   6077 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6078 if test -n "$ac_ct_LIPO"; then
   6079   { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
   6080 $as_echo "$ac_ct_LIPO" >&6; }
   6081 else
   6082   { $as_echo "$as_me:$LINENO: result: no" >&5
   6083 $as_echo "no" >&6; }
   6084 fi
   6085 
   6086   if test "x$ac_ct_LIPO" = x; then
   6087     LIPO=":"
   6088   else
   6089     case $cross_compiling:$ac_tool_warned in
   6090 yes:)
   6091 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6093 ac_tool_warned=yes ;;
   6094 esac
   6095     LIPO=$ac_ct_LIPO
   6096   fi
   6097 else
   6098   LIPO="$ac_cv_prog_LIPO"
   6099 fi
   6100 
   6101     if test -n "$ac_tool_prefix"; then
   6102   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6103 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6104 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6105 $as_echo_n "checking for $ac_word... " >&6; }
   6106 if test "${ac_cv_prog_OTOOL+set}" = set; then
   6107   $as_echo_n "(cached) " >&6
   6108 else
   6109   if test -n "$OTOOL"; then
   6110   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6111 else
   6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6113 for as_dir in $PATH
   6114 do
   6115   IFS=$as_save_IFS
   6116   test -z "$as_dir" && as_dir=.
   6117   for ac_exec_ext in '' $ac_executable_extensions; do
   6118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6119     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6120     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6121     break 2
   6122   fi
   6123 done
   6124 done
   6125 IFS=$as_save_IFS
   6126 
   6127 fi
   6128 fi
   6129 OTOOL=$ac_cv_prog_OTOOL
   6130 if test -n "$OTOOL"; then
   6131   { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
   6132 $as_echo "$OTOOL" >&6; }
   6133 else
   6134   { $as_echo "$as_me:$LINENO: result: no" >&5
   6135 $as_echo "no" >&6; }
   6136 fi
   6137 
   6138 
   6139 fi
   6140 if test -z "$ac_cv_prog_OTOOL"; then
   6141   ac_ct_OTOOL=$OTOOL
   6142   # Extract the first word of "otool", so it can be a program name with args.
   6143 set dummy otool; ac_word=$2
   6144 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6145 $as_echo_n "checking for $ac_word... " >&6; }
   6146 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
   6147   $as_echo_n "(cached) " >&6
   6148 else
   6149   if test -n "$ac_ct_OTOOL"; then
   6150   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6151 else
   6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6153 for as_dir in $PATH
   6154 do
   6155   IFS=$as_save_IFS
   6156   test -z "$as_dir" && as_dir=.
   6157   for ac_exec_ext in '' $ac_executable_extensions; do
   6158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6159     ac_cv_prog_ac_ct_OTOOL="otool"
   6160     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6161     break 2
   6162   fi
   6163 done
   6164 done
   6165 IFS=$as_save_IFS
   6166 
   6167 fi
   6168 fi
   6169 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6170 if test -n "$ac_ct_OTOOL"; then
   6171   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
   6172 $as_echo "$ac_ct_OTOOL" >&6; }
   6173 else
   6174   { $as_echo "$as_me:$LINENO: result: no" >&5
   6175 $as_echo "no" >&6; }
   6176 fi
   6177 
   6178   if test "x$ac_ct_OTOOL" = x; then
   6179     OTOOL=":"
   6180   else
   6181     case $cross_compiling:$ac_tool_warned in
   6182 yes:)
   6183 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6185 ac_tool_warned=yes ;;
   6186 esac
   6187     OTOOL=$ac_ct_OTOOL
   6188   fi
   6189 else
   6190   OTOOL="$ac_cv_prog_OTOOL"
   6191 fi
   6192 
   6193     if test -n "$ac_tool_prefix"; then
   6194   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6195 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6196 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6197 $as_echo_n "checking for $ac_word... " >&6; }
   6198 if test "${ac_cv_prog_OTOOL64+set}" = set; then
   6199   $as_echo_n "(cached) " >&6
   6200 else
   6201   if test -n "$OTOOL64"; then
   6202   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6203 else
   6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6205 for as_dir in $PATH
   6206 do
   6207   IFS=$as_save_IFS
   6208   test -z "$as_dir" && as_dir=.
   6209   for ac_exec_ext in '' $ac_executable_extensions; do
   6210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6211     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6212     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6213     break 2
   6214   fi
   6215 done
   6216 done
   6217 IFS=$as_save_IFS
   6218 
   6219 fi
   6220 fi
   6221 OTOOL64=$ac_cv_prog_OTOOL64
   6222 if test -n "$OTOOL64"; then
   6223   { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
   6224 $as_echo "$OTOOL64" >&6; }
   6225 else
   6226   { $as_echo "$as_me:$LINENO: result: no" >&5
   6227 $as_echo "no" >&6; }
   6228 fi
   6229 
   6230 
   6231 fi
   6232 if test -z "$ac_cv_prog_OTOOL64"; then
   6233   ac_ct_OTOOL64=$OTOOL64
   6234   # Extract the first word of "otool64", so it can be a program name with args.
   6235 set dummy otool64; ac_word=$2
   6236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6237 $as_echo_n "checking for $ac_word... " >&6; }
   6238 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   if test -n "$ac_ct_OTOOL64"; then
   6242   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6243 else
   6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6245 for as_dir in $PATH
   6246 do
   6247   IFS=$as_save_IFS
   6248   test -z "$as_dir" && as_dir=.
   6249   for ac_exec_ext in '' $ac_executable_extensions; do
   6250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6251     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6252     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6253     break 2
   6254   fi
   6255 done
   6256 done
   6257 IFS=$as_save_IFS
   6258 
   6259 fi
   6260 fi
   6261 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6262 if test -n "$ac_ct_OTOOL64"; then
   6263   { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
   6264 $as_echo "$ac_ct_OTOOL64" >&6; }
   6265 else
   6266   { $as_echo "$as_me:$LINENO: result: no" >&5
   6267 $as_echo "no" >&6; }
   6268 fi
   6269 
   6270   if test "x$ac_ct_OTOOL64" = x; then
   6271     OTOOL64=":"
   6272   else
   6273     case $cross_compiling:$ac_tool_warned in
   6274 yes:)
   6275 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6277 ac_tool_warned=yes ;;
   6278 esac
   6279     OTOOL64=$ac_ct_OTOOL64
   6280   fi
   6281 else
   6282   OTOOL64="$ac_cv_prog_OTOOL64"
   6283 fi
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   6312 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6313 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   6314   $as_echo_n "(cached) " >&6
   6315 else
   6316   lt_cv_apple_cc_single_mod=no
   6317       if test -z "${LT_MULTI_MODULE}"; then
   6318 	# By default we will add the -single_module flag. You can override
   6319 	# by either setting the environment variable LT_MULTI_MODULE
   6320 	# non-empty at configure time, or by adding -multi_module to the
   6321 	# link flags.
   6322 	rm -rf libconftest.dylib*
   6323 	echo "int foo(void){return 1;}" > conftest.c
   6324 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6325 -dynamiclib -Wl,-single_module conftest.c" >&5
   6326 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6327 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6328         _lt_result=$?
   6329 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6330 	  lt_cv_apple_cc_single_mod=yes
   6331 	else
   6332 	  cat conftest.err >&5
   6333 	fi
   6334 	rm -rf libconftest.dylib*
   6335 	rm -f conftest.*
   6336       fi
   6337 fi
   6338 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   6339 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6340     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   6341 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6342 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   6343   $as_echo_n "(cached) " >&6
   6344 else
   6345   lt_cv_ld_exported_symbols_list=no
   6346       save_LDFLAGS=$LDFLAGS
   6347       echo "_main" > conftest.sym
   6348       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6349       cat >conftest.$ac_ext <<_ACEOF
   6350 /* confdefs.h.  */
   6351 _ACEOF
   6352 cat confdefs.h >>conftest.$ac_ext
   6353 cat >>conftest.$ac_ext <<_ACEOF
   6354 /* end confdefs.h.  */
   6355 
   6356 int
   6357 main ()
   6358 {
   6359 
   6360   ;
   6361   return 0;
   6362 }
   6363 _ACEOF
   6364 rm -f conftest.$ac_objext conftest$ac_exeext
   6365 if { (ac_try="$ac_link"
   6366 case "(($ac_try" in
   6367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6368   *) ac_try_echo=$ac_try;;
   6369 esac
   6370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6371 $as_echo "$ac_try_echo") >&5
   6372   (eval "$ac_link") 2>conftest.er1
   6373   ac_status=$?
   6374   grep -v '^ *+' conftest.er1 >conftest.err
   6375   rm -f conftest.er1
   6376   cat conftest.err >&5
   6377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6378   (exit $ac_status); } && {
   6379 	 test -z "$ac_c_werror_flag" ||
   6380 	 test ! -s conftest.err
   6381        } && test -s conftest$ac_exeext && {
   6382 	 test "$cross_compiling" = yes ||
   6383 	 $as_test_x conftest$ac_exeext
   6384        }; then
   6385   lt_cv_ld_exported_symbols_list=yes
   6386 else
   6387   $as_echo "$as_me: failed program was:" >&5
   6388 sed 's/^/| /' conftest.$ac_ext >&5
   6389 
   6390 	lt_cv_ld_exported_symbols_list=no
   6391 fi
   6392 
   6393 rm -rf conftest.dSYM
   6394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6395       conftest$ac_exeext conftest.$ac_ext
   6396 	LDFLAGS="$save_LDFLAGS"
   6397 
   6398 fi
   6399 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   6400 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6401     case $host_os in
   6402     rhapsody* | darwin1.[012])
   6403       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6404     darwin1.*)
   6405       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6406     darwin*) # darwin 5.x on
   6407       # if running on 10.5 or later, the deployment target defaults
   6408       # to the OS version, if on x86, and 10.4, the deployment
   6409       # target defaults to 10.4. Don't you love it?
   6410       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6411 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6412 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6413 	10.[012]*)
   6414 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6415 	10.*)
   6416 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6417       esac
   6418     ;;
   6419   esac
   6420     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6421       _lt_dar_single_mod='$single_module'
   6422     fi
   6423     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6424       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6425     else
   6426       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6427     fi
   6428     if test "$DSYMUTIL" != ":"; then
   6429       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6430     else
   6431       _lt_dsymutil=
   6432     fi
   6433     ;;
   6434   esac
   6435 
   6436 ac_ext=c
   6437 ac_cpp='$CPP $CPPFLAGS'
   6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6441 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   6442 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6443 # On Suns, sometimes $CPP names a directory.
   6444 if test -n "$CPP" && test -d "$CPP"; then
   6445   CPP=
   6446 fi
   6447 if test -z "$CPP"; then
   6448   if test "${ac_cv_prog_CPP+set}" = set; then
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451       # Double quotes because CPP needs to be expanded
   6452     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   6453     do
   6454       ac_preproc_ok=false
   6455 for ac_c_preproc_warn_flag in '' yes
   6456 do
   6457   # Use a header file that comes with gcc, so configuring glibc
   6458   # with a fresh cross-compiler works.
   6459   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6460   # <limits.h> exists even on freestanding compilers.
   6461   # On the NeXT, cc -E runs the code through the compiler's parser,
   6462   # not just through cpp. "Syntax error" is here to catch this case.
   6463   cat >conftest.$ac_ext <<_ACEOF
   6464 /* confdefs.h.  */
   6465 _ACEOF
   6466 cat confdefs.h >>conftest.$ac_ext
   6467 cat >>conftest.$ac_ext <<_ACEOF
   6468 /* end confdefs.h.  */
   6469 #ifdef __STDC__
   6470 # include <limits.h>
   6471 #else
   6472 # include <assert.h>
   6473 #endif
   6474 		     Syntax error
   6475 _ACEOF
   6476 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6477 case "(($ac_try" in
   6478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6479   *) ac_try_echo=$ac_try;;
   6480 esac
   6481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6482 $as_echo "$ac_try_echo") >&5
   6483   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6484   ac_status=$?
   6485   grep -v '^ *+' conftest.er1 >conftest.err
   6486   rm -f conftest.er1
   6487   cat conftest.err >&5
   6488   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6489   (exit $ac_status); } >/dev/null && {
   6490 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6491 	 test ! -s conftest.err
   6492        }; then
   6493   :
   6494 else
   6495   $as_echo "$as_me: failed program was:" >&5
   6496 sed 's/^/| /' conftest.$ac_ext >&5
   6497 
   6498   # Broken: fails on valid input.
   6499 continue
   6500 fi
   6501 
   6502 rm -f conftest.err conftest.$ac_ext
   6503 
   6504   # OK, works on sane cases.  Now check whether nonexistent headers
   6505   # can be detected and how.
   6506   cat >conftest.$ac_ext <<_ACEOF
   6507 /* confdefs.h.  */
   6508 _ACEOF
   6509 cat confdefs.h >>conftest.$ac_ext
   6510 cat >>conftest.$ac_ext <<_ACEOF
   6511 /* end confdefs.h.  */
   6512 #include <ac_nonexistent.h>
   6513 _ACEOF
   6514 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6515 case "(($ac_try" in
   6516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6517   *) ac_try_echo=$ac_try;;
   6518 esac
   6519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6520 $as_echo "$ac_try_echo") >&5
   6521   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6522   ac_status=$?
   6523   grep -v '^ *+' conftest.er1 >conftest.err
   6524   rm -f conftest.er1
   6525   cat conftest.err >&5
   6526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6527   (exit $ac_status); } >/dev/null && {
   6528 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6529 	 test ! -s conftest.err
   6530        }; then
   6531   # Broken: success on invalid input.
   6532 continue
   6533 else
   6534   $as_echo "$as_me: failed program was:" >&5
   6535 sed 's/^/| /' conftest.$ac_ext >&5
   6536 
   6537   # Passes both tests.
   6538 ac_preproc_ok=:
   6539 break
   6540 fi
   6541 
   6542 rm -f conftest.err conftest.$ac_ext
   6543 
   6544 done
   6545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6546 rm -f conftest.err conftest.$ac_ext
   6547 if $ac_preproc_ok; then
   6548   break
   6549 fi
   6550 
   6551     done
   6552     ac_cv_prog_CPP=$CPP
   6553 
   6554 fi
   6555   CPP=$ac_cv_prog_CPP
   6556 else
   6557   ac_cv_prog_CPP=$CPP
   6558 fi
   6559 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   6560 $as_echo "$CPP" >&6; }
   6561 ac_preproc_ok=false
   6562 for ac_c_preproc_warn_flag in '' yes
   6563 do
   6564   # Use a header file that comes with gcc, so configuring glibc
   6565   # with a fresh cross-compiler works.
   6566   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6567   # <limits.h> exists even on freestanding compilers.
   6568   # On the NeXT, cc -E runs the code through the compiler's parser,
   6569   # not just through cpp. "Syntax error" is here to catch this case.
   6570   cat >conftest.$ac_ext <<_ACEOF
   6571 /* confdefs.h.  */
   6572 _ACEOF
   6573 cat confdefs.h >>conftest.$ac_ext
   6574 cat >>conftest.$ac_ext <<_ACEOF
   6575 /* end confdefs.h.  */
   6576 #ifdef __STDC__
   6577 # include <limits.h>
   6578 #else
   6579 # include <assert.h>
   6580 #endif
   6581 		     Syntax error
   6582 _ACEOF
   6583 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6584 case "(($ac_try" in
   6585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6586   *) ac_try_echo=$ac_try;;
   6587 esac
   6588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6589 $as_echo "$ac_try_echo") >&5
   6590   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6591   ac_status=$?
   6592   grep -v '^ *+' conftest.er1 >conftest.err
   6593   rm -f conftest.er1
   6594   cat conftest.err >&5
   6595   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6596   (exit $ac_status); } >/dev/null && {
   6597 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6598 	 test ! -s conftest.err
   6599        }; then
   6600   :
   6601 else
   6602   $as_echo "$as_me: failed program was:" >&5
   6603 sed 's/^/| /' conftest.$ac_ext >&5
   6604 
   6605   # Broken: fails on valid input.
   6606 continue
   6607 fi
   6608 
   6609 rm -f conftest.err conftest.$ac_ext
   6610 
   6611   # OK, works on sane cases.  Now check whether nonexistent headers
   6612   # can be detected and how.
   6613   cat >conftest.$ac_ext <<_ACEOF
   6614 /* confdefs.h.  */
   6615 _ACEOF
   6616 cat confdefs.h >>conftest.$ac_ext
   6617 cat >>conftest.$ac_ext <<_ACEOF
   6618 /* end confdefs.h.  */
   6619 #include <ac_nonexistent.h>
   6620 _ACEOF
   6621 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6622 case "(($ac_try" in
   6623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6624   *) ac_try_echo=$ac_try;;
   6625 esac
   6626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6627 $as_echo "$ac_try_echo") >&5
   6628   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6629   ac_status=$?
   6630   grep -v '^ *+' conftest.er1 >conftest.err
   6631   rm -f conftest.er1
   6632   cat conftest.err >&5
   6633   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6634   (exit $ac_status); } >/dev/null && {
   6635 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6636 	 test ! -s conftest.err
   6637        }; then
   6638   # Broken: success on invalid input.
   6639 continue
   6640 else
   6641   $as_echo "$as_me: failed program was:" >&5
   6642 sed 's/^/| /' conftest.$ac_ext >&5
   6643 
   6644   # Passes both tests.
   6645 ac_preproc_ok=:
   6646 break
   6647 fi
   6648 
   6649 rm -f conftest.err conftest.$ac_ext
   6650 
   6651 done
   6652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6653 rm -f conftest.err conftest.$ac_ext
   6654 if $ac_preproc_ok; then
   6655   :
   6656 else
   6657   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6659 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   6660 See \`config.log' for more details." >&5
   6661 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   6662 See \`config.log' for more details." >&2;}
   6663    { (exit 1); exit 1; }; }; }
   6664 fi
   6665 
   6666 ac_ext=c
   6667 ac_cpp='$CPP $CPPFLAGS'
   6668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6671 
   6672 
   6673 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6674 $as_echo_n "checking for ANSI C header files... " >&6; }
   6675 if test "${ac_cv_header_stdc+set}" = set; then
   6676   $as_echo_n "(cached) " >&6
   6677 else
   6678   cat >conftest.$ac_ext <<_ACEOF
   6679 /* confdefs.h.  */
   6680 _ACEOF
   6681 cat confdefs.h >>conftest.$ac_ext
   6682 cat >>conftest.$ac_ext <<_ACEOF
   6683 /* end confdefs.h.  */
   6684 #include <stdlib.h>
   6685 #include <stdarg.h>
   6686 #include <string.h>
   6687 #include <float.h>
   6688 
   6689 int
   6690 main ()
   6691 {
   6692 
   6693   ;
   6694   return 0;
   6695 }
   6696 _ACEOF
   6697 rm -f conftest.$ac_objext
   6698 if { (ac_try="$ac_compile"
   6699 case "(($ac_try" in
   6700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6701   *) ac_try_echo=$ac_try;;
   6702 esac
   6703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6704 $as_echo "$ac_try_echo") >&5
   6705   (eval "$ac_compile") 2>conftest.er1
   6706   ac_status=$?
   6707   grep -v '^ *+' conftest.er1 >conftest.err
   6708   rm -f conftest.er1
   6709   cat conftest.err >&5
   6710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6711   (exit $ac_status); } && {
   6712 	 test -z "$ac_c_werror_flag" ||
   6713 	 test ! -s conftest.err
   6714        } && test -s conftest.$ac_objext; then
   6715   ac_cv_header_stdc=yes
   6716 else
   6717   $as_echo "$as_me: failed program was:" >&5
   6718 sed 's/^/| /' conftest.$ac_ext >&5
   6719 
   6720 	ac_cv_header_stdc=no
   6721 fi
   6722 
   6723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6724 
   6725 if test $ac_cv_header_stdc = yes; then
   6726   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6727   cat >conftest.$ac_ext <<_ACEOF
   6728 /* confdefs.h.  */
   6729 _ACEOF
   6730 cat confdefs.h >>conftest.$ac_ext
   6731 cat >>conftest.$ac_ext <<_ACEOF
   6732 /* end confdefs.h.  */
   6733 #include <string.h>
   6734 
   6735 _ACEOF
   6736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6737   $EGREP "memchr" >/dev/null 2>&1; then
   6738   :
   6739 else
   6740   ac_cv_header_stdc=no
   6741 fi
   6742 rm -f conftest*
   6743 
   6744 fi
   6745 
   6746 if test $ac_cv_header_stdc = yes; then
   6747   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6748   cat >conftest.$ac_ext <<_ACEOF
   6749 /* confdefs.h.  */
   6750 _ACEOF
   6751 cat confdefs.h >>conftest.$ac_ext
   6752 cat >>conftest.$ac_ext <<_ACEOF
   6753 /* end confdefs.h.  */
   6754 #include <stdlib.h>
   6755 
   6756 _ACEOF
   6757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6758   $EGREP "free" >/dev/null 2>&1; then
   6759   :
   6760 else
   6761   ac_cv_header_stdc=no
   6762 fi
   6763 rm -f conftest*
   6764 
   6765 fi
   6766 
   6767 if test $ac_cv_header_stdc = yes; then
   6768   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6769   if test "$cross_compiling" = yes; then
   6770   :
   6771 else
   6772   cat >conftest.$ac_ext <<_ACEOF
   6773 /* confdefs.h.  */
   6774 _ACEOF
   6775 cat confdefs.h >>conftest.$ac_ext
   6776 cat >>conftest.$ac_ext <<_ACEOF
   6777 /* end confdefs.h.  */
   6778 #include <ctype.h>
   6779 #include <stdlib.h>
   6780 #if ((' ' & 0x0FF) == 0x020)
   6781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6783 #else
   6784 # define ISLOWER(c) \
   6785 		   (('a' <= (c) && (c) <= 'i') \
   6786 		     || ('j' <= (c) && (c) <= 'r') \
   6787 		     || ('s' <= (c) && (c) <= 'z'))
   6788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6789 #endif
   6790 
   6791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6792 int
   6793 main ()
   6794 {
   6795   int i;
   6796   for (i = 0; i < 256; i++)
   6797     if (XOR (islower (i), ISLOWER (i))
   6798 	|| toupper (i) != TOUPPER (i))
   6799       return 2;
   6800   return 0;
   6801 }
   6802 _ACEOF
   6803 rm -f conftest$ac_exeext
   6804 if { (ac_try="$ac_link"
   6805 case "(($ac_try" in
   6806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6807   *) ac_try_echo=$ac_try;;
   6808 esac
   6809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6810 $as_echo "$ac_try_echo") >&5
   6811   (eval "$ac_link") 2>&5
   6812   ac_status=$?
   6813   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6814   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6815   { (case "(($ac_try" in
   6816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6817   *) ac_try_echo=$ac_try;;
   6818 esac
   6819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6820 $as_echo "$ac_try_echo") >&5
   6821   (eval "$ac_try") 2>&5
   6822   ac_status=$?
   6823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6824   (exit $ac_status); }; }; then
   6825   :
   6826 else
   6827   $as_echo "$as_me: program exited with status $ac_status" >&5
   6828 $as_echo "$as_me: failed program was:" >&5
   6829 sed 's/^/| /' conftest.$ac_ext >&5
   6830 
   6831 ( exit $ac_status )
   6832 ac_cv_header_stdc=no
   6833 fi
   6834 rm -rf conftest.dSYM
   6835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6836 fi
   6837 
   6838 
   6839 fi
   6840 fi
   6841 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6842 $as_echo "$ac_cv_header_stdc" >&6; }
   6843 if test $ac_cv_header_stdc = yes; then
   6844 
   6845 cat >>confdefs.h <<\_ACEOF
   6846 #define STDC_HEADERS 1
   6847 _ACEOF
   6848 
   6849 fi
   6850 
   6851 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6862 		  inttypes.h stdint.h unistd.h
   6863 do
   6864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6865 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6866 $as_echo_n "checking for $ac_header... " >&6; }
   6867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   cat >conftest.$ac_ext <<_ACEOF
   6871 /* confdefs.h.  */
   6872 _ACEOF
   6873 cat confdefs.h >>conftest.$ac_ext
   6874 cat >>conftest.$ac_ext <<_ACEOF
   6875 /* end confdefs.h.  */
   6876 $ac_includes_default
   6877 
   6878 #include <$ac_header>
   6879 _ACEOF
   6880 rm -f conftest.$ac_objext
   6881 if { (ac_try="$ac_compile"
   6882 case "(($ac_try" in
   6883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6884   *) ac_try_echo=$ac_try;;
   6885 esac
   6886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6887 $as_echo "$ac_try_echo") >&5
   6888   (eval "$ac_compile") 2>conftest.er1
   6889   ac_status=$?
   6890   grep -v '^ *+' conftest.er1 >conftest.err
   6891   rm -f conftest.er1
   6892   cat conftest.err >&5
   6893   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6894   (exit $ac_status); } && {
   6895 	 test -z "$ac_c_werror_flag" ||
   6896 	 test ! -s conftest.err
   6897        } && test -s conftest.$ac_objext; then
   6898   eval "$as_ac_Header=yes"
   6899 else
   6900   $as_echo "$as_me: failed program was:" >&5
   6901 sed 's/^/| /' conftest.$ac_ext >&5
   6902 
   6903 	eval "$as_ac_Header=no"
   6904 fi
   6905 
   6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6907 fi
   6908 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6909 		 $as_echo "$as_val"'`
   6910 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6911 $as_echo "$ac_res" >&6; }
   6912 as_val=`eval 'as_val=${'$as_ac_Header'}
   6913 		 $as_echo "$as_val"'`
   6914    if test "x$as_val" = x""yes; then
   6915   cat >>confdefs.h <<_ACEOF
   6916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6917 _ACEOF
   6918 
   6919 fi
   6920 
   6921 done
   6922 
   6923 
   6924 
   6925 for ac_header in dlfcn.h
   6926 do
   6927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6928 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6929 $as_echo_n "checking for $ac_header... " >&6; }
   6930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   cat >conftest.$ac_ext <<_ACEOF
   6934 /* confdefs.h.  */
   6935 _ACEOF
   6936 cat confdefs.h >>conftest.$ac_ext
   6937 cat >>conftest.$ac_ext <<_ACEOF
   6938 /* end confdefs.h.  */
   6939 $ac_includes_default
   6940 
   6941 #include <$ac_header>
   6942 _ACEOF
   6943 rm -f conftest.$ac_objext
   6944 if { (ac_try="$ac_compile"
   6945 case "(($ac_try" in
   6946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6947   *) ac_try_echo=$ac_try;;
   6948 esac
   6949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6950 $as_echo "$ac_try_echo") >&5
   6951   (eval "$ac_compile") 2>conftest.er1
   6952   ac_status=$?
   6953   grep -v '^ *+' conftest.er1 >conftest.err
   6954   rm -f conftest.er1
   6955   cat conftest.err >&5
   6956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6957   (exit $ac_status); } && {
   6958 	 test -z "$ac_c_werror_flag" ||
   6959 	 test ! -s conftest.err
   6960        } && test -s conftest.$ac_objext; then
   6961   eval "$as_ac_Header=yes"
   6962 else
   6963   $as_echo "$as_me: failed program was:" >&5
   6964 sed 's/^/| /' conftest.$ac_ext >&5
   6965 
   6966 	eval "$as_ac_Header=no"
   6967 fi
   6968 
   6969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6970 fi
   6971 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6972 		 $as_echo "$as_val"'`
   6973 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6974 $as_echo "$ac_res" >&6; }
   6975 as_val=`eval 'as_val=${'$as_ac_Header'}
   6976 		 $as_echo "$as_val"'`
   6977    if test "x$as_val" = x""yes; then
   6978   cat >>confdefs.h <<_ACEOF
   6979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6980 _ACEOF
   6981 
   6982 fi
   6983 
   6984 done
   6985 
   6986 
   6987 
   6988 # Set options
   6989 
   6990 
   6991 
   6992         enable_dlopen=no
   6993 
   6994 
   6995   enable_win32_dll=no
   6996 
   6997 
   6998             # Check whether --enable-shared was given.
   6999 if test "${enable_shared+set}" = set; then
   7000   enableval=$enable_shared; p=${PACKAGE-default}
   7001     case $enableval in
   7002     yes) enable_shared=yes ;;
   7003     no) enable_shared=no ;;
   7004     *)
   7005       enable_shared=no
   7006       # Look at the argument we got.  We use all the common list separators.
   7007       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7008       for pkg in $enableval; do
   7009 	IFS="$lt_save_ifs"
   7010 	if test "X$pkg" = "X$p"; then
   7011 	  enable_shared=yes
   7012 	fi
   7013       done
   7014       IFS="$lt_save_ifs"
   7015       ;;
   7016     esac
   7017 else
   7018   enable_shared=yes
   7019 fi
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 # Check whether --with-pic was given.
   7032 if test "${with_pic+set}" = set; then
   7033   withval=$with_pic; pic_mode="$withval"
   7034 else
   7035   pic_mode=default
   7036 fi
   7037 
   7038 
   7039 test -z "$pic_mode" && pic_mode=default
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047   # Check whether --enable-fast-install was given.
   7048 if test "${enable_fast_install+set}" = set; then
   7049   enableval=$enable_fast_install; p=${PACKAGE-default}
   7050     case $enableval in
   7051     yes) enable_fast_install=yes ;;
   7052     no) enable_fast_install=no ;;
   7053     *)
   7054       enable_fast_install=no
   7055       # Look at the argument we got.  We use all the common list separators.
   7056       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7057       for pkg in $enableval; do
   7058 	IFS="$lt_save_ifs"
   7059 	if test "X$pkg" = "X$p"; then
   7060 	  enable_fast_install=yes
   7061 	fi
   7062       done
   7063       IFS="$lt_save_ifs"
   7064       ;;
   7065     esac
   7066 else
   7067   enable_fast_install=yes
   7068 fi
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 # This can be used to rebuild libtool when needed
   7081 LIBTOOL_DEPS="$ltmain"
   7082 
   7083 # Always use our own libtool.
   7084 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 test -z "$LN_S" && LN_S="ln -s"
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 if test -n "${ZSH_VERSION+set}" ; then
   7126    setopt NO_GLOB_SUBST
   7127 fi
   7128 
   7129 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   7130 $as_echo_n "checking for objdir... " >&6; }
   7131 if test "${lt_cv_objdir+set}" = set; then
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   rm -f .libs 2>/dev/null
   7135 mkdir .libs 2>/dev/null
   7136 if test -d .libs; then
   7137   lt_cv_objdir=.libs
   7138 else
   7139   # MS-DOS does not allow filenames that begin with a dot.
   7140   lt_cv_objdir=_libs
   7141 fi
   7142 rmdir .libs 2>/dev/null
   7143 fi
   7144 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   7145 $as_echo "$lt_cv_objdir" >&6; }
   7146 objdir=$lt_cv_objdir
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 cat >>confdefs.h <<_ACEOF
   7153 #define LT_OBJDIR "$lt_cv_objdir/"
   7154 _ACEOF
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 case $host_os in
   7173 aix3*)
   7174   # AIX sometimes has problems with the GCC collect2 program.  For some
   7175   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7176   # vanish in a puff of smoke.
   7177   if test "X${COLLECT_NAMES+set}" != Xset; then
   7178     COLLECT_NAMES=
   7179     export COLLECT_NAMES
   7180   fi
   7181   ;;
   7182 esac
   7183 
   7184 # Sed substitution that helps us do robust quoting.  It backslashifies
   7185 # metacharacters that are still active within double-quoted strings.
   7186 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   7187 
   7188 # Same as above, but do not quote variable references.
   7189 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   7190 
   7191 # Sed substitution to delay expansion of an escaped shell variable in a
   7192 # double_quote_subst'ed string.
   7193 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   7194 
   7195 # Sed substitution to delay expansion of an escaped single quote.
   7196 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   7197 
   7198 # Sed substitution to avoid accidental globbing in evaled expressions
   7199 no_glob_subst='s/\*/\\\*/g'
   7200 
   7201 # Global variables:
   7202 ofile=libtool
   7203 can_build_shared=yes
   7204 
   7205 # All known linkers require a `.a' archive for static linking (except MSVC,
   7206 # which needs '.lib').
   7207 libext=a
   7208 
   7209 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7210 
   7211 old_CC="$CC"
   7212 old_CFLAGS="$CFLAGS"
   7213 
   7214 # Set sane defaults for various variables
   7215 test -z "$CC" && CC=cc
   7216 test -z "$LTCC" && LTCC=$CC
   7217 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7218 test -z "$LD" && LD=ld
   7219 test -z "$ac_objext" && ac_objext=o
   7220 
   7221 for cc_temp in $compiler""; do
   7222   case $cc_temp in
   7223     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7224     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7225     \-*) ;;
   7226     *) break;;
   7227   esac
   7228 done
   7229 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7230 
   7231 
   7232 # Only perform the check for file, if the check method requires it
   7233 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7234 case $deplibs_check_method in
   7235 file_magic*)
   7236   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7237     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7238 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7239 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   case $MAGIC_CMD in
   7243 [\\/*] |  ?:[\\/]*)
   7244   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7245   ;;
   7246 *)
   7247   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7248   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7249   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7250   for ac_dir in $ac_dummy; do
   7251     IFS="$lt_save_ifs"
   7252     test -z "$ac_dir" && ac_dir=.
   7253     if test -f $ac_dir/${ac_tool_prefix}file; then
   7254       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7255       if test -n "$file_magic_test_file"; then
   7256 	case $deplibs_check_method in
   7257 	"file_magic "*)
   7258 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7259 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7260 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7261 	    $EGREP "$file_magic_regex" > /dev/null; then
   7262 	    :
   7263 	  else
   7264 	    cat <<_LT_EOF 1>&2
   7265 
   7266 *** Warning: the command libtool uses to detect shared libraries,
   7267 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7268 *** The result is that libtool may fail to recognize shared libraries
   7269 *** as such.  This will affect the creation of libtool libraries that
   7270 *** depend on shared libraries, but programs linked with such libtool
   7271 *** libraries will work regardless of this problem.  Nevertheless, you
   7272 *** may want to report the problem to your system manager and/or to
   7273 *** bug-libtool@gnu.org
   7274 
   7275 _LT_EOF
   7276 	  fi ;;
   7277 	esac
   7278       fi
   7279       break
   7280     fi
   7281   done
   7282   IFS="$lt_save_ifs"
   7283   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7284   ;;
   7285 esac
   7286 fi
   7287 
   7288 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7289 if test -n "$MAGIC_CMD"; then
   7290   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7291 $as_echo "$MAGIC_CMD" >&6; }
   7292 else
   7293   { $as_echo "$as_me:$LINENO: result: no" >&5
   7294 $as_echo "no" >&6; }
   7295 fi
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7302   if test -n "$ac_tool_prefix"; then
   7303     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7304 $as_echo_n "checking for file... " >&6; }
   7305 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7306   $as_echo_n "(cached) " >&6
   7307 else
   7308   case $MAGIC_CMD in
   7309 [\\/*] |  ?:[\\/]*)
   7310   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7311   ;;
   7312 *)
   7313   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7314   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7315   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7316   for ac_dir in $ac_dummy; do
   7317     IFS="$lt_save_ifs"
   7318     test -z "$ac_dir" && ac_dir=.
   7319     if test -f $ac_dir/file; then
   7320       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7321       if test -n "$file_magic_test_file"; then
   7322 	case $deplibs_check_method in
   7323 	"file_magic "*)
   7324 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7325 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7326 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7327 	    $EGREP "$file_magic_regex" > /dev/null; then
   7328 	    :
   7329 	  else
   7330 	    cat <<_LT_EOF 1>&2
   7331 
   7332 *** Warning: the command libtool uses to detect shared libraries,
   7333 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7334 *** The result is that libtool may fail to recognize shared libraries
   7335 *** as such.  This will affect the creation of libtool libraries that
   7336 *** depend on shared libraries, but programs linked with such libtool
   7337 *** libraries will work regardless of this problem.  Nevertheless, you
   7338 *** may want to report the problem to your system manager and/or to
   7339 *** bug-libtool@gnu.org
   7340 
   7341 _LT_EOF
   7342 	  fi ;;
   7343 	esac
   7344       fi
   7345       break
   7346     fi
   7347   done
   7348   IFS="$lt_save_ifs"
   7349   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7350   ;;
   7351 esac
   7352 fi
   7353 
   7354 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7355 if test -n "$MAGIC_CMD"; then
   7356   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7357 $as_echo "$MAGIC_CMD" >&6; }
   7358 else
   7359   { $as_echo "$as_me:$LINENO: result: no" >&5
   7360 $as_echo "no" >&6; }
   7361 fi
   7362 
   7363 
   7364   else
   7365     MAGIC_CMD=:
   7366   fi
   7367 fi
   7368 
   7369   fi
   7370   ;;
   7371 esac
   7372 
   7373 # Use C for the default configuration in the libtool script
   7374 
   7375 lt_save_CC="$CC"
   7376 ac_ext=c
   7377 ac_cpp='$CPP $CPPFLAGS'
   7378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7381 
   7382 
   7383 # Source file extension for C test sources.
   7384 ac_ext=c
   7385 
   7386 # Object file extension for compiled C test sources.
   7387 objext=o
   7388 objext=$objext
   7389 
   7390 # Code to be used in simple compile tests
   7391 lt_simple_compile_test_code="int some_variable = 0;"
   7392 
   7393 # Code to be used in simple link tests
   7394 lt_simple_link_test_code='int main(){return(0);}'
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 # If no C compiler was specified, use CC.
   7403 LTCC=${LTCC-"$CC"}
   7404 
   7405 # If no C compiler flags were specified, use CFLAGS.
   7406 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7407 
   7408 # Allow CC to be a program name with arguments.
   7409 compiler=$CC
   7410 
   7411 # Save the default compiler, since it gets overwritten when the other
   7412 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7413 compiler_DEFAULT=$CC
   7414 
   7415 # save warnings/boilerplate of simple test code
   7416 ac_outfile=conftest.$ac_objext
   7417 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7418 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7419 _lt_compiler_boilerplate=`cat conftest.err`
   7420 $RM conftest*
   7421 
   7422 ac_outfile=conftest.$ac_objext
   7423 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7424 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7425 _lt_linker_boilerplate=`cat conftest.err`
   7426 $RM -r conftest*
   7427 
   7428 
   7429 if test -n "$compiler"; then
   7430 
   7431 lt_prog_compiler_no_builtin_flag=
   7432 
   7433 if test "$GCC" = yes; then
   7434   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7435 
   7436   { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7437 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7438 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7439   $as_echo_n "(cached) " >&6
   7440 else
   7441   lt_cv_prog_compiler_rtti_exceptions=no
   7442    ac_outfile=conftest.$ac_objext
   7443    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7444    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7445    # Insert the option either (1) after the last *FLAGS variable, or
   7446    # (2) before a word containing "conftest.", or (3) at the end.
   7447    # Note that $ac_compile itself does not contain backslashes and begins
   7448    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7449    # The option is referenced via a variable to avoid confusing sed.
   7450    lt_compile=`echo "$ac_compile" | $SED \
   7451    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7452    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7453    -e 's:$: $lt_compiler_flag:'`
   7454    (eval echo "\"\$as_me:7454: $lt_compile\"" >&5)
   7455    (eval "$lt_compile" 2>conftest.err)
   7456    ac_status=$?
   7457    cat conftest.err >&5
   7458    echo "$as_me:7458: \$? = $ac_status" >&5
   7459    if (exit $ac_status) && test -s "$ac_outfile"; then
   7460      # The compiler can only warn and ignore the option if not recognized
   7461      # So say no if there are warnings other than the usual output.
   7462      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7463      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7464      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7465        lt_cv_prog_compiler_rtti_exceptions=yes
   7466      fi
   7467    fi
   7468    $RM conftest*
   7469 
   7470 fi
   7471 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7472 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7473 
   7474 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7475     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7476 else
   7477     :
   7478 fi
   7479 
   7480 fi
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487   lt_prog_compiler_wl=
   7488 lt_prog_compiler_pic=
   7489 lt_prog_compiler_static=
   7490 
   7491 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7493 
   7494   if test "$GCC" = yes; then
   7495     lt_prog_compiler_wl='-Wl,'
   7496     lt_prog_compiler_static='-static'
   7497 
   7498     case $host_os in
   7499       aix*)
   7500       # All AIX code is PIC.
   7501       if test "$host_cpu" = ia64; then
   7502 	# AIX 5 now supports IA64 processor
   7503 	lt_prog_compiler_static='-Bstatic'
   7504       fi
   7505       ;;
   7506 
   7507     amigaos*)
   7508       case $host_cpu in
   7509       powerpc)
   7510             # see comment about AmigaOS4 .so support
   7511             lt_prog_compiler_pic='-fPIC'
   7512         ;;
   7513       m68k)
   7514             # FIXME: we need at least 68020 code to build shared libraries, but
   7515             # adding the `-m68020' flag to GCC prevents building anything better,
   7516             # like `-m68040'.
   7517             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7518         ;;
   7519       esac
   7520       ;;
   7521 
   7522     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7523       # PIC is the default for these OSes.
   7524       ;;
   7525 
   7526     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7527       # This hack is so that the source file can tell whether it is being
   7528       # built for inclusion in a dll (and should export symbols for example).
   7529       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7530       # (--disable-auto-import) libraries
   7531       lt_prog_compiler_pic='-DDLL_EXPORT'
   7532       ;;
   7533 
   7534     darwin* | rhapsody*)
   7535       # PIC is the default on this platform
   7536       # Common symbols not allowed in MH_DYLIB files
   7537       lt_prog_compiler_pic='-fno-common'
   7538       ;;
   7539 
   7540     hpux*)
   7541       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7542       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7543       # sets the default TLS model and affects inlining.
   7544       case $host_cpu in
   7545       hppa*64*)
   7546 	# +Z the default
   7547 	;;
   7548       *)
   7549 	lt_prog_compiler_pic='-fPIC'
   7550 	;;
   7551       esac
   7552       ;;
   7553 
   7554     interix[3-9]*)
   7555       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7556       # Instead, we relocate shared libraries at runtime.
   7557       ;;
   7558 
   7559     msdosdjgpp*)
   7560       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7561       # on systems that don't support them.
   7562       lt_prog_compiler_can_build_shared=no
   7563       enable_shared=no
   7564       ;;
   7565 
   7566     *nto* | *qnx*)
   7567       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7568       # it will coredump.
   7569       lt_prog_compiler_pic='-fPIC -shared'
   7570       ;;
   7571 
   7572     sysv4*MP*)
   7573       if test -d /usr/nec; then
   7574 	lt_prog_compiler_pic=-Kconform_pic
   7575       fi
   7576       ;;
   7577 
   7578     *)
   7579       lt_prog_compiler_pic='-fPIC'
   7580       ;;
   7581     esac
   7582   else
   7583     # PORTME Check for flag to pass linker flags through the system compiler.
   7584     case $host_os in
   7585     aix*)
   7586       lt_prog_compiler_wl='-Wl,'
   7587       if test "$host_cpu" = ia64; then
   7588 	# AIX 5 now supports IA64 processor
   7589 	lt_prog_compiler_static='-Bstatic'
   7590       else
   7591 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7592       fi
   7593       ;;
   7594 
   7595     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7596       # This hack is so that the source file can tell whether it is being
   7597       # built for inclusion in a dll (and should export symbols for example).
   7598       lt_prog_compiler_pic='-DDLL_EXPORT'
   7599       ;;
   7600 
   7601     hpux9* | hpux10* | hpux11*)
   7602       lt_prog_compiler_wl='-Wl,'
   7603       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7604       # not for PA HP-UX.
   7605       case $host_cpu in
   7606       hppa*64*|ia64*)
   7607 	# +Z the default
   7608 	;;
   7609       *)
   7610 	lt_prog_compiler_pic='+Z'
   7611 	;;
   7612       esac
   7613       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7614       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7615       ;;
   7616 
   7617     irix5* | irix6* | nonstopux*)
   7618       lt_prog_compiler_wl='-Wl,'
   7619       # PIC (with -KPIC) is the default.
   7620       lt_prog_compiler_static='-non_shared'
   7621       ;;
   7622 
   7623     linux* | k*bsd*-gnu)
   7624       case $cc_basename in
   7625       # old Intel for x86_64 which still supported -KPIC.
   7626       ecc*)
   7627 	lt_prog_compiler_wl='-Wl,'
   7628 	lt_prog_compiler_pic='-KPIC'
   7629 	lt_prog_compiler_static='-static'
   7630         ;;
   7631       # icc used to be incompatible with GCC.
   7632       # ICC 10 doesn't accept -KPIC any more.
   7633       icc* | ifort*)
   7634 	lt_prog_compiler_wl='-Wl,'
   7635 	lt_prog_compiler_pic='-fPIC'
   7636 	lt_prog_compiler_static='-static'
   7637         ;;
   7638       # Lahey Fortran 8.1.
   7639       lf95*)
   7640 	lt_prog_compiler_wl='-Wl,'
   7641 	lt_prog_compiler_pic='--shared'
   7642 	lt_prog_compiler_static='--static'
   7643 	;;
   7644       pgcc* | pgf77* | pgf90* | pgf95*)
   7645         # Portland Group compilers (*not* the Pentium gcc compiler,
   7646 	# which looks to be a dead project)
   7647 	lt_prog_compiler_wl='-Wl,'
   7648 	lt_prog_compiler_pic='-fpic'
   7649 	lt_prog_compiler_static='-Bstatic'
   7650         ;;
   7651       ccc*)
   7652         lt_prog_compiler_wl='-Wl,'
   7653         # All Alpha code is PIC.
   7654         lt_prog_compiler_static='-non_shared'
   7655         ;;
   7656       xl*)
   7657 	# IBM XL C 8.0/Fortran 10.1 on PPC
   7658 	lt_prog_compiler_wl='-Wl,'
   7659 	lt_prog_compiler_pic='-qpic'
   7660 	lt_prog_compiler_static='-qstaticlink'
   7661 	;;
   7662       *)
   7663 	case `$CC -V 2>&1 | sed 5q` in
   7664 	*Sun\ C*)
   7665 	  # Sun C 5.9
   7666 	  lt_prog_compiler_pic='-KPIC'
   7667 	  lt_prog_compiler_static='-Bstatic'
   7668 	  lt_prog_compiler_wl='-Wl,'
   7669 	  ;;
   7670 	*Sun\ F*)
   7671 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7672 	  lt_prog_compiler_pic='-KPIC'
   7673 	  lt_prog_compiler_static='-Bstatic'
   7674 	  lt_prog_compiler_wl=''
   7675 	  ;;
   7676 	esac
   7677 	;;
   7678       esac
   7679       ;;
   7680 
   7681     newsos6)
   7682       lt_prog_compiler_pic='-KPIC'
   7683       lt_prog_compiler_static='-Bstatic'
   7684       ;;
   7685 
   7686     *nto* | *qnx*)
   7687       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7688       # it will coredump.
   7689       lt_prog_compiler_pic='-fPIC -shared'
   7690       ;;
   7691 
   7692     osf3* | osf4* | osf5*)
   7693       lt_prog_compiler_wl='-Wl,'
   7694       # All OSF/1 code is PIC.
   7695       lt_prog_compiler_static='-non_shared'
   7696       ;;
   7697 
   7698     rdos*)
   7699       lt_prog_compiler_static='-non_shared'
   7700       ;;
   7701 
   7702     solaris*)
   7703       lt_prog_compiler_pic='-KPIC'
   7704       lt_prog_compiler_static='-Bstatic'
   7705       case $cc_basename in
   7706       f77* | f90* | f95*)
   7707 	lt_prog_compiler_wl='-Qoption ld ';;
   7708       *)
   7709 	lt_prog_compiler_wl='-Wl,';;
   7710       esac
   7711       ;;
   7712 
   7713     sunos4*)
   7714       lt_prog_compiler_wl='-Qoption ld '
   7715       lt_prog_compiler_pic='-PIC'
   7716       lt_prog_compiler_static='-Bstatic'
   7717       ;;
   7718 
   7719     sysv4 | sysv4.2uw2* | sysv4.3*)
   7720       lt_prog_compiler_wl='-Wl,'
   7721       lt_prog_compiler_pic='-KPIC'
   7722       lt_prog_compiler_static='-Bstatic'
   7723       ;;
   7724 
   7725     sysv4*MP*)
   7726       if test -d /usr/nec ;then
   7727 	lt_prog_compiler_pic='-Kconform_pic'
   7728 	lt_prog_compiler_static='-Bstatic'
   7729       fi
   7730       ;;
   7731 
   7732     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7733       lt_prog_compiler_wl='-Wl,'
   7734       lt_prog_compiler_pic='-KPIC'
   7735       lt_prog_compiler_static='-Bstatic'
   7736       ;;
   7737 
   7738     unicos*)
   7739       lt_prog_compiler_wl='-Wl,'
   7740       lt_prog_compiler_can_build_shared=no
   7741       ;;
   7742 
   7743     uts4*)
   7744       lt_prog_compiler_pic='-pic'
   7745       lt_prog_compiler_static='-Bstatic'
   7746       ;;
   7747 
   7748     *)
   7749       lt_prog_compiler_can_build_shared=no
   7750       ;;
   7751     esac
   7752   fi
   7753 
   7754 case $host_os in
   7755   # For platforms which do not support PIC, -DPIC is meaningless:
   7756   *djgpp*)
   7757     lt_prog_compiler_pic=
   7758     ;;
   7759   *)
   7760     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7761     ;;
   7762 esac
   7763 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7764 $as_echo "$lt_prog_compiler_pic" >&6; }
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 #
   7772 # Check to make sure the PIC flag actually works.
   7773 #
   7774 if test -n "$lt_prog_compiler_pic"; then
   7775   { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7776 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7777 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7778   $as_echo_n "(cached) " >&6
   7779 else
   7780   lt_cv_prog_compiler_pic_works=no
   7781    ac_outfile=conftest.$ac_objext
   7782    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7783    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7784    # Insert the option either (1) after the last *FLAGS variable, or
   7785    # (2) before a word containing "conftest.", or (3) at the end.
   7786    # Note that $ac_compile itself does not contain backslashes and begins
   7787    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7788    # The option is referenced via a variable to avoid confusing sed.
   7789    lt_compile=`echo "$ac_compile" | $SED \
   7790    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7791    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7792    -e 's:$: $lt_compiler_flag:'`
   7793    (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
   7794    (eval "$lt_compile" 2>conftest.err)
   7795    ac_status=$?
   7796    cat conftest.err >&5
   7797    echo "$as_me:7797: \$? = $ac_status" >&5
   7798    if (exit $ac_status) && test -s "$ac_outfile"; then
   7799      # The compiler can only warn and ignore the option if not recognized
   7800      # So say no if there are warnings other than the usual output.
   7801      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7802      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7803      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7804        lt_cv_prog_compiler_pic_works=yes
   7805      fi
   7806    fi
   7807    $RM conftest*
   7808 
   7809 fi
   7810 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7811 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7812 
   7813 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7814     case $lt_prog_compiler_pic in
   7815      "" | " "*) ;;
   7816      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7817      esac
   7818 else
   7819     lt_prog_compiler_pic=
   7820      lt_prog_compiler_can_build_shared=no
   7821 fi
   7822 
   7823 fi
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 #
   7831 # Check to make sure the static flag actually works.
   7832 #
   7833 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7834 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7835 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7836 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7837   $as_echo_n "(cached) " >&6
   7838 else
   7839   lt_cv_prog_compiler_static_works=no
   7840    save_LDFLAGS="$LDFLAGS"
   7841    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7842    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7843    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7844      # The linker can only warn and ignore the option if not recognized
   7845      # So say no if there are warnings
   7846      if test -s conftest.err; then
   7847        # Append any errors to the config.log.
   7848        cat conftest.err 1>&5
   7849        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7850        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7851        if diff conftest.exp conftest.er2 >/dev/null; then
   7852          lt_cv_prog_compiler_static_works=yes
   7853        fi
   7854      else
   7855        lt_cv_prog_compiler_static_works=yes
   7856      fi
   7857    fi
   7858    $RM -r conftest*
   7859    LDFLAGS="$save_LDFLAGS"
   7860 
   7861 fi
   7862 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7863 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7864 
   7865 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7866     :
   7867 else
   7868     lt_prog_compiler_static=
   7869 fi
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7879 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7880   $as_echo_n "(cached) " >&6
   7881 else
   7882   lt_cv_prog_compiler_c_o=no
   7883    $RM -r conftest 2>/dev/null
   7884    mkdir conftest
   7885    cd conftest
   7886    mkdir out
   7887    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7888 
   7889    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7890    # Insert the option either (1) after the last *FLAGS variable, or
   7891    # (2) before a word containing "conftest.", or (3) at the end.
   7892    # Note that $ac_compile itself does not contain backslashes and begins
   7893    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7894    lt_compile=`echo "$ac_compile" | $SED \
   7895    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7896    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7897    -e 's:$: $lt_compiler_flag:'`
   7898    (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
   7899    (eval "$lt_compile" 2>out/conftest.err)
   7900    ac_status=$?
   7901    cat out/conftest.err >&5
   7902    echo "$as_me:7902: \$? = $ac_status" >&5
   7903    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7904    then
   7905      # The compiler can only warn and ignore the option if not recognized
   7906      # So say no if there are warnings
   7907      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7908      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7909      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7910        lt_cv_prog_compiler_c_o=yes
   7911      fi
   7912    fi
   7913    chmod u+w . 2>&5
   7914    $RM conftest*
   7915    # SGI C++ compiler will create directory out/ii_files/ for
   7916    # template instantiation
   7917    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7918    $RM out/* && rmdir out
   7919    cd ..
   7920    $RM -r conftest
   7921    $RM conftest*
   7922 
   7923 fi
   7924 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932   { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   lt_cv_prog_compiler_c_o=no
   7938    $RM -r conftest 2>/dev/null
   7939    mkdir conftest
   7940    cd conftest
   7941    mkdir out
   7942    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7943 
   7944    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7945    # Insert the option either (1) after the last *FLAGS variable, or
   7946    # (2) before a word containing "conftest.", or (3) at the end.
   7947    # Note that $ac_compile itself does not contain backslashes and begins
   7948    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7949    lt_compile=`echo "$ac_compile" | $SED \
   7950    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7951    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7952    -e 's:$: $lt_compiler_flag:'`
   7953    (eval echo "\"\$as_me:7953: $lt_compile\"" >&5)
   7954    (eval "$lt_compile" 2>out/conftest.err)
   7955    ac_status=$?
   7956    cat out/conftest.err >&5
   7957    echo "$as_me:7957: \$? = $ac_status" >&5
   7958    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7959    then
   7960      # The compiler can only warn and ignore the option if not recognized
   7961      # So say no if there are warnings
   7962      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7963      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7964      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7965        lt_cv_prog_compiler_c_o=yes
   7966      fi
   7967    fi
   7968    chmod u+w . 2>&5
   7969    $RM conftest*
   7970    # SGI C++ compiler will create directory out/ii_files/ for
   7971    # template instantiation
   7972    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7973    $RM out/* && rmdir out
   7974    cd ..
   7975    $RM -r conftest
   7976    $RM conftest*
   7977 
   7978 fi
   7979 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7981 
   7982 
   7983 
   7984 
   7985 hard_links="nottested"
   7986 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7987   # do not overwrite the value of need_locks provided by the user
   7988   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7989 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7990   hard_links=yes
   7991   $RM conftest*
   7992   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7993   touch conftest.a
   7994   ln conftest.a conftest.b 2>&5 || hard_links=no
   7995   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7996   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   7997 $as_echo "$hard_links" >&6; }
   7998   if test "$hard_links" = no; then
   7999     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8000 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8001     need_locks=warn
   8002   fi
   8003 else
   8004   need_locks=no
   8005 fi
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012   { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8014 
   8015   runpath_var=
   8016   allow_undefined_flag=
   8017   always_export_symbols=no
   8018   archive_cmds=
   8019   archive_expsym_cmds=
   8020   compiler_needs_object=no
   8021   enable_shared_with_static_runtimes=no
   8022   export_dynamic_flag_spec=
   8023   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8024   hardcode_automatic=no
   8025   hardcode_direct=no
   8026   hardcode_direct_absolute=no
   8027   hardcode_libdir_flag_spec=
   8028   hardcode_libdir_flag_spec_ld=
   8029   hardcode_libdir_separator=
   8030   hardcode_minus_L=no
   8031   hardcode_shlibpath_var=unsupported
   8032   inherit_rpath=no
   8033   link_all_deplibs=unknown
   8034   module_cmds=
   8035   module_expsym_cmds=
   8036   old_archive_from_new_cmds=
   8037   old_archive_from_expsyms_cmds=
   8038   thread_safe_flag_spec=
   8039   whole_archive_flag_spec=
   8040   # include_expsyms should be a list of space-separated symbols to be *always*
   8041   # included in the symbol list
   8042   include_expsyms=
   8043   # exclude_expsyms can be an extended regexp of symbols to exclude
   8044   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8045   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8046   # as well as any symbol that contains `d'.
   8047   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8048   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8049   # platforms (ab)use it in PIC code, but their linkers get confused if
   8050   # the symbol is explicitly referenced.  Since portable code cannot
   8051   # rely on this symbol name, it's probably fine to never include it in
   8052   # preloaded symbol tables.
   8053   # Exclude shared library initialization/finalization symbols.
   8054   extract_expsyms_cmds=
   8055 
   8056   case $host_os in
   8057   cygwin* | mingw* | pw32* | cegcc*)
   8058     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8059     # When not using gcc, we currently assume that we are using
   8060     # Microsoft Visual C++.
   8061     if test "$GCC" != yes; then
   8062       with_gnu_ld=no
   8063     fi
   8064     ;;
   8065   interix*)
   8066     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8067     with_gnu_ld=yes
   8068     ;;
   8069   openbsd*)
   8070     with_gnu_ld=no
   8071     ;;
   8072   esac
   8073 
   8074   ld_shlibs=yes
   8075   if test "$with_gnu_ld" = yes; then
   8076     # If archive_cmds runs LD, not CC, wlarc should be empty
   8077     wlarc='${wl}'
   8078 
   8079     # Set some defaults for GNU ld with shared library support. These
   8080     # are reset later if shared libraries are not supported. Putting them
   8081     # here allows them to be overridden if necessary.
   8082     runpath_var=LD_RUN_PATH
   8083     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8084     export_dynamic_flag_spec='${wl}--export-dynamic'
   8085     # ancient GNU ld didn't support --whole-archive et. al.
   8086     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8087       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8088     else
   8089       whole_archive_flag_spec=
   8090     fi
   8091     supports_anon_versioning=no
   8092     case `$LD -v 2>&1` in
   8093       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8094       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8095       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8096       *\ 2.11.*) ;; # other 2.11 versions
   8097       *) supports_anon_versioning=yes ;;
   8098     esac
   8099 
   8100     # See if GNU ld supports shared libraries.
   8101     case $host_os in
   8102     aix[3-9]*)
   8103       # On AIX/PPC, the GNU linker is very broken
   8104       if test "$host_cpu" != ia64; then
   8105 	ld_shlibs=no
   8106 	cat <<_LT_EOF 1>&2
   8107 
   8108 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8109 *** to be unable to reliably create shared libraries on AIX.
   8110 *** Therefore, libtool is disabling shared libraries support.  If you
   8111 *** really care for shared libraries, you may want to modify your PATH
   8112 *** so that a non-GNU linker is found, and then restart.
   8113 
   8114 _LT_EOF
   8115       fi
   8116       ;;
   8117 
   8118     amigaos*)
   8119       case $host_cpu in
   8120       powerpc)
   8121             # see comment about AmigaOS4 .so support
   8122             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8123             archive_expsym_cmds=''
   8124         ;;
   8125       m68k)
   8126             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)'
   8127             hardcode_libdir_flag_spec='-L$libdir'
   8128             hardcode_minus_L=yes
   8129         ;;
   8130       esac
   8131       ;;
   8132 
   8133     beos*)
   8134       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8135 	allow_undefined_flag=unsupported
   8136 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8137 	# support --undefined.  This deserves some investigation.  FIXME
   8138 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8139       else
   8140 	ld_shlibs=no
   8141       fi
   8142       ;;
   8143 
   8144     cygwin* | mingw* | pw32* | cegcc*)
   8145       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8146       # as there is no search path for DLLs.
   8147       hardcode_libdir_flag_spec='-L$libdir'
   8148       allow_undefined_flag=unsupported
   8149       always_export_symbols=no
   8150       enable_shared_with_static_runtimes=yes
   8151       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8152 
   8153       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8154         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8155 	# If the export-symbols file already is a .def file (1st line
   8156 	# is EXPORTS), use it as is; otherwise, prepend...
   8157 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8158 	  cp $export_symbols $output_objdir/$soname.def;
   8159 	else
   8160 	  echo EXPORTS > $output_objdir/$soname.def;
   8161 	  cat $export_symbols >> $output_objdir/$soname.def;
   8162 	fi~
   8163 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8164       else
   8165 	ld_shlibs=no
   8166       fi
   8167       ;;
   8168 
   8169     interix[3-9]*)
   8170       hardcode_direct=no
   8171       hardcode_shlibpath_var=no
   8172       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8173       export_dynamic_flag_spec='${wl}-E'
   8174       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8175       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8176       # default) and relocated if they conflict, which is a slow very memory
   8177       # consuming and fragmenting process.  To avoid this, we pick a random,
   8178       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8179       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8180       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8181       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'
   8182       ;;
   8183 
   8184     gnu* | linux* | tpf* | k*bsd*-gnu)
   8185       tmp_diet=no
   8186       if test "$host_os" = linux-dietlibc; then
   8187 	case $cc_basename in
   8188 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8189 	esac
   8190       fi
   8191       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8192 	 && test "$tmp_diet" = no
   8193       then
   8194 	tmp_addflag=
   8195 	tmp_sharedflag='-shared'
   8196 	case $cc_basename,$host_cpu in
   8197         pgcc*)				# Portland Group C compiler
   8198 	  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'
   8199 	  tmp_addflag=' $pic_flag'
   8200 	  ;;
   8201 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8202 	  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'
   8203 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8204 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8205 	  tmp_addflag=' -i_dynamic' ;;
   8206 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8207 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8208 	ifc* | ifort*)			# Intel Fortran compiler
   8209 	  tmp_addflag=' -nofor_main' ;;
   8210 	lf95*)				# Lahey Fortran 8.1
   8211 	  whole_archive_flag_spec=
   8212 	  tmp_sharedflag='--shared' ;;
   8213 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   8214 	  tmp_sharedflag='-qmkshrobj'
   8215 	  tmp_addflag= ;;
   8216 	esac
   8217 	case `$CC -V 2>&1 | sed 5q` in
   8218 	*Sun\ C*)			# Sun C 5.9
   8219 	  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'
   8220 	  compiler_needs_object=yes
   8221 	  tmp_sharedflag='-G' ;;
   8222 	*Sun\ F*)			# Sun Fortran 8.3
   8223 	  tmp_sharedflag='-G' ;;
   8224 	esac
   8225 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8226 
   8227         if test "x$supports_anon_versioning" = xyes; then
   8228           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8229 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8230 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8231 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8232         fi
   8233 
   8234 	case $cc_basename in
   8235 	xlf*)
   8236 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8237 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8238 	  hardcode_libdir_flag_spec=
   8239 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8240 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8241 	  if test "x$supports_anon_versioning" = xyes; then
   8242 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8243 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8244 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8245 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8246 	  fi
   8247 	  ;;
   8248 	esac
   8249       else
   8250         ld_shlibs=no
   8251       fi
   8252       ;;
   8253 
   8254     netbsd*)
   8255       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8256 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8257 	wlarc=
   8258       else
   8259 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8260 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8261       fi
   8262       ;;
   8263 
   8264     solaris*)
   8265       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8266 	ld_shlibs=no
   8267 	cat <<_LT_EOF 1>&2
   8268 
   8269 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8270 *** create shared libraries on Solaris systems.  Therefore, libtool
   8271 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8272 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8273 *** your PATH or compiler configuration so that the native linker is
   8274 *** used, and then restart.
   8275 
   8276 _LT_EOF
   8277       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8278 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8279 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8280       else
   8281 	ld_shlibs=no
   8282       fi
   8283       ;;
   8284 
   8285     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8286       case `$LD -v 2>&1` in
   8287         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8288 	ld_shlibs=no
   8289 	cat <<_LT_EOF 1>&2
   8290 
   8291 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8292 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8293 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8294 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8295 *** your PATH or compiler configuration so that the native linker is
   8296 *** used, and then restart.
   8297 
   8298 _LT_EOF
   8299 	;;
   8300 	*)
   8301 	  # For security reasons, it is highly recommended that you always
   8302 	  # use absolute paths for naming shared libraries, and exclude the
   8303 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8304 	  # requires that you compile everything twice, which is a pain.
   8305 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8306 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8307 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8308 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8309 	  else
   8310 	    ld_shlibs=no
   8311 	  fi
   8312 	;;
   8313       esac
   8314       ;;
   8315 
   8316     sunos4*)
   8317       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8318       wlarc=
   8319       hardcode_direct=yes
   8320       hardcode_shlibpath_var=no
   8321       ;;
   8322 
   8323     *)
   8324       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8325 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8326 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8327       else
   8328 	ld_shlibs=no
   8329       fi
   8330       ;;
   8331     esac
   8332 
   8333     if test "$ld_shlibs" = no; then
   8334       runpath_var=
   8335       hardcode_libdir_flag_spec=
   8336       export_dynamic_flag_spec=
   8337       whole_archive_flag_spec=
   8338     fi
   8339   else
   8340     # PORTME fill in a description of your system's linker (not GNU ld)
   8341     case $host_os in
   8342     aix3*)
   8343       allow_undefined_flag=unsupported
   8344       always_export_symbols=yes
   8345       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'
   8346       # Note: this linker hardcodes the directories in LIBPATH if there
   8347       # are no directories specified by -L.
   8348       hardcode_minus_L=yes
   8349       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8350 	# Neither direct hardcoding nor static linking is supported with a
   8351 	# broken collect2.
   8352 	hardcode_direct=unsupported
   8353       fi
   8354       ;;
   8355 
   8356     aix[4-9]*)
   8357       if test "$host_cpu" = ia64; then
   8358 	# On IA64, the linker does run time linking by default, so we don't
   8359 	# have to do anything special.
   8360 	aix_use_runtimelinking=no
   8361 	exp_sym_flag='-Bexport'
   8362 	no_entry_flag=""
   8363       else
   8364 	# If we're using GNU nm, then we don't want the "-C" option.
   8365 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8366 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8367 	  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'
   8368 	else
   8369 	  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'
   8370 	fi
   8371 	aix_use_runtimelinking=no
   8372 
   8373 	# Test if we are trying to use run time linking or normal
   8374 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8375 	# need to do runtime linking.
   8376 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8377 	  for ld_flag in $LDFLAGS; do
   8378 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8379 	    aix_use_runtimelinking=yes
   8380 	    break
   8381 	  fi
   8382 	  done
   8383 	  ;;
   8384 	esac
   8385 
   8386 	exp_sym_flag='-bexport'
   8387 	no_entry_flag='-bnoentry'
   8388       fi
   8389 
   8390       # When large executables or shared objects are built, AIX ld can
   8391       # have problems creating the table of contents.  If linking a library
   8392       # or program results in "error TOC overflow" add -mminimal-toc to
   8393       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8394       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8395 
   8396       archive_cmds=''
   8397       hardcode_direct=yes
   8398       hardcode_direct_absolute=yes
   8399       hardcode_libdir_separator=':'
   8400       link_all_deplibs=yes
   8401       file_list_spec='${wl}-f,'
   8402 
   8403       if test "$GCC" = yes; then
   8404 	case $host_os in aix4.[012]|aix4.[012].*)
   8405 	# We only want to do this on AIX 4.2 and lower, the check
   8406 	# below for broken collect2 doesn't work under 4.3+
   8407 	  collect2name=`${CC} -print-prog-name=collect2`
   8408 	  if test -f "$collect2name" &&
   8409 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8410 	  then
   8411 	  # We have reworked collect2
   8412 	  :
   8413 	  else
   8414 	  # We have old collect2
   8415 	  hardcode_direct=unsupported
   8416 	  # It fails to find uninstalled libraries when the uninstalled
   8417 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8418 	  # to unsupported forces relinking
   8419 	  hardcode_minus_L=yes
   8420 	  hardcode_libdir_flag_spec='-L$libdir'
   8421 	  hardcode_libdir_separator=
   8422 	  fi
   8423 	  ;;
   8424 	esac
   8425 	shared_flag='-shared'
   8426 	if test "$aix_use_runtimelinking" = yes; then
   8427 	  shared_flag="$shared_flag "'${wl}-G'
   8428 	fi
   8429       else
   8430 	# not using gcc
   8431 	if test "$host_cpu" = ia64; then
   8432 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8433 	# chokes on -Wl,-G. The following line is correct:
   8434 	  shared_flag='-G'
   8435 	else
   8436 	  if test "$aix_use_runtimelinking" = yes; then
   8437 	    shared_flag='${wl}-G'
   8438 	  else
   8439 	    shared_flag='${wl}-bM:SRE'
   8440 	  fi
   8441 	fi
   8442       fi
   8443 
   8444       export_dynamic_flag_spec='${wl}-bexpall'
   8445       # It seems that -bexpall does not export symbols beginning with
   8446       # underscore (_), so it is better to generate a list of symbols to export.
   8447       always_export_symbols=yes
   8448       if test "$aix_use_runtimelinking" = yes; then
   8449 	# Warning - without using the other runtime loading flags (-brtl),
   8450 	# -berok will link without error, but may produce a broken library.
   8451 	allow_undefined_flag='-berok'
   8452         # Determine the default libpath from the value encoded in an
   8453         # empty executable.
   8454         cat >conftest.$ac_ext <<_ACEOF
   8455 /* confdefs.h.  */
   8456 _ACEOF
   8457 cat confdefs.h >>conftest.$ac_ext
   8458 cat >>conftest.$ac_ext <<_ACEOF
   8459 /* end confdefs.h.  */
   8460 
   8461 int
   8462 main ()
   8463 {
   8464 
   8465   ;
   8466   return 0;
   8467 }
   8468 _ACEOF
   8469 rm -f conftest.$ac_objext conftest$ac_exeext
   8470 if { (ac_try="$ac_link"
   8471 case "(($ac_try" in
   8472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8473   *) ac_try_echo=$ac_try;;
   8474 esac
   8475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8476 $as_echo "$ac_try_echo") >&5
   8477   (eval "$ac_link") 2>conftest.er1
   8478   ac_status=$?
   8479   grep -v '^ *+' conftest.er1 >conftest.err
   8480   rm -f conftest.er1
   8481   cat conftest.err >&5
   8482   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8483   (exit $ac_status); } && {
   8484 	 test -z "$ac_c_werror_flag" ||
   8485 	 test ! -s conftest.err
   8486        } && test -s conftest$ac_exeext && {
   8487 	 test "$cross_compiling" = yes ||
   8488 	 $as_test_x conftest$ac_exeext
   8489        }; then
   8490 
   8491 lt_aix_libpath_sed='
   8492     /Import File Strings/,/^$/ {
   8493 	/^0/ {
   8494 	    s/^0  *\(.*\)$/\1/
   8495 	    p
   8496 	}
   8497     }'
   8498 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8499 # Check for a 64-bit object if we didn't find anything.
   8500 if test -z "$aix_libpath"; then
   8501   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8502 fi
   8503 else
   8504   $as_echo "$as_me: failed program was:" >&5
   8505 sed 's/^/| /' conftest.$ac_ext >&5
   8506 
   8507 
   8508 fi
   8509 
   8510 rm -rf conftest.dSYM
   8511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8512       conftest$ac_exeext conftest.$ac_ext
   8513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8514 
   8515         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8516         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"
   8517       else
   8518 	if test "$host_cpu" = ia64; then
   8519 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8520 	  allow_undefined_flag="-z nodefs"
   8521 	  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"
   8522 	else
   8523 	 # Determine the default libpath from the value encoded in an
   8524 	 # empty executable.
   8525 	 cat >conftest.$ac_ext <<_ACEOF
   8526 /* confdefs.h.  */
   8527 _ACEOF
   8528 cat confdefs.h >>conftest.$ac_ext
   8529 cat >>conftest.$ac_ext <<_ACEOF
   8530 /* end confdefs.h.  */
   8531 
   8532 int
   8533 main ()
   8534 {
   8535 
   8536   ;
   8537   return 0;
   8538 }
   8539 _ACEOF
   8540 rm -f conftest.$ac_objext conftest$ac_exeext
   8541 if { (ac_try="$ac_link"
   8542 case "(($ac_try" in
   8543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8544   *) ac_try_echo=$ac_try;;
   8545 esac
   8546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8547 $as_echo "$ac_try_echo") >&5
   8548   (eval "$ac_link") 2>conftest.er1
   8549   ac_status=$?
   8550   grep -v '^ *+' conftest.er1 >conftest.err
   8551   rm -f conftest.er1
   8552   cat conftest.err >&5
   8553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8554   (exit $ac_status); } && {
   8555 	 test -z "$ac_c_werror_flag" ||
   8556 	 test ! -s conftest.err
   8557        } && test -s conftest$ac_exeext && {
   8558 	 test "$cross_compiling" = yes ||
   8559 	 $as_test_x conftest$ac_exeext
   8560        }; then
   8561 
   8562 lt_aix_libpath_sed='
   8563     /Import File Strings/,/^$/ {
   8564 	/^0/ {
   8565 	    s/^0  *\(.*\)$/\1/
   8566 	    p
   8567 	}
   8568     }'
   8569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8570 # Check for a 64-bit object if we didn't find anything.
   8571 if test -z "$aix_libpath"; then
   8572   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8573 fi
   8574 else
   8575   $as_echo "$as_me: failed program was:" >&5
   8576 sed 's/^/| /' conftest.$ac_ext >&5
   8577 
   8578 
   8579 fi
   8580 
   8581 rm -rf conftest.dSYM
   8582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8583       conftest$ac_exeext conftest.$ac_ext
   8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8585 
   8586 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8587 	  # Warning - without using the other run time loading flags,
   8588 	  # -berok will link without error, but may produce a broken library.
   8589 	  no_undefined_flag=' ${wl}-bernotok'
   8590 	  allow_undefined_flag=' ${wl}-berok'
   8591 	  # Exported symbols can be pulled into shared objects from archives
   8592 	  whole_archive_flag_spec='$convenience'
   8593 	  archive_cmds_need_lc=yes
   8594 	  # This is similar to how AIX traditionally builds its shared libraries.
   8595 	  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'
   8596 	fi
   8597       fi
   8598       ;;
   8599 
   8600     amigaos*)
   8601       case $host_cpu in
   8602       powerpc)
   8603             # see comment about AmigaOS4 .so support
   8604             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8605             archive_expsym_cmds=''
   8606         ;;
   8607       m68k)
   8608             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)'
   8609             hardcode_libdir_flag_spec='-L$libdir'
   8610             hardcode_minus_L=yes
   8611         ;;
   8612       esac
   8613       ;;
   8614 
   8615     bsdi[45]*)
   8616       export_dynamic_flag_spec=-rdynamic
   8617       ;;
   8618 
   8619     cygwin* | mingw* | pw32* | cegcc*)
   8620       # When not using gcc, we currently assume that we are using
   8621       # Microsoft Visual C++.
   8622       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8623       # no search path for DLLs.
   8624       hardcode_libdir_flag_spec=' '
   8625       allow_undefined_flag=unsupported
   8626       # Tell ltmain to make .lib files, not .a files.
   8627       libext=lib
   8628       # Tell ltmain to make .dll files, not .so files.
   8629       shrext_cmds=".dll"
   8630       # FIXME: Setting linknames here is a bad hack.
   8631       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8632       # The linker will automatically build a .lib file if we build a DLL.
   8633       old_archive_from_new_cmds='true'
   8634       # FIXME: Should let the user specify the lib program.
   8635       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8636       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8637       enable_shared_with_static_runtimes=yes
   8638       ;;
   8639 
   8640     darwin* | rhapsody*)
   8641 
   8642 
   8643   archive_cmds_need_lc=no
   8644   hardcode_direct=no
   8645   hardcode_automatic=yes
   8646   hardcode_shlibpath_var=unsupported
   8647   whole_archive_flag_spec=''
   8648   link_all_deplibs=yes
   8649   allow_undefined_flag="$_lt_dar_allow_undefined"
   8650   case $cc_basename in
   8651      ifort*) _lt_dar_can_shared=yes ;;
   8652      *) _lt_dar_can_shared=$GCC ;;
   8653   esac
   8654   if test "$_lt_dar_can_shared" = "yes"; then
   8655     output_verbose_link_cmd=echo
   8656     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8657     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8658     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}"
   8659     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}"
   8660 
   8661   else
   8662   ld_shlibs=no
   8663   fi
   8664 
   8665       ;;
   8666 
   8667     dgux*)
   8668       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8669       hardcode_libdir_flag_spec='-L$libdir'
   8670       hardcode_shlibpath_var=no
   8671       ;;
   8672 
   8673     freebsd1*)
   8674       ld_shlibs=no
   8675       ;;
   8676 
   8677     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8678     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8679     # does not break anything, and helps significantly (at the cost of a little
   8680     # extra space).
   8681     freebsd2.2*)
   8682       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8683       hardcode_libdir_flag_spec='-R$libdir'
   8684       hardcode_direct=yes
   8685       hardcode_shlibpath_var=no
   8686       ;;
   8687 
   8688     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8689     freebsd2*)
   8690       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8691       hardcode_direct=yes
   8692       hardcode_minus_L=yes
   8693       hardcode_shlibpath_var=no
   8694       ;;
   8695 
   8696     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8697     freebsd* | dragonfly*)
   8698       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8699       hardcode_libdir_flag_spec='-R$libdir'
   8700       hardcode_direct=yes
   8701       hardcode_shlibpath_var=no
   8702       ;;
   8703 
   8704     hpux9*)
   8705       if test "$GCC" = yes; then
   8706 	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'
   8707       else
   8708 	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'
   8709       fi
   8710       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8711       hardcode_libdir_separator=:
   8712       hardcode_direct=yes
   8713 
   8714       # hardcode_minus_L: Not really in the search PATH,
   8715       # but as the default location of the library.
   8716       hardcode_minus_L=yes
   8717       export_dynamic_flag_spec='${wl}-E'
   8718       ;;
   8719 
   8720     hpux10*)
   8721       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8722 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8723       else
   8724 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8725       fi
   8726       if test "$with_gnu_ld" = no; then
   8727 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8728 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8729 	hardcode_libdir_separator=:
   8730 	hardcode_direct=yes
   8731 	hardcode_direct_absolute=yes
   8732 	export_dynamic_flag_spec='${wl}-E'
   8733 	# hardcode_minus_L: Not really in the search PATH,
   8734 	# but as the default location of the library.
   8735 	hardcode_minus_L=yes
   8736       fi
   8737       ;;
   8738 
   8739     hpux11*)
   8740       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8741 	case $host_cpu in
   8742 	hppa*64*)
   8743 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8744 	  ;;
   8745 	ia64*)
   8746 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8747 	  ;;
   8748 	*)
   8749 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8750 	  ;;
   8751 	esac
   8752       else
   8753 	case $host_cpu in
   8754 	hppa*64*)
   8755 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8756 	  ;;
   8757 	ia64*)
   8758 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8759 	  ;;
   8760 	*)
   8761 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8762 	  ;;
   8763 	esac
   8764       fi
   8765       if test "$with_gnu_ld" = no; then
   8766 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8767 	hardcode_libdir_separator=:
   8768 
   8769 	case $host_cpu in
   8770 	hppa*64*|ia64*)
   8771 	  hardcode_direct=no
   8772 	  hardcode_shlibpath_var=no
   8773 	  ;;
   8774 	*)
   8775 	  hardcode_direct=yes
   8776 	  hardcode_direct_absolute=yes
   8777 	  export_dynamic_flag_spec='${wl}-E'
   8778 
   8779 	  # hardcode_minus_L: Not really in the search PATH,
   8780 	  # but as the default location of the library.
   8781 	  hardcode_minus_L=yes
   8782 	  ;;
   8783 	esac
   8784       fi
   8785       ;;
   8786 
   8787     irix5* | irix6* | nonstopux*)
   8788       if test "$GCC" = yes; then
   8789 	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'
   8790 	# Try to use the -exported_symbol ld option, if it does not
   8791 	# work, assume that -exports_file does not work either and
   8792 	# implicitly export all symbols.
   8793         save_LDFLAGS="$LDFLAGS"
   8794         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8795         cat >conftest.$ac_ext <<_ACEOF
   8796 int foo(void) {}
   8797 _ACEOF
   8798 rm -f conftest.$ac_objext conftest$ac_exeext
   8799 if { (ac_try="$ac_link"
   8800 case "(($ac_try" in
   8801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8802   *) ac_try_echo=$ac_try;;
   8803 esac
   8804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8805 $as_echo "$ac_try_echo") >&5
   8806   (eval "$ac_link") 2>conftest.er1
   8807   ac_status=$?
   8808   grep -v '^ *+' conftest.er1 >conftest.err
   8809   rm -f conftest.er1
   8810   cat conftest.err >&5
   8811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8812   (exit $ac_status); } && {
   8813 	 test -z "$ac_c_werror_flag" ||
   8814 	 test ! -s conftest.err
   8815        } && test -s conftest$ac_exeext && {
   8816 	 test "$cross_compiling" = yes ||
   8817 	 $as_test_x conftest$ac_exeext
   8818        }; then
   8819   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'
   8820 
   8821 else
   8822   $as_echo "$as_me: failed program was:" >&5
   8823 sed 's/^/| /' conftest.$ac_ext >&5
   8824 
   8825 
   8826 fi
   8827 
   8828 rm -rf conftest.dSYM
   8829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8830       conftest$ac_exeext conftest.$ac_ext
   8831         LDFLAGS="$save_LDFLAGS"
   8832       else
   8833 	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'
   8834 	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'
   8835       fi
   8836       archive_cmds_need_lc='no'
   8837       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8838       hardcode_libdir_separator=:
   8839       inherit_rpath=yes
   8840       link_all_deplibs=yes
   8841       ;;
   8842 
   8843     netbsd*)
   8844       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8845 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8846       else
   8847 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8848       fi
   8849       hardcode_libdir_flag_spec='-R$libdir'
   8850       hardcode_direct=yes
   8851       hardcode_shlibpath_var=no
   8852       ;;
   8853 
   8854     newsos6)
   8855       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8856       hardcode_direct=yes
   8857       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8858       hardcode_libdir_separator=:
   8859       hardcode_shlibpath_var=no
   8860       ;;
   8861 
   8862     *nto* | *qnx*)
   8863       ;;
   8864 
   8865     openbsd*)
   8866       if test -f /usr/libexec/ld.so; then
   8867 	hardcode_direct=yes
   8868 	hardcode_shlibpath_var=no
   8869 	hardcode_direct_absolute=yes
   8870 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8871 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8872 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8873 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8874 	  export_dynamic_flag_spec='${wl}-E'
   8875 	else
   8876 	  case $host_os in
   8877 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8878 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8879 	     hardcode_libdir_flag_spec='-R$libdir'
   8880 	     ;;
   8881 	   *)
   8882 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8883 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8884 	     ;;
   8885 	  esac
   8886 	fi
   8887       else
   8888 	ld_shlibs=no
   8889       fi
   8890       ;;
   8891 
   8892     os2*)
   8893       hardcode_libdir_flag_spec='-L$libdir'
   8894       hardcode_minus_L=yes
   8895       allow_undefined_flag=unsupported
   8896       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'
   8897       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8898       ;;
   8899 
   8900     osf3*)
   8901       if test "$GCC" = yes; then
   8902 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8903 	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'
   8904       else
   8905 	allow_undefined_flag=' -expect_unresolved \*'
   8906 	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'
   8907       fi
   8908       archive_cmds_need_lc='no'
   8909       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8910       hardcode_libdir_separator=:
   8911       ;;
   8912 
   8913     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8914       if test "$GCC" = yes; then
   8915 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8916 	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'
   8917 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8918       else
   8919 	allow_undefined_flag=' -expect_unresolved \*'
   8920 	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'
   8921 	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~
   8922 	$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'
   8923 
   8924 	# Both c and cxx compiler support -rpath directly
   8925 	hardcode_libdir_flag_spec='-rpath $libdir'
   8926       fi
   8927       archive_cmds_need_lc='no'
   8928       hardcode_libdir_separator=:
   8929       ;;
   8930 
   8931     solaris*)
   8932       no_undefined_flag=' -z defs'
   8933       if test "$GCC" = yes; then
   8934 	wlarc='${wl}'
   8935 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8936 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8937 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8938       else
   8939 	case `$CC -V 2>&1` in
   8940 	*"Compilers 5.0"*)
   8941 	  wlarc=''
   8942 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8943 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8944 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8945 	  ;;
   8946 	*)
   8947 	  wlarc='${wl}'
   8948 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8949 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8950 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8951 	  ;;
   8952 	esac
   8953       fi
   8954       hardcode_libdir_flag_spec='-R$libdir'
   8955       hardcode_shlibpath_var=no
   8956       case $host_os in
   8957       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8958       *)
   8959 	# The compiler driver will combine and reorder linker options,
   8960 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8961 	# but is careful enough not to reorder.
   8962 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8963 	if test "$GCC" = yes; then
   8964 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8965 	else
   8966 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8967 	fi
   8968 	;;
   8969       esac
   8970       link_all_deplibs=yes
   8971       ;;
   8972 
   8973     sunos4*)
   8974       if test "x$host_vendor" = xsequent; then
   8975 	# Use $CC to link under sequent, because it throws in some extra .o
   8976 	# files that make .init and .fini sections work.
   8977 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8978       else
   8979 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8980       fi
   8981       hardcode_libdir_flag_spec='-L$libdir'
   8982       hardcode_direct=yes
   8983       hardcode_minus_L=yes
   8984       hardcode_shlibpath_var=no
   8985       ;;
   8986 
   8987     sysv4)
   8988       case $host_vendor in
   8989 	sni)
   8990 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8991 	  hardcode_direct=yes # is this really true???
   8992 	;;
   8993 	siemens)
   8994 	  ## LD is ld it makes a PLAMLIB
   8995 	  ## CC just makes a GrossModule.
   8996 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8997 	  reload_cmds='$CC -r -o $output$reload_objs'
   8998 	  hardcode_direct=no
   8999         ;;
   9000 	motorola)
   9001 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9002 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9003 	;;
   9004       esac
   9005       runpath_var='LD_RUN_PATH'
   9006       hardcode_shlibpath_var=no
   9007       ;;
   9008 
   9009     sysv4.3*)
   9010       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9011       hardcode_shlibpath_var=no
   9012       export_dynamic_flag_spec='-Bexport'
   9013       ;;
   9014 
   9015     sysv4*MP*)
   9016       if test -d /usr/nec; then
   9017 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9018 	hardcode_shlibpath_var=no
   9019 	runpath_var=LD_RUN_PATH
   9020 	hardcode_runpath_var=yes
   9021 	ld_shlibs=yes
   9022       fi
   9023       ;;
   9024 
   9025     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9026       no_undefined_flag='${wl}-z,text'
   9027       archive_cmds_need_lc=no
   9028       hardcode_shlibpath_var=no
   9029       runpath_var='LD_RUN_PATH'
   9030 
   9031       if test "$GCC" = yes; then
   9032 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9033 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9034       else
   9035 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9036 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9037       fi
   9038       ;;
   9039 
   9040     sysv5* | sco3.2v5* | sco5v6*)
   9041       # Note: We can NOT use -z defs as we might desire, because we do not
   9042       # link with -lc, and that would cause any symbols used from libc to
   9043       # always be unresolved, which means just about no library would
   9044       # ever link correctly.  If we're not using GNU ld we use -z text
   9045       # though, which does catch some bad symbols but isn't as heavy-handed
   9046       # as -z defs.
   9047       no_undefined_flag='${wl}-z,text'
   9048       allow_undefined_flag='${wl}-z,nodefs'
   9049       archive_cmds_need_lc=no
   9050       hardcode_shlibpath_var=no
   9051       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9052       hardcode_libdir_separator=':'
   9053       link_all_deplibs=yes
   9054       export_dynamic_flag_spec='${wl}-Bexport'
   9055       runpath_var='LD_RUN_PATH'
   9056 
   9057       if test "$GCC" = yes; then
   9058 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9059 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9060       else
   9061 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9062 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9063       fi
   9064       ;;
   9065 
   9066     uts4*)
   9067       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9068       hardcode_libdir_flag_spec='-L$libdir'
   9069       hardcode_shlibpath_var=no
   9070       ;;
   9071 
   9072     *)
   9073       ld_shlibs=no
   9074       ;;
   9075     esac
   9076 
   9077     if test x$host_vendor = xsni; then
   9078       case $host in
   9079       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9080 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9081 	;;
   9082       esac
   9083     fi
   9084   fi
   9085 
   9086 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9087 $as_echo "$ld_shlibs" >&6; }
   9088 test "$ld_shlibs" = no && can_build_shared=no
   9089 
   9090 with_gnu_ld=$with_gnu_ld
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 #
   9107 # Do we need to explicitly link libc?
   9108 #
   9109 case "x$archive_cmds_need_lc" in
   9110 x|xyes)
   9111   # Assume -lc should be added
   9112   archive_cmds_need_lc=yes
   9113 
   9114   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9115     case $archive_cmds in
   9116     *'~'*)
   9117       # FIXME: we may have to deal with multi-command sequences.
   9118       ;;
   9119     '$CC '*)
   9120       # Test whether the compiler implicitly links with -lc since on some
   9121       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9122       # to ld, don't add -lc before -lgcc.
   9123       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9125       $RM conftest*
   9126       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9127 
   9128       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9129   (eval $ac_compile) 2>&5
   9130   ac_status=$?
   9131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9132   (exit $ac_status); } 2>conftest.err; then
   9133         soname=conftest
   9134         lib=conftest
   9135         libobjs=conftest.$ac_objext
   9136         deplibs=
   9137         wl=$lt_prog_compiler_wl
   9138 	pic_flag=$lt_prog_compiler_pic
   9139         compiler_flags=-v
   9140         linker_flags=-v
   9141         verstring=
   9142         output_objdir=.
   9143         libname=conftest
   9144         lt_save_allow_undefined_flag=$allow_undefined_flag
   9145         allow_undefined_flag=
   9146         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9147   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9148   ac_status=$?
   9149   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9150   (exit $ac_status); }
   9151         then
   9152 	  archive_cmds_need_lc=no
   9153         else
   9154 	  archive_cmds_need_lc=yes
   9155         fi
   9156         allow_undefined_flag=$lt_save_allow_undefined_flag
   9157       else
   9158         cat conftest.err 1>&5
   9159       fi
   9160       $RM conftest*
   9161       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9162 $as_echo "$archive_cmds_need_lc" >&6; }
   9163       ;;
   9164     esac
   9165   fi
   9166   ;;
   9167 esac
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325   { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9326 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9327 
   9328 if test "$GCC" = yes; then
   9329   case $host_os in
   9330     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9331     *) lt_awk_arg="/^libraries:/" ;;
   9332   esac
   9333   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9334   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9335     # if the path contains ";" then we assume it to be the separator
   9336     # otherwise default to the standard path separator (i.e. ":") - it is
   9337     # assumed that no part of a normal pathname contains ";" but that should
   9338     # okay in the real world where ";" in dirpaths is itself problematic.
   9339     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9340   else
   9341     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9342   fi
   9343   # Ok, now we have the path, separated by spaces, we can step through it
   9344   # and add multilib dir if necessary.
   9345   lt_tmp_lt_search_path_spec=
   9346   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9347   for lt_sys_path in $lt_search_path_spec; do
   9348     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9349       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9350     else
   9351       test -d "$lt_sys_path" && \
   9352 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9353     fi
   9354   done
   9355   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9356 BEGIN {RS=" "; FS="/|\n";} {
   9357   lt_foo="";
   9358   lt_count=0;
   9359   for (lt_i = NF; lt_i > 0; lt_i--) {
   9360     if ($lt_i != "" && $lt_i != ".") {
   9361       if ($lt_i == "..") {
   9362         lt_count++;
   9363       } else {
   9364         if (lt_count == 0) {
   9365           lt_foo="/" $lt_i lt_foo;
   9366         } else {
   9367           lt_count--;
   9368         }
   9369       }
   9370     }
   9371   }
   9372   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9373   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9374 }'`
   9375   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9376 else
   9377   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9378 fi
   9379 library_names_spec=
   9380 libname_spec='lib$name'
   9381 soname_spec=
   9382 shrext_cmds=".so"
   9383 postinstall_cmds=
   9384 postuninstall_cmds=
   9385 finish_cmds=
   9386 finish_eval=
   9387 shlibpath_var=
   9388 shlibpath_overrides_runpath=unknown
   9389 version_type=none
   9390 dynamic_linker="$host_os ld.so"
   9391 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9392 need_lib_prefix=unknown
   9393 hardcode_into_libs=no
   9394 
   9395 # when you set need_version to no, make sure it does not cause -set_version
   9396 # flags to be left without arguments
   9397 need_version=unknown
   9398 
   9399 case $host_os in
   9400 aix3*)
   9401   version_type=linux
   9402   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9403   shlibpath_var=LIBPATH
   9404 
   9405   # AIX 3 has no versioning support, so we append a major version to the name.
   9406   soname_spec='${libname}${release}${shared_ext}$major'
   9407   ;;
   9408 
   9409 aix[4-9]*)
   9410   version_type=linux
   9411   need_lib_prefix=no
   9412   need_version=no
   9413   hardcode_into_libs=yes
   9414   if test "$host_cpu" = ia64; then
   9415     # AIX 5 supports IA64
   9416     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9417     shlibpath_var=LD_LIBRARY_PATH
   9418   else
   9419     # With GCC up to 2.95.x, collect2 would create an import file
   9420     # for dependence libraries.  The import file would start with
   9421     # the line `#! .'.  This would cause the generated library to
   9422     # depend on `.', always an invalid library.  This was fixed in
   9423     # development snapshots of GCC prior to 3.0.
   9424     case $host_os in
   9425       aix4 | aix4.[01] | aix4.[01].*)
   9426       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9427 	   echo ' yes '
   9428 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9429 	:
   9430       else
   9431 	can_build_shared=no
   9432       fi
   9433       ;;
   9434     esac
   9435     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9436     # soname into executable. Probably we can add versioning support to
   9437     # collect2, so additional links can be useful in future.
   9438     if test "$aix_use_runtimelinking" = yes; then
   9439       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9440       # instead of lib<name>.a to let people know that these are not
   9441       # typical AIX shared libraries.
   9442       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9443     else
   9444       # We preserve .a as extension for shared libraries through AIX4.2
   9445       # and later when we are not doing run time linking.
   9446       library_names_spec='${libname}${release}.a $libname.a'
   9447       soname_spec='${libname}${release}${shared_ext}$major'
   9448     fi
   9449     shlibpath_var=LIBPATH
   9450   fi
   9451   ;;
   9452 
   9453 amigaos*)
   9454   case $host_cpu in
   9455   powerpc)
   9456     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9457     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9459     ;;
   9460   m68k)
   9461     library_names_spec='$libname.ixlibrary $libname.a'
   9462     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9463     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'
   9464     ;;
   9465   esac
   9466   ;;
   9467 
   9468 beos*)
   9469   library_names_spec='${libname}${shared_ext}'
   9470   dynamic_linker="$host_os ld.so"
   9471   shlibpath_var=LIBRARY_PATH
   9472   ;;
   9473 
   9474 bsdi[45]*)
   9475   version_type=linux
   9476   need_version=no
   9477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9478   soname_spec='${libname}${release}${shared_ext}$major'
   9479   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9480   shlibpath_var=LD_LIBRARY_PATH
   9481   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9482   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9483   # the default ld.so.conf also contains /usr/contrib/lib and
   9484   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9485   # libtool to hard-code these into programs
   9486   ;;
   9487 
   9488 cygwin* | mingw* | pw32* | cegcc*)
   9489   version_type=windows
   9490   shrext_cmds=".dll"
   9491   need_version=no
   9492   need_lib_prefix=no
   9493 
   9494   case $GCC,$host_os in
   9495   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   9496     library_names_spec='$libname.dll.a'
   9497     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9498     postinstall_cmds='base_file=`basename \${file}`~
   9499       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9500       dldir=$destdir/`dirname \$dlpath`~
   9501       test -d \$dldir || mkdir -p \$dldir~
   9502       $install_prog $dir/$dlname \$dldir/$dlname~
   9503       chmod a+x \$dldir/$dlname~
   9504       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9505         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9506       fi'
   9507     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9508       dlpath=$dir/\$dldll~
   9509        $RM \$dlpath'
   9510     shlibpath_overrides_runpath=yes
   9511 
   9512     case $host_os in
   9513     cygwin*)
   9514       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9515       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9516       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9517       ;;
   9518     mingw* | cegcc*)
   9519       # MinGW DLLs use traditional 'lib' prefix
   9520       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9521       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9522       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9523         # It is most probably a Windows format PATH printed by
   9524         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9525         # path with ; separators, and with drive letters. We can handle the
   9526         # drive letters (cygwin fileutils understands them), so leave them,
   9527         # especially as we might pass files found there to a mingw objdump,
   9528         # which wouldn't understand a cygwinified path. Ahh.
   9529         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9530       else
   9531         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9532       fi
   9533       ;;
   9534     pw32*)
   9535       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9536       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9537       ;;
   9538     esac
   9539     ;;
   9540 
   9541   *)
   9542     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9543     ;;
   9544   esac
   9545   dynamic_linker='Win32 ld.exe'
   9546   # FIXME: first we should search . and the directory the executable is in
   9547   shlibpath_var=PATH
   9548   ;;
   9549 
   9550 darwin* | rhapsody*)
   9551   dynamic_linker="$host_os dyld"
   9552   version_type=darwin
   9553   need_lib_prefix=no
   9554   need_version=no
   9555   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9556   soname_spec='${libname}${release}${major}$shared_ext'
   9557   shlibpath_overrides_runpath=yes
   9558   shlibpath_var=DYLD_LIBRARY_PATH
   9559   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9560 
   9561   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9562   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9563   ;;
   9564 
   9565 dgux*)
   9566   version_type=linux
   9567   need_lib_prefix=no
   9568   need_version=no
   9569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9570   soname_spec='${libname}${release}${shared_ext}$major'
   9571   shlibpath_var=LD_LIBRARY_PATH
   9572   ;;
   9573 
   9574 freebsd1*)
   9575   dynamic_linker=no
   9576   ;;
   9577 
   9578 freebsd* | dragonfly*)
   9579   # DragonFly does not have aout.  When/if they implement a new
   9580   # versioning mechanism, adjust this.
   9581   if test -x /usr/bin/objformat; then
   9582     objformat=`/usr/bin/objformat`
   9583   else
   9584     case $host_os in
   9585     freebsd[123]*) objformat=aout ;;
   9586     *) objformat=elf ;;
   9587     esac
   9588   fi
   9589   version_type=freebsd-$objformat
   9590   case $version_type in
   9591     freebsd-elf*)
   9592       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9593       need_version=no
   9594       need_lib_prefix=no
   9595       ;;
   9596     freebsd-*)
   9597       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9598       need_version=yes
   9599       ;;
   9600   esac
   9601   shlibpath_var=LD_LIBRARY_PATH
   9602   case $host_os in
   9603   freebsd2*)
   9604     shlibpath_overrides_runpath=yes
   9605     ;;
   9606   freebsd3.[01]* | freebsdelf3.[01]*)
   9607     shlibpath_overrides_runpath=yes
   9608     hardcode_into_libs=yes
   9609     ;;
   9610   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9611   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9612     shlibpath_overrides_runpath=no
   9613     hardcode_into_libs=yes
   9614     ;;
   9615   *) # from 4.6 on, and DragonFly
   9616     shlibpath_overrides_runpath=yes
   9617     hardcode_into_libs=yes
   9618     ;;
   9619   esac
   9620   ;;
   9621 
   9622 gnu*)
   9623   version_type=linux
   9624   need_lib_prefix=no
   9625   need_version=no
   9626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9627   soname_spec='${libname}${release}${shared_ext}$major'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   hardcode_into_libs=yes
   9630   ;;
   9631 
   9632 hpux9* | hpux10* | hpux11*)
   9633   # Give a soname corresponding to the major version so that dld.sl refuses to
   9634   # link against other versions.
   9635   version_type=sunos
   9636   need_lib_prefix=no
   9637   need_version=no
   9638   case $host_cpu in
   9639   ia64*)
   9640     shrext_cmds='.so'
   9641     hardcode_into_libs=yes
   9642     dynamic_linker="$host_os dld.so"
   9643     shlibpath_var=LD_LIBRARY_PATH
   9644     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9645     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9646     soname_spec='${libname}${release}${shared_ext}$major'
   9647     if test "X$HPUX_IA64_MODE" = X32; then
   9648       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9649     else
   9650       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9651     fi
   9652     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9653     ;;
   9654   hppa*64*)
   9655     shrext_cmds='.sl'
   9656     hardcode_into_libs=yes
   9657     dynamic_linker="$host_os dld.sl"
   9658     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9659     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9660     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9661     soname_spec='${libname}${release}${shared_ext}$major'
   9662     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9663     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9664     ;;
   9665   *)
   9666     shrext_cmds='.sl'
   9667     dynamic_linker="$host_os dld.sl"
   9668     shlibpath_var=SHLIB_PATH
   9669     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9670     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9671     soname_spec='${libname}${release}${shared_ext}$major'
   9672     ;;
   9673   esac
   9674   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9675   postinstall_cmds='chmod 555 $lib'
   9676   ;;
   9677 
   9678 interix[3-9]*)
   9679   version_type=linux
   9680   need_lib_prefix=no
   9681   need_version=no
   9682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9683   soname_spec='${libname}${release}${shared_ext}$major'
   9684   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9685   shlibpath_var=LD_LIBRARY_PATH
   9686   shlibpath_overrides_runpath=no
   9687   hardcode_into_libs=yes
   9688   ;;
   9689 
   9690 irix5* | irix6* | nonstopux*)
   9691   case $host_os in
   9692     nonstopux*) version_type=nonstopux ;;
   9693     *)
   9694 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9695 		version_type=linux
   9696 	else
   9697 		version_type=irix
   9698 	fi ;;
   9699   esac
   9700   need_lib_prefix=no
   9701   need_version=no
   9702   soname_spec='${libname}${release}${shared_ext}$major'
   9703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9704   case $host_os in
   9705   irix5* | nonstopux*)
   9706     libsuff= shlibsuff=
   9707     ;;
   9708   *)
   9709     case $LD in # libtool.m4 will add one of these switches to LD
   9710     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9711       libsuff= shlibsuff= libmagic=32-bit;;
   9712     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9713       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9714     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9715       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9716     *) libsuff= shlibsuff= libmagic=never-match;;
   9717     esac
   9718     ;;
   9719   esac
   9720   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9721   shlibpath_overrides_runpath=no
   9722   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9723   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9724   hardcode_into_libs=yes
   9725   ;;
   9726 
   9727 # No shared lib support for Linux oldld, aout, or coff.
   9728 linux*oldld* | linux*aout* | linux*coff*)
   9729   dynamic_linker=no
   9730   ;;
   9731 
   9732 # This must be Linux ELF.
   9733 linux* | k*bsd*-gnu)
   9734   version_type=linux
   9735   need_lib_prefix=no
   9736   need_version=no
   9737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9738   soname_spec='${libname}${release}${shared_ext}$major'
   9739   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9740   shlibpath_var=LD_LIBRARY_PATH
   9741   shlibpath_overrides_runpath=no
   9742   # Some binutils ld are patched to set DT_RUNPATH
   9743   save_LDFLAGS=$LDFLAGS
   9744   save_libdir=$libdir
   9745   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9746        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9747   cat >conftest.$ac_ext <<_ACEOF
   9748 /* confdefs.h.  */
   9749 _ACEOF
   9750 cat confdefs.h >>conftest.$ac_ext
   9751 cat >>conftest.$ac_ext <<_ACEOF
   9752 /* end confdefs.h.  */
   9753 
   9754 int
   9755 main ()
   9756 {
   9757 
   9758   ;
   9759   return 0;
   9760 }
   9761 _ACEOF
   9762 rm -f conftest.$ac_objext conftest$ac_exeext
   9763 if { (ac_try="$ac_link"
   9764 case "(($ac_try" in
   9765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9766   *) ac_try_echo=$ac_try;;
   9767 esac
   9768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9769 $as_echo "$ac_try_echo") >&5
   9770   (eval "$ac_link") 2>conftest.er1
   9771   ac_status=$?
   9772   grep -v '^ *+' conftest.er1 >conftest.err
   9773   rm -f conftest.er1
   9774   cat conftest.err >&5
   9775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9776   (exit $ac_status); } && {
   9777 	 test -z "$ac_c_werror_flag" ||
   9778 	 test ! -s conftest.err
   9779        } && test -s conftest$ac_exeext && {
   9780 	 test "$cross_compiling" = yes ||
   9781 	 $as_test_x conftest$ac_exeext
   9782        }; then
   9783   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
   9784   shlibpath_overrides_runpath=yes
   9785 fi
   9786 
   9787 else
   9788   $as_echo "$as_me: failed program was:" >&5
   9789 sed 's/^/| /' conftest.$ac_ext >&5
   9790 
   9791 
   9792 fi
   9793 
   9794 rm -rf conftest.dSYM
   9795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9796       conftest$ac_exeext conftest.$ac_ext
   9797   LDFLAGS=$save_LDFLAGS
   9798   libdir=$save_libdir
   9799 
   9800   # This implies no fast_install, which is unacceptable.
   9801   # Some rework will be needed to allow for fast_install
   9802   # before this can be enabled.
   9803   hardcode_into_libs=yes
   9804 
   9805   # Append ld.so.conf contents to the search path
   9806   if test -f /etc/ld.so.conf; then
   9807     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' ' '`
   9808     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9809   fi
   9810 
   9811   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9812   # powerpc, because MkLinux only supported shared libraries with the
   9813   # GNU dynamic linker.  Since this was broken with cross compilers,
   9814   # most powerpc-linux boxes support dynamic linking these days and
   9815   # people can always --disable-shared, the test was removed, and we
   9816   # assume the GNU/Linux dynamic linker is in use.
   9817   dynamic_linker='GNU/Linux ld.so'
   9818   ;;
   9819 
   9820 netbsd*)
   9821   version_type=sunos
   9822   need_lib_prefix=no
   9823   need_version=no
   9824   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9825     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9826     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9827     dynamic_linker='NetBSD (a.out) ld.so'
   9828   else
   9829     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9830     soname_spec='${libname}${release}${shared_ext}$major'
   9831     dynamic_linker='NetBSD ld.elf_so'
   9832   fi
   9833   shlibpath_var=LD_LIBRARY_PATH
   9834   shlibpath_overrides_runpath=yes
   9835   hardcode_into_libs=yes
   9836   ;;
   9837 
   9838 newsos6)
   9839   version_type=linux
   9840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9841   shlibpath_var=LD_LIBRARY_PATH
   9842   shlibpath_overrides_runpath=yes
   9843   ;;
   9844 
   9845 *nto* | *qnx*)
   9846   version_type=qnx
   9847   need_lib_prefix=no
   9848   need_version=no
   9849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9850   soname_spec='${libname}${release}${shared_ext}$major'
   9851   shlibpath_var=LD_LIBRARY_PATH
   9852   shlibpath_overrides_runpath=no
   9853   hardcode_into_libs=yes
   9854   dynamic_linker='ldqnx.so'
   9855   ;;
   9856 
   9857 openbsd*)
   9858   version_type=sunos
   9859   sys_lib_dlsearch_path_spec="/usr/lib"
   9860   need_lib_prefix=no
   9861   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9862   case $host_os in
   9863     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9864     *)				need_version=no  ;;
   9865   esac
   9866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9867   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9868   shlibpath_var=LD_LIBRARY_PATH
   9869   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9870     case $host_os in
   9871       openbsd2.[89] | openbsd2.[89].*)
   9872 	shlibpath_overrides_runpath=no
   9873 	;;
   9874       *)
   9875 	shlibpath_overrides_runpath=yes
   9876 	;;
   9877       esac
   9878   else
   9879     shlibpath_overrides_runpath=yes
   9880   fi
   9881   ;;
   9882 
   9883 os2*)
   9884   libname_spec='$name'
   9885   shrext_cmds=".dll"
   9886   need_lib_prefix=no
   9887   library_names_spec='$libname${shared_ext} $libname.a'
   9888   dynamic_linker='OS/2 ld.exe'
   9889   shlibpath_var=LIBPATH
   9890   ;;
   9891 
   9892 osf3* | osf4* | osf5*)
   9893   version_type=osf
   9894   need_lib_prefix=no
   9895   need_version=no
   9896   soname_spec='${libname}${release}${shared_ext}$major'
   9897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9898   shlibpath_var=LD_LIBRARY_PATH
   9899   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9900   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9901   ;;
   9902 
   9903 rdos*)
   9904   dynamic_linker=no
   9905   ;;
   9906 
   9907 solaris*)
   9908   version_type=linux
   9909   need_lib_prefix=no
   9910   need_version=no
   9911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9912   soname_spec='${libname}${release}${shared_ext}$major'
   9913   shlibpath_var=LD_LIBRARY_PATH
   9914   shlibpath_overrides_runpath=yes
   9915   hardcode_into_libs=yes
   9916   # ldd complains unless libraries are executable
   9917   postinstall_cmds='chmod +x $lib'
   9918   ;;
   9919 
   9920 sunos4*)
   9921   version_type=sunos
   9922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9923   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9924   shlibpath_var=LD_LIBRARY_PATH
   9925   shlibpath_overrides_runpath=yes
   9926   if test "$with_gnu_ld" = yes; then
   9927     need_lib_prefix=no
   9928   fi
   9929   need_version=yes
   9930   ;;
   9931 
   9932 sysv4 | sysv4.3*)
   9933   version_type=linux
   9934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9935   soname_spec='${libname}${release}${shared_ext}$major'
   9936   shlibpath_var=LD_LIBRARY_PATH
   9937   case $host_vendor in
   9938     sni)
   9939       shlibpath_overrides_runpath=no
   9940       need_lib_prefix=no
   9941       runpath_var=LD_RUN_PATH
   9942       ;;
   9943     siemens)
   9944       need_lib_prefix=no
   9945       ;;
   9946     motorola)
   9947       need_lib_prefix=no
   9948       need_version=no
   9949       shlibpath_overrides_runpath=no
   9950       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9951       ;;
   9952   esac
   9953   ;;
   9954 
   9955 sysv4*MP*)
   9956   if test -d /usr/nec ;then
   9957     version_type=linux
   9958     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9959     soname_spec='$libname${shared_ext}.$major'
   9960     shlibpath_var=LD_LIBRARY_PATH
   9961   fi
   9962   ;;
   9963 
   9964 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9965   version_type=freebsd-elf
   9966   need_lib_prefix=no
   9967   need_version=no
   9968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9969   soname_spec='${libname}${release}${shared_ext}$major'
   9970   shlibpath_var=LD_LIBRARY_PATH
   9971   shlibpath_overrides_runpath=yes
   9972   hardcode_into_libs=yes
   9973   if test "$with_gnu_ld" = yes; then
   9974     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9975   else
   9976     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9977     case $host_os in
   9978       sco3.2v5*)
   9979         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9980 	;;
   9981     esac
   9982   fi
   9983   sys_lib_dlsearch_path_spec='/usr/lib'
   9984   ;;
   9985 
   9986 tpf*)
   9987   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9988   version_type=linux
   9989   need_lib_prefix=no
   9990   need_version=no
   9991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9992   shlibpath_var=LD_LIBRARY_PATH
   9993   shlibpath_overrides_runpath=no
   9994   hardcode_into_libs=yes
   9995   ;;
   9996 
   9997 uts4*)
   9998   version_type=linux
   9999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10000   soname_spec='${libname}${release}${shared_ext}$major'
   10001   shlibpath_var=LD_LIBRARY_PATH
   10002   ;;
   10003 
   10004 *)
   10005   dynamic_linker=no
   10006   ;;
   10007 esac
   10008 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   10009 $as_echo "$dynamic_linker" >&6; }
   10010 test "$dynamic_linker" = no && can_build_shared=no
   10011 
   10012 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10013 if test "$GCC" = yes; then
   10014   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10015 fi
   10016 
   10017 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10018   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10019 fi
   10020 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10021   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10022 fi
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110   { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   10111 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10112 hardcode_action=
   10113 if test -n "$hardcode_libdir_flag_spec" ||
   10114    test -n "$runpath_var" ||
   10115    test "X$hardcode_automatic" = "Xyes" ; then
   10116 
   10117   # We can hardcode non-existent directories.
   10118   if test "$hardcode_direct" != no &&
   10119      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10120      # have to relink, otherwise we might link with an installed library
   10121      # when we should be linking with a yet-to-be-installed one
   10122      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10123      test "$hardcode_minus_L" != no; then
   10124     # Linking always hardcodes the temporary library directory.
   10125     hardcode_action=relink
   10126   else
   10127     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10128     hardcode_action=immediate
   10129   fi
   10130 else
   10131   # We cannot hardcode anything, or else we can only hardcode existing
   10132   # directories.
   10133   hardcode_action=unsupported
   10134 fi
   10135 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   10136 $as_echo "$hardcode_action" >&6; }
   10137 
   10138 if test "$hardcode_action" = relink ||
   10139    test "$inherit_rpath" = yes; then
   10140   # Fast installation is not supported
   10141   enable_fast_install=no
   10142 elif test "$shlibpath_overrides_runpath" = yes ||
   10143      test "$enable_shared" = no; then
   10144   # Fast installation is not necessary
   10145   enable_fast_install=needless
   10146 fi
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153   if test "x$enable_dlopen" != xyes; then
   10154   enable_dlopen=unknown
   10155   enable_dlopen_self=unknown
   10156   enable_dlopen_self_static=unknown
   10157 else
   10158   lt_cv_dlopen=no
   10159   lt_cv_dlopen_libs=
   10160 
   10161   case $host_os in
   10162   beos*)
   10163     lt_cv_dlopen="load_add_on"
   10164     lt_cv_dlopen_libs=
   10165     lt_cv_dlopen_self=yes
   10166     ;;
   10167 
   10168   mingw* | pw32* | cegcc*)
   10169     lt_cv_dlopen="LoadLibrary"
   10170     lt_cv_dlopen_libs=
   10171     ;;
   10172 
   10173   cygwin*)
   10174     lt_cv_dlopen="dlopen"
   10175     lt_cv_dlopen_libs=
   10176     ;;
   10177 
   10178   darwin*)
   10179   # if libdl is installed we need to link against it
   10180     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10181 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10182 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10183   $as_echo_n "(cached) " >&6
   10184 else
   10185   ac_check_lib_save_LIBS=$LIBS
   10186 LIBS="-ldl  $LIBS"
   10187 cat >conftest.$ac_ext <<_ACEOF
   10188 /* confdefs.h.  */
   10189 _ACEOF
   10190 cat confdefs.h >>conftest.$ac_ext
   10191 cat >>conftest.$ac_ext <<_ACEOF
   10192 /* end confdefs.h.  */
   10193 
   10194 /* Override any GCC internal prototype to avoid an error.
   10195    Use char because int might match the return type of a GCC
   10196    builtin and then its argument prototype would still apply.  */
   10197 #ifdef __cplusplus
   10198 extern "C"
   10199 #endif
   10200 char dlopen ();
   10201 int
   10202 main ()
   10203 {
   10204 return dlopen ();
   10205   ;
   10206   return 0;
   10207 }
   10208 _ACEOF
   10209 rm -f conftest.$ac_objext conftest$ac_exeext
   10210 if { (ac_try="$ac_link"
   10211 case "(($ac_try" in
   10212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10213   *) ac_try_echo=$ac_try;;
   10214 esac
   10215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10216 $as_echo "$ac_try_echo") >&5
   10217   (eval "$ac_link") 2>conftest.er1
   10218   ac_status=$?
   10219   grep -v '^ *+' conftest.er1 >conftest.err
   10220   rm -f conftest.er1
   10221   cat conftest.err >&5
   10222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10223   (exit $ac_status); } && {
   10224 	 test -z "$ac_c_werror_flag" ||
   10225 	 test ! -s conftest.err
   10226        } && test -s conftest$ac_exeext && {
   10227 	 test "$cross_compiling" = yes ||
   10228 	 $as_test_x conftest$ac_exeext
   10229        }; then
   10230   ac_cv_lib_dl_dlopen=yes
   10231 else
   10232   $as_echo "$as_me: failed program was:" >&5
   10233 sed 's/^/| /' conftest.$ac_ext >&5
   10234 
   10235 	ac_cv_lib_dl_dlopen=no
   10236 fi
   10237 
   10238 rm -rf conftest.dSYM
   10239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10240       conftest$ac_exeext conftest.$ac_ext
   10241 LIBS=$ac_check_lib_save_LIBS
   10242 fi
   10243 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10244 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10245 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10246   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10247 else
   10248 
   10249     lt_cv_dlopen="dyld"
   10250     lt_cv_dlopen_libs=
   10251     lt_cv_dlopen_self=yes
   10252 
   10253 fi
   10254 
   10255     ;;
   10256 
   10257   *)
   10258     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   10259 $as_echo_n "checking for shl_load... " >&6; }
   10260 if test "${ac_cv_func_shl_load+set}" = set; then
   10261   $as_echo_n "(cached) " >&6
   10262 else
   10263   cat >conftest.$ac_ext <<_ACEOF
   10264 /* confdefs.h.  */
   10265 _ACEOF
   10266 cat confdefs.h >>conftest.$ac_ext
   10267 cat >>conftest.$ac_ext <<_ACEOF
   10268 /* end confdefs.h.  */
   10269 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10271 #define shl_load innocuous_shl_load
   10272 
   10273 /* System header to define __stub macros and hopefully few prototypes,
   10274     which can conflict with char shl_load (); below.
   10275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10276     <limits.h> exists even on freestanding compilers.  */
   10277 
   10278 #ifdef __STDC__
   10279 # include <limits.h>
   10280 #else
   10281 # include <assert.h>
   10282 #endif
   10283 
   10284 #undef shl_load
   10285 
   10286 /* Override any GCC internal prototype to avoid an error.
   10287    Use char because int might match the return type of a GCC
   10288    builtin and then its argument prototype would still apply.  */
   10289 #ifdef __cplusplus
   10290 extern "C"
   10291 #endif
   10292 char shl_load ();
   10293 /* The GNU C library defines this for functions which it implements
   10294     to always fail with ENOSYS.  Some functions are actually named
   10295     something starting with __ and the normal name is an alias.  */
   10296 #if defined __stub_shl_load || defined __stub___shl_load
   10297 choke me
   10298 #endif
   10299 
   10300 int
   10301 main ()
   10302 {
   10303 return shl_load ();
   10304   ;
   10305   return 0;
   10306 }
   10307 _ACEOF
   10308 rm -f conftest.$ac_objext conftest$ac_exeext
   10309 if { (ac_try="$ac_link"
   10310 case "(($ac_try" in
   10311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10312   *) ac_try_echo=$ac_try;;
   10313 esac
   10314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10315 $as_echo "$ac_try_echo") >&5
   10316   (eval "$ac_link") 2>conftest.er1
   10317   ac_status=$?
   10318   grep -v '^ *+' conftest.er1 >conftest.err
   10319   rm -f conftest.er1
   10320   cat conftest.err >&5
   10321   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10322   (exit $ac_status); } && {
   10323 	 test -z "$ac_c_werror_flag" ||
   10324 	 test ! -s conftest.err
   10325        } && test -s conftest$ac_exeext && {
   10326 	 test "$cross_compiling" = yes ||
   10327 	 $as_test_x conftest$ac_exeext
   10328        }; then
   10329   ac_cv_func_shl_load=yes
   10330 else
   10331   $as_echo "$as_me: failed program was:" >&5
   10332 sed 's/^/| /' conftest.$ac_ext >&5
   10333 
   10334 	ac_cv_func_shl_load=no
   10335 fi
   10336 
   10337 rm -rf conftest.dSYM
   10338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10339       conftest$ac_exeext conftest.$ac_ext
   10340 fi
   10341 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10342 $as_echo "$ac_cv_func_shl_load" >&6; }
   10343 if test "x$ac_cv_func_shl_load" = x""yes; then
   10344   lt_cv_dlopen="shl_load"
   10345 else
   10346   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10347 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10348 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10349   $as_echo_n "(cached) " >&6
   10350 else
   10351   ac_check_lib_save_LIBS=$LIBS
   10352 LIBS="-ldld  $LIBS"
   10353 cat >conftest.$ac_ext <<_ACEOF
   10354 /* confdefs.h.  */
   10355 _ACEOF
   10356 cat confdefs.h >>conftest.$ac_ext
   10357 cat >>conftest.$ac_ext <<_ACEOF
   10358 /* end confdefs.h.  */
   10359 
   10360 /* Override any GCC internal prototype to avoid an error.
   10361    Use char because int might match the return type of a GCC
   10362    builtin and then its argument prototype would still apply.  */
   10363 #ifdef __cplusplus
   10364 extern "C"
   10365 #endif
   10366 char shl_load ();
   10367 int
   10368 main ()
   10369 {
   10370 return shl_load ();
   10371   ;
   10372   return 0;
   10373 }
   10374 _ACEOF
   10375 rm -f conftest.$ac_objext conftest$ac_exeext
   10376 if { (ac_try="$ac_link"
   10377 case "(($ac_try" in
   10378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10379   *) ac_try_echo=$ac_try;;
   10380 esac
   10381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10382 $as_echo "$ac_try_echo") >&5
   10383   (eval "$ac_link") 2>conftest.er1
   10384   ac_status=$?
   10385   grep -v '^ *+' conftest.er1 >conftest.err
   10386   rm -f conftest.er1
   10387   cat conftest.err >&5
   10388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10389   (exit $ac_status); } && {
   10390 	 test -z "$ac_c_werror_flag" ||
   10391 	 test ! -s conftest.err
   10392        } && test -s conftest$ac_exeext && {
   10393 	 test "$cross_compiling" = yes ||
   10394 	 $as_test_x conftest$ac_exeext
   10395        }; then
   10396   ac_cv_lib_dld_shl_load=yes
   10397 else
   10398   $as_echo "$as_me: failed program was:" >&5
   10399 sed 's/^/| /' conftest.$ac_ext >&5
   10400 
   10401 	ac_cv_lib_dld_shl_load=no
   10402 fi
   10403 
   10404 rm -rf conftest.dSYM
   10405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10406       conftest$ac_exeext conftest.$ac_ext
   10407 LIBS=$ac_check_lib_save_LIBS
   10408 fi
   10409 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10410 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10411 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10412   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10413 else
   10414   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10415 $as_echo_n "checking for dlopen... " >&6; }
   10416 if test "${ac_cv_func_dlopen+set}" = set; then
   10417   $as_echo_n "(cached) " >&6
   10418 else
   10419   cat >conftest.$ac_ext <<_ACEOF
   10420 /* confdefs.h.  */
   10421 _ACEOF
   10422 cat confdefs.h >>conftest.$ac_ext
   10423 cat >>conftest.$ac_ext <<_ACEOF
   10424 /* end confdefs.h.  */
   10425 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10427 #define dlopen innocuous_dlopen
   10428 
   10429 /* System header to define __stub macros and hopefully few prototypes,
   10430     which can conflict with char dlopen (); below.
   10431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10432     <limits.h> exists even on freestanding compilers.  */
   10433 
   10434 #ifdef __STDC__
   10435 # include <limits.h>
   10436 #else
   10437 # include <assert.h>
   10438 #endif
   10439 
   10440 #undef dlopen
   10441 
   10442 /* Override any GCC internal prototype to avoid an error.
   10443    Use char because int might match the return type of a GCC
   10444    builtin and then its argument prototype would still apply.  */
   10445 #ifdef __cplusplus
   10446 extern "C"
   10447 #endif
   10448 char dlopen ();
   10449 /* The GNU C library defines this for functions which it implements
   10450     to always fail with ENOSYS.  Some functions are actually named
   10451     something starting with __ and the normal name is an alias.  */
   10452 #if defined __stub_dlopen || defined __stub___dlopen
   10453 choke me
   10454 #endif
   10455 
   10456 int
   10457 main ()
   10458 {
   10459 return dlopen ();
   10460   ;
   10461   return 0;
   10462 }
   10463 _ACEOF
   10464 rm -f conftest.$ac_objext conftest$ac_exeext
   10465 if { (ac_try="$ac_link"
   10466 case "(($ac_try" in
   10467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10468   *) ac_try_echo=$ac_try;;
   10469 esac
   10470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10471 $as_echo "$ac_try_echo") >&5
   10472   (eval "$ac_link") 2>conftest.er1
   10473   ac_status=$?
   10474   grep -v '^ *+' conftest.er1 >conftest.err
   10475   rm -f conftest.er1
   10476   cat conftest.err >&5
   10477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10478   (exit $ac_status); } && {
   10479 	 test -z "$ac_c_werror_flag" ||
   10480 	 test ! -s conftest.err
   10481        } && test -s conftest$ac_exeext && {
   10482 	 test "$cross_compiling" = yes ||
   10483 	 $as_test_x conftest$ac_exeext
   10484        }; then
   10485   ac_cv_func_dlopen=yes
   10486 else
   10487   $as_echo "$as_me: failed program was:" >&5
   10488 sed 's/^/| /' conftest.$ac_ext >&5
   10489 
   10490 	ac_cv_func_dlopen=no
   10491 fi
   10492 
   10493 rm -rf conftest.dSYM
   10494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10495       conftest$ac_exeext conftest.$ac_ext
   10496 fi
   10497 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10498 $as_echo "$ac_cv_func_dlopen" >&6; }
   10499 if test "x$ac_cv_func_dlopen" = x""yes; then
   10500   lt_cv_dlopen="dlopen"
   10501 else
   10502   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10503 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10504 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10505   $as_echo_n "(cached) " >&6
   10506 else
   10507   ac_check_lib_save_LIBS=$LIBS
   10508 LIBS="-ldl  $LIBS"
   10509 cat >conftest.$ac_ext <<_ACEOF
   10510 /* confdefs.h.  */
   10511 _ACEOF
   10512 cat confdefs.h >>conftest.$ac_ext
   10513 cat >>conftest.$ac_ext <<_ACEOF
   10514 /* end confdefs.h.  */
   10515 
   10516 /* Override any GCC internal prototype to avoid an error.
   10517    Use char because int might match the return type of a GCC
   10518    builtin and then its argument prototype would still apply.  */
   10519 #ifdef __cplusplus
   10520 extern "C"
   10521 #endif
   10522 char dlopen ();
   10523 int
   10524 main ()
   10525 {
   10526 return dlopen ();
   10527   ;
   10528   return 0;
   10529 }
   10530 _ACEOF
   10531 rm -f conftest.$ac_objext conftest$ac_exeext
   10532 if { (ac_try="$ac_link"
   10533 case "(($ac_try" in
   10534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10535   *) ac_try_echo=$ac_try;;
   10536 esac
   10537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10538 $as_echo "$ac_try_echo") >&5
   10539   (eval "$ac_link") 2>conftest.er1
   10540   ac_status=$?
   10541   grep -v '^ *+' conftest.er1 >conftest.err
   10542   rm -f conftest.er1
   10543   cat conftest.err >&5
   10544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10545   (exit $ac_status); } && {
   10546 	 test -z "$ac_c_werror_flag" ||
   10547 	 test ! -s conftest.err
   10548        } && test -s conftest$ac_exeext && {
   10549 	 test "$cross_compiling" = yes ||
   10550 	 $as_test_x conftest$ac_exeext
   10551        }; then
   10552   ac_cv_lib_dl_dlopen=yes
   10553 else
   10554   $as_echo "$as_me: failed program was:" >&5
   10555 sed 's/^/| /' conftest.$ac_ext >&5
   10556 
   10557 	ac_cv_lib_dl_dlopen=no
   10558 fi
   10559 
   10560 rm -rf conftest.dSYM
   10561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10562       conftest$ac_exeext conftest.$ac_ext
   10563 LIBS=$ac_check_lib_save_LIBS
   10564 fi
   10565 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10566 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10567 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10568   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10569 else
   10570   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10571 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10572 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10573   $as_echo_n "(cached) " >&6
   10574 else
   10575   ac_check_lib_save_LIBS=$LIBS
   10576 LIBS="-lsvld  $LIBS"
   10577 cat >conftest.$ac_ext <<_ACEOF
   10578 /* confdefs.h.  */
   10579 _ACEOF
   10580 cat confdefs.h >>conftest.$ac_ext
   10581 cat >>conftest.$ac_ext <<_ACEOF
   10582 /* end confdefs.h.  */
   10583 
   10584 /* Override any GCC internal prototype to avoid an error.
   10585    Use char because int might match the return type of a GCC
   10586    builtin and then its argument prototype would still apply.  */
   10587 #ifdef __cplusplus
   10588 extern "C"
   10589 #endif
   10590 char dlopen ();
   10591 int
   10592 main ()
   10593 {
   10594 return dlopen ();
   10595   ;
   10596   return 0;
   10597 }
   10598 _ACEOF
   10599 rm -f conftest.$ac_objext conftest$ac_exeext
   10600 if { (ac_try="$ac_link"
   10601 case "(($ac_try" in
   10602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10603   *) ac_try_echo=$ac_try;;
   10604 esac
   10605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10606 $as_echo "$ac_try_echo") >&5
   10607   (eval "$ac_link") 2>conftest.er1
   10608   ac_status=$?
   10609   grep -v '^ *+' conftest.er1 >conftest.err
   10610   rm -f conftest.er1
   10611   cat conftest.err >&5
   10612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10613   (exit $ac_status); } && {
   10614 	 test -z "$ac_c_werror_flag" ||
   10615 	 test ! -s conftest.err
   10616        } && test -s conftest$ac_exeext && {
   10617 	 test "$cross_compiling" = yes ||
   10618 	 $as_test_x conftest$ac_exeext
   10619        }; then
   10620   ac_cv_lib_svld_dlopen=yes
   10621 else
   10622   $as_echo "$as_me: failed program was:" >&5
   10623 sed 's/^/| /' conftest.$ac_ext >&5
   10624 
   10625 	ac_cv_lib_svld_dlopen=no
   10626 fi
   10627 
   10628 rm -rf conftest.dSYM
   10629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10630       conftest$ac_exeext conftest.$ac_ext
   10631 LIBS=$ac_check_lib_save_LIBS
   10632 fi
   10633 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10634 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10635 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10636   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10637 else
   10638   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10639 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10640 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10641   $as_echo_n "(cached) " >&6
   10642 else
   10643   ac_check_lib_save_LIBS=$LIBS
   10644 LIBS="-ldld  $LIBS"
   10645 cat >conftest.$ac_ext <<_ACEOF
   10646 /* confdefs.h.  */
   10647 _ACEOF
   10648 cat confdefs.h >>conftest.$ac_ext
   10649 cat >>conftest.$ac_ext <<_ACEOF
   10650 /* end confdefs.h.  */
   10651 
   10652 /* Override any GCC internal prototype to avoid an error.
   10653    Use char because int might match the return type of a GCC
   10654    builtin and then its argument prototype would still apply.  */
   10655 #ifdef __cplusplus
   10656 extern "C"
   10657 #endif
   10658 char dld_link ();
   10659 int
   10660 main ()
   10661 {
   10662 return dld_link ();
   10663   ;
   10664   return 0;
   10665 }
   10666 _ACEOF
   10667 rm -f conftest.$ac_objext conftest$ac_exeext
   10668 if { (ac_try="$ac_link"
   10669 case "(($ac_try" in
   10670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10671   *) ac_try_echo=$ac_try;;
   10672 esac
   10673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10674 $as_echo "$ac_try_echo") >&5
   10675   (eval "$ac_link") 2>conftest.er1
   10676   ac_status=$?
   10677   grep -v '^ *+' conftest.er1 >conftest.err
   10678   rm -f conftest.er1
   10679   cat conftest.err >&5
   10680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10681   (exit $ac_status); } && {
   10682 	 test -z "$ac_c_werror_flag" ||
   10683 	 test ! -s conftest.err
   10684        } && test -s conftest$ac_exeext && {
   10685 	 test "$cross_compiling" = yes ||
   10686 	 $as_test_x conftest$ac_exeext
   10687        }; then
   10688   ac_cv_lib_dld_dld_link=yes
   10689 else
   10690   $as_echo "$as_me: failed program was:" >&5
   10691 sed 's/^/| /' conftest.$ac_ext >&5
   10692 
   10693 	ac_cv_lib_dld_dld_link=no
   10694 fi
   10695 
   10696 rm -rf conftest.dSYM
   10697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10698       conftest$ac_exeext conftest.$ac_ext
   10699 LIBS=$ac_check_lib_save_LIBS
   10700 fi
   10701 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10702 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10703 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10704   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10705 fi
   10706 
   10707 
   10708 fi
   10709 
   10710 
   10711 fi
   10712 
   10713 
   10714 fi
   10715 
   10716 
   10717 fi
   10718 
   10719 
   10720 fi
   10721 
   10722     ;;
   10723   esac
   10724 
   10725   if test "x$lt_cv_dlopen" != xno; then
   10726     enable_dlopen=yes
   10727   else
   10728     enable_dlopen=no
   10729   fi
   10730 
   10731   case $lt_cv_dlopen in
   10732   dlopen)
   10733     save_CPPFLAGS="$CPPFLAGS"
   10734     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10735 
   10736     save_LDFLAGS="$LDFLAGS"
   10737     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10738 
   10739     save_LIBS="$LIBS"
   10740     LIBS="$lt_cv_dlopen_libs $LIBS"
   10741 
   10742     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10743 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10744 if test "${lt_cv_dlopen_self+set}" = set; then
   10745   $as_echo_n "(cached) " >&6
   10746 else
   10747   	  if test "$cross_compiling" = yes; then :
   10748   lt_cv_dlopen_self=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:$LINENO: \"$ac_link\"") >&5
   10813   (eval $ac_link) 2>&5
   10814   ac_status=$?
   10815   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10816   (exit $ac_status); } && 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=yes ;;
   10821       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10822       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10823     esac
   10824   else :
   10825     # compilation failed
   10826     lt_cv_dlopen_self=no
   10827   fi
   10828 fi
   10829 rm -fr conftest*
   10830 
   10831 
   10832 fi
   10833 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10834 $as_echo "$lt_cv_dlopen_self" >&6; }
   10835 
   10836     if test "x$lt_cv_dlopen_self" = xyes; then
   10837       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10838       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10839 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10840 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10841   $as_echo_n "(cached) " >&6
   10842 else
   10843   	  if test "$cross_compiling" = yes; then :
   10844   lt_cv_dlopen_self_static=cross
   10845 else
   10846   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10847   lt_status=$lt_dlunknown
   10848   cat > conftest.$ac_ext <<_LT_EOF
   10849 #line 10849 "configure"
   10850 #include "confdefs.h"
   10851 
   10852 #if HAVE_DLFCN_H
   10853 #include <dlfcn.h>
   10854 #endif
   10855 
   10856 #include <stdio.h>
   10857 
   10858 #ifdef RTLD_GLOBAL
   10859 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10860 #else
   10861 #  ifdef DL_GLOBAL
   10862 #    define LT_DLGLOBAL		DL_GLOBAL
   10863 #  else
   10864 #    define LT_DLGLOBAL		0
   10865 #  endif
   10866 #endif
   10867 
   10868 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10869    find out it does not work in some platform. */
   10870 #ifndef LT_DLLAZY_OR_NOW
   10871 #  ifdef RTLD_LAZY
   10872 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10873 #  else
   10874 #    ifdef DL_LAZY
   10875 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10876 #    else
   10877 #      ifdef RTLD_NOW
   10878 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10879 #      else
   10880 #        ifdef DL_NOW
   10881 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10882 #        else
   10883 #          define LT_DLLAZY_OR_NOW	0
   10884 #        endif
   10885 #      endif
   10886 #    endif
   10887 #  endif
   10888 #endif
   10889 
   10890 void fnord() { int i=42;}
   10891 int main ()
   10892 {
   10893   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10894   int status = $lt_dlunknown;
   10895 
   10896   if (self)
   10897     {
   10898       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10899       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10900       /* dlclose (self); */
   10901     }
   10902   else
   10903     puts (dlerror ());
   10904 
   10905   return status;
   10906 }
   10907 _LT_EOF
   10908   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10909   (eval $ac_link) 2>&5
   10910   ac_status=$?
   10911   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10912   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10913     (./conftest; exit; ) >&5 2>/dev/null
   10914     lt_status=$?
   10915     case x$lt_status in
   10916       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10917       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10918       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10919     esac
   10920   else :
   10921     # compilation failed
   10922     lt_cv_dlopen_self_static=no
   10923   fi
   10924 fi
   10925 rm -fr conftest*
   10926 
   10927 
   10928 fi
   10929 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10930 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10931     fi
   10932 
   10933     CPPFLAGS="$save_CPPFLAGS"
   10934     LDFLAGS="$save_LDFLAGS"
   10935     LIBS="$save_LIBS"
   10936     ;;
   10937   esac
   10938 
   10939   case $lt_cv_dlopen_self in
   10940   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10941   *) enable_dlopen_self=unknown ;;
   10942   esac
   10943 
   10944   case $lt_cv_dlopen_self_static in
   10945   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10946   *) enable_dlopen_self_static=unknown ;;
   10947   esac
   10948 fi
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 striplib=
   10967 old_striplib=
   10968 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10969 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   10970 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10971   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10972   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10973   { $as_echo "$as_me:$LINENO: result: yes" >&5
   10974 $as_echo "yes" >&6; }
   10975 else
   10976 # FIXME - insert some real tests, host_os isn't really good enough
   10977   case $host_os in
   10978   darwin*)
   10979     if test -n "$STRIP" ; then
   10980       striplib="$STRIP -x"
   10981       old_striplib="$STRIP -S"
   10982       { $as_echo "$as_me:$LINENO: result: yes" >&5
   10983 $as_echo "yes" >&6; }
   10984     else
   10985       { $as_echo "$as_me:$LINENO: result: no" >&5
   10986 $as_echo "no" >&6; }
   10987     fi
   10988     ;;
   10989   *)
   10990     { $as_echo "$as_me:$LINENO: result: no" >&5
   10991 $as_echo "no" >&6; }
   10992     ;;
   10993   esac
   10994 fi
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007   # Report which library types will actually be built
   11008   { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   11009 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11010   { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   11011 $as_echo "$can_build_shared" >&6; }
   11012 
   11013   { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   11014 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11015   test "$can_build_shared" = "no" && enable_shared=no
   11016 
   11017   # On AIX, shared libraries and static libraries use the same namespace, and
   11018   # are all built from PIC.
   11019   case $host_os in
   11020   aix3*)
   11021     test "$enable_shared" = yes && enable_static=no
   11022     if test -n "$RANLIB"; then
   11023       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11024       postinstall_cmds='$RANLIB $lib'
   11025     fi
   11026     ;;
   11027 
   11028   aix[4-9]*)
   11029     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11030       test "$enable_shared" = yes && enable_static=no
   11031     fi
   11032     ;;
   11033   esac
   11034   { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   11035 $as_echo "$enable_shared" >&6; }
   11036 
   11037   { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   11038 $as_echo_n "checking whether to build static libraries... " >&6; }
   11039   # Make sure either enable_shared or enable_static is yes.
   11040   test "$enable_shared" = yes || enable_static=yes
   11041   { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   11042 $as_echo "$enable_static" >&6; }
   11043 
   11044 
   11045 
   11046 
   11047 fi
   11048 ac_ext=c
   11049 ac_cpp='$CPP $CPPFLAGS'
   11050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11053 
   11054 CC="$lt_save_CC"
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068         ac_config_commands="$ac_config_commands libtool"
   11069 
   11070 
   11071 
   11072 
   11073 # Only expand once:
   11074 
   11075 
   11076 ac_ext=c
   11077 ac_cpp='$CPP $CPPFLAGS'
   11078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11081 if test -n "$ac_tool_prefix"; then
   11082   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   11083 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   11084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11085 $as_echo_n "checking for $ac_word... " >&6; }
   11086 if test "${ac_cv_prog_CC+set}" = set; then
   11087   $as_echo_n "(cached) " >&6
   11088 else
   11089   if test -n "$CC"; then
   11090   ac_cv_prog_CC="$CC" # Let the user override the test.
   11091 else
   11092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11093 for as_dir in $PATH
   11094 do
   11095   IFS=$as_save_IFS
   11096   test -z "$as_dir" && as_dir=.
   11097   for ac_exec_ext in '' $ac_executable_extensions; do
   11098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11099     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   11100     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11101     break 2
   11102   fi
   11103 done
   11104 done
   11105 IFS=$as_save_IFS
   11106 
   11107 fi
   11108 fi
   11109 CC=$ac_cv_prog_CC
   11110 if test -n "$CC"; then
   11111   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11112 $as_echo "$CC" >&6; }
   11113 else
   11114   { $as_echo "$as_me:$LINENO: result: no" >&5
   11115 $as_echo "no" >&6; }
   11116 fi
   11117 
   11118 
   11119 fi
   11120 if test -z "$ac_cv_prog_CC"; then
   11121   ac_ct_CC=$CC
   11122   # Extract the first word of "gcc", so it can be a program name with args.
   11123 set dummy gcc; ac_word=$2
   11124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11125 $as_echo_n "checking for $ac_word... " >&6; }
   11126 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11127   $as_echo_n "(cached) " >&6
   11128 else
   11129   if test -n "$ac_ct_CC"; then
   11130   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11131 else
   11132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11133 for as_dir in $PATH
   11134 do
   11135   IFS=$as_save_IFS
   11136   test -z "$as_dir" && as_dir=.
   11137   for ac_exec_ext in '' $ac_executable_extensions; do
   11138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11139     ac_cv_prog_ac_ct_CC="gcc"
   11140     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11141     break 2
   11142   fi
   11143 done
   11144 done
   11145 IFS=$as_save_IFS
   11146 
   11147 fi
   11148 fi
   11149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11150 if test -n "$ac_ct_CC"; then
   11151   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11152 $as_echo "$ac_ct_CC" >&6; }
   11153 else
   11154   { $as_echo "$as_me:$LINENO: result: no" >&5
   11155 $as_echo "no" >&6; }
   11156 fi
   11157 
   11158   if test "x$ac_ct_CC" = x; then
   11159     CC=""
   11160   else
   11161     case $cross_compiling:$ac_tool_warned in
   11162 yes:)
   11163 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11165 ac_tool_warned=yes ;;
   11166 esac
   11167     CC=$ac_ct_CC
   11168   fi
   11169 else
   11170   CC="$ac_cv_prog_CC"
   11171 fi
   11172 
   11173 if test -z "$CC"; then
   11174           if test -n "$ac_tool_prefix"; then
   11175     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   11176 set dummy ${ac_tool_prefix}cc; ac_word=$2
   11177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11178 $as_echo_n "checking for $ac_word... " >&6; }
   11179 if test "${ac_cv_prog_CC+set}" = set; then
   11180   $as_echo_n "(cached) " >&6
   11181 else
   11182   if test -n "$CC"; then
   11183   ac_cv_prog_CC="$CC" # Let the user override the test.
   11184 else
   11185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11186 for as_dir in $PATH
   11187 do
   11188   IFS=$as_save_IFS
   11189   test -z "$as_dir" && as_dir=.
   11190   for ac_exec_ext in '' $ac_executable_extensions; do
   11191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11192     ac_cv_prog_CC="${ac_tool_prefix}cc"
   11193     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11194     break 2
   11195   fi
   11196 done
   11197 done
   11198 IFS=$as_save_IFS
   11199 
   11200 fi
   11201 fi
   11202 CC=$ac_cv_prog_CC
   11203 if test -n "$CC"; then
   11204   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11205 $as_echo "$CC" >&6; }
   11206 else
   11207   { $as_echo "$as_me:$LINENO: result: no" >&5
   11208 $as_echo "no" >&6; }
   11209 fi
   11210 
   11211 
   11212   fi
   11213 fi
   11214 if test -z "$CC"; then
   11215   # Extract the first word of "cc", so it can be a program name with args.
   11216 set dummy cc; ac_word=$2
   11217 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11218 $as_echo_n "checking for $ac_word... " >&6; }
   11219 if test "${ac_cv_prog_CC+set}" = set; then
   11220   $as_echo_n "(cached) " >&6
   11221 else
   11222   if test -n "$CC"; then
   11223   ac_cv_prog_CC="$CC" # Let the user override the test.
   11224 else
   11225   ac_prog_rejected=no
   11226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11227 for as_dir in $PATH
   11228 do
   11229   IFS=$as_save_IFS
   11230   test -z "$as_dir" && as_dir=.
   11231   for ac_exec_ext in '' $ac_executable_extensions; do
   11232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11233     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   11234        ac_prog_rejected=yes
   11235        continue
   11236      fi
   11237     ac_cv_prog_CC="cc"
   11238     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11239     break 2
   11240   fi
   11241 done
   11242 done
   11243 IFS=$as_save_IFS
   11244 
   11245 if test $ac_prog_rejected = yes; then
   11246   # We found a bogon in the path, so make sure we never use it.
   11247   set dummy $ac_cv_prog_CC
   11248   shift
   11249   if test $# != 0; then
   11250     # We chose a different compiler from the bogus one.
   11251     # However, it has the same basename, so the bogon will be chosen
   11252     # first if we set CC to just the basename; use the full file name.
   11253     shift
   11254     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   11255   fi
   11256 fi
   11257 fi
   11258 fi
   11259 CC=$ac_cv_prog_CC
   11260 if test -n "$CC"; then
   11261   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11262 $as_echo "$CC" >&6; }
   11263 else
   11264   { $as_echo "$as_me:$LINENO: result: no" >&5
   11265 $as_echo "no" >&6; }
   11266 fi
   11267 
   11268 
   11269 fi
   11270 if test -z "$CC"; then
   11271   if test -n "$ac_tool_prefix"; then
   11272   for ac_prog in cl.exe
   11273   do
   11274     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11277 $as_echo_n "checking for $ac_word... " >&6; }
   11278 if test "${ac_cv_prog_CC+set}" = set; then
   11279   $as_echo_n "(cached) " >&6
   11280 else
   11281   if test -n "$CC"; then
   11282   ac_cv_prog_CC="$CC" # Let the user override the test.
   11283 else
   11284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11285 for as_dir in $PATH
   11286 do
   11287   IFS=$as_save_IFS
   11288   test -z "$as_dir" && as_dir=.
   11289   for ac_exec_ext in '' $ac_executable_extensions; do
   11290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11291     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   11292     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11293     break 2
   11294   fi
   11295 done
   11296 done
   11297 IFS=$as_save_IFS
   11298 
   11299 fi
   11300 fi
   11301 CC=$ac_cv_prog_CC
   11302 if test -n "$CC"; then
   11303   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   11304 $as_echo "$CC" >&6; }
   11305 else
   11306   { $as_echo "$as_me:$LINENO: result: no" >&5
   11307 $as_echo "no" >&6; }
   11308 fi
   11309 
   11310 
   11311     test -n "$CC" && break
   11312   done
   11313 fi
   11314 if test -z "$CC"; then
   11315   ac_ct_CC=$CC
   11316   for ac_prog in cl.exe
   11317 do
   11318   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11319 set dummy $ac_prog; ac_word=$2
   11320 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   11321 $as_echo_n "checking for $ac_word... " >&6; }
   11322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   11323   $as_echo_n "(cached) " >&6
   11324 else
   11325   if test -n "$ac_ct_CC"; then
   11326   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   11327 else
   11328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11329 for as_dir in $PATH
   11330 do
   11331   IFS=$as_save_IFS
   11332   test -z "$as_dir" && as_dir=.
   11333   for ac_exec_ext in '' $ac_executable_extensions; do
   11334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11335     ac_cv_prog_ac_ct_CC="$ac_prog"
   11336     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11337     break 2
   11338   fi
   11339 done
   11340 done
   11341 IFS=$as_save_IFS
   11342 
   11343 fi
   11344 fi
   11345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   11346 if test -n "$ac_ct_CC"; then
   11347   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   11348 $as_echo "$ac_ct_CC" >&6; }
   11349 else
   11350   { $as_echo "$as_me:$LINENO: result: no" >&5
   11351 $as_echo "no" >&6; }
   11352 fi
   11353 
   11354 
   11355   test -n "$ac_ct_CC" && break
   11356 done
   11357 
   11358   if test "x$ac_ct_CC" = x; then
   11359     CC=""
   11360   else
   11361     case $cross_compiling:$ac_tool_warned in
   11362 yes:)
   11363 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   11364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11365 ac_tool_warned=yes ;;
   11366 esac
   11367     CC=$ac_ct_CC
   11368   fi
   11369 fi
   11370 
   11371 fi
   11372 
   11373 
   11374 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   11375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11376 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   11377 See \`config.log' for more details." >&5
   11378 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   11379 See \`config.log' for more details." >&2;}
   11380    { (exit 1); exit 1; }; }; }
   11381 
   11382 # Provide some information about the compiler.
   11383 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   11384 set X $ac_compile
   11385 ac_compiler=$2
   11386 { (ac_try="$ac_compiler --version >&5"
   11387 case "(($ac_try" in
   11388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11389   *) ac_try_echo=$ac_try;;
   11390 esac
   11391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11392 $as_echo "$ac_try_echo") >&5
   11393   (eval "$ac_compiler --version >&5") 2>&5
   11394   ac_status=$?
   11395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11396   (exit $ac_status); }
   11397 { (ac_try="$ac_compiler -v >&5"
   11398 case "(($ac_try" in
   11399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11400   *) ac_try_echo=$ac_try;;
   11401 esac
   11402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11403 $as_echo "$ac_try_echo") >&5
   11404   (eval "$ac_compiler -v >&5") 2>&5
   11405   ac_status=$?
   11406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11407   (exit $ac_status); }
   11408 { (ac_try="$ac_compiler -V >&5"
   11409 case "(($ac_try" in
   11410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11411   *) ac_try_echo=$ac_try;;
   11412 esac
   11413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11414 $as_echo "$ac_try_echo") >&5
   11415   (eval "$ac_compiler -V >&5") 2>&5
   11416   ac_status=$?
   11417   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11418   (exit $ac_status); }
   11419 
   11420 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   11421 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   11422 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   11423   $as_echo_n "(cached) " >&6
   11424 else
   11425   cat >conftest.$ac_ext <<_ACEOF
   11426 /* confdefs.h.  */
   11427 _ACEOF
   11428 cat confdefs.h >>conftest.$ac_ext
   11429 cat >>conftest.$ac_ext <<_ACEOF
   11430 /* end confdefs.h.  */
   11431 
   11432 int
   11433 main ()
   11434 {
   11435 #ifndef __GNUC__
   11436        choke me
   11437 #endif
   11438 
   11439   ;
   11440   return 0;
   11441 }
   11442 _ACEOF
   11443 rm -f conftest.$ac_objext
   11444 if { (ac_try="$ac_compile"
   11445 case "(($ac_try" in
   11446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11447   *) ac_try_echo=$ac_try;;
   11448 esac
   11449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11450 $as_echo "$ac_try_echo") >&5
   11451   (eval "$ac_compile") 2>conftest.er1
   11452   ac_status=$?
   11453   grep -v '^ *+' conftest.er1 >conftest.err
   11454   rm -f conftest.er1
   11455   cat conftest.err >&5
   11456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11457   (exit $ac_status); } && {
   11458 	 test -z "$ac_c_werror_flag" ||
   11459 	 test ! -s conftest.err
   11460        } && test -s conftest.$ac_objext; then
   11461   ac_compiler_gnu=yes
   11462 else
   11463   $as_echo "$as_me: failed program was:" >&5
   11464 sed 's/^/| /' conftest.$ac_ext >&5
   11465 
   11466 	ac_compiler_gnu=no
   11467 fi
   11468 
   11469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11470 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   11471 
   11472 fi
   11473 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   11474 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   11475 if test $ac_compiler_gnu = yes; then
   11476   GCC=yes
   11477 else
   11478   GCC=
   11479 fi
   11480 ac_test_CFLAGS=${CFLAGS+set}
   11481 ac_save_CFLAGS=$CFLAGS
   11482 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   11483 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   11484 if test "${ac_cv_prog_cc_g+set}" = set; then
   11485   $as_echo_n "(cached) " >&6
   11486 else
   11487   ac_save_c_werror_flag=$ac_c_werror_flag
   11488    ac_c_werror_flag=yes
   11489    ac_cv_prog_cc_g=no
   11490    CFLAGS="-g"
   11491    cat >conftest.$ac_ext <<_ACEOF
   11492 /* confdefs.h.  */
   11493 _ACEOF
   11494 cat confdefs.h >>conftest.$ac_ext
   11495 cat >>conftest.$ac_ext <<_ACEOF
   11496 /* end confdefs.h.  */
   11497 
   11498 int
   11499 main ()
   11500 {
   11501 
   11502   ;
   11503   return 0;
   11504 }
   11505 _ACEOF
   11506 rm -f conftest.$ac_objext
   11507 if { (ac_try="$ac_compile"
   11508 case "(($ac_try" in
   11509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11510   *) ac_try_echo=$ac_try;;
   11511 esac
   11512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11513 $as_echo "$ac_try_echo") >&5
   11514   (eval "$ac_compile") 2>conftest.er1
   11515   ac_status=$?
   11516   grep -v '^ *+' conftest.er1 >conftest.err
   11517   rm -f conftest.er1
   11518   cat conftest.err >&5
   11519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11520   (exit $ac_status); } && {
   11521 	 test -z "$ac_c_werror_flag" ||
   11522 	 test ! -s conftest.err
   11523        } && test -s conftest.$ac_objext; then
   11524   ac_cv_prog_cc_g=yes
   11525 else
   11526   $as_echo "$as_me: failed program was:" >&5
   11527 sed 's/^/| /' conftest.$ac_ext >&5
   11528 
   11529 	CFLAGS=""
   11530       cat >conftest.$ac_ext <<_ACEOF
   11531 /* confdefs.h.  */
   11532 _ACEOF
   11533 cat confdefs.h >>conftest.$ac_ext
   11534 cat >>conftest.$ac_ext <<_ACEOF
   11535 /* end confdefs.h.  */
   11536 
   11537 int
   11538 main ()
   11539 {
   11540 
   11541   ;
   11542   return 0;
   11543 }
   11544 _ACEOF
   11545 rm -f conftest.$ac_objext
   11546 if { (ac_try="$ac_compile"
   11547 case "(($ac_try" in
   11548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11549   *) ac_try_echo=$ac_try;;
   11550 esac
   11551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11552 $as_echo "$ac_try_echo") >&5
   11553   (eval "$ac_compile") 2>conftest.er1
   11554   ac_status=$?
   11555   grep -v '^ *+' conftest.er1 >conftest.err
   11556   rm -f conftest.er1
   11557   cat conftest.err >&5
   11558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11559   (exit $ac_status); } && {
   11560 	 test -z "$ac_c_werror_flag" ||
   11561 	 test ! -s conftest.err
   11562        } && test -s conftest.$ac_objext; then
   11563   :
   11564 else
   11565   $as_echo "$as_me: failed program was:" >&5
   11566 sed 's/^/| /' conftest.$ac_ext >&5
   11567 
   11568 	ac_c_werror_flag=$ac_save_c_werror_flag
   11569 	 CFLAGS="-g"
   11570 	 cat >conftest.$ac_ext <<_ACEOF
   11571 /* confdefs.h.  */
   11572 _ACEOF
   11573 cat confdefs.h >>conftest.$ac_ext
   11574 cat >>conftest.$ac_ext <<_ACEOF
   11575 /* end confdefs.h.  */
   11576 
   11577 int
   11578 main ()
   11579 {
   11580 
   11581   ;
   11582   return 0;
   11583 }
   11584 _ACEOF
   11585 rm -f conftest.$ac_objext
   11586 if { (ac_try="$ac_compile"
   11587 case "(($ac_try" in
   11588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11589   *) ac_try_echo=$ac_try;;
   11590 esac
   11591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11592 $as_echo "$ac_try_echo") >&5
   11593   (eval "$ac_compile") 2>conftest.er1
   11594   ac_status=$?
   11595   grep -v '^ *+' conftest.er1 >conftest.err
   11596   rm -f conftest.er1
   11597   cat conftest.err >&5
   11598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11599   (exit $ac_status); } && {
   11600 	 test -z "$ac_c_werror_flag" ||
   11601 	 test ! -s conftest.err
   11602        } && test -s conftest.$ac_objext; then
   11603   ac_cv_prog_cc_g=yes
   11604 else
   11605   $as_echo "$as_me: failed program was:" >&5
   11606 sed 's/^/| /' conftest.$ac_ext >&5
   11607 
   11608 
   11609 fi
   11610 
   11611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11612 fi
   11613 
   11614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11615 fi
   11616 
   11617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11618    ac_c_werror_flag=$ac_save_c_werror_flag
   11619 fi
   11620 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   11621 $as_echo "$ac_cv_prog_cc_g" >&6; }
   11622 if test "$ac_test_CFLAGS" = set; then
   11623   CFLAGS=$ac_save_CFLAGS
   11624 elif test $ac_cv_prog_cc_g = yes; then
   11625   if test "$GCC" = yes; then
   11626     CFLAGS="-g -O2"
   11627   else
   11628     CFLAGS="-g"
   11629   fi
   11630 else
   11631   if test "$GCC" = yes; then
   11632     CFLAGS="-O2"
   11633   else
   11634     CFLAGS=
   11635   fi
   11636 fi
   11637 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   11638 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   11639 if test "${ac_cv_prog_cc_c89+set}" = set; then
   11640   $as_echo_n "(cached) " >&6
   11641 else
   11642   ac_cv_prog_cc_c89=no
   11643 ac_save_CC=$CC
   11644 cat >conftest.$ac_ext <<_ACEOF
   11645 /* confdefs.h.  */
   11646 _ACEOF
   11647 cat confdefs.h >>conftest.$ac_ext
   11648 cat >>conftest.$ac_ext <<_ACEOF
   11649 /* end confdefs.h.  */
   11650 #include <stdarg.h>
   11651 #include <stdio.h>
   11652 #include <sys/types.h>
   11653 #include <sys/stat.h>
   11654 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   11655 struct buf { int x; };
   11656 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   11657 static char *e (p, i)
   11658      char **p;
   11659      int i;
   11660 {
   11661   return p[i];
   11662 }
   11663 static char *f (char * (*g) (char **, int), char **p, ...)
   11664 {
   11665   char *s;
   11666   va_list v;
   11667   va_start (v,p);
   11668   s = g (p, va_arg (v,int));
   11669   va_end (v);
   11670   return s;
   11671 }
   11672 
   11673 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   11674    function prototypes and stuff, but not '\xHH' hex character constants.
   11675    These don't provoke an error unfortunately, instead are silently treated
   11676    as 'x'.  The following induces an error, until -std is added to get
   11677    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   11678    array size at least.  It's necessary to write '\x00'==0 to get something
   11679    that's true only with -std.  */
   11680 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   11681 
   11682 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   11683    inside strings and character constants.  */
   11684 #define FOO(x) 'x'
   11685 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   11686 
   11687 int test (int i, double x);
   11688 struct s1 {int (*f) (int a);};
   11689 struct s2 {int (*f) (double a);};
   11690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   11691 int argc;
   11692 char **argv;
   11693 int
   11694 main ()
   11695 {
   11696 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   11697   ;
   11698   return 0;
   11699 }
   11700 _ACEOF
   11701 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   11702 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   11703 do
   11704   CC="$ac_save_CC $ac_arg"
   11705   rm -f conftest.$ac_objext
   11706 if { (ac_try="$ac_compile"
   11707 case "(($ac_try" in
   11708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11709   *) ac_try_echo=$ac_try;;
   11710 esac
   11711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11712 $as_echo "$ac_try_echo") >&5
   11713   (eval "$ac_compile") 2>conftest.er1
   11714   ac_status=$?
   11715   grep -v '^ *+' conftest.er1 >conftest.err
   11716   rm -f conftest.er1
   11717   cat conftest.err >&5
   11718   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11719   (exit $ac_status); } && {
   11720 	 test -z "$ac_c_werror_flag" ||
   11721 	 test ! -s conftest.err
   11722        } && test -s conftest.$ac_objext; then
   11723   ac_cv_prog_cc_c89=$ac_arg
   11724 else
   11725   $as_echo "$as_me: failed program was:" >&5
   11726 sed 's/^/| /' conftest.$ac_ext >&5
   11727 
   11728 
   11729 fi
   11730 
   11731 rm -f core conftest.err conftest.$ac_objext
   11732   test "x$ac_cv_prog_cc_c89" != "xno" && break
   11733 done
   11734 rm -f conftest.$ac_ext
   11735 CC=$ac_save_CC
   11736 
   11737 fi
   11738 # AC_CACHE_VAL
   11739 case "x$ac_cv_prog_cc_c89" in
   11740   x)
   11741     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   11742 $as_echo "none needed" >&6; } ;;
   11743   xno)
   11744     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   11745 $as_echo "unsupported" >&6; } ;;
   11746   *)
   11747     CC="$CC $ac_cv_prog_cc_c89"
   11748     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   11749 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   11750 esac
   11751 
   11752 
   11753 ac_ext=c
   11754 ac_cpp='$CPP $CPPFLAGS'
   11755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11758 
   11759 depcc="$CC"   am_compiler_list=
   11760 
   11761 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   11762 $as_echo_n "checking dependency style of $depcc... " >&6; }
   11763 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   11764   $as_echo_n "(cached) " >&6
   11765 else
   11766   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   11767   # We make a subdir and do the tests there.  Otherwise we can end up
   11768   # making bogus files that we don't know about and never remove.  For
   11769   # instance it was reported that on HP-UX the gcc test will end up
   11770   # making a dummy file named `D' -- because `-MD' means `put the output
   11771   # in D'.
   11772   mkdir conftest.dir
   11773   # Copy depcomp to subdir because otherwise we won't find it if we're
   11774   # using a relative directory.
   11775   cp "$am_depcomp" conftest.dir
   11776   cd conftest.dir
   11777   # We will build objects and dependencies in a subdirectory because
   11778   # it helps to detect inapplicable dependency modes.  For instance
   11779   # both Tru64's cc and ICC support -MD to output dependencies as a
   11780   # side effect of compilation, but ICC will put the dependencies in
   11781   # the current directory while Tru64 will put them in the object
   11782   # directory.
   11783   mkdir sub
   11784 
   11785   am_cv_CC_dependencies_compiler_type=none
   11786   if test "$am_compiler_list" = ""; then
   11787      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   11788   fi
   11789   for depmode in $am_compiler_list; do
   11790     # Setup a source with many dependencies, because some compilers
   11791     # like to wrap large dependency lists on column 80 (with \), and
   11792     # we should not choose a depcomp mode which is confused by this.
   11793     #
   11794     # We need to recreate these files for each test, as the compiler may
   11795     # overwrite some of them when testing with obscure command lines.
   11796     # This happens at least with the AIX C compiler.
   11797     : > sub/conftest.c
   11798     for i in 1 2 3 4 5 6; do
   11799       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   11800       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   11801       # Solaris 8's {/usr,}/bin/sh.
   11802       touch sub/conftst$i.h
   11803     done
   11804     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   11805 
   11806     case $depmode in
   11807     nosideeffect)
   11808       # after this tag, mechanisms are not by side-effect, so they'll
   11809       # only be used when explicitly requested
   11810       if test "x$enable_dependency_tracking" = xyes; then
   11811 	continue
   11812       else
   11813 	break
   11814       fi
   11815       ;;
   11816     none) break ;;
   11817     esac
   11818     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   11819     # mode.  It turns out that the SunPro C++ compiler does not properly
   11820     # handle `-M -o', and we need to detect this.
   11821     if depmode=$depmode \
   11822        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   11823        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   11824        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   11825          >/dev/null 2>conftest.err &&
   11826        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   11827        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   11828        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   11829        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   11830       # icc doesn't choke on unknown options, it will just issue warnings
   11831       # or remarks (even with -Werror).  So we grep stderr for any message
   11832       # that says an option was ignored or not supported.
   11833       # When given -MP, icc 7.0 and 7.1 complain thusly:
   11834       #   icc: Command line warning: ignoring option '-M'; no argument required
   11835       # The diagnosis changed in icc 8.0:
   11836       #   icc: Command line remark: option '-MP' not supported
   11837       if (grep 'ignoring option' conftest.err ||
   11838           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   11839         am_cv_CC_dependencies_compiler_type=$depmode
   11840         break
   11841       fi
   11842     fi
   11843   done
   11844 
   11845   cd ..
   11846   rm -rf conftest.dir
   11847 else
   11848   am_cv_CC_dependencies_compiler_type=none
   11849 fi
   11850 
   11851 fi
   11852 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   11853 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   11854 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   11855 
   11856  if
   11857   test "x$enable_dependency_tracking" != xno \
   11858   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   11859   am__fastdepCC_TRUE=
   11860   am__fastdepCC_FALSE='#'
   11861 else
   11862   am__fastdepCC_TRUE='#'
   11863   am__fastdepCC_FALSE=
   11864 fi
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 # Check whether --with-xorg-module-dir was given.
   11873 if test "${with_xorg_module_dir+set}" = set; then
   11874   withval=$with_xorg_module_dir;  moduledir="$withval"
   11875 else
   11876    moduledir="$libdir/xorg/modules"
   11877 fi
   11878 
   11879 
   11880 
   11881 
   11882 # Checks for extensions
   11883 
   11884 	SAVE_CFLAGS="$CFLAGS"
   11885 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11886 	cat >conftest.$ac_ext <<_ACEOF
   11887 /* confdefs.h.  */
   11888 _ACEOF
   11889 cat confdefs.h >>conftest.$ac_ext
   11890 cat >>conftest.$ac_ext <<_ACEOF
   11891 /* end confdefs.h.  */
   11892 
   11893 #include "xorg-server.h"
   11894 #if !defined RANDR
   11895 #error RANDR not defined
   11896 #endif
   11897 
   11898 int
   11899 main ()
   11900 {
   11901 
   11902   ;
   11903   return 0;
   11904 }
   11905 _ACEOF
   11906 rm -f conftest.$ac_objext
   11907 if { (ac_try="$ac_compile"
   11908 case "(($ac_try" in
   11909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11910   *) ac_try_echo=$ac_try;;
   11911 esac
   11912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11913 $as_echo "$ac_try_echo") >&5
   11914   (eval "$ac_compile") 2>conftest.er1
   11915   ac_status=$?
   11916   grep -v '^ *+' conftest.er1 >conftest.err
   11917   rm -f conftest.er1
   11918   cat conftest.err >&5
   11919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11920   (exit $ac_status); } && {
   11921 	 test -z "$ac_c_werror_flag" ||
   11922 	 test ! -s conftest.err
   11923        } && test -s conftest.$ac_objext; then
   11924   _EXT_CHECK=yes
   11925 else
   11926   $as_echo "$as_me: failed program was:" >&5
   11927 sed 's/^/| /' conftest.$ac_ext >&5
   11928 
   11929 	_EXT_CHECK=no
   11930 fi
   11931 
   11932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11933 	CFLAGS="$SAVE_CFLAGS"
   11934 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   11935 $as_echo_n "checking if RANDR is defined... " >&6; }
   11936 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   11937 $as_echo "$_EXT_CHECK" >&6; }
   11938 	if test "$_EXT_CHECK" != no; then
   11939 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   11940 	fi
   11941 
   11942 
   11943 	SAVE_CFLAGS="$CFLAGS"
   11944 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   11945 	cat >conftest.$ac_ext <<_ACEOF
   11946 /* confdefs.h.  */
   11947 _ACEOF
   11948 cat confdefs.h >>conftest.$ac_ext
   11949 cat >>conftest.$ac_ext <<_ACEOF
   11950 /* end confdefs.h.  */
   11951 
   11952 #include "xorg-server.h"
   11953 #if !defined RENDER
   11954 #error RENDER not defined
   11955 #endif
   11956 
   11957 int
   11958 main ()
   11959 {
   11960 
   11961   ;
   11962   return 0;
   11963 }
   11964 _ACEOF
   11965 rm -f conftest.$ac_objext
   11966 if { (ac_try="$ac_compile"
   11967 case "(($ac_try" in
   11968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11969   *) ac_try_echo=$ac_try;;
   11970 esac
   11971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11972 $as_echo "$ac_try_echo") >&5
   11973   (eval "$ac_compile") 2>conftest.er1
   11974   ac_status=$?
   11975   grep -v '^ *+' conftest.er1 >conftest.err
   11976   rm -f conftest.er1
   11977   cat conftest.err >&5
   11978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11979   (exit $ac_status); } && {
   11980 	 test -z "$ac_c_werror_flag" ||
   11981 	 test ! -s conftest.err
   11982        } && test -s conftest.$ac_objext; then
   11983   _EXT_CHECK=yes
   11984 else
   11985   $as_echo "$as_me: failed program was:" >&5
   11986 sed 's/^/| /' conftest.$ac_ext >&5
   11987 
   11988 	_EXT_CHECK=no
   11989 fi
   11990 
   11991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11992 	CFLAGS="$SAVE_CFLAGS"
   11993 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   11994 $as_echo_n "checking if RENDER is defined... " >&6; }
   11995 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   11996 $as_echo "$_EXT_CHECK" >&6; }
   11997 	if test "$_EXT_CHECK" != no; then
   11998 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   11999 	fi
   12000 
   12001 
   12002 	SAVE_CFLAGS="$CFLAGS"
   12003 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   12004 	cat >conftest.$ac_ext <<_ACEOF
   12005 /* confdefs.h.  */
   12006 _ACEOF
   12007 cat confdefs.h >>conftest.$ac_ext
   12008 cat >>conftest.$ac_ext <<_ACEOF
   12009 /* end confdefs.h.  */
   12010 
   12011 #include "xorg-server.h"
   12012 #if !defined DPMSExtension
   12013 #error DPMSExtension not defined
   12014 #endif
   12015 
   12016 int
   12017 main ()
   12018 {
   12019 
   12020   ;
   12021   return 0;
   12022 }
   12023 _ACEOF
   12024 rm -f conftest.$ac_objext
   12025 if { (ac_try="$ac_compile"
   12026 case "(($ac_try" in
   12027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12028   *) ac_try_echo=$ac_try;;
   12029 esac
   12030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12031 $as_echo "$ac_try_echo") >&5
   12032   (eval "$ac_compile") 2>conftest.er1
   12033   ac_status=$?
   12034   grep -v '^ *+' conftest.er1 >conftest.err
   12035   rm -f conftest.er1
   12036   cat conftest.err >&5
   12037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12038   (exit $ac_status); } && {
   12039 	 test -z "$ac_c_werror_flag" ||
   12040 	 test ! -s conftest.err
   12041        } && test -s conftest.$ac_objext; then
   12042   _EXT_CHECK=yes
   12043 else
   12044   $as_echo "$as_me: failed program was:" >&5
   12045 sed 's/^/| /' conftest.$ac_ext >&5
   12046 
   12047 	_EXT_CHECK=no
   12048 fi
   12049 
   12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12051 	CFLAGS="$SAVE_CFLAGS"
   12052 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   12053 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   12054 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   12055 $as_echo "$_EXT_CHECK" >&6; }
   12056 	if test "$_EXT_CHECK" != no; then
   12057 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   12058 	fi
   12059 
   12060 
   12061 # Checks for pkg-config packages
   12062 
   12063 
   12064 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12065 	if test -n "$ac_tool_prefix"; then
   12066   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12067 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12069 $as_echo_n "checking for $ac_word... " >&6; }
   12070 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   12071   $as_echo_n "(cached) " >&6
   12072 else
   12073   case $PKG_CONFIG in
   12074   [\\/]* | ?:[\\/]*)
   12075   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12076   ;;
   12077   *)
   12078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12079 for as_dir in $PATH
   12080 do
   12081   IFS=$as_save_IFS
   12082   test -z "$as_dir" && as_dir=.
   12083   for ac_exec_ext in '' $ac_executable_extensions; do
   12084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12085     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12086     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12087     break 2
   12088   fi
   12089 done
   12090 done
   12091 IFS=$as_save_IFS
   12092 
   12093   ;;
   12094 esac
   12095 fi
   12096 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12097 if test -n "$PKG_CONFIG"; then
   12098   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   12099 $as_echo "$PKG_CONFIG" >&6; }
   12100 else
   12101   { $as_echo "$as_me:$LINENO: result: no" >&5
   12102 $as_echo "no" >&6; }
   12103 fi
   12104 
   12105 
   12106 fi
   12107 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12108   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12109   # Extract the first word of "pkg-config", so it can be a program name with args.
   12110 set dummy pkg-config; ac_word=$2
   12111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   12112 $as_echo_n "checking for $ac_word... " >&6; }
   12113 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   12114   $as_echo_n "(cached) " >&6
   12115 else
   12116   case $ac_pt_PKG_CONFIG in
   12117   [\\/]* | ?:[\\/]*)
   12118   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12119   ;;
   12120   *)
   12121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12122 for as_dir in $PATH
   12123 do
   12124   IFS=$as_save_IFS
   12125   test -z "$as_dir" && as_dir=.
   12126   for ac_exec_ext in '' $ac_executable_extensions; do
   12127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12128     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12129     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12130     break 2
   12131   fi
   12132 done
   12133 done
   12134 IFS=$as_save_IFS
   12135 
   12136   ;;
   12137 esac
   12138 fi
   12139 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12140 if test -n "$ac_pt_PKG_CONFIG"; then
   12141   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   12142 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12143 else
   12144   { $as_echo "$as_me:$LINENO: result: no" >&5
   12145 $as_echo "no" >&6; }
   12146 fi
   12147 
   12148   if test "x$ac_pt_PKG_CONFIG" = x; then
   12149     PKG_CONFIG=""
   12150   else
   12151     case $cross_compiling:$ac_tool_warned in
   12152 yes:)
   12153 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   12154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12155 ac_tool_warned=yes ;;
   12156 esac
   12157     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12158   fi
   12159 else
   12160   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12161 fi
   12162 
   12163 fi
   12164 if test -n "$PKG_CONFIG"; then
   12165 	_pkg_min_version=0.9.0
   12166 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   12167 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12168 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12169 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   12170 $as_echo "yes" >&6; }
   12171 	else
   12172 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   12173 $as_echo "no" >&6; }
   12174 		PKG_CONFIG=""
   12175 	fi
   12176 
   12177 fi
   12178 
   12179 pkg_failed=no
   12180 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   12181 $as_echo_n "checking for XORG... " >&6; }
   12182 
   12183 if test -n "$XORG_CFLAGS"; then
   12184     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   12185  elif test -n "$PKG_CONFIG"; then
   12186     if test -n "$PKG_CONFIG" && \
   12187     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12188   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12189   ac_status=$?
   12190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12191   (exit $ac_status); }; then
   12192   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12193 else
   12194   pkg_failed=yes
   12195 fi
   12196  else
   12197     pkg_failed=untried
   12198 fi
   12199 if test -n "$XORG_LIBS"; then
   12200     pkg_cv_XORG_LIBS="$XORG_LIBS"
   12201  elif test -n "$PKG_CONFIG"; then
   12202     if test -n "$PKG_CONFIG" && \
   12203     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   12204   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   12205   ac_status=$?
   12206   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12207   (exit $ac_status); }; then
   12208   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   12209 else
   12210   pkg_failed=yes
   12211 fi
   12212  else
   12213     pkg_failed=untried
   12214 fi
   12215 
   12216 
   12217 
   12218 if test $pkg_failed = yes; then
   12219 
   12220 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12221         _pkg_short_errors_supported=yes
   12222 else
   12223         _pkg_short_errors_supported=no
   12224 fi
   12225         if test $_pkg_short_errors_supported = yes; then
   12226 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12227         else
   12228 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   12229         fi
   12230 	# Put the nasty error message in config.log where it belongs
   12231 	echo "$XORG_PKG_ERRORS" >&5
   12232 
   12233 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12234 
   12235 $XORG_PKG_ERRORS
   12236 
   12237 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12238 installed software in a non-standard prefix.
   12239 
   12240 Alternatively, you may set the environment variables XORG_CFLAGS
   12241 and XORG_LIBS to avoid the need to call pkg-config.
   12242 See the pkg-config man page for more details.
   12243 " >&5
   12244 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   12245 
   12246 $XORG_PKG_ERRORS
   12247 
   12248 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12249 installed software in a non-standard prefix.
   12250 
   12251 Alternatively, you may set the environment variables XORG_CFLAGS
   12252 and XORG_LIBS to avoid the need to call pkg-config.
   12253 See the pkg-config man page for more details.
   12254 " >&2;}
   12255    { (exit 1); exit 1; }; }
   12256 elif test $pkg_failed = untried; then
   12257 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12259 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12260 is in your PATH or set the PKG_CONFIG environment variable to the full
   12261 path to pkg-config.
   12262 
   12263 Alternatively, you may set the environment variables XORG_CFLAGS
   12264 and XORG_LIBS to avoid the need to call pkg-config.
   12265 See the pkg-config man page for more details.
   12266 
   12267 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12268 See \`config.log' for more details." >&5
   12269 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12270 is in your PATH or set the PKG_CONFIG environment variable to the full
   12271 path to pkg-config.
   12272 
   12273 Alternatively, you may set the environment variables XORG_CFLAGS
   12274 and XORG_LIBS to avoid the need to call pkg-config.
   12275 See the pkg-config man page for more details.
   12276 
   12277 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12278 See \`config.log' for more details." >&2;}
   12279    { (exit 1); exit 1; }; }; }
   12280 else
   12281 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   12282 	XORG_LIBS=$pkg_cv_XORG_LIBS
   12283         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12284 $as_echo "yes" >&6; }
   12285 	:
   12286 fi
   12287 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   12288 
   12289 save_CFLAGS="$CFLAGS"
   12290 CFLAGS="$XORG_CFLAGS"
   12291 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   12292 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   12293 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   12294   $as_echo_n "(cached) " >&6
   12295 else
   12296   cat >conftest.$ac_ext <<_ACEOF
   12297 /* confdefs.h.  */
   12298 _ACEOF
   12299 cat confdefs.h >>conftest.$ac_ext
   12300 cat >>conftest.$ac_ext <<_ACEOF
   12301 /* end confdefs.h.  */
   12302 #include "xf86.h"
   12303 
   12304 int
   12305 main ()
   12306 {
   12307 #ifndef xf86ConfigIsaEntity
   12308   (void) xf86ConfigIsaEntity;
   12309 #endif
   12310 
   12311   ;
   12312   return 0;
   12313 }
   12314 _ACEOF
   12315 rm -f conftest.$ac_objext
   12316 if { (ac_try="$ac_compile"
   12317 case "(($ac_try" in
   12318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12319   *) ac_try_echo=$ac_try;;
   12320 esac
   12321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12322 $as_echo "$ac_try_echo") >&5
   12323   (eval "$ac_compile") 2>conftest.er1
   12324   ac_status=$?
   12325   grep -v '^ *+' conftest.er1 >conftest.err
   12326   rm -f conftest.er1
   12327   cat conftest.err >&5
   12328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12329   (exit $ac_status); } && {
   12330 	 test -z "$ac_c_werror_flag" ||
   12331 	 test ! -s conftest.err
   12332        } && test -s conftest.$ac_objext; then
   12333   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   12334 else
   12335   $as_echo "$as_me: failed program was:" >&5
   12336 sed 's/^/| /' conftest.$ac_ext >&5
   12337 
   12338 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   12339 fi
   12340 
   12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12342 fi
   12343 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   12344 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   12345 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   12346 
   12347 cat >>confdefs.h <<\_ACEOF
   12348 #define HAVE_ISA 1
   12349 _ACEOF
   12350 
   12351 fi
   12352 
   12353 CFLAGS="$save_CFLAGS"
   12354 
   12355 save_CFLAGS="$CFLAGS"
   12356 CFLAGS="$XORG_CFLAGS"
   12357 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   12358 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   12359 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   12360   $as_echo_n "(cached) " >&6
   12361 else
   12362   cat >conftest.$ac_ext <<_ACEOF
   12363 /* confdefs.h.  */
   12364 _ACEOF
   12365 cat confdefs.h >>conftest.$ac_ext
   12366 cat >>conftest.$ac_ext <<_ACEOF
   12367 /* end confdefs.h.  */
   12368 #include "xorg-server.h"
   12369 
   12370 int
   12371 main ()
   12372 {
   12373 #ifndef XSERVER_LIBPCIACCESS
   12374   (void) XSERVER_LIBPCIACCESS;
   12375 #endif
   12376 
   12377   ;
   12378   return 0;
   12379 }
   12380 _ACEOF
   12381 rm -f conftest.$ac_objext
   12382 if { (ac_try="$ac_compile"
   12383 case "(($ac_try" in
   12384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12385   *) ac_try_echo=$ac_try;;
   12386 esac
   12387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12388 $as_echo "$ac_try_echo") >&5
   12389   (eval "$ac_compile") 2>conftest.er1
   12390   ac_status=$?
   12391   grep -v '^ *+' conftest.er1 >conftest.err
   12392   rm -f conftest.er1
   12393   cat conftest.err >&5
   12394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12395   (exit $ac_status); } && {
   12396 	 test -z "$ac_c_werror_flag" ||
   12397 	 test ! -s conftest.err
   12398        } && test -s conftest.$ac_objext; then
   12399   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   12400 else
   12401   $as_echo "$as_me: failed program was:" >&5
   12402 sed 's/^/| /' conftest.$ac_ext >&5
   12403 
   12404 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   12405 fi
   12406 
   12407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12408 fi
   12409 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   12410 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   12411 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   12412   XSERVER_LIBPCIACCESS=yes
   12413 else
   12414   XSERVER_LIBPCIACCESS=no
   12415 fi
   12416 
   12417 CFLAGS="$save_CFLAGS"
   12418 
   12419 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12420 
   12421 pkg_failed=no
   12422 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   12423 $as_echo_n "checking for PCIACCESS... " >&6; }
   12424 
   12425 if test -n "$PCIACCESS_CFLAGS"; then
   12426     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   12427  elif test -n "$PKG_CONFIG"; then
   12428     if test -n "$PKG_CONFIG" && \
   12429     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   12430   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   12431   ac_status=$?
   12432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12433   (exit $ac_status); }; then
   12434   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   12435 else
   12436   pkg_failed=yes
   12437 fi
   12438  else
   12439     pkg_failed=untried
   12440 fi
   12441 if test -n "$PCIACCESS_LIBS"; then
   12442     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   12443  elif test -n "$PKG_CONFIG"; then
   12444     if test -n "$PKG_CONFIG" && \
   12445     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\"") >&5
   12446   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   12447   ac_status=$?
   12448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12449   (exit $ac_status); }; then
   12450   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   12451 else
   12452   pkg_failed=yes
   12453 fi
   12454  else
   12455     pkg_failed=untried
   12456 fi
   12457 
   12458 
   12459 
   12460 if test $pkg_failed = yes; then
   12461 
   12462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   12463         _pkg_short_errors_supported=yes
   12464 else
   12465         _pkg_short_errors_supported=no
   12466 fi
   12467         if test $_pkg_short_errors_supported = yes; then
   12468 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.10" 2>&1`
   12469         else
   12470 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.10" 2>&1`
   12471         fi
   12472 	# Put the nasty error message in config.log where it belongs
   12473 	echo "$PCIACCESS_PKG_ERRORS" >&5
   12474 
   12475 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.10) were not met:
   12476 
   12477 $PCIACCESS_PKG_ERRORS
   12478 
   12479 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12480 installed software in a non-standard prefix.
   12481 
   12482 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12483 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12484 See the pkg-config man page for more details.
   12485 " >&5
   12486 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.10) were not met:
   12487 
   12488 $PCIACCESS_PKG_ERRORS
   12489 
   12490 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   12491 installed software in a non-standard prefix.
   12492 
   12493 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12494 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12495 See the pkg-config man page for more details.
   12496 " >&2;}
   12497    { (exit 1); exit 1; }; }
   12498 elif test $pkg_failed = untried; then
   12499 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   12500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12501 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   12502 is in your PATH or set the PKG_CONFIG environment variable to the full
   12503 path to pkg-config.
   12504 
   12505 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12506 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12507 See the pkg-config man page for more details.
   12508 
   12509 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12510 See \`config.log' for more details." >&5
   12511 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   12512 is in your PATH or set the PKG_CONFIG environment variable to the full
   12513 path to pkg-config.
   12514 
   12515 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   12516 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   12517 See the pkg-config man page for more details.
   12518 
   12519 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   12520 See \`config.log' for more details." >&2;}
   12521    { (exit 1); exit 1; }; }; }
   12522 else
   12523 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   12524 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   12525         { $as_echo "$as_me:$LINENO: result: yes" >&5
   12526 $as_echo "yes" >&6; }
   12527 	:
   12528 fi
   12529 fi
   12530  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   12531   XSERVER_LIBPCIACCESS_TRUE=
   12532   XSERVER_LIBPCIACCESS_FALSE='#'
   12533 else
   12534   XSERVER_LIBPCIACCESS_TRUE='#'
   12535   XSERVER_LIBPCIACCESS_FALSE=
   12536 fi
   12537 
   12538 
   12539 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
   12540 INCLUDES="$XORG_INCS -I${sdkdir} "'-I$(top_srcdir)/src -I$(prefix)/include'
   12541 
   12542 
   12543 
   12544 # Checks for libraries.
   12545 
   12546 # Checks for header files.
   12547 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   12548 $as_echo_n "checking for ANSI C header files... " >&6; }
   12549 if test "${ac_cv_header_stdc+set}" = set; then
   12550   $as_echo_n "(cached) " >&6
   12551 else
   12552   cat >conftest.$ac_ext <<_ACEOF
   12553 /* confdefs.h.  */
   12554 _ACEOF
   12555 cat confdefs.h >>conftest.$ac_ext
   12556 cat >>conftest.$ac_ext <<_ACEOF
   12557 /* end confdefs.h.  */
   12558 #include <stdlib.h>
   12559 #include <stdarg.h>
   12560 #include <string.h>
   12561 #include <float.h>
   12562 
   12563 int
   12564 main ()
   12565 {
   12566 
   12567   ;
   12568   return 0;
   12569 }
   12570 _ACEOF
   12571 rm -f conftest.$ac_objext
   12572 if { (ac_try="$ac_compile"
   12573 case "(($ac_try" in
   12574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12575   *) ac_try_echo=$ac_try;;
   12576 esac
   12577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12578 $as_echo "$ac_try_echo") >&5
   12579   (eval "$ac_compile") 2>conftest.er1
   12580   ac_status=$?
   12581   grep -v '^ *+' conftest.er1 >conftest.err
   12582   rm -f conftest.er1
   12583   cat conftest.err >&5
   12584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12585   (exit $ac_status); } && {
   12586 	 test -z "$ac_c_werror_flag" ||
   12587 	 test ! -s conftest.err
   12588        } && test -s conftest.$ac_objext; then
   12589   ac_cv_header_stdc=yes
   12590 else
   12591   $as_echo "$as_me: failed program was:" >&5
   12592 sed 's/^/| /' conftest.$ac_ext >&5
   12593 
   12594 	ac_cv_header_stdc=no
   12595 fi
   12596 
   12597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12598 
   12599 if test $ac_cv_header_stdc = yes; then
   12600   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   12601   cat >conftest.$ac_ext <<_ACEOF
   12602 /* confdefs.h.  */
   12603 _ACEOF
   12604 cat confdefs.h >>conftest.$ac_ext
   12605 cat >>conftest.$ac_ext <<_ACEOF
   12606 /* end confdefs.h.  */
   12607 #include <string.h>
   12608 
   12609 _ACEOF
   12610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12611   $EGREP "memchr" >/dev/null 2>&1; then
   12612   :
   12613 else
   12614   ac_cv_header_stdc=no
   12615 fi
   12616 rm -f conftest*
   12617 
   12618 fi
   12619 
   12620 if test $ac_cv_header_stdc = yes; then
   12621   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   12622   cat >conftest.$ac_ext <<_ACEOF
   12623 /* confdefs.h.  */
   12624 _ACEOF
   12625 cat confdefs.h >>conftest.$ac_ext
   12626 cat >>conftest.$ac_ext <<_ACEOF
   12627 /* end confdefs.h.  */
   12628 #include <stdlib.h>
   12629 
   12630 _ACEOF
   12631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12632   $EGREP "free" >/dev/null 2>&1; then
   12633   :
   12634 else
   12635   ac_cv_header_stdc=no
   12636 fi
   12637 rm -f conftest*
   12638 
   12639 fi
   12640 
   12641 if test $ac_cv_header_stdc = yes; then
   12642   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   12643   if test "$cross_compiling" = yes; then
   12644   :
   12645 else
   12646   cat >conftest.$ac_ext <<_ACEOF
   12647 /* confdefs.h.  */
   12648 _ACEOF
   12649 cat confdefs.h >>conftest.$ac_ext
   12650 cat >>conftest.$ac_ext <<_ACEOF
   12651 /* end confdefs.h.  */
   12652 #include <ctype.h>
   12653 #include <stdlib.h>
   12654 #if ((' ' & 0x0FF) == 0x020)
   12655 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   12656 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   12657 #else
   12658 # define ISLOWER(c) \
   12659 		   (('a' <= (c) && (c) <= 'i') \
   12660 		     || ('j' <= (c) && (c) <= 'r') \
   12661 		     || ('s' <= (c) && (c) <= 'z'))
   12662 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   12663 #endif
   12664 
   12665 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   12666 int
   12667 main ()
   12668 {
   12669   int i;
   12670   for (i = 0; i < 256; i++)
   12671     if (XOR (islower (i), ISLOWER (i))
   12672 	|| toupper (i) != TOUPPER (i))
   12673       return 2;
   12674   return 0;
   12675 }
   12676 _ACEOF
   12677 rm -f conftest$ac_exeext
   12678 if { (ac_try="$ac_link"
   12679 case "(($ac_try" in
   12680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12681   *) ac_try_echo=$ac_try;;
   12682 esac
   12683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12684 $as_echo "$ac_try_echo") >&5
   12685   (eval "$ac_link") 2>&5
   12686   ac_status=$?
   12687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12688   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   12689   { (case "(($ac_try" in
   12690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   12691   *) ac_try_echo=$ac_try;;
   12692 esac
   12693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   12694 $as_echo "$ac_try_echo") >&5
   12695   (eval "$ac_try") 2>&5
   12696   ac_status=$?
   12697   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12698   (exit $ac_status); }; }; then
   12699   :
   12700 else
   12701   $as_echo "$as_me: program exited with status $ac_status" >&5
   12702 $as_echo "$as_me: failed program was:" >&5
   12703 sed 's/^/| /' conftest.$ac_ext >&5
   12704 
   12705 ( exit $ac_status )
   12706 ac_cv_header_stdc=no
   12707 fi
   12708 rm -rf conftest.dSYM
   12709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   12710 fi
   12711 
   12712 
   12713 fi
   12714 fi
   12715 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   12716 $as_echo "$ac_cv_header_stdc" >&6; }
   12717 if test $ac_cv_header_stdc = yes; then
   12718 
   12719 cat >>confdefs.h <<\_ACEOF
   12720 #define STDC_HEADERS 1
   12721 _ACEOF
   12722 
   12723 fi
   12724 
   12725 
   12726 DRIVER_NAME=vesa
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 if test x$APP_MAN_SUFFIX = x    ; then
   12733     APP_MAN_SUFFIX=1
   12734 fi
   12735 if test x$APP_MAN_DIR = x    ; then
   12736     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   12737 fi
   12738 
   12739 if test x$LIB_MAN_SUFFIX = x    ; then
   12740     LIB_MAN_SUFFIX=3
   12741 fi
   12742 if test x$LIB_MAN_DIR = x    ; then
   12743     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   12744 fi
   12745 
   12746 if test x$FILE_MAN_SUFFIX = x    ; then
   12747     case $host_os in
   12748 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   12749 	*)		FILE_MAN_SUFFIX=5  ;;
   12750     esac
   12751 fi
   12752 if test x$FILE_MAN_DIR = x    ; then
   12753     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   12754 fi
   12755 
   12756 if test x$MISC_MAN_SUFFIX = x    ; then
   12757     case $host_os in
   12758 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   12759 	*)		MISC_MAN_SUFFIX=7  ;;
   12760     esac
   12761 fi
   12762 if test x$MISC_MAN_DIR = x    ; then
   12763     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   12764 fi
   12765 
   12766 if test x$DRIVER_MAN_SUFFIX = x    ; then
   12767     case $host_os in
   12768 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   12769 	*)		DRIVER_MAN_SUFFIX=4  ;;
   12770     esac
   12771 fi
   12772 if test x$DRIVER_MAN_DIR = x    ; then
   12773     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   12774 fi
   12775 
   12776 if test x$ADMIN_MAN_SUFFIX = x    ; then
   12777     case $host_os in
   12778 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   12779 	*)		ADMIN_MAN_SUFFIX=8  ;;
   12780     esac
   12781 fi
   12782 if test x$ADMIN_MAN_DIR = x    ; then
   12783     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   12784 fi
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 # Check whether --with-release-version was given.
   12803 if test "${with_release_version+set}" = set; then
   12804   withval=$with_release_version; RELEASE_VERSION="$withval"
   12805 else
   12806   RELEASE_VERSION=""
   12807 fi
   12808 
   12809 	if test "x$RELEASE_VERSION" != "x"; then
   12810 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   12811 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   12812 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   12813 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   12814 	fi
   12815 
   12816 cat >>confdefs.h <<_ACEOF
   12817 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   12818 _ACEOF
   12819 
   12820 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   12821 	if test "x$PVM" = "x"; then
   12822 		PVM="0"
   12823 	fi
   12824 
   12825 cat >>confdefs.h <<_ACEOF
   12826 #define PACKAGE_VERSION_MINOR $PVM
   12827 _ACEOF
   12828 
   12829 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   12830 	if test "x$PVP" = "x"; then
   12831 		PVP="0"
   12832 	fi
   12833 
   12834 cat >>confdefs.h <<_ACEOF
   12835 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   12836 _ACEOF
   12837 
   12838 
   12839 
   12840 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   12841 
   12842 cat >confcache <<\_ACEOF
   12843 # This file is a shell script that caches the results of configure
   12844 # tests run on this system so they can be shared between configure
   12845 # scripts and configure runs, see configure's option --config-cache.
   12846 # It is not useful on other systems.  If it contains results you don't
   12847 # want to keep, you may remove or edit it.
   12848 #
   12849 # config.status only pays attention to the cache file if you give it
   12850 # the --recheck option to rerun configure.
   12851 #
   12852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   12854 # following values.
   12855 
   12856 _ACEOF
   12857 
   12858 # The following way of writing the cache mishandles newlines in values,
   12859 # but we know of no workaround that is simple, portable, and efficient.
   12860 # So, we kill variables containing newlines.
   12861 # Ultrix sh set writes to stderr and can't be redirected directly,
   12862 # and sets the high bit in the cache file unless we assign to the vars.
   12863 (
   12864   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   12865     eval ac_val=\$$ac_var
   12866     case $ac_val in #(
   12867     *${as_nl}*)
   12868       case $ac_var in #(
   12869       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   12870 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   12871       esac
   12872       case $ac_var in #(
   12873       _ | IFS | as_nl) ;; #(
   12874       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   12875       *) $as_unset $ac_var ;;
   12876       esac ;;
   12877     esac
   12878   done
   12879 
   12880   (set) 2>&1 |
   12881     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   12882     *${as_nl}ac_space=\ *)
   12883       # `set' does not quote correctly, so add quotes (double-quote
   12884       # substitution turns \\\\ into \\, and sed turns \\ into \).
   12885       sed -n \
   12886 	"s/'/'\\\\''/g;
   12887 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   12888       ;; #(
   12889     *)
   12890       # `set' quotes correctly as required by POSIX, so do not add quotes.
   12891       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   12892       ;;
   12893     esac |
   12894     sort
   12895 ) |
   12896   sed '
   12897      /^ac_cv_env_/b end
   12898      t clear
   12899      :clear
   12900      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   12901      t end
   12902      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   12903      :end' >>confcache
   12904 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   12905   if test -w "$cache_file"; then
   12906     test "x$cache_file" != "x/dev/null" &&
   12907       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   12908 $as_echo "$as_me: updating cache $cache_file" >&6;}
   12909     cat confcache >$cache_file
   12910   else
   12911     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   12912 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   12913   fi
   12914 fi
   12915 rm -f confcache
   12916 
   12917 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   12918 # Let make expand exec_prefix.
   12919 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   12920 
   12921 DEFS=-DHAVE_CONFIG_H
   12922 
   12923 ac_libobjs=
   12924 ac_ltlibobjs=
   12925 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   12926   # 1. Remove the extension, and $U if already installed.
   12927   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   12928   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   12929   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   12930   #    will be set to the directory where LIBOBJS objects are built.
   12931   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   12932   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   12933 done
   12934 LIBOBJS=$ac_libobjs
   12935 
   12936 LTLIBOBJS=$ac_ltlibobjs
   12937 
   12938 
   12939 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   12940   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   12941 Usually this means the macro was only invoked conditionally." >&5
   12942 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   12943 Usually this means the macro was only invoked conditionally." >&2;}
   12944    { (exit 1); exit 1; }; }
   12945 fi
   12946 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   12947   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   12948 Usually this means the macro was only invoked conditionally." >&5
   12949 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   12950 Usually this means the macro was only invoked conditionally." >&2;}
   12951    { (exit 1); exit 1; }; }
   12952 fi
   12953 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12954   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   12955 Usually this means the macro was only invoked conditionally." >&5
   12956 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   12957 Usually this means the macro was only invoked conditionally." >&2;}
   12958    { (exit 1); exit 1; }; }
   12959 fi
   12960 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   12961   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   12962 Usually this means the macro was only invoked conditionally." >&5
   12963 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   12964 Usually this means the macro was only invoked conditionally." >&2;}
   12965    { (exit 1); exit 1; }; }
   12966 fi
   12967 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   12968   { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   12969 Usually this means the macro was only invoked conditionally." >&5
   12970 $as_echo "$as_me: error: conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   12971 Usually this means the macro was only invoked conditionally." >&2;}
   12972    { (exit 1); exit 1; }; }
   12973 fi
   12974 
   12975 : ${CONFIG_STATUS=./config.status}
   12976 ac_write_fail=0
   12977 ac_clean_files_save=$ac_clean_files
   12978 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   12979 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   12980 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   12981 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12982 #! $SHELL
   12983 # Generated by $as_me.
   12984 # Run this file to recreate the current configuration.
   12985 # Compiler output produced by configure, useful for debugging
   12986 # configure, is in config.log if it exists.
   12987 
   12988 debug=false
   12989 ac_cs_recheck=false
   12990 ac_cs_silent=false
   12991 SHELL=\${CONFIG_SHELL-$SHELL}
   12992 _ACEOF
   12993 
   12994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12995 ## --------------------- ##
   12996 ## M4sh Initialization.  ##
   12997 ## --------------------- ##
   12998 
   12999 # Be more Bourne compatible
   13000 DUALCASE=1; export DUALCASE # for MKS sh
   13001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13002   emulate sh
   13003   NULLCMD=:
   13004   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13005   # is contrary to our usage.  Disable this feature.
   13006   alias -g '${1+"$@"}'='"$@"'
   13007   setopt NO_GLOB_SUBST
   13008 else
   13009   case `(set -o) 2>/dev/null` in
   13010   *posix*) set -o posix ;;
   13011 esac
   13012 
   13013 fi
   13014 
   13015 
   13016 
   13017 
   13018 # PATH needs CR
   13019 # Avoid depending upon Character Ranges.
   13020 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13021 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13022 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13023 as_cr_digits='0123456789'
   13024 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13025 
   13026 as_nl='
   13027 '
   13028 export as_nl
   13029 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13030 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13031 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13032 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13033 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13034   as_echo='printf %s\n'
   13035   as_echo_n='printf %s'
   13036 else
   13037   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13038     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13039     as_echo_n='/usr/ucb/echo -n'
   13040   else
   13041     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13042     as_echo_n_body='eval
   13043       arg=$1;
   13044       case $arg in
   13045       *"$as_nl"*)
   13046 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13047 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13048       esac;
   13049       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13050     '
   13051     export as_echo_n_body
   13052     as_echo_n='sh -c $as_echo_n_body as_echo'
   13053   fi
   13054   export as_echo_body
   13055   as_echo='sh -c $as_echo_body as_echo'
   13056 fi
   13057 
   13058 # The user is always right.
   13059 if test "${PATH_SEPARATOR+set}" != set; then
   13060   PATH_SEPARATOR=:
   13061   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13062     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13063       PATH_SEPARATOR=';'
   13064   }
   13065 fi
   13066 
   13067 # Support unset when possible.
   13068 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13069   as_unset=unset
   13070 else
   13071   as_unset=false
   13072 fi
   13073 
   13074 
   13075 # IFS
   13076 # We need space, tab and new line, in precisely that order.  Quoting is
   13077 # there to prevent editors from complaining about space-tab.
   13078 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13079 # splitting by setting IFS to empty value.)
   13080 IFS=" ""	$as_nl"
   13081 
   13082 # Find who we are.  Look in the path if we contain no directory separator.
   13083 case $0 in
   13084   *[\\/]* ) as_myself=$0 ;;
   13085   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13086 for as_dir in $PATH
   13087 do
   13088   IFS=$as_save_IFS
   13089   test -z "$as_dir" && as_dir=.
   13090   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13091 done
   13092 IFS=$as_save_IFS
   13093 
   13094      ;;
   13095 esac
   13096 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13097 # in which case we are not to be found in the path.
   13098 if test "x$as_myself" = x; then
   13099   as_myself=$0
   13100 fi
   13101 if test ! -f "$as_myself"; then
   13102   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13103   { (exit 1); exit 1; }
   13104 fi
   13105 
   13106 # Work around bugs in pre-3.0 UWIN ksh.
   13107 for as_var in ENV MAIL MAILPATH
   13108 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   13109 done
   13110 PS1='$ '
   13111 PS2='> '
   13112 PS4='+ '
   13113 
   13114 # NLS nuisances.
   13115 LC_ALL=C
   13116 export LC_ALL
   13117 LANGUAGE=C
   13118 export LANGUAGE
   13119 
   13120 # Required to use basename.
   13121 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13122    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13123   as_expr=expr
   13124 else
   13125   as_expr=false
   13126 fi
   13127 
   13128 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13129   as_basename=basename
   13130 else
   13131   as_basename=false
   13132 fi
   13133 
   13134 
   13135 # Name of the executable.
   13136 as_me=`$as_basename -- "$0" ||
   13137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13138 	 X"$0" : 'X\(//\)$' \| \
   13139 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13140 $as_echo X/"$0" |
   13141     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13142 	    s//\1/
   13143 	    q
   13144 	  }
   13145 	  /^X\/\(\/\/\)$/{
   13146 	    s//\1/
   13147 	    q
   13148 	  }
   13149 	  /^X\/\(\/\).*/{
   13150 	    s//\1/
   13151 	    q
   13152 	  }
   13153 	  s/.*/./; q'`
   13154 
   13155 # CDPATH.
   13156 $as_unset CDPATH
   13157 
   13158 
   13159 
   13160   as_lineno_1=$LINENO
   13161   as_lineno_2=$LINENO
   13162   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13163   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   13164 
   13165   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13166   # uniformly replaced by the line number.  The first 'sed' inserts a
   13167   # line-number line after each line using $LINENO; the second 'sed'
   13168   # does the real work.  The second script uses 'N' to pair each
   13169   # line-number line with the line containing $LINENO, and appends
   13170   # trailing '-' during substitution so that $LINENO is not a special
   13171   # case at line end.
   13172   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13173   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   13174   # E. McMahon (1931-1989) for sed's syntax.  :-)
   13175   sed -n '
   13176     p
   13177     /[$]LINENO/=
   13178   ' <$as_myself |
   13179     sed '
   13180       s/[$]LINENO.*/&-/
   13181       t lineno
   13182       b
   13183       :lineno
   13184       N
   13185       :loop
   13186       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   13187       t loop
   13188       s/-\n.*//
   13189     ' >$as_me.lineno &&
   13190   chmod +x "$as_me.lineno" ||
   13191     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   13192    { (exit 1); exit 1; }; }
   13193 
   13194   # Don't try to exec as it changes $[0], causing all sort of problems
   13195   # (the dirname of $[0] is not the place where we might find the
   13196   # original and so on.  Autoconf is especially sensitive to this).
   13197   . "./$as_me.lineno"
   13198   # Exit status is that of the last command.
   13199   exit
   13200 }
   13201 
   13202 
   13203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13204   as_dirname=dirname
   13205 else
   13206   as_dirname=false
   13207 fi
   13208 
   13209 ECHO_C= ECHO_N= ECHO_T=
   13210 case `echo -n x` in
   13211 -n*)
   13212   case `echo 'x\c'` in
   13213   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13214   *)   ECHO_C='\c';;
   13215   esac;;
   13216 *)
   13217   ECHO_N='-n';;
   13218 esac
   13219 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13220    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13221   as_expr=expr
   13222 else
   13223   as_expr=false
   13224 fi
   13225 
   13226 rm -f conf$$ conf$$.exe conf$$.file
   13227 if test -d conf$$.dir; then
   13228   rm -f conf$$.dir/conf$$.file
   13229 else
   13230   rm -f conf$$.dir
   13231   mkdir conf$$.dir 2>/dev/null
   13232 fi
   13233 if (echo >conf$$.file) 2>/dev/null; then
   13234   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13235     as_ln_s='ln -s'
   13236     # ... but there are two gotchas:
   13237     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13238     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13239     # In both cases, we have to default to `cp -p'.
   13240     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13241       as_ln_s='cp -p'
   13242   elif ln conf$$.file conf$$ 2>/dev/null; then
   13243     as_ln_s=ln
   13244   else
   13245     as_ln_s='cp -p'
   13246   fi
   13247 else
   13248   as_ln_s='cp -p'
   13249 fi
   13250 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13251 rmdir conf$$.dir 2>/dev/null
   13252 
   13253 if mkdir -p . 2>/dev/null; then
   13254   as_mkdir_p=:
   13255 else
   13256   test -d ./-p && rmdir ./-p
   13257   as_mkdir_p=false
   13258 fi
   13259 
   13260 if test -x / >/dev/null 2>&1; then
   13261   as_test_x='test -x'
   13262 else
   13263   if ls -dL / >/dev/null 2>&1; then
   13264     as_ls_L_option=L
   13265   else
   13266     as_ls_L_option=
   13267   fi
   13268   as_test_x='
   13269     eval sh -c '\''
   13270       if test -d "$1"; then
   13271 	test -d "$1/.";
   13272       else
   13273 	case $1 in
   13274 	-*)set "./$1";;
   13275 	esac;
   13276 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   13277 	???[sx]*):;;*)false;;esac;fi
   13278     '\'' sh
   13279   '
   13280 fi
   13281 as_executable_p=$as_test_x
   13282 
   13283 # Sed expression to map a string onto a valid CPP name.
   13284 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13285 
   13286 # Sed expression to map a string onto a valid variable name.
   13287 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13288 
   13289 
   13290 exec 6>&1
   13291 
   13292 # Save the log message, to keep $[0] and so on meaningful, and to
   13293 # report actual input values of CONFIG_FILES etc. instead of their
   13294 # values after options handling.
   13295 ac_log="
   13296 This file was extended by xf86-video-vesa $as_me 2.2.0, which was
   13297 generated by GNU Autoconf 2.63.  Invocation command line was
   13298 
   13299   CONFIG_FILES    = $CONFIG_FILES
   13300   CONFIG_HEADERS  = $CONFIG_HEADERS
   13301   CONFIG_LINKS    = $CONFIG_LINKS
   13302   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13303   $ $0 $@
   13304 
   13305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13306 "
   13307 
   13308 _ACEOF
   13309 
   13310 case $ac_config_files in *"
   13311 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13312 esac
   13313 
   13314 case $ac_config_headers in *"
   13315 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13316 esac
   13317 
   13318 
   13319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13320 # Files that config.status was made for.
   13321 config_files="$ac_config_files"
   13322 config_headers="$ac_config_headers"
   13323 config_commands="$ac_config_commands"
   13324 
   13325 _ACEOF
   13326 
   13327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13328 ac_cs_usage="\
   13329 \`$as_me' instantiates files from templates according to the
   13330 current configuration.
   13331 
   13332 Usage: $0 [OPTION]... [FILE]...
   13333 
   13334   -h, --help       print this help, then exit
   13335   -V, --version    print version number and configuration settings, then exit
   13336   -q, --quiet, --silent
   13337                    do not print progress messages
   13338   -d, --debug      don't remove temporary files
   13339       --recheck    update $as_me by reconfiguring in the same conditions
   13340       --file=FILE[:TEMPLATE]
   13341                    instantiate the configuration file FILE
   13342       --header=FILE[:TEMPLATE]
   13343                    instantiate the configuration header FILE
   13344 
   13345 Configuration files:
   13346 $config_files
   13347 
   13348 Configuration headers:
   13349 $config_headers
   13350 
   13351 Configuration commands:
   13352 $config_commands
   13353 
   13354 Report bugs to <bug-autoconf (at] gnu.org>."
   13355 
   13356 _ACEOF
   13357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13358 ac_cs_version="\\
   13359 xf86-video-vesa config.status 2.2.0
   13360 configured by $0, generated by GNU Autoconf 2.63,
   13361   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13362 
   13363 Copyright (C) 2008 Free Software Foundation, Inc.
   13364 This config.status script is free software; the Free Software Foundation
   13365 gives unlimited permission to copy, distribute and modify it."
   13366 
   13367 ac_pwd='$ac_pwd'
   13368 srcdir='$srcdir'
   13369 INSTALL='$INSTALL'
   13370 MKDIR_P='$MKDIR_P'
   13371 AWK='$AWK'
   13372 test -n "\$AWK" || AWK=awk
   13373 _ACEOF
   13374 
   13375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13376 # The default lists apply if the user does not specify any file.
   13377 ac_need_defaults=:
   13378 while test $# != 0
   13379 do
   13380   case $1 in
   13381   --*=*)
   13382     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13383     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13384     ac_shift=:
   13385     ;;
   13386   *)
   13387     ac_option=$1
   13388     ac_optarg=$2
   13389     ac_shift=shift
   13390     ;;
   13391   esac
   13392 
   13393   case $ac_option in
   13394   # Handling of the options.
   13395   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13396     ac_cs_recheck=: ;;
   13397   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13398     $as_echo "$ac_cs_version"; exit ;;
   13399   --debug | --debu | --deb | --de | --d | -d )
   13400     debug=: ;;
   13401   --file | --fil | --fi | --f )
   13402     $ac_shift
   13403     case $ac_optarg in
   13404     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13405     esac
   13406     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   13407     ac_need_defaults=false;;
   13408   --header | --heade | --head | --hea )
   13409     $ac_shift
   13410     case $ac_optarg in
   13411     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13412     esac
   13413     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   13414     ac_need_defaults=false;;
   13415   --he | --h)
   13416     # Conflict between --help and --header
   13417     { $as_echo "$as_me: error: ambiguous option: $1
   13418 Try \`$0 --help' for more information." >&2
   13419    { (exit 1); exit 1; }; };;
   13420   --help | --hel | -h )
   13421     $as_echo "$ac_cs_usage"; exit ;;
   13422   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13423   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13424     ac_cs_silent=: ;;
   13425 
   13426   # This is an error.
   13427   -*) { $as_echo "$as_me: error: unrecognized option: $1
   13428 Try \`$0 --help' for more information." >&2
   13429    { (exit 1); exit 1; }; } ;;
   13430 
   13431   *) ac_config_targets="$ac_config_targets $1"
   13432      ac_need_defaults=false ;;
   13433 
   13434   esac
   13435   shift
   13436 done
   13437 
   13438 ac_configure_extra_args=
   13439 
   13440 if $ac_cs_silent; then
   13441   exec 6>/dev/null
   13442   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13443 fi
   13444 
   13445 _ACEOF
   13446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13447 if \$ac_cs_recheck; then
   13448   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13449   shift
   13450   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13451   CONFIG_SHELL='$SHELL'
   13452   export CONFIG_SHELL
   13453   exec "\$@"
   13454 fi
   13455 
   13456 _ACEOF
   13457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13458 exec 5>>config.log
   13459 {
   13460   echo
   13461   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13462 ## Running $as_me. ##
   13463 _ASBOX
   13464   $as_echo "$ac_log"
   13465 } >&5
   13466 
   13467 _ACEOF
   13468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13469 #
   13470 # INIT-COMMANDS
   13471 #
   13472 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13473 
   13474 
   13475 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13476 # if CDPATH is set.
   13477 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13478 
   13479 sed_quote_subst='$sed_quote_subst'
   13480 double_quote_subst='$double_quote_subst'
   13481 delay_variable_subst='$delay_variable_subst'
   13482 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   13483 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   13484 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   13485 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   13486 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   13487 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   13488 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13489 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   13490 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   13491 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   13492 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   13493 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   13494 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   13495 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   13496 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   13497 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13498 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   13499 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   13500 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   13501 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   13502 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   13503 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   13504 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   13505 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   13506 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   13507 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   13508 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13509 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13510 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   13511 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   13512 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   13513 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   13514 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13515 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   13516 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   13517 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13518 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13519 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13520 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   13521 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   13522 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   13523 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   13524 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   13525 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   13526 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"`'
   13527 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"`'
   13528 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   13529 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   13530 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   13531 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   13532 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13533 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   13534 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   13535 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   13536 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   13537 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   13538 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   13539 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   13540 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   13541 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   13542 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   13543 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   13544 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13545 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13546 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   13547 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   13548 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13549 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13550 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   13551 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13552 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13553 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13554 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13555 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13556 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13557 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13558 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13559 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   13560 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13561 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   13562 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   13563 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   13564 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   13565 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   13566 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13567 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   13568 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   13569 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   13570 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   13571 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   13572 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13573 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13574 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   13575 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13576 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13577 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   13578 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   13579 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   13580 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   13581 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13582 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   13583 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   13584 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13585 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13586 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13587 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13588 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13589 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   13590 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   13591 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   13592 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13593 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   13594 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   13595 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   13596 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   13597 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   13598 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13599 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   13600 
   13601 LTCC='$LTCC'
   13602 LTCFLAGS='$LTCFLAGS'
   13603 compiler='$compiler_DEFAULT'
   13604 
   13605 # Quote evaled strings.
   13606 for var in SED \
   13607 GREP \
   13608 EGREP \
   13609 FGREP \
   13610 LD \
   13611 NM \
   13612 LN_S \
   13613 lt_SP2NL \
   13614 lt_NL2SP \
   13615 reload_flag \
   13616 OBJDUMP \
   13617 deplibs_check_method \
   13618 file_magic_cmd \
   13619 AR \
   13620 AR_FLAGS \
   13621 STRIP \
   13622 RANLIB \
   13623 CC \
   13624 CFLAGS \
   13625 compiler \
   13626 lt_cv_sys_global_symbol_pipe \
   13627 lt_cv_sys_global_symbol_to_cdecl \
   13628 lt_cv_sys_global_symbol_to_c_name_address \
   13629 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   13630 SHELL \
   13631 ECHO \
   13632 lt_prog_compiler_no_builtin_flag \
   13633 lt_prog_compiler_wl \
   13634 lt_prog_compiler_pic \
   13635 lt_prog_compiler_static \
   13636 lt_cv_prog_compiler_c_o \
   13637 need_locks \
   13638 DSYMUTIL \
   13639 NMEDIT \
   13640 LIPO \
   13641 OTOOL \
   13642 OTOOL64 \
   13643 shrext_cmds \
   13644 export_dynamic_flag_spec \
   13645 whole_archive_flag_spec \
   13646 compiler_needs_object \
   13647 with_gnu_ld \
   13648 allow_undefined_flag \
   13649 no_undefined_flag \
   13650 hardcode_libdir_flag_spec \
   13651 hardcode_libdir_flag_spec_ld \
   13652 hardcode_libdir_separator \
   13653 fix_srcfile_path \
   13654 exclude_expsyms \
   13655 include_expsyms \
   13656 file_list_spec \
   13657 variables_saved_for_relink \
   13658 libname_spec \
   13659 library_names_spec \
   13660 soname_spec \
   13661 finish_eval \
   13662 old_striplib \
   13663 striplib; do
   13664     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13665     *[\\\\\\\`\\"\\\$]*)
   13666       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   13667       ;;
   13668     *)
   13669       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13670       ;;
   13671     esac
   13672 done
   13673 
   13674 # Double-quote double-evaled strings.
   13675 for var in reload_cmds \
   13676 old_postinstall_cmds \
   13677 old_postuninstall_cmds \
   13678 old_archive_cmds \
   13679 extract_expsyms_cmds \
   13680 old_archive_from_new_cmds \
   13681 old_archive_from_expsyms_cmds \
   13682 archive_cmds \
   13683 archive_expsym_cmds \
   13684 module_cmds \
   13685 module_expsym_cmds \
   13686 export_symbols_cmds \
   13687 prelink_cmds \
   13688 postinstall_cmds \
   13689 postuninstall_cmds \
   13690 finish_cmds \
   13691 sys_lib_search_path_spec \
   13692 sys_lib_dlsearch_path_spec; do
   13693     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   13694     *[\\\\\\\`\\"\\\$]*)
   13695       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   13696       ;;
   13697     *)
   13698       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   13699       ;;
   13700     esac
   13701 done
   13702 
   13703 # Fix-up fallback echo if it was mangled by the above quoting rules.
   13704 case \$lt_ECHO in
   13705 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   13706   ;;
   13707 esac
   13708 
   13709 ac_aux_dir='$ac_aux_dir'
   13710 xsi_shell='$xsi_shell'
   13711 lt_shell_append='$lt_shell_append'
   13712 
   13713 # See if we are running on zsh, and set the options which allow our
   13714 # commands through without removal of \ escapes INIT.
   13715 if test -n "\${ZSH_VERSION+set}" ; then
   13716    setopt NO_GLOB_SUBST
   13717 fi
   13718 
   13719 
   13720     PACKAGE='$PACKAGE'
   13721     VERSION='$VERSION'
   13722     TIMESTAMP='$TIMESTAMP'
   13723     RM='$RM'
   13724     ofile='$ofile'
   13725 
   13726 
   13727 
   13728 
   13729 _ACEOF
   13730 
   13731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13732 
   13733 # Handling of arguments.
   13734 for ac_config_target in $ac_config_targets
   13735 do
   13736   case $ac_config_target in
   13737     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   13738     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13739     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   13740     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13741     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   13742     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   13743 
   13744   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   13745 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   13746    { (exit 1); exit 1; }; };;
   13747   esac
   13748 done
   13749 
   13750 
   13751 # If the user did not use the arguments to specify the items to instantiate,
   13752 # then the envvar interface is used.  Set only those that are not.
   13753 # We use the long form for the default assignment because of an extremely
   13754 # bizarre bug on SunOS 4.1.3.
   13755 if $ac_need_defaults; then
   13756   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13757   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13758   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13759 fi
   13760 
   13761 # Have a temporary directory for convenience.  Make it in the build tree
   13762 # simply because there is no reason against having it here, and in addition,
   13763 # creating and moving files from /tmp can sometimes cause problems.
   13764 # Hook for its removal unless debugging.
   13765 # Note that there is a small window in which the directory will not be cleaned:
   13766 # after its creation but before its name has been assigned to `$tmp'.
   13767 $debug ||
   13768 {
   13769   tmp=
   13770   trap 'exit_status=$?
   13771   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   13772 ' 0
   13773   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13774 }
   13775 # Create a (secure) tmp directory for tmp files.
   13776 
   13777 {
   13778   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   13779   test -n "$tmp" && test -d "$tmp"
   13780 }  ||
   13781 {
   13782   tmp=./conf$$-$RANDOM
   13783   (umask 077 && mkdir "$tmp")
   13784 } ||
   13785 {
   13786    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   13787    { (exit 1); exit 1; }
   13788 }
   13789 
   13790 # Set up the scripts for CONFIG_FILES section.
   13791 # No need to generate them if there are no CONFIG_FILES.
   13792 # This happens for instance with `./config.status config.h'.
   13793 if test -n "$CONFIG_FILES"; then
   13794 
   13795 
   13796 ac_cr='
'
   13798 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   13799 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   13800   ac_cs_awk_cr='\\r'
   13801 else
   13802   ac_cs_awk_cr=$ac_cr
   13803 fi
   13804 
   13805 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   13806 _ACEOF
   13807 
   13808 
   13809 {
   13810   echo "cat >conf$$subs.awk <<_ACEOF" &&
   13811   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   13812   echo "_ACEOF"
   13813 } >conf$$subs.sh ||
   13814   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13815 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13816    { (exit 1); exit 1; }; }
   13817 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   13818 ac_delim='%!_!# '
   13819 for ac_last_try in false false false false false :; do
   13820   . ./conf$$subs.sh ||
   13821     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13822 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13823    { (exit 1); exit 1; }; }
   13824 
   13825   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   13826   if test $ac_delim_n = $ac_delim_num; then
   13827     break
   13828   elif $ac_last_try; then
   13829     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   13830 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   13831    { (exit 1); exit 1; }; }
   13832   else
   13833     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13834   fi
   13835 done
   13836 rm -f conf$$subs.sh
   13837 
   13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13839 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   13840 _ACEOF
   13841 sed -n '
   13842 h
   13843 s/^/S["/; s/!.*/"]=/
   13844 p
   13845 g
   13846 s/^[^!]*!//
   13847 :repl
   13848 t repl
   13849 s/'"$ac_delim"'$//
   13850 t delim
   13851 :nl
   13852 h
   13853 s/\(.\{148\}\).*/\1/
   13854 t more1
   13855 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   13856 p
   13857 n
   13858 b repl
   13859 :more1
   13860 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13861 p
   13862 g
   13863 s/.\{148\}//
   13864 t nl
   13865 :delim
   13866 h
   13867 s/\(.\{148\}\).*/\1/
   13868 t more2
   13869 s/["\\]/\\&/g; s/^/"/; s/$/"/
   13870 p
   13871 b
   13872 :more2
   13873 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   13874 p
   13875 g
   13876 s/.\{148\}//
   13877 t delim
   13878 ' <conf$$subs.awk | sed '
   13879 /^[^""]/{
   13880   N
   13881   s/\n//
   13882 }
   13883 ' >>$CONFIG_STATUS || ac_write_fail=1
   13884 rm -f conf$$subs.awk
   13885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13886 _ACAWK
   13887 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   13888   for (key in S) S_is_set[key] = 1
   13889   FS = ""
   13890 
   13891 }
   13892 {
   13893   line = $ 0
   13894   nfields = split(line, field, "@")
   13895   substed = 0
   13896   len = length(field[1])
   13897   for (i = 2; i < nfields; i++) {
   13898     key = field[i]
   13899     keylen = length(key)
   13900     if (S_is_set[key]) {
   13901       value = S[key]
   13902       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   13903       len += length(value) + length(field[++i])
   13904       substed = 1
   13905     } else
   13906       len += 1 + keylen
   13907   }
   13908 
   13909   print line
   13910 }
   13911 
   13912 _ACAWK
   13913 _ACEOF
   13914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13915 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   13916   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   13917 else
   13918   cat
   13919 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   13920   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   13921 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   13922    { (exit 1); exit 1; }; }
   13923 _ACEOF
   13924 
   13925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13927 # trailing colons and then remove the whole line if VPATH becomes empty
   13928 # (actually we leave an empty line to preserve line numbers).
   13929 if test "x$srcdir" = x.; then
   13930   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13931 s/:*\$(srcdir):*/:/
   13932 s/:*\${srcdir}:*/:/
   13933 s/:*@srcdir@:*/:/
   13934 s/^\([^=]*=[	 ]*\):*/\1/
   13935 s/:*$//
   13936 s/^[^=]*=[	 ]*$//
   13937 }'
   13938 fi
   13939 
   13940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13941 fi # test -n "$CONFIG_FILES"
   13942 
   13943 # Set up the scripts for CONFIG_HEADERS section.
   13944 # No need to generate them if there are no CONFIG_HEADERS.
   13945 # This happens for instance with `./config.status Makefile'.
   13946 if test -n "$CONFIG_HEADERS"; then
   13947 cat >"$tmp/defines.awk" <<\_ACAWK ||
   13948 BEGIN {
   13949 _ACEOF
   13950 
   13951 # Transform confdefs.h into an awk script `defines.awk', embedded as
   13952 # here-document in config.status, that substitutes the proper values into
   13953 # config.h.in to produce config.h.
   13954 
   13955 # Create a delimiter string that does not exist in confdefs.h, to ease
   13956 # handling of long lines.
   13957 ac_delim='%!_!# '
   13958 for ac_last_try in false false :; do
   13959   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   13960   if test -z "$ac_t"; then
   13961     break
   13962   elif $ac_last_try; then
   13963     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   13964 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   13965    { (exit 1); exit 1; }; }
   13966   else
   13967     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   13968   fi
   13969 done
   13970 
   13971 # For the awk script, D is an array of macro values keyed by name,
   13972 # likewise P contains macro parameters if any.  Preserve backslash
   13973 # newline sequences.
   13974 
   13975 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   13976 sed -n '
   13977 s/.\{148\}/&'"$ac_delim"'/g
   13978 t rset
   13979 :rset
   13980 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   13981 t def
   13982 d
   13983 :def
   13984 s/\\$//
   13985 t bsnl
   13986 s/["\\]/\\&/g
   13987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13988 D["\1"]=" \3"/p
   13989 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   13990 d
   13991 :bsnl
   13992 s/["\\]/\\&/g
   13993 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   13994 D["\1"]=" \3\\\\\\n"\\/p
   13995 t cont
   13996 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   13997 t cont
   13998 d
   13999 :cont
   14000 n
   14001 s/.\{148\}/&'"$ac_delim"'/g
   14002 t clear
   14003 :clear
   14004 s/\\$//
   14005 t bsnlc
   14006 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14007 d
   14008 :bsnlc
   14009 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14010 b cont
   14011 ' <confdefs.h | sed '
   14012 s/'"$ac_delim"'/"\\\
   14013 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14014 
   14015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14016   for (key in D) D_is_set[key] = 1
   14017   FS = ""
   14018 }
   14019 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14020   line = \$ 0
   14021   split(line, arg, " ")
   14022   if (arg[1] == "#") {
   14023     defundef = arg[2]
   14024     mac1 = arg[3]
   14025   } else {
   14026     defundef = substr(arg[1], 2)
   14027     mac1 = arg[2]
   14028   }
   14029   split(mac1, mac2, "(") #)
   14030   macro = mac2[1]
   14031   prefix = substr(line, 1, index(line, defundef) - 1)
   14032   if (D_is_set[macro]) {
   14033     # Preserve the white space surrounding the "#".
   14034     print prefix "define", macro P[macro] D[macro]
   14035     next
   14036   } else {
   14037     # Replace #undef with comments.  This is necessary, for example,
   14038     # in the case of _POSIX_SOURCE, which is predefined and required
   14039     # on some systems where configure will not decide to define it.
   14040     if (defundef == "undef") {
   14041       print "/*", prefix defundef, macro, "*/"
   14042       next
   14043     }
   14044   }
   14045 }
   14046 { print }
   14047 _ACAWK
   14048 _ACEOF
   14049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14050   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   14051 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   14052    { (exit 1); exit 1; }; }
   14053 fi # test -n "$CONFIG_HEADERS"
   14054 
   14055 
   14056 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14057 shift
   14058 for ac_tag
   14059 do
   14060   case $ac_tag in
   14061   :[FHLC]) ac_mode=$ac_tag; continue;;
   14062   esac
   14063   case $ac_mode$ac_tag in
   14064   :[FHL]*:*);;
   14065   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   14066 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   14067    { (exit 1); exit 1; }; };;
   14068   :[FH]-) ac_tag=-:-;;
   14069   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14070   esac
   14071   ac_save_IFS=$IFS
   14072   IFS=:
   14073   set x $ac_tag
   14074   IFS=$ac_save_IFS
   14075   shift
   14076   ac_file=$1
   14077   shift
   14078 
   14079   case $ac_mode in
   14080   :L) ac_source=$1;;
   14081   :[FH])
   14082     ac_file_inputs=
   14083     for ac_f
   14084     do
   14085       case $ac_f in
   14086       -) ac_f="$tmp/stdin";;
   14087       *) # Look for the file first in the build tree, then in the source tree
   14088 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14089 	 # because $ac_f cannot contain `:'.
   14090 	 test -f "$ac_f" ||
   14091 	   case $ac_f in
   14092 	   [\\/$]*) false;;
   14093 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14094 	   esac ||
   14095 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   14096 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   14097    { (exit 1); exit 1; }; };;
   14098       esac
   14099       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14100       ac_file_inputs="$ac_file_inputs '$ac_f'"
   14101     done
   14102 
   14103     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14104     # use $as_me), people would be surprised to read:
   14105     #    /* config.h.  Generated by config.status.  */
   14106     configure_input='Generated from '`
   14107 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14108 	`' by configure.'
   14109     if test x"$ac_file" != x-; then
   14110       configure_input="$ac_file.  $configure_input"
   14111       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   14112 $as_echo "$as_me: creating $ac_file" >&6;}
   14113     fi
   14114     # Neutralize special characters interpreted by sed in replacement strings.
   14115     case $configure_input in #(
   14116     *\&* | *\|* | *\\* )
   14117        ac_sed_conf_input=`$as_echo "$configure_input" |
   14118        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14119     *) ac_sed_conf_input=$configure_input;;
   14120     esac
   14121 
   14122     case $ac_tag in
   14123     *:-:* | *:-) cat >"$tmp/stdin" \
   14124       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14125 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14126    { (exit 1); exit 1; }; } ;;
   14127     esac
   14128     ;;
   14129   esac
   14130 
   14131   ac_dir=`$as_dirname -- "$ac_file" ||
   14132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14133 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14134 	 X"$ac_file" : 'X\(//\)$' \| \
   14135 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14136 $as_echo X"$ac_file" |
   14137     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14138 	    s//\1/
   14139 	    q
   14140 	  }
   14141 	  /^X\(\/\/\)[^/].*/{
   14142 	    s//\1/
   14143 	    q
   14144 	  }
   14145 	  /^X\(\/\/\)$/{
   14146 	    s//\1/
   14147 	    q
   14148 	  }
   14149 	  /^X\(\/\).*/{
   14150 	    s//\1/
   14151 	    q
   14152 	  }
   14153 	  s/.*/./; q'`
   14154   { as_dir="$ac_dir"
   14155   case $as_dir in #(
   14156   -*) as_dir=./$as_dir;;
   14157   esac
   14158   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14159     as_dirs=
   14160     while :; do
   14161       case $as_dir in #(
   14162       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14163       *) as_qdir=$as_dir;;
   14164       esac
   14165       as_dirs="'$as_qdir' $as_dirs"
   14166       as_dir=`$as_dirname -- "$as_dir" ||
   14167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14168 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14169 	 X"$as_dir" : 'X\(//\)$' \| \
   14170 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14171 $as_echo X"$as_dir" |
   14172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14173 	    s//\1/
   14174 	    q
   14175 	  }
   14176 	  /^X\(\/\/\)[^/].*/{
   14177 	    s//\1/
   14178 	    q
   14179 	  }
   14180 	  /^X\(\/\/\)$/{
   14181 	    s//\1/
   14182 	    q
   14183 	  }
   14184 	  /^X\(\/\).*/{
   14185 	    s//\1/
   14186 	    q
   14187 	  }
   14188 	  s/.*/./; q'`
   14189       test -d "$as_dir" && break
   14190     done
   14191     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14192   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14193 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14194    { (exit 1); exit 1; }; }; }
   14195   ac_builddir=.
   14196 
   14197 case "$ac_dir" in
   14198 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14199 *)
   14200   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14201   # A ".." for each directory in $ac_dir_suffix.
   14202   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14203   case $ac_top_builddir_sub in
   14204   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14205   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14206   esac ;;
   14207 esac
   14208 ac_abs_top_builddir=$ac_pwd
   14209 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14210 # for backward compatibility:
   14211 ac_top_builddir=$ac_top_build_prefix
   14212 
   14213 case $srcdir in
   14214   .)  # We are building in place.
   14215     ac_srcdir=.
   14216     ac_top_srcdir=$ac_top_builddir_sub
   14217     ac_abs_top_srcdir=$ac_pwd ;;
   14218   [\\/]* | ?:[\\/]* )  # Absolute name.
   14219     ac_srcdir=$srcdir$ac_dir_suffix;
   14220     ac_top_srcdir=$srcdir
   14221     ac_abs_top_srcdir=$srcdir ;;
   14222   *) # Relative name.
   14223     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14224     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14225     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14226 esac
   14227 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14228 
   14229 
   14230   case $ac_mode in
   14231   :F)
   14232   #
   14233   # CONFIG_FILE
   14234   #
   14235 
   14236   case $INSTALL in
   14237   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14238   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14239   esac
   14240   ac_MKDIR_P=$MKDIR_P
   14241   case $MKDIR_P in
   14242   [\\/$]* | ?:[\\/]* ) ;;
   14243   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14244   esac
   14245 _ACEOF
   14246 
   14247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14248 # If the template does not know about datarootdir, expand it.
   14249 # FIXME: This hack should be removed a few years after 2.60.
   14250 ac_datarootdir_hack=; ac_datarootdir_seen=
   14251 
   14252 ac_sed_dataroot='
   14253 /datarootdir/ {
   14254   p
   14255   q
   14256 }
   14257 /@datadir@/p
   14258 /@docdir@/p
   14259 /@infodir@/p
   14260 /@localedir@/p
   14261 /@mandir@/p
   14262 '
   14263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14264 *datarootdir*) ac_datarootdir_seen=yes;;
   14265 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14266   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14268 _ACEOF
   14269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14270   ac_datarootdir_hack='
   14271   s&@datadir@&$datadir&g
   14272   s&@docdir@&$docdir&g
   14273   s&@infodir@&$infodir&g
   14274   s&@localedir@&$localedir&g
   14275   s&@mandir@&$mandir&g
   14276     s&\\\${datarootdir}&$datarootdir&g' ;;
   14277 esac
   14278 _ACEOF
   14279 
   14280 # Neutralize VPATH when `$srcdir' = `.'.
   14281 # Shell code in configure.ac might set extrasub.
   14282 # FIXME: do we really want to maintain this feature?
   14283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14284 ac_sed_extra="$ac_vpsub
   14285 $extrasub
   14286 _ACEOF
   14287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14288 :t
   14289 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14290 s|@configure_input@|$ac_sed_conf_input|;t t
   14291 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14292 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14293 s&@srcdir@&$ac_srcdir&;t t
   14294 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14295 s&@top_srcdir@&$ac_top_srcdir&;t t
   14296 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14297 s&@builddir@&$ac_builddir&;t t
   14298 s&@abs_builddir@&$ac_abs_builddir&;t t
   14299 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14300 s&@INSTALL@&$ac_INSTALL&;t t
   14301 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14302 $ac_datarootdir_hack
   14303 "
   14304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14305   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14306 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14307    { (exit 1); exit 1; }; }
   14308 
   14309 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14310   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14311   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14312   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14313 which seems to be undefined.  Please make sure it is defined." >&5
   14314 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14315 which seems to be undefined.  Please make sure it is defined." >&2;}
   14316 
   14317   rm -f "$tmp/stdin"
   14318   case $ac_file in
   14319   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14320   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14321   esac \
   14322   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14323 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14324    { (exit 1); exit 1; }; }
   14325  ;;
   14326   :H)
   14327   #
   14328   # CONFIG_HEADER
   14329   #
   14330   if test x"$ac_file" != x-; then
   14331     {
   14332       $as_echo "/* $configure_input  */" \
   14333       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14334     } >"$tmp/config.h" \
   14335       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14336 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14337    { (exit 1); exit 1; }; }
   14338     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14339       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14340 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14341     else
   14342       rm -f "$ac_file"
   14343       mv "$tmp/config.h" "$ac_file" \
   14344 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   14345 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   14346    { (exit 1); exit 1; }; }
   14347     fi
   14348   else
   14349     $as_echo "/* $configure_input  */" \
   14350       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14351       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   14352 $as_echo "$as_me: error: could not create -" >&2;}
   14353    { (exit 1); exit 1; }; }
   14354   fi
   14355 # Compute "$ac_file"'s index in $config_headers.
   14356 _am_arg="$ac_file"
   14357 _am_stamp_count=1
   14358 for _am_header in $config_headers :; do
   14359   case $_am_header in
   14360     $_am_arg | $_am_arg:* )
   14361       break ;;
   14362     * )
   14363       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14364   esac
   14365 done
   14366 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14367 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14368 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14369 	 X"$_am_arg" : 'X\(//\)$' \| \
   14370 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14371 $as_echo X"$_am_arg" |
   14372     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14373 	    s//\1/
   14374 	    q
   14375 	  }
   14376 	  /^X\(\/\/\)[^/].*/{
   14377 	    s//\1/
   14378 	    q
   14379 	  }
   14380 	  /^X\(\/\/\)$/{
   14381 	    s//\1/
   14382 	    q
   14383 	  }
   14384 	  /^X\(\/\).*/{
   14385 	    s//\1/
   14386 	    q
   14387 	  }
   14388 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14389  ;;
   14390 
   14391   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   14392 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14393  ;;
   14394   esac
   14395 
   14396 
   14397   case $ac_file$ac_mode in
   14398     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
   14399 # are listed without --file.  Let's play safe and only enable the eval
   14400 # if we detect the quoting.
   14401 case $CONFIG_FILES in
   14402 *\'*) eval set x "$CONFIG_FILES" ;;
   14403 *)   set x $CONFIG_FILES ;;
   14404 esac
   14405 shift
   14406 for mf
   14407 do
   14408   # Strip MF so we end up with the name of the file.
   14409   mf=`echo "$mf" | sed -e 's/:.*$//'`
   14410   # Check whether this is an Automake generated Makefile or not.
   14411   # We used to match only the files named `Makefile.in', but
   14412   # some people rename them; so instead we look at the file content.
   14413   # Grep'ing the first line is not enough: some people post-process
   14414   # each Makefile.in and add a new line on top of each file to say so.
   14415   # Grep'ing the whole file is not good either: AIX grep has a line
   14416   # limit of 2048, but all sed's we know have understand at least 4000.
   14417   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   14418     dirpart=`$as_dirname -- "$mf" ||
   14419 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14420 	 X"$mf" : 'X\(//\)[^/]' \| \
   14421 	 X"$mf" : 'X\(//\)$' \| \
   14422 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   14423 $as_echo X"$mf" |
   14424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14425 	    s//\1/
   14426 	    q
   14427 	  }
   14428 	  /^X\(\/\/\)[^/].*/{
   14429 	    s//\1/
   14430 	    q
   14431 	  }
   14432 	  /^X\(\/\/\)$/{
   14433 	    s//\1/
   14434 	    q
   14435 	  }
   14436 	  /^X\(\/\).*/{
   14437 	    s//\1/
   14438 	    q
   14439 	  }
   14440 	  s/.*/./; q'`
   14441   else
   14442     continue
   14443   fi
   14444   # Extract the definition of DEPDIR, am__include, and am__quote
   14445   # from the Makefile without running `make'.
   14446   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14447   test -z "$DEPDIR" && continue
   14448   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14449   test -z "am__include" && continue
   14450   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14451   # When using ansi2knr, U may be empty or an underscore; expand it
   14452   U=`sed -n 's/^U = //p' < "$mf"`
   14453   # Find all dependency output files, they are included files with
   14454   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14455   # simplest approach to changing $(DEPDIR) to its actual value in the
   14456   # expansion.
   14457   for file in `sed -n "
   14458     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14459        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14460     # Make sure the directory exists.
   14461     test -f "$dirpart/$file" && continue
   14462     fdir=`$as_dirname -- "$file" ||
   14463 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14464 	 X"$file" : 'X\(//\)[^/]' \| \
   14465 	 X"$file" : 'X\(//\)$' \| \
   14466 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   14467 $as_echo X"$file" |
   14468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14469 	    s//\1/
   14470 	    q
   14471 	  }
   14472 	  /^X\(\/\/\)[^/].*/{
   14473 	    s//\1/
   14474 	    q
   14475 	  }
   14476 	  /^X\(\/\/\)$/{
   14477 	    s//\1/
   14478 	    q
   14479 	  }
   14480 	  /^X\(\/\).*/{
   14481 	    s//\1/
   14482 	    q
   14483 	  }
   14484 	  s/.*/./; q'`
   14485     { as_dir=$dirpart/$fdir
   14486   case $as_dir in #(
   14487   -*) as_dir=./$as_dir;;
   14488   esac
   14489   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   14490     as_dirs=
   14491     while :; do
   14492       case $as_dir in #(
   14493       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14494       *) as_qdir=$as_dir;;
   14495       esac
   14496       as_dirs="'$as_qdir' $as_dirs"
   14497       as_dir=`$as_dirname -- "$as_dir" ||
   14498 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14499 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14500 	 X"$as_dir" : 'X\(//\)$' \| \
   14501 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14502 $as_echo X"$as_dir" |
   14503     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14504 	    s//\1/
   14505 	    q
   14506 	  }
   14507 	  /^X\(\/\/\)[^/].*/{
   14508 	    s//\1/
   14509 	    q
   14510 	  }
   14511 	  /^X\(\/\/\)$/{
   14512 	    s//\1/
   14513 	    q
   14514 	  }
   14515 	  /^X\(\/\).*/{
   14516 	    s//\1/
   14517 	    q
   14518 	  }
   14519 	  s/.*/./; q'`
   14520       test -d "$as_dir" && break
   14521     done
   14522     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14523   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   14524 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   14525    { (exit 1); exit 1; }; }; }
   14526     # echo "creating $dirpart/$file"
   14527     echo '# dummy' > "$dirpart/$file"
   14528   done
   14529 done
   14530  ;;
   14531     "libtool":C)
   14532 
   14533     # See if we are running on zsh, and set the options which allow our
   14534     # commands through without removal of \ escapes.
   14535     if test -n "${ZSH_VERSION+set}" ; then
   14536       setopt NO_GLOB_SUBST
   14537     fi
   14538 
   14539     cfgfile="${ofile}T"
   14540     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14541     $RM "$cfgfile"
   14542 
   14543     cat <<_LT_EOF >> "$cfgfile"
   14544 #! $SHELL
   14545 
   14546 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14547 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14548 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14549 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14550 #
   14551 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14552 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   14553 #   Written by Gordon Matzigkeit, 1996
   14554 #
   14555 #   This file is part of GNU Libtool.
   14556 #
   14557 # GNU Libtool is free software; you can redistribute it and/or
   14558 # modify it under the terms of the GNU General Public License as
   14559 # published by the Free Software Foundation; either version 2 of
   14560 # the License, or (at your option) any later version.
   14561 #
   14562 # As a special exception to the GNU General Public License,
   14563 # if you distribute this file as part of a program or library that
   14564 # is built using GNU Libtool, you may include this file under the
   14565 # same distribution terms that you use for the rest of that program.
   14566 #
   14567 # GNU Libtool is distributed in the hope that it will be useful,
   14568 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14569 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14570 # GNU General Public License for more details.
   14571 #
   14572 # You should have received a copy of the GNU General Public License
   14573 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14574 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14575 # obtained by writing to the Free Software Foundation, Inc.,
   14576 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14577 
   14578 
   14579 # The names of the tagged configurations supported by this script.
   14580 available_tags=""
   14581 
   14582 # ### BEGIN LIBTOOL CONFIG
   14583 
   14584 # Whether or not to build static libraries.
   14585 build_old_libs=$enable_static
   14586 
   14587 # Which release of libtool.m4 was used?
   14588 macro_version=$macro_version
   14589 macro_revision=$macro_revision
   14590 
   14591 # Whether or not to build shared libraries.
   14592 build_libtool_libs=$enable_shared
   14593 
   14594 # What type of objects to build.
   14595 pic_mode=$pic_mode
   14596 
   14597 # Whether or not to optimize for fast installation.
   14598 fast_install=$enable_fast_install
   14599 
   14600 # The host system.
   14601 host_alias=$host_alias
   14602 host=$host
   14603 host_os=$host_os
   14604 
   14605 # The build system.
   14606 build_alias=$build_alias
   14607 build=$build
   14608 build_os=$build_os
   14609 
   14610 # A sed program that does not truncate output.
   14611 SED=$lt_SED
   14612 
   14613 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14614 Xsed="\$SED -e 1s/^X//"
   14615 
   14616 # A grep program that handles long lines.
   14617 GREP=$lt_GREP
   14618 
   14619 # An ERE matcher.
   14620 EGREP=$lt_EGREP
   14621 
   14622 # A literal string matcher.
   14623 FGREP=$lt_FGREP
   14624 
   14625 # A BSD- or MS-compatible name lister.
   14626 NM=$lt_NM
   14627 
   14628 # Whether we need soft or hard links.
   14629 LN_S=$lt_LN_S
   14630 
   14631 # What is the maximum length of a command?
   14632 max_cmd_len=$max_cmd_len
   14633 
   14634 # Object file suffix (normally "o").
   14635 objext=$ac_objext
   14636 
   14637 # Executable file suffix (normally "").
   14638 exeext=$exeext
   14639 
   14640 # whether the shell understands "unset".
   14641 lt_unset=$lt_unset
   14642 
   14643 # turn spaces into newlines.
   14644 SP2NL=$lt_lt_SP2NL
   14645 
   14646 # turn newlines into spaces.
   14647 NL2SP=$lt_lt_NL2SP
   14648 
   14649 # How to create reloadable object files.
   14650 reload_flag=$lt_reload_flag
   14651 reload_cmds=$lt_reload_cmds
   14652 
   14653 # An object symbol dumper.
   14654 OBJDUMP=$lt_OBJDUMP
   14655 
   14656 # Method to check whether dependent libraries are shared objects.
   14657 deplibs_check_method=$lt_deplibs_check_method
   14658 
   14659 # Command to use when deplibs_check_method == "file_magic".
   14660 file_magic_cmd=$lt_file_magic_cmd
   14661 
   14662 # The archiver.
   14663 AR=$lt_AR
   14664 AR_FLAGS=$lt_AR_FLAGS
   14665 
   14666 # A symbol stripping program.
   14667 STRIP=$lt_STRIP
   14668 
   14669 # Commands used to install an old-style archive.
   14670 RANLIB=$lt_RANLIB
   14671 old_postinstall_cmds=$lt_old_postinstall_cmds
   14672 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14673 
   14674 # A C compiler.
   14675 LTCC=$lt_CC
   14676 
   14677 # LTCC compiler flags.
   14678 LTCFLAGS=$lt_CFLAGS
   14679 
   14680 # Take the output of nm and produce a listing of raw symbols and C names.
   14681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14682 
   14683 # Transform the output of nm in a proper C declaration.
   14684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14685 
   14686 # Transform the output of nm in a C name address pair.
   14687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14688 
   14689 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14690 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14691 
   14692 # The name of the directory that contains temporary libtool files.
   14693 objdir=$objdir
   14694 
   14695 # Shell to use when invoking shell scripts.
   14696 SHELL=$lt_SHELL
   14697 
   14698 # An echo program that does not interpret backslashes.
   14699 ECHO=$lt_ECHO
   14700 
   14701 # Used to examine libraries when file_magic_cmd begins with "file".
   14702 MAGIC_CMD=$MAGIC_CMD
   14703 
   14704 # Must we lock files when doing compilation?
   14705 need_locks=$lt_need_locks
   14706 
   14707 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14708 DSYMUTIL=$lt_DSYMUTIL
   14709 
   14710 # Tool to change global to local symbols on Mac OS X.
   14711 NMEDIT=$lt_NMEDIT
   14712 
   14713 # Tool to manipulate fat objects and archives on Mac OS X.
   14714 LIPO=$lt_LIPO
   14715 
   14716 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14717 OTOOL=$lt_OTOOL
   14718 
   14719 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14720 OTOOL64=$lt_OTOOL64
   14721 
   14722 # Old archive suffix (normally "a").
   14723 libext=$libext
   14724 
   14725 # Shared library suffix (normally ".so").
   14726 shrext_cmds=$lt_shrext_cmds
   14727 
   14728 # The commands to extract the exported symbol list from a shared archive.
   14729 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14730 
   14731 # Variables whose values should be saved in libtool wrapper scripts and
   14732 # restored at link time.
   14733 variables_saved_for_relink=$lt_variables_saved_for_relink
   14734 
   14735 # Do we need the "lib" prefix for modules?
   14736 need_lib_prefix=$need_lib_prefix
   14737 
   14738 # Do we need a version for libraries?
   14739 need_version=$need_version
   14740 
   14741 # Library versioning type.
   14742 version_type=$version_type
   14743 
   14744 # Shared library runtime path variable.
   14745 runpath_var=$runpath_var
   14746 
   14747 # Shared library path variable.
   14748 shlibpath_var=$shlibpath_var
   14749 
   14750 # Is shlibpath searched before the hard-coded library search path?
   14751 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14752 
   14753 # Format of library name prefix.
   14754 libname_spec=$lt_libname_spec
   14755 
   14756 # List of archive names.  First name is the real one, the rest are links.
   14757 # The last name is the one that the linker finds with -lNAME
   14758 library_names_spec=$lt_library_names_spec
   14759 
   14760 # The coded name of the library, if different from the real name.
   14761 soname_spec=$lt_soname_spec
   14762 
   14763 # Command to use after installation of a shared archive.
   14764 postinstall_cmds=$lt_postinstall_cmds
   14765 
   14766 # Command to use after uninstallation of a shared archive.
   14767 postuninstall_cmds=$lt_postuninstall_cmds
   14768 
   14769 # Commands used to finish a libtool library installation in a directory.
   14770 finish_cmds=$lt_finish_cmds
   14771 
   14772 # As "finish_cmds", except a single script fragment to be evaled but
   14773 # not shown.
   14774 finish_eval=$lt_finish_eval
   14775 
   14776 # Whether we should hardcode library paths into libraries.
   14777 hardcode_into_libs=$hardcode_into_libs
   14778 
   14779 # Compile-time system search path for libraries.
   14780 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14781 
   14782 # Run-time system search path for libraries.
   14783 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14784 
   14785 # Whether dlopen is supported.
   14786 dlopen_support=$enable_dlopen
   14787 
   14788 # Whether dlopen of programs is supported.
   14789 dlopen_self=$enable_dlopen_self
   14790 
   14791 # Whether dlopen of statically linked programs is supported.
   14792 dlopen_self_static=$enable_dlopen_self_static
   14793 
   14794 # Commands to strip libraries.
   14795 old_striplib=$lt_old_striplib
   14796 striplib=$lt_striplib
   14797 
   14798 
   14799 # The linker used to build libraries.
   14800 LD=$lt_LD
   14801 
   14802 # Commands used to build an old-style archive.
   14803 old_archive_cmds=$lt_old_archive_cmds
   14804 
   14805 # A language specific compiler.
   14806 CC=$lt_compiler
   14807 
   14808 # Is the compiler the GNU compiler?
   14809 with_gcc=$GCC
   14810 
   14811 # Compiler flag to turn off builtin functions.
   14812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   14813 
   14814 # How to pass a linker flag through the compiler.
   14815 wl=$lt_lt_prog_compiler_wl
   14816 
   14817 # Additional compiler flags for building library objects.
   14818 pic_flag=$lt_lt_prog_compiler_pic
   14819 
   14820 # Compiler flag to prevent dynamic linking.
   14821 link_static_flag=$lt_lt_prog_compiler_static
   14822 
   14823 # Does compiler simultaneously support -c and -o options?
   14824 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   14825 
   14826 # Whether or not to add -lc for building shared libraries.
   14827 build_libtool_need_lc=$archive_cmds_need_lc
   14828 
   14829 # Whether or not to disallow shared libs when runtime libs are static.
   14830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   14831 
   14832 # Compiler flag to allow reflexive dlopens.
   14833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   14834 
   14835 # Compiler flag to generate shared objects directly from archives.
   14836 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   14837 
   14838 # Whether the compiler copes with passing no objects directly.
   14839 compiler_needs_object=$lt_compiler_needs_object
   14840 
   14841 # Create an old-style archive from a shared archive.
   14842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   14843 
   14844 # Create a temporary old-style archive to link instead of a shared archive.
   14845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   14846 
   14847 # Commands used to build a shared archive.
   14848 archive_cmds=$lt_archive_cmds
   14849 archive_expsym_cmds=$lt_archive_expsym_cmds
   14850 
   14851 # Commands used to build a loadable module if different from building
   14852 # a shared archive.
   14853 module_cmds=$lt_module_cmds
   14854 module_expsym_cmds=$lt_module_expsym_cmds
   14855 
   14856 # Whether we are building with GNU ld or not.
   14857 with_gnu_ld=$lt_with_gnu_ld
   14858 
   14859 # Flag that allows shared libraries with undefined symbols to be built.
   14860 allow_undefined_flag=$lt_allow_undefined_flag
   14861 
   14862 # Flag that enforces no undefined symbols.
   14863 no_undefined_flag=$lt_no_undefined_flag
   14864 
   14865 # Flag to hardcode \$libdir into a binary during linking.
   14866 # This must work even if \$libdir does not exist
   14867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   14868 
   14869 # If ld is used when linking, flag to hardcode \$libdir into a binary
   14870 # during linking.  This must work even if \$libdir does not exist.
   14871 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   14872 
   14873 # Whether we need a single "-rpath" flag with a separated argument.
   14874 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   14875 
   14876 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14877 # DIR into the resulting binary.
   14878 hardcode_direct=$hardcode_direct
   14879 
   14880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   14881 # DIR into the resulting binary and the resulting library dependency is
   14882 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   14883 # library is relocated.
   14884 hardcode_direct_absolute=$hardcode_direct_absolute
   14885 
   14886 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   14887 # into the resulting binary.
   14888 hardcode_minus_L=$hardcode_minus_L
   14889 
   14890 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   14891 # into the resulting binary.
   14892 hardcode_shlibpath_var=$hardcode_shlibpath_var
   14893 
   14894 # Set to "yes" if building a shared library automatically hardcodes DIR
   14895 # into the library and all subsequent libraries and executables linked
   14896 # against it.
   14897 hardcode_automatic=$hardcode_automatic
   14898 
   14899 # Set to yes if linker adds runtime paths of dependent libraries
   14900 # to runtime path list.
   14901 inherit_rpath=$inherit_rpath
   14902 
   14903 # Whether libtool must link a program against all its dependency libraries.
   14904 link_all_deplibs=$link_all_deplibs
   14905 
   14906 # Fix the shell variable \$srcfile for the compiler.
   14907 fix_srcfile_path=$lt_fix_srcfile_path
   14908 
   14909 # Set to "yes" if exported symbols are required.
   14910 always_export_symbols=$always_export_symbols
   14911 
   14912 # The commands to list exported symbols.
   14913 export_symbols_cmds=$lt_export_symbols_cmds
   14914 
   14915 # Symbols that should not be listed in the preloaded symbols.
   14916 exclude_expsyms=$lt_exclude_expsyms
   14917 
   14918 # Symbols that must always be exported.
   14919 include_expsyms=$lt_include_expsyms
   14920 
   14921 # Commands necessary for linking programs (against libraries) with templates.
   14922 prelink_cmds=$lt_prelink_cmds
   14923 
   14924 # Specify filename containing input files.
   14925 file_list_spec=$lt_file_list_spec
   14926 
   14927 # How to hardcode a shared library path into an executable.
   14928 hardcode_action=$hardcode_action
   14929 
   14930 # ### END LIBTOOL CONFIG
   14931 
   14932 _LT_EOF
   14933 
   14934   case $host_os in
   14935   aix3*)
   14936     cat <<\_LT_EOF >> "$cfgfile"
   14937 # AIX sometimes has problems with the GCC collect2 program.  For some
   14938 # reason, if we set the COLLECT_NAMES environment variable, the problems
   14939 # vanish in a puff of smoke.
   14940 if test "X${COLLECT_NAMES+set}" != Xset; then
   14941   COLLECT_NAMES=
   14942   export COLLECT_NAMES
   14943 fi
   14944 _LT_EOF
   14945     ;;
   14946   esac
   14947 
   14948 
   14949 ltmain="$ac_aux_dir/ltmain.sh"
   14950 
   14951 
   14952   # We use sed instead of cat because bash on DJGPP gets confused if
   14953   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   14954   # text mode, it properly converts lines to CR/LF.  This bash problem
   14955   # is reportedly fixed, but why not run on old versions too?
   14956   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   14957     || (rm -f "$cfgfile"; exit 1)
   14958 
   14959   case $xsi_shell in
   14960   yes)
   14961     cat << \_LT_EOF >> "$cfgfile"
   14962 
   14963 # func_dirname file append nondir_replacement
   14964 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   14965 # otherwise set result to NONDIR_REPLACEMENT.
   14966 func_dirname ()
   14967 {
   14968   case ${1} in
   14969     */*) func_dirname_result="${1%/*}${2}" ;;
   14970     *  ) func_dirname_result="${3}" ;;
   14971   esac
   14972 }
   14973 
   14974 # func_basename file
   14975 func_basename ()
   14976 {
   14977   func_basename_result="${1##*/}"
   14978 }
   14979 
   14980 # func_dirname_and_basename file append nondir_replacement
   14981 # perform func_basename and func_dirname in a single function
   14982 # call:
   14983 #   dirname:  Compute the dirname of FILE.  If nonempty,
   14984 #             add APPEND to the result, otherwise set result
   14985 #             to NONDIR_REPLACEMENT.
   14986 #             value returned in "$func_dirname_result"
   14987 #   basename: Compute filename of FILE.
   14988 #             value retuned in "$func_basename_result"
   14989 # Implementation must be kept synchronized with func_dirname
   14990 # and func_basename. For efficiency, we do not delegate to
   14991 # those functions but instead duplicate the functionality here.
   14992 func_dirname_and_basename ()
   14993 {
   14994   case ${1} in
   14995     */*) func_dirname_result="${1%/*}${2}" ;;
   14996     *  ) func_dirname_result="${3}" ;;
   14997   esac
   14998   func_basename_result="${1##*/}"
   14999 }
   15000 
   15001 # func_stripname prefix suffix name
   15002 # strip PREFIX and SUFFIX off of NAME.
   15003 # PREFIX and SUFFIX must not contain globbing or regex special
   15004 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15005 # dot (in which case that matches only a dot).
   15006 func_stripname ()
   15007 {
   15008   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15009   # positional parameters, so assign one to ordinary parameter first.
   15010   func_stripname_result=${3}
   15011   func_stripname_result=${func_stripname_result#"${1}"}
   15012   func_stripname_result=${func_stripname_result%"${2}"}
   15013 }
   15014 
   15015 # func_opt_split
   15016 func_opt_split ()
   15017 {
   15018   func_opt_split_opt=${1%%=*}
   15019   func_opt_split_arg=${1#*=}
   15020 }
   15021 
   15022 # func_lo2o object
   15023 func_lo2o ()
   15024 {
   15025   case ${1} in
   15026     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15027     *)    func_lo2o_result=${1} ;;
   15028   esac
   15029 }
   15030 
   15031 # func_xform libobj-or-source
   15032 func_xform ()
   15033 {
   15034   func_xform_result=${1%.*}.lo
   15035 }
   15036 
   15037 # func_arith arithmetic-term...
   15038 func_arith ()
   15039 {
   15040   func_arith_result=$(( $* ))
   15041 }
   15042 
   15043 # func_len string
   15044 # STRING may not start with a hyphen.
   15045 func_len ()
   15046 {
   15047   func_len_result=${#1}
   15048 }
   15049 
   15050 _LT_EOF
   15051     ;;
   15052   *) # Bourne compatible functions.
   15053     cat << \_LT_EOF >> "$cfgfile"
   15054 
   15055 # func_dirname file append nondir_replacement
   15056 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15057 # otherwise set result to NONDIR_REPLACEMENT.
   15058 func_dirname ()
   15059 {
   15060   # Extract subdirectory from the argument.
   15061   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15062   if test "X$func_dirname_result" = "X${1}"; then
   15063     func_dirname_result="${3}"
   15064   else
   15065     func_dirname_result="$func_dirname_result${2}"
   15066   fi
   15067 }
   15068 
   15069 # func_basename file
   15070 func_basename ()
   15071 {
   15072   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15073 }
   15074 
   15075 
   15076 # func_stripname prefix suffix name
   15077 # strip PREFIX and SUFFIX off of NAME.
   15078 # PREFIX and SUFFIX must not contain globbing or regex special
   15079 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15080 # dot (in which case that matches only a dot).
   15081 # func_strip_suffix prefix name
   15082 func_stripname ()
   15083 {
   15084   case ${2} in
   15085     .*) func_stripname_result=`$ECHO "X${3}" \
   15086            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15087     *)  func_stripname_result=`$ECHO "X${3}" \
   15088            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15089   esac
   15090 }
   15091 
   15092 # sed scripts:
   15093 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15094 my_sed_long_arg='1s/^-[^=]*=//'
   15095 
   15096 # func_opt_split
   15097 func_opt_split ()
   15098 {
   15099   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15100   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15101 }
   15102 
   15103 # func_lo2o object
   15104 func_lo2o ()
   15105 {
   15106   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15107 }
   15108 
   15109 # func_xform libobj-or-source
   15110 func_xform ()
   15111 {
   15112   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   15113 }
   15114 
   15115 # func_arith arithmetic-term...
   15116 func_arith ()
   15117 {
   15118   func_arith_result=`expr "$@"`
   15119 }
   15120 
   15121 # func_len string
   15122 # STRING may not start with a hyphen.
   15123 func_len ()
   15124 {
   15125   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15126 }
   15127 
   15128 _LT_EOF
   15129 esac
   15130 
   15131 case $lt_shell_append in
   15132   yes)
   15133     cat << \_LT_EOF >> "$cfgfile"
   15134 
   15135 # func_append var value
   15136 # Append VALUE to the end of shell variable VAR.
   15137 func_append ()
   15138 {
   15139   eval "$1+=\$2"
   15140 }
   15141 _LT_EOF
   15142     ;;
   15143   *)
   15144     cat << \_LT_EOF >> "$cfgfile"
   15145 
   15146 # func_append var value
   15147 # Append VALUE to the end of shell variable VAR.
   15148 func_append ()
   15149 {
   15150   eval "$1=\$$1\$2"
   15151 }
   15152 
   15153 _LT_EOF
   15154     ;;
   15155   esac
   15156 
   15157 
   15158   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15159     || (rm -f "$cfgfile"; exit 1)
   15160 
   15161   mv -f "$cfgfile" "$ofile" ||
   15162     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15163   chmod +x "$ofile"
   15164 
   15165  ;;
   15166 
   15167   esac
   15168 done # for ac_tag
   15169 
   15170 
   15171 { (exit 0); exit 0; }
   15172 _ACEOF
   15173 chmod +x $CONFIG_STATUS
   15174 ac_clean_files=$ac_clean_files_save
   15175 
   15176 test $ac_write_fail = 0 ||
   15177   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   15178 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   15179    { (exit 1); exit 1; }; }
   15180 
   15181 
   15182 # configure is writing to config.log, and then calls config.status.
   15183 # config.status does its own redirection, appending to config.log.
   15184 # Unfortunately, on DOS this fails, as config.log is still kept open
   15185 # by configure, so config.status won't be able to write to it; its
   15186 # output is simply discarded.  So we exec the FD to /dev/null,
   15187 # effectively closing config.log, so it can be properly (re)opened and
   15188 # appended to by config.status.  When coming back to configure, we
   15189 # need to make the FD available again.
   15190 if test "$no_create" != yes; then
   15191   ac_cs_success=:
   15192   ac_config_status_args=
   15193   test "$silent" = yes &&
   15194     ac_config_status_args="$ac_config_status_args --quiet"
   15195   exec 5>/dev/null
   15196   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15197   exec 5>>config.log
   15198   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15199   # would make configure fail if this is the last instruction.
   15200   $ac_cs_success || { (exit 1); exit 1; }
   15201 fi
   15202 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15203   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15204 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15205 fi
   15206 
   15207